Earnest Dyke [http://community.jboss.org/people/earnest.dyke] created the discussion
"Problem signing a web service request" To view the discussion, visit: http://community.jboss.org/message/575966#575966 -------------------------------------------------------------- Greetings all, We are running JBoss EAP 5.0 with JDK 1.6 on Windows. There is a web service on an Ubuntu/Apache server somewhere in the cloud that we need to call over https. We have everything working but the call fails and returns fault code *The signature or decryption was invalid*. The soap body that is generated by our client running in JBoss is as follows: {code:xml}<soapenv:Body wsu:Id="*id-12001189*" xmlns:wsu=" *http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd*"> http://community.jboss.org/post!input.jspa?containerType=14&container=2044# - <ns1:sEncrypt_Input xmlns=" *http://paymetric/2007-07/XiSecureWS.xsd http://paymetric/2007-07/XiSecureWS.xsd*" xmlns:ns1=" *http://paymetric/2007-07/XiSecureWS.xsd http://paymetric/2007-07/XiSecureWS.xsd*"> <ns1:MaxUnmaskedDigits>4</ns1:MaxUnmaskedDigits> <ns1:isUnmaskedFromLeft>0</ns1:isUnmaskedFromLeft> <ns1:strRawValue>4545111111111111</ns1:strRawValue> </ns1:sEncrypt_Input> </soapenv:Body>{code} We can pass this body through SoapUI and get the same response. If we pass this body through SoapUI, the service returns a valid response. {code:xml}<soapenv:Body wsu:Id="*id-12618762*" xmlns:wsu=" *http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd*"> http://community.jboss.org/post!input.jspa?containerType=14&container=2044# - <xis:sEncrypt_Input> <xis:MaxUnmaskedDigits>4</xis:MaxUnmaskedDigits> <xis:isUnmaskedFromLeft>0</xis:isUnmaskedFromLeft> <xis:strRawValue>4545111111111111</xis:strRawValue> </xis:sEncrypt_Input> </soapenv:Body>{code} The only real difference is the namespaces. Can anyone tell me why this is happening and how I can get our JBoss client to generate a body in the later format? Thanks in advance for any and all relevant responses. Earnie! -------------------------------------------------------------- Reply to this message by going to Community [http://community.jboss.org/message/575966#575966] 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
