[jboss-user] [JBoss Web Services] - jbossws confused by double namespace in request

rouadec do-not-reply at jboss.com
Mon Mar 28 06:26:39 EDT 2011


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]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110328/799090aa/attachment.html 


More information about the jboss-user mailing list