users@jax-rpc.java.net

Re: SOAPAction header

From: Alessio Cervellin <alessio.cervellin_at_sun-cs-italy.com>
Date: Thu, 09 Dec 2004 18:48:51 +0100

Sam Gardner-Dell wrote:
> I was recently assigned to track a bug which prevents our API from talking to a third-party web service, it turns out the the (Microsoft) based third-party web service dies because the SOAPAction HTTP header contains an empty string whereas our (Java based) test service happily processes the SOAP message even though it doesn't include a valud SOAPAction HTTP header.
> After looking at the WSDL file and the stub generated from it, it becomes clear that the SOAPAction here is also an empty string (see below) so it isn't any wonder...How can I force wscompile to automatically include the appropriate soapAction in theh WSDL or is it necessary to do this manually?

I think you can specify the attributes "soapAction" and "soapActionBase"
as attributes of the "interface" tag of the config.xml configuration file.
For further details see section 3.1 of:
https://jax-rpc.dev.java.net/whitepaper/1.1/index-part1.html

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_jax-rpc.dev.java.net
For additional commands, e-mail: users-help_at_jax-rpc.dev.java.net