I have a fairly simple WSDL (attached) and am trying to run wsdltojava 
thusly:

C:\Projects\SecureMessaging\trunk\wsdl>%AXIS2_HOME%\bin\wsdl2java.bat 
--server-side --service-description --serverside-interface -uri 
MessageService.wsdl --output .\ --package com.fiserve.sourceone.messaging 
-databinding-method xmlbeans --unpack-classes

However, this throws the following exception:
[ERROR] 
java.lang.NullPointerException
        at 
org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateBinding(WSDL11ToAxisServiceBuilder.java:596)
        at 
org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateEndpoint(WSDL11ToAxisServiceBuilder.java:422)
        at 
org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateEndpoints(WSDL11ToAxisServiceBuilder.java:377)
        at 
org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateService(WSDL11ToAxisServiceBuilder.java:281)
        at 
org.apache.axis2.description.WSDL11ToAllAxisServicesBuilder.populateAllServices(WSDL11ToAllAxisServicesBuilder.java:109)
        at 
org.apache.axis2.wsdl.codegen.CodeGenerationEngine.<init>(CodeGenerationEngine.java:141)
        at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:35)
        at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:24)




Any ideas on this?

Attachment: MessageService.wsdl
Description: Binary data

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to