RE: [Axis2] MTOM & binary content

2006-05-04 Thread Michael Robinson
and sends jpg files using the org.apache.axis2.attachments.utils classes, while it seems there's nothing similar to handle other formats. Michele Michael Robinson wrote: > My "solution" only loads binary content into an OMElement (not really my > solution... just copied and pa

RE: [Axis2] MTOM & binary content

2006-05-04 Thread Michael Robinson
: Thursday, May 04, 2006 7:38 AM To: axis-user@ws.apache.org Subject: Re: [Axis2] MTOM & binary content Hi Micheal, thanks for your reply. Is your solution MTOM compliant? Michael Robinson wrote: > XMLStreamReader parser = > XMLInputFactory.newInstance().createXMLStreamReader(new &g

RE: [Axis2] MTOM & binary content

2006-05-04 Thread Michael Robinson
XMLStreamReader parser = XMLInputFactory.newInstance().createXMLStreamReader(new FileReader(inputFile));   OMXMLParserWrapper builder = OMXMLBuilderFactory.createStAXOMBuilder(OMAbstractFactory.getOMFactory(), parser);   OMElement xmlDocElement = builder.getDocum

RE: [Axis2] How to get MessageContext

2006-05-03 Thread Michael Robinson
Does this mean that the example at http://ws.apache.org/axis2/0_95/mtom-guide.html does not work? The section titled "SOAP with Attachments (SwA) with Axis2" has a code fragment that seems to use an init method to set the MessageContext instead of a setter method. Is this incorrect? -Original

RE: [axis2] SwA example

2006-04-26 Thread Michael Robinson
: axis-user@ws.apache.org Subject: Re: [axis2] SwA example It will return org.apache.axiom.attachments.Attachments. See the test case: http://svn.apache.org/repos/asf/webservices/axis2/trunk/java/modules/int egration/test/org/apache/axis2/swa/ thanks, dims On 4/26/06, Michael Robinson <[EM

RE: [axis2] SwA example

2006-04-26 Thread Michael Robinson
: Davanum Srinivas [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 26, 2006 12:12 PM To: axis-user@ws.apache.org Subject: Re: [axis2] SwA example Attachments attachment = (Attachments) msgcts.getProperty(MTOMConstants.ATTACHMENTS); thanks, dims On 4/26/06, Michael Robinson <[EM

[axis2] SwA example

2006-04-26 Thread Michael Robinson
I’m attempting to process a request from a SwA client using Axis2 but am having some problems with the sample at   http://ws.apache.org/axis2/0_95/mtom-guide.html#3   MIMEHelper attachments = (MIMEHelper)msgcts.getProperty(MIMEHelper.ATTACHMENTS);   MIMEHelper.A

RE: [Axis2] Axis2 class loader and RC1

2006-04-21 Thread Michael Robinson
ke follows services/foo META-INF services.xml lib absd.jar .jar org apache axis . Directoy based deployment is not slow as archive based deployment. Michael Robinson wrote: > I have downloaded the axis2.0 RC1 distribution and still have a > problem with the classloader being very

RE: [Axis2] Axis2 class loader and RC1

2006-04-21 Thread Michael Robinson
I have downloaded the axis2.0 RC1 distribution and still have a problem with the classloader being very slow and in some cases failing to find the correct class file(s).   I have a jar file of my own that contains JAXB 2.0 compiled schema objects. I have tested this jar fi

RE: Can you default the SOAPAction as being ""?

2006-04-19 Thread Michael Robinson
I have had a similar issue when trying to use a JAXP/SAAJ client to call an Axis service. By programmatically setting the SOAPAction MIME header from the client I was able to make it work.   Not what you’re looking for but thought it might help.   Fr

RE: Axis2 class loader

2006-04-19 Thread Michael Robinson
I have the same issue using Axis2 0.94 with axis2.war file deployed in Tomcat5.5.x. The service consists of numerous jar files for JAXB, Hibernate, etc. The first time that the service is invoked via a client it processes for over 30 minutes! (I was able to not let my "test" client timeout by usi

[Axis2] Correct location for third party lib(s)

2006-03-31 Thread Michael Robinson
What is the correct location for third party libraries within an Axis 2 service? Should these be packaged within the .aar file?   I seem to remember reading this information somewhere in the documentation but was unable to find it today. If it does in fact exist could some