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 Håkon Sagehaug <ha...@uni.no> on 2012/02/14 15:33:22 UTC

Setting soapAction on ServiceClient

Hi all,

We use the service client to invoke some services, where we hand craft
the xml messages. One of the services we need to set the soapAction to
empty. So I've tried this


Options opts = new Options();
String erp = "http://localhost:12000/biomart";
opts.setTo(new EndpointReference(erp));
opts.setAction("");

ServiceClient sc = new ServiceClient();
sc.setOptions(opts);

I capture the action using tcpmon, and it gives me this

SOAPAction: "urn:anonOutInOp"

Any tips on how to set an empty soap action?

cheers, Håkon

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@axis.apache.org
For additional commands, e-mail: java-user-help@axis.apache.org