aspose file tools*
The moose likes Web Services and the fly likes WAS v6.1 + WS-Security Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "WAS v6.1 + WS-Security" Watch "WAS v6.1 + WS-Security" New topic
Author

WAS v6.1 + WS-Security

David Martos
Greenhorn

Joined: Jun 29, 2011
Posts: 1
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,



[Thumbnail for tmp.jpg]



SCJP / SCWCD (Preparing)
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: WAS v6.1 + WS-Security