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 Naveen Murthy <nm...@datalinx.net> on 2004/07/28 20:29:16 UTC

using axis to http POST soap xml.

Hello;

I have with me a Soap Msg that is already constructed,
and i also have the invocation URL of the target server.
I just need to post the SOAP msg to that URL  (with 
content-type and SoapAction headers set)

Can the Axis client classes help me do this?  or should
I have to always use the Call object and pass in service/operation
/request etc  and have it build the Soap.

Any suggestions??

thanks and regards,
Naveen


RE: using axis to http POST soap xml.

Posted by Naveen Murthy <nm...@datalinx.net>.
Hi Jim...thanks for the reply.

I did try to use Httpclient, but the thing
is that Httpclient does not work with 
IBM JSSE (websphere 5.0.1). (there is bug
in WAS 5.0.1 ibmjsse, but inorder to fix
it we have to patch WAS to a higher version; 
and in production this whole thing of migrating
comes with a shitload of processes and 
testing)

inside Websphre 5.0.1 , Axis is working fine (using
ibm jsse /ssl). So i figured out that using Axis
as Http client might help me coexist in the 5.0.1 env.

Any suggestions?

thx,
Naveen

-----Original Message-----
From: Jim Murphy [mailto:jmurphy@mindreef.com]
Sent: Wednesday, July 28, 2004 2:59 PM
To: axis-user@ws.apache.org
Subject: Re: using axis to http POST soap xml.


If you're doing that much manually you can consider the Apache 
HttpClient[1] library.  Its allows you to set HTTP headers and do 
POST/GET etc on to a url.

Jim Murphy
Mindreef, Inc.

[1] - http://jakarta.apache.org/commons/httpclient/

Naveen Murthy wrote:
> Hello;
> 
> I have with me a Soap Msg that is already constructed,
> and i also have the invocation URL of the target server.
> I just need to post the SOAP msg to that URL  (with 
> content-type and SoapAction headers set)
> 
> Can the Axis client classes help me do this?  or should
> I have to always use the Call object and pass in service/operation
> /request etc  and have it build the Soap.
> 
> Any suggestions??
> 
> thanks and regards,
> Naveen
> 
> 

Re: using axis to http POST soap xml.

Posted by Jim Murphy <jm...@mindreef.com>.
If you're doing that much manually you can consider the Apache 
HttpClient[1] library.  Its allows you to set HTTP headers and do 
POST/GET etc on to a url.

Jim Murphy
Mindreef, Inc.

[1] - http://jakarta.apache.org/commons/httpclient/

Naveen Murthy wrote:
> Hello;
> 
> I have with me a Soap Msg that is already constructed,
> and i also have the invocation URL of the target server.
> I just need to post the SOAP msg to that URL  (with 
> content-type and SoapAction headers set)
> 
> Can the Axis client classes help me do this?  or should
> I have to always use the Call object and pass in service/operation
> /request etc  and have it build the Soap.
> 
> Any suggestions??
> 
> thanks and regards,
> Naveen
> 
>