axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Håkon Sagehaug <hakon.sageh...@uni.no>
Subject Setting soapAction on ServiceClient
Date Tue, 14 Feb 2012 14:33:22 GMT
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


Mime
View raw message