Hi Gul,
Please have a look at http://issues.apache.org/jira/browse/AXIS2-965?page=all ?
If this change also affects the generator, then, you need to use nightly built of Axis2.
Regards,
Ali Sadik Kumlali
Please have a look at http://issues.apache.org/jira/browse/AXIS2-965?page=all ?
If this change also affects the generator, then, you need to use nightly built of Axis2.
Regards,
Ali Sadik Kumlali
----- Original Message ----
From: Gul Onural <[EMAIL PROTECTED]>
To: [email protected]
Sent: Thursday, September 14, 2006 3:19:40 AM
Subject: RE: WSDL2Java for a wsdl file with multiple porttypes
From: Onural, Gul (CAR:SI12)
Sent: Wednesday, September 13, 2006 8:07 PM
To: [email protected]
Subject: WSDL2Java for a wsdl file with multiple porttypes
From: Gul Onural <[EMAIL PROTECTED]>
To: [email protected]
Sent: Thursday, September 14, 2006 3:19:40 AM
Subject: RE: WSDL2Java for a wsdl file with multiple porttypes
I have also tried invoking the wsdl2java with -pn
option to see what it does for a wsdl file with multiple
portTypes.
But got the following exception.
Any suggestions ?
Gul
D:\axis2-std-1.0-bin\bin>WSDL2Java.bat -uri <wsdl location> -o <output> -p <package_name> -ss -sd -g -ssi -pn
<port_name>
Using AXIS2_HOME: D:\axis2-std-1.0-bin
Using JAVA_HOME: C:\Program Files\Java\jdk1.5.0_08
log4j:WARN No appenders could be found for logger (org.apache.axis2.i18n.ProjectResourceBundle).
log4j:WARN Please initialize the log4j system properly.
Exception in thread "main" org.apache.axis2.wsdl.codegen.CodeGenerationException: Error parsing WSDL
at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.<init>(CodeGenerationEngine.java:94)
at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:32)
at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:21)
Caused by: org.apache.axis2.AxisFault: Cannot Determine the MEP; nested exception is:
java.lang.Exception: Cannot Determine the MEP
at org.apache.axis2.description.WSDL2AxisServiceBuilder.populateService(WSDL2AxisServiceBuilder.java:243)
at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.<init>(CodeGenerationEngine.java:87)
... 2 more
Caused by: java.lang.Exception: Cannot Determine the MEP
at org.apache.axis2.description.WSDL2AxisServiceBuilder.getMEP(WSDL2AxisServiceBuilder.java:1365)
at org.apache.axis2.description.WSDL2AxisServiceBuilder.populateOperations(WSDL2AxisServiceBuilder.java:389)
at org.apache.axis2.description.WSDL2AxisServiceBuilder.processPortType(WSDL2AxisServiceBuilder.java:377)
at org.apache.axis2.description.WSDL2AxisServiceBuilder.processBinding(WSDL2AxisServiceBuilder.java:299)
at org.apache.axis2.description.WSDL2AxisServiceBuilder.populateService(WSDL2AxisServiceBuilder.java:238)
... 3 more
Using JAVA_HOME: C:\Program Files\Java\jdk1.5.0_08
log4j:WARN No appenders could be found for logger (org.apache.axis2.i18n.ProjectResourceBundle).
log4j:WARN Please initialize the log4j system properly.
Exception in thread "main" org.apache.axis2.wsdl.codegen.CodeGenerationException: Error parsing WSDL
at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.<init>(CodeGenerationEngine.java:94)
at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:32)
at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:21)
Caused by: org.apache.axis2.AxisFault: Cannot Determine the MEP; nested exception is:
java.lang.Exception: Cannot Determine the MEP
at org.apache.axis2.description.WSDL2AxisServiceBuilder.populateService(WSDL2AxisServiceBuilder.java:243)
at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.<init>(CodeGenerationEngine.java:87)
... 2 more
Caused by: java.lang.Exception: Cannot Determine the MEP
at org.apache.axis2.description.WSDL2AxisServiceBuilder.getMEP(WSDL2AxisServiceBuilder.java:1365)
at org.apache.axis2.description.WSDL2AxisServiceBuilder.populateOperations(WSDL2AxisServiceBuilder.java:389)
at org.apache.axis2.description.WSDL2AxisServiceBuilder.processPortType(WSDL2AxisServiceBuilder.java:377)
at org.apache.axis2.description.WSDL2AxisServiceBuilder.processBinding(WSDL2AxisServiceBuilder.java:299)
at org.apache.axis2.description.WSDL2AxisServiceBuilder.populateService(WSDL2AxisServiceBuilder.java:238)
... 3 more
From: Onural, Gul (CAR:SI12)
Sent: Wednesday, September 13, 2006 8:07 PM
To: [email protected]
Subject: WSDL2Java for a wsdl file with multiple porttypes
How do I use WSDL2Java to generate code for a wsdl file with multiple portTypes in it?
Both eclipse plug-in and command line versions of the
WSDL2Java tool seem to
generate code for only
one of the port types in my wsdl. I don't see how I generate code
for all the port types in my wsdl file.
Thanks,
Gul
