You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by sridhar vudutha <sr...@gmail.com> on 2006/11/13 17:35:45 UTC
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.
http://mail-archives.apache.org/mod_mbox/ws-axis-user/200604.mbox/%3Ce9115cfd0604052246sfd21776t762551ed98d4b9cf@mail.gmail.com%3E
Thanks,
Sridhar.
Re: Axis2 - DIME support
Posted by sridhar vudutha <sr...@gmail.com>.
Thanks Dims!
On 11/13/06, Davanum Srinivas <da...@gmail.com> wrote:
>
> Situation is still the same, but could change someone wants to help
> implement it (port code from Axis1)
>
> thanks,
> dims
>
> On 11/13/06, sridhar vudutha <sr...@gmail.com> wrote:
> > 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.
> >
> >
> http://mail-archives.apache.org/mod_mbox/ws-axis-user/200604.mbox/%3Ce9115cfd0604052246sfd21776t762551ed98d4b9cf@mail.gmail.com%3E
> >
> > Thanks,
> > Sridhar.
>
>
> --
> Davanum Srinivas : http://www.wso2.net (Oxygen for Web Service Developers)
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>
Re: Axis2 - DIME support
Posted by Davanum Srinivas <da...@gmail.com>.
Situation is still the same, but could change someone wants to help
implement it (port code from Axis1)
thanks,
dims
On 11/13/06, sridhar vudutha <sr...@gmail.com> wrote:
> 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.
>
> http://mail-archives.apache.org/mod_mbox/ws-axis-user/200604.mbox/%3Ce9115cfd0604052246sfd21776t762551ed98d4b9cf@mail.gmail.com%3E
>
> Thanks,
> Sridhar.
--
Davanum Srinivas : http://www.wso2.net (Oxygen for Web Service Developers)
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org
Re: Axis2 - DIME support
Posted by sridhar vudutha <sr...@gmail.com>.
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 <mg...@hotmail.com> 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 = new 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 serviceport.hello();
>
> for more info please look at
> http://www.globus.org/toolkit/docs/development/4.1.0/common/javawscore/developer/index.html
>
>
> 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 -----
> *From:* sridhar vudutha <sr...@gmail.com>
> *To:* axis-user@ws.apache.org
> *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.
>
> http://mail-archives.apache.org/mod_mbox/ws-axis-user/200604.mbox/%3Ce9115cfd0604052246sfd21776t762551ed98d4b9cf@mail.gmail.com%3E
>
> <http://mail-archives.apache.org/mod_mbox/ws-axis-user/200604.mbox/%3Ce9115cfd0604052246sfd21776t762551ed98d4b9cf@mail.gmail.com%3E+>
>
> Thanks,
> Sridhar.
>
>
Re: Axis2 - DIME support
Posted by Martin Gainty <mg...@hotmail.com>.
you have to set chunkedEncoding here is a quick example
import org.globus.axis.transport.HTTPUtils;//assume your service is called 'MyService'
URL url = new 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 chunkedEncodingHTTPUtils.setChunkedEncoding((Stub)port, true);
//Call the hello method from the discovered service
port.hello();for more info please look at
http://www.globus.org/toolkit/docs/development/4.1.0/common/javawscore/developer/index.html
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 -----
From: sridhar vudutha
To: axis-user@ws.apache.org
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.
http://mail-archives.apache.org/mod_mbox/ws-axis-user/200604.mbox/%3Ce9115cfd0604052246sfd21776t762551ed98d4b9cf@mail.gmail.com%3E
Thanks,
Sridhar.