1 Reply Latest reply on Dec 5, 2006 1:49 PM by thomas.diesler

    Missing Encoding Style in SAAJ message

    reinerka

      Hi,

      I'm having the problem that in a message that has been created using SAAJ on JBoss 4.0.5.GA (with JBossWS 1.0.4, same with JBossWS 1.0.3) that even so I set the encoding style manually it doesn't show up in the transmitted message.

      Here's snipet of the code that creates the message:

      response = fac.createMessage();
      SOAPPart = response.getSOAPPart();
      SOAPEnvelope = part.getEnvelope();
      envelope.setEncodingStyle(ENCODING_STYLE);
      envelope.addNamespace(ns, ns_uri);
      .....
      


      The client doesn't understand the message without the SOAP Encoding style being transmitted.

      Thanks in advance for any input on this urgent problem.

      Reiner