• 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

WebService With WSS using soap 1.2

 
Ranch Hand
Posts: 106
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Hi

I am using the client application provided in the following url, to test the my web service application ( of course I could use SoapUI but I wanted to use a client app ).

https://sites.google.com/site/ddmwsst/ws-security-impl

Now my web application uses soap 1.2 with WS Security (WSS) - signed and encryption. In some respect the sample client app is perfect all except it is using soap 1.1.

So below is how the client app configures the "outbound" interceptor to sign and encrypt the msg.



As my web service application is using soap 1.2, the above configuration of the client app will need to change to use soap 1.2
ie change the above soap 1.1 namespace ( http://schemas.xmlsoap.org/soap/envelope/ ) to soap 1.2 namespace ( http://www.w3.org/2003/05/soap-envelope - Note there is no forward slash after the "05/soap-envelope" see http://comments.gmane.org/gmane.comp.apache.cxf.user/26818 ).

With this in mind. I updated the above configuration to as follows :-





Now when I ran up the client app with the above soap 1.2 namespace configuration I get the following exception :-



Clearly, there is a a "part name" of "Body" in the http://www.w3.org/2003/05/soap-envelope namespace, and yet the client app is complaining.

I guess there is some set/config I am missing.

Any ideas/suggestions to get past the above error would be appreciated.

Thank you in advance for your help.

Pete





 
knowledge is the difference between drudgery and strategic action -- tiny ad
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic