Martin,
    Thanks for the info. I will give it a try using globus toolkit. I'm still skeptical about the below code, since I'm having problem while receiving the SOAP response. The service is sending the DIME attachment which I don't have to read but just have to ignore it and read the response. I'm not even getting the SOAP response, I mean the parser is throwing exception " javax.xml.transform.TransformerException: org.xml.sax.SAXParseException: Content is not allowed in prolog" when it receives the response.
 
Anyway...will give it a shot.
 
Thanks,
Sridhar.

 
On 11/13/06, Martin Gainty <[EMAIL PROTECTED] > wrote:
you have to set chunkedEncoding here is a quick example
import org.globus.axis.transport.HTTPUtils;





//assume your service is called 'MyService'

URL url = "" URL("local:///localhost:8080/axis/services/MyService");
MyServiceAddressingLocator locator = new MyServiceAddressingLocator(); MyService port = locator.getMyServicePort(url);

// force HTTP 1.1 (why dont we have a method which setHTTP11Version(port,true) ?
HTTPUtils.setHTTP10Version((Stub)port, false);
//set chunkedEncoding
HTTPUtils.setChunkedEncoding((Stub)port, true);

//Call the hello method from the discovered service port.hello();
for more info please look at

M-

This e-mail communication and any attachments may contain confidential and privileged information for the use of the
designated recipients named above. If you are not the intended recipient, you are hereby notified that you have received
this communication in error and that any review, disclosure, dissemination, distribution or copying of it or its
contents
----- Original Message -----
Sent: Monday, November 13, 2006 11:35 AM
Subject: Axis2 - DIME support

 
Hello All,
       Does Axis2 support DIME attachments? The following posting was made in April'2006. Want to check if there is any change in the status.
 
 
Thanks,
Sridhar.

Reply via email to