axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From alexandra.steh...@fiserv.com
Subject WSDL11ToAxisServiceBuilder.populateBinding causing NPE?
Date Fri, 21 Sep 2007 20:12:36 GMT
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?


Mime
View raw message