Hi,
using: muse2.2.0 on axis2-1.4

Tried running wsdl2java on the WS-BaseNotification-1_3.wsdl found in the 
wsn-consumer sample.
Ofcourse, it came back with 'oneserviceperwsdl' error. So added the following 
snippet to the wsdl.

     <wsdl:binding name="Binding" type="wsntw:NotificationConsumer">
         <wsdl-soap:binding style="document" 
transport="http://schemas.xmlsoap.org/soap/http"/>
         <wsdl:operation name="Notify">
             <wsdl-soap:operation/>
             <wsdl:input>
                 <wsdl-soap:body 
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; use="literal"/>
             </wsdl:input>
         </wsdl:operation>
     </wsdl:binding>
     <wsdl:service name="Service">
         <wsdl:port binding="wsntw:Binding" name="Port">
             <wsdl-soap:address 
location="http://127.0.0.1/notification/services/notification"/>
         </wsdl:port>
     </wsdl:service>   

Then ran 'wsdl2java.bat -j2ee axis2 -wsdl wsdl\WS-BaseNotification-1_3.wsdl'

and it finished successfully but i do not see any java code. I creates 
webcontent
directory and everything under it but no 'javasource' or 'src' directory. 

Would really appreciate some help with this. Btw, total newbie. All the samples 
work ok.

Thanks,
Srini



Reply via email to