How can I set the SOAPAction?? This is the stacktrace:
org.apache.axis2.AxisFault: Server did not recognize the value of HTTP Header SOAPAction: . at org.apache.axis2.description.OutInAxisOperationClient.execute(OutInAxisOperation.java:287) at org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:432) at org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:374) at com.trafficits.soap.WebServiceConsumer.invoke(WebServiceConsumer.java:81) And this is my code: EndpointReference endpointReference = new EndpointReference( endPointAddress); Options options = new Options(); options.setTo(endpointReference); options.setTransportInProtocol(Constants.TRANSPORT_HTTP); OMFactory factory = OMAbstractFactory.getOMFactory(); OMNamespace namespace = factory.createOMNamespace( nameSpaceUri, "webService"); OMElement method = factory.createOMElement(methodName, namespace); ServiceClient serviceClient = new ServiceClient(); serviceClient.setOptions(options); OMElement result = serviceClient.sendReceive(method); -- Cheers, Kees de Kooter http://www.boplicity.net --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]