.95 is fine - RC1 is even better. Try setAction(), IIRC correctly both used to
work so setAction() should do the trick . Try putting tcpmon on the ports to
verify it.
If you still have problems, try posting your entire code and maybe we can
help.
Robert
http://www.braziloutsource.com/
Em Quarta 19 Abril 2006 15:38, o Jason Sanchez escreveu:
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:[EMAIL PROTECTED]
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
--
http://www.braziloutsource.com/