• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

How to set SoapAction on a soap message in soap 1.2

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Can someone please provide an example for how to set SoapAction on the soap message (am not using dispatcher call) while sending a Soap Request using SOAP 1.2?

Currently am using soap 1.1 and here is how am setting the action:

msg.getMimeHeaders().addHeader("SOAPAction", soapAction);

In soap 1.2 is there any other way to set the soap action? and is it enough if we set the soap action in the soap header or do we need to set it in any other place as well like soappart?

Thanks in advance,
Srini
 
Ranch Hand
Posts: 104
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Why do you want to use soapAction attribute of <soap:operation> element ?

Normally it is used for routing purposes.
 
reply
    Bookmark Topic Watch Topic
  • New Topic