users@glassfish.java.net

OpenSSO Web Service Security not working

From: <glassfish_at_javadesktop.org>
Date: Wed, 29 Sep 2010 04:26:29 PDT

Hi,

I am trying to use the Open SSO Web Service security featue.
I am using Glassfish V2 , OpenSSO 9 and metro 2.0. I and JaxWs2.1 have followed the steps as described on :
http://developers.sun.com/identity/reference/techart/wss_opensso/wss_sdn-4.html

´However i am not able to get the application running. I am getting the following exception while issuing a token

com.sun.xml.bind.v2.runtime.IllegalAnnotationsException: 2 counts of IllegalAnnotationExceptions
Two classes have the same XML type name "address". Use @XmlType.name and @XmlType.namespace to assign different names to them.
        this problem is related to the following location:
                at com.sun.xml.ws.developer.MemberSubmissionEndpointReference$Address
                at public com.sun.xml.ws.developer.MemberSubmissionEndpointReference$Address com.sun.xml.ws.developer.MemberSubmissionEndpointReference.addr
                at com.sun.xml.ws.developer.MemberSubmissionEndpointReference
        this problem is related to the following location:
                at javax.xml.ws.wsaddressing.W3CEndpointReference$Address
                at private javax.xml.ws.wsaddressing.W3CEndpointReference$Address javax.xml.ws.wsaddressing.W3CEndpointReference.address
                at javax.xml.ws.wsaddressing.W3CEndpointReference
Two classes have the same XML type name "elements". Use @XmlType.name and @XmlType.namespace to assign different names to them.
        this problem is related to the following location:
                at com.sun.xml.ws.developer.MemberSubmissionEndpointReference$Elements
                at public com.sun.xml.ws.developer.MemberSubmissionEndpointReference$Elements com.sun.xml.ws.developer.MemberSubmissionEndpointReference.referenceProperties
                at com.sun.xml.ws.developer.MemberSubmissionEndpointReference
        this problem is related to the following location:
                at javax.xml.ws.wsaddressing.W3CEndpointReference$Elements
                at private javax.xml.ws.wsaddressing.W3CEndpointReference$Elements javax.xml.ws.wsaddressing.W3CEndpointReference.referenceParameters
                at javax.xml.ws.wsaddressing.W3CEndpointReference

What can the issue be?
Are the steps explained on the link, the exact steps to get Web Service Security running.

Thanks,
Gaurav Saxena
[Message sent by forum member 'gauravsaxena']

http://forums.java.net/jive/thread.jspa?messageID=483903