This is likely to be an error in your WSDL.  Try running it through a 
validation tool or loading it into SoapUI.

-----Original Message-----
From: LeftoverLinguine [mailto:[email protected]]
Sent: Wednesday, July 01, 2009 3:31 PM
To: [email protected]
Subject: Axis2 1.5 WSDL2Java errors


I'm getting the following errors when I run WSDL2Java:

[ERROR] Cannot Determine the MEP
org.apache.axis2.AxisFault: Cannot Determine the MEP
        at
org.apache.axis2.description.WSDL11ToAxisServiceBuilder.getMEP(WSDL11
ToAxisServiceBuilder.java:2745)
        at
org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateOpera
tions(WSDL11ToAxisServiceBuilder.java:1287)
        at
org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populatePortT
ype(WSDL11ToAxisServiceBuilder.java:591)
        at
org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateEndpo
ints(WSDL11ToAxisServiceBuilder.java:468)
        at
org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateServi
ce(WSDL11ToAxisServiceBuilder.java:362)
        at
org.apache.axis2.description.WSDL11ToAllAxisServicesBuilder.populateA
llServices(WSDL11ToAllAxisServicesBuilder.java:107)
        at
org.apache.axis2.wsdl.codegen.CodeGenerationEngine.<init>(CodeGenerat
ionEngine.java:147)
        at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:35)
        at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:24)

Exception in thread "main"
org.apache.axis2.wsdl.codegen.CodeGenerationException
: Error parsing WSDL
        at
org.apache.axis2.wsdl.codegen.CodeGenerationEngine.<init>(CodeGenerat
ionEngine.java:153)
        at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:35)
        at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:24)
Caused by: org.apache.axis2.AxisFault: Cannot Determine the MEP
        at
org.apache.axis2.description.WSDL11ToAxisServiceBuilder.getMEP(WSDL11
ToAxisServiceBuilder.java:2745)
        at
org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateOpera
tions(WSDL11ToAxisServiceBuilder.java:1287)
        at
org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populatePortT
ype(WSDL11ToAxisServiceBuilder.java:591)
        at
org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateEndpo
ints(WSDL11ToAxisServiceBuilder.java:468)
        at
org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateServi
ce(WSDL11ToAxisServiceBuilder.java:362)
        at
org.apache.axis2.description.WSDL11ToAllAxisServicesBuilder.populateA
llServices(WSDL11ToAllAxisServicesBuilder.java:107)
        at
org.apache.axis2.wsdl.codegen.CodeGenerationEngine.<init>(CodeGenerat
ionEngine.java:147)
        ... 2 more

Does anyone have any idea what could be causing the errors?
--
View this message in context: 
http://www.nabble.com/Axis2-1.5-WSDL2Java-errors-tp24295840p24295840.html
Sent from the Axis - User mailing list archive at Nabble.com.


STATEMENT OF CONFIDENTIALITY:



The information contained in this electronic message and any attachments to
this message are intended for the exclusive use of the addressee(s) and may
contain confidential or privileged information. If you are not the intended
recipient, please notify WHI Solutions immediately at [email protected],
and destroy all copies of this message and any attachments.

Reply via email to