You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Quddus Chong <qc...@hotmail.com> on 2002/06/21 19:53:19 UTC

problem running java2wsdl on win2k

Hi all,
I am tring to run the Axis beta 2 Java2WSDL program on a test class using 
the command:

"%JAVA_CMD%" %WSTK_OPTS% -cp "%CLASSPATH%;%WSTK_CP%" 
org.apache.axis.wsdl.Java2WSDL -Nhttp://aeb.eb.ibm.com/HostingService
-nhttp://aeb.eb.ibm.com/HostingService -O AdvertisingAgent_Impl.wsdl -o 
AdvertisingAgent_Interface.wsdl 
-Lhttp://9.42.138.162:8080/AdvertisingAgent_Interface.wsdl 
-mDeliverNotification,SubscribeToNotificationTopic,UnsubscribeFromNotificationTopic 
-lhttp://9.42.138.167:8080/axis/servlet/AxisServlet -p"AdvertisingAgent" 
-P"AdvertisingAgentPackage" -SAdvertisingAgentImpl
com.ibm.eb.aeb.HostingService.agent.AdvertisingAgent

However, it keeps giving the following error:

java.lang.NullPointerException
        at 
org.apache.axis.wsdl.fromJava.Emitter.writePortType(Emitter.java:564)
        at 
org.apache.axis.wsdl.fromJava.Emitter.getIntfWSDL(Emitter.java:346)
        at org.apache.axis.wsdl.fromJava.Emitter.emit(Emitter.java:168)
        at org.apache.axis.wsdl.Java2WSDL.main(Java2WSDL.java:360)

Could someone please give me an idea what might be causing this?

_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com