4 Replies Latest reply on May 11, 2010 3:51 PM by sguilhen

    WSTrustClientTest xmlns has been already bound to http://www.w3.org/2005/08/addressing

      Hi,

      I've been trying to test the PicketLink sts with the client code that was found on wiki. I'm using jdk 6 and jboss AS 6. When I run the code I get the following error. Does anyone know what coud be causing this?

       

      Exception in thread "main" javax.xml.ws.WebServiceException: javax.xml.stream.XMLStreamException: xmlns has been already bound to http://www.w3.org/2005/08/addressing. Rebinding it to  is an error
      at com.sun.xml.internal.ws.encoding.StreamSOAPCodec.encode(StreamSOAPCodec.java:97)
      at com.sun.xml.internal.ws.encoding.SOAPBindingCodec.encode(SOAPBindingCodec.java:251)
      at com.sun.xml.internal.ws.transport.http.client.HttpTransportPipe.process(HttpTransportPipe.java:130)
      at com.sun.xml.internal.ws.transport.http.client.HttpTransportPipe.processRequest(HttpTransportPipe.java:74)
      at com.sun.xml.internal.ws.api.pipe.Fiber.__doRun(Fiber.java:581)
      at com.sun.xml.internal.ws.api.pipe.Fiber._doRun(Fiber.java:540)

       

      Thank you for your help!

       

      Brian