You are viewing a plain text version of this content. The canonical link for it is here.
Posted to muse-user@ws.apache.org by Agustin1984 <ja...@hotmail.com> on 2010/05/05 13:51:19 UTC
Re: No code generated by wsdl2java
I have the same problem, I attach my wsdl file
http://old.nabble.com/file/p28459815/wsBroker.wsdl wsBroker.wsdl
s raju wrote:
>
> 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
>
>
>
>
>
--
View this message in context: http://old.nabble.com/No-code-generated-by-wsdl2java-tp21987824p28459815.html
Sent from the Muse User mailing list archive at Nabble.com.
Re: No code generated by wsdl2java
Posted by Lenni Madsen <l....@mil.dk>.
Hi all
It seems yet again the broker / WS-notification is causing problem, and this is understandable enough as it's quite hard to get ones bearings on it.
I've added an example of a complete producer concept, ant scripts (please make sure you have a look at the build.properties file for settings used by the ant script).
required java libs: Muse-2.3.0 bin or better, Axis2 v1.4.1 or better, JUnit3, JRE v1.5 (MAc OSX or equivalent for PC/Linux) or better, servlet-api.jar
While I can answer a few question, that this is sure to bring my response time is somewhat long at times.
/Lenni