This forum is now a read-only archive. All commenting, posting, registration services have been turned off. Those needing community support and/or wanting to ask questions should refer to the Tag/Forum map, and to http://spring.io/questions for a curated list of stackoverflow tags that Pivotal engineers, and the community, monitor.

AnnouncementAnnouncement Module

Collapse

No announcement yet.

webservice outbound gateway always sets an empty SoapAction - how do I removePage Title Module

Hi!
H-m...
I don't understand the requirements of such task.
If we read the specification http://www.w3.org/TR/2000/NOTE-SOAP-...#_Toc478383528 we understand SOAPAction doesn't
play a big role...
Can you explian a use-case of your service? What problem are getting when you send an empy SOAPAction ?
As I see everywhere in the Spring-WS "null" SOAPAction is converted into "empty" SOAPAction: SoapUtils.escapeAction()...

Take care,
Artem

Comment

The webservice I need to call is implemented in .NET and expects there to be no SOAPAction at all. If I call the webservice using a test tool like SOAPUI all is fine, and I can see that the SOAPAction header is NOT present at all.

Comment

But how about to put correct value for 'SOAPAction'?..
And don't fight with an empy one...
What I can recommend to take a look into custom WebServiceMessageCallback where you can try to create a new SoapMessage with 'null' SOAPAction based on incoming Message.
But I'm about AxiomSoapMessage here...