2 Replies Latest reply on Aug 4, 2011 5:01 PM by dammis

    Asynchronous webservice: stub generation

    dammis

      Hello,

      I have the wsdl of an asynchronous webservices.

      I tried to add the generation of the  async polling and callback operations.For that purpose I've an ant task on which I've add a binding file

      The classes are generated but I've nothing about asynchronous operations in it.

      Does anybody knows what I should do?

      Thanks a lot,

      Damien

       

      I'm on jbossws-native-3.1.1

       

      The ant task is:

      <wsconsume

                            fork="true"

                            verbose="true"

                            destdir="bin"

                            sourcedestdir="ejbModule"

                            keep="true"

                            package="com.richemont.swse.srv.provider.piServices.order"

                            wsdl="CAR_SWSE_T_ExportOrder.wsdl"

                            extension="true">

                          <binding file="binding.xml"/>

      </wsconsume>

       

      My binding file looks like:

      <bindings

          xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"

       

          xmlns="http://java.sun.com/xml/ns/jaxws">

              <!-- applies to wsdl:definitions node, that would mean the entire wsdl -->

              <enableAsyncMapping>true</enableAsyncMapping>

      </bindings>

       

      I've also joined the wsdl.