ServiceClient sc= new ServiceClient();
Option opt = new Option();
opt.setAction("Your soapaction");Arnaud MERGEY wrote: > With dynamic invocation my web service call failed because soapaction > is not valid, in wsdl : > > <soap:operation > soapAction="http://eyesoft.de/ws/geoip/2002/12/GetCountryFromIP" > style="document"/> > > Axis2 dynamic invocation > > httpclient.wire.header - DEBUG - >> "POST > /ws/v1/geoip/geoipconversion.asmx HTTP/1.1[\r][\n]" > httpclient.wire.header - DEBUG - >> "User-Agent: Axis/2.0[\r][\n]" > httpclient.wire.header - DEBUG - >> "SOAPAction: ""[\r][\n]" > > Axis dynamic invocation > > org.apache.axis.transport.http.HTTPSender - DEBUG - POST > /ws/v1/geoip/geoipconversion.asmx HTTP/1.0 > Content-Type: text/xml; charset=utf-8 > Accept: application/soap+xml, application/dime, multipart/related, text/* > User-Agent: Axis/1.3 > Host: www.xmlwebservices.cc > Cache-Control: no-cache > Pragma: no-cache > SOAPAction: "http://eyesoft.de/ws/geoip/2002/12/GetCountryFromIP" > > How can I tell to Axis2 to put correct soapaction ? > > thanks > Arnaud > > > -- Thanks, Deepal ................................................................ ~Future is Open~
