JBoss Community

Asynchronous webservice: stub generation

created by Damian Mislanda in JBoss Web Services - View the full discussion

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.

Reply to this message by going to Community

Start a new discussion in JBoss Web Services at Community