4 Replies Latest reply on Oct 13, 2008 11:26 PM by Mimi Tantono

    WSDL generation: use="literal" is generated instead of use"e

    Mimi Tantono Newbie

      Hi all,
      In our code we need to use "encoded" as the SOAPBinding style. Everytime the jboss is started, it generate a wsdl file in the directory: JBOSS_HOME/server/default/data/wsdl/xxxx.jar/xxxx.wsdl.
      The generated wsdl is always:

      <input>
      <soap:body namespace="http://xxxx.xxx.com/" use="literal"/>
      </input>


      which made the application doesn't run well because it should be like this instead:
      <input>
      <soap:body namespace="http://xxxx.xxx.com" use="encoded"/>
      </input>


      Is there a way to fix this problem? Because everytime the jboss is restarted, the generated wsdl need to be changed from literal into encoded which is a little annoying in the deployment process.