This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

soapAction in binding

 
Suresh Tatiparti
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I read soapAction attribute is optional in WSDL binding, which means it can be omitted or put empty value with double quotes "".
In this case do we must set soapAction in soapMessage? If yes how we can do it in header, assuming we are not using httpservlet as client.


For ex: Assume we omit soapAction from this snippet.
<x1:binding name="ServiceSoapBinding" type="x3:OfferMgmtServicePort">
<x4:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" />
<x1peration name="add">
<x4peration soapAction="add" style="document" />
<x1:input>
.....
</x1:binding>

Thanks in advance.
 
udaykumar maddigatla
Ranch Hand
Posts: 69
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Usage of 'soapActrion' is not madatory. so you can omit it. It automatically places empty quote string to your HttP request if you omit it.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic