2 Replies Latest reply on Dec 14, 2010 2:08 PM by Earnest Dyke

    Problem signing a web service request

    Earnest Dyke Novice

      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">
      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">
      - <xis:sEncrypt_Input>

      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.