axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jason Sanchez" <jason.sanc...@guest-tek.com>
Subject RE: How do you make a call with the ServiceClient using a SOAPAction Header?
Date Wed, 19 Apr 2006 18:38:01 GMT
Hi Robert,

Unfortunately, I'm using the Axis2 0.95 API, and it doesn't seem to have
the setSoapAction() method available for Options, just a setAction().  I
attempted to even use the Axis2 0.94 API and the jar files for that
distribution, since that method is defined in that API, but I couldn't
get it to work.  

I'd appreciate any other suggestions.

Regards,

Jay

-----Original Message-----
From: robert [mailto:robertlazarski@gmail.com] 
Sent: April 19, 2006 12:14 PM
To: axis-user@ws.apache.org
Subject: Re: How do you make a call with the ServiceClient using a
SOAPAction Header?

Take a look at Options.setSoapAction() . Combine that with the samples
under 
samples/userguide and that should be enough to get you started. 

HTH,
Robert
http://www.braziloutsource.com/

Em Quarta 19 Abril 2006 13:20, o Jason Sanchez escreveu:
> Hello,
>
>
>
> This is the first time I've written to a mailing list so please
forgive
> me if I'm unfamiliar with the etiquette.
>
>
>
> I was wondering if someone could point me to some documentation
> regarding using the ServiceClient class to invoke a specific operation
> for a given web service.  I've seen an example as follows:
>
> MessageFactory msgFactory = MessageFactory.newInstance();
>
>             SOAPMessage soapMessage = msgFactory.createMessage();
>
>
>
soapMessage.getMimeHeaders().addHeader("SOAPAction","http://htng.org/1.1
> /Listener.Wsdl#Ping");
>
>
>
> However, I'm unsure how this translates to the OMElement object and
the
> Axis 0.95 API.
>
>
>
> Thank you in advance.
>
>
>
> Regards,
>
>
>
> Jason

-- 

Mime
View raw message