Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

WAS v6.1 + WS-Security

 
David Martos
Greenhorn
Posts: 2
Hibernate Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi there ranchers,

I'm trying to use a WS-Security with XML Signature in WebSphere Application Server v6.1. Server side i think is correctly implemented, but i try to test with soap ui and i have some problems.

This is my soap ui client (Client.jpg) and this is the result

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Header/>
<soapenv:Body>
<soapenv:Fault>
<faultcode>soapenv:Server.securityException</faultcode>
<faultstring>com.ibm.wsspi.wssecurity.SoapSecurityException: WSEC5502E: Elemento inesperado como elemento de destino: wsse:BinarySecurityToken.</faultstring>
<detail encodingStyle=""/>
</soapenv:Fault>
</soapenv:Body>
</soapenv:Envelope>

What am i doing wrongly?


Thanks,
tmp.jpg
[Thumbnail for tmp.jpg]
Client
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic