0 Replies Latest reply on Nov 18, 2014 5:40 AM by gptex

    How to deploy a web service using soap:binding style="document"

    gptex

      Hi all, before post this question I've searched a lot in documentation and in google, but without any luck.ng

       

      I'm using JBoss eap 6.1 and now my web service uses soap:binding style="rpc" and works well.
      At moment I do not use any annotation (@webservice, @web method and so on) , I describe all in .xml file.
      Now I have to move my web services to soap:binding style="document" and, because I have a very large application,

      I have tried to describe all in .xml (the same that I made for rpc, so, without using annotations)

       

      The problem is that JBoss does not publish my web services and does not give any error.

       

      What I do with RPC is fine because JBoss publish the web service and I can invoke it using an external application.

       

      For rpc
      I have a jar, located in JBoss ear folder, that has the web service class.

      In that jar, META-INF folder I place the file:

      webservices.xml (in attach named webservicesrpc.xml)

      jbosswebservices.xml (in attach with same name, because I do not change it for soap:binding style="document")

      jboss-ejb3.xml (in attach with same name, because I do not change it for soap:binding style="document")

      jboss-webservices.xml (in attach with same name, because I do not change it for soap:binding style="document")

      AsyncTest20-mapping.xml I do not place this file in jar when I use soap:binding style="rpc"

      a wsdl folder that contains the file AsyncTest20.wsdl (in attach named AsyncTest20rpc.wsdl)


      For soap:binding style="document"

      The jar is the same, and in it META-INF folder I have

      webservices.xml (in attach named webservicesdocument.xml)

      jbosswebservices.xml

      jboss-ejb3.xml

      jboss-webservices.xml

      a wsdl folder that contains the file AsyncTest20.wsdl (in attach named AsyncTest20document.wsdl)

      I do not place the mapping file

       

      For rpc works all, for document JBoss does not publish my web service and I have no idea why does not and how to

      place in my xml files to make JBoss publish my web service.

       

      Could someone help me?
      Thanks in advance for your time.