rouadec [http://community.jboss.org/people/rouadec] created the discussion

"jbossws confused by double namespace in request"

To view the discussion, visit: http://community.jboss.org/message/595912#595912

--------------------------------------------------------------
While testing a web-service installed on a jboss 5.1.0GA using the standard WS 
stack (I get "X-Powered-By: Servlet 2.5; JBoss-5.0/JBossWeb-2.1" in my HTTP 
headers) an unwanted behavior appeared on the jboss side when validation the 
signatures.

If the following request with the same namespace defined in two places is send 
to the jboss WS :

<soapenv:Envelope xmlns:soapenv=" http://schemas.xmlsoap.org/soap/envelope/ 
http://schemas.xmlsoap.org/soap/envelope/";> ...
     <S:Body xmlns:S=" http://schemas.xmlsoap.org/soap/envelope/ 
http://schemas.xmlsoap.org/soap/envelope/";> ...
     </S:Body>
</soapenv:Envelope>

JBOSS will interpret it as :

<soapenv:Envelope xmlns:soapenv=" http://schemas.xmlsoap.org/soap/envelope/ 
http://schemas.xmlsoap.org/soap/envelope/";> ...
     <soapenv:Body xmlns:S=" http://schemas.xmlsoap.org/soap/envelope/ 
http://schemas.xmlsoap.org/soap/envelope/";> ...
     </soapenv:Body>
</soapenv:Envelope>

And the signatures won't match since they were calculated using the S:Body 
version.

It this behavior expected or a bug in the way jboss handle the request?
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/595912#595912]

Start a new discussion in JBoss Web Services at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2044]

_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to