Hi mates,
I'm not able to generate skeleton classes using Axis2's WSDL2Java, i.e.
[EMAIL PROTECTED]:/usr/local/devels/axis2-1.1.1/bin$ ./wsdl2java.sh
org.apache.axis2.wsdl.WSDL2Java -d xmlbeans -uri /tmp/jira.wsdl
Using AXIS2_HOME: /usr/local/devels/axis2-1.1.1
Using JAVA_HOME: /usr/local/devels/jdk1.5.0_09
Feb 11, 2007 6:44:40 PM
org.apache.axis2.description.WSDL11ToAxisServiceBuilder AddQNameReference
SEVERE: Part 'fault' of fault message '{
http://localhost:65466/rpc/soap/jirasoapservice-v2}RemotePermissionException'
must be defined with 'element=QName' and not 'type=QName'
Feb 11, 2007 6:44:40 PM
org.apache.axis2.description.WSDL11ToAxisServiceBuilder populateService
SEVERE: org.apache.axis2.AxisFault: Part 'fault' of fault message '{
http://localhost:65466/rpc/soap/jirasoapservice-v2}RemotePermissionException'
must be defined with 'element=QName' and not 'type=QName'
Exception in thread "main"
org.apache.axis2.wsdl.codegen.CodeGenerationException: Error parsing WSDL
at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.<init>(
CodeGenerationEngine.java:112)
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: Part 'fault' of fault message '{
http://localhost:65466/rpc/soap/jirasoapservice-v2}RemotePermissionException'
must be defined with 'element=QName' and not 'type=QName'; nested exception
is:
org.apache.axis2.AxisFault: Part 'fault' of fault message '{
http://localhost:65466/rpc/soap/jirasoapservice-v2}RemotePermissionException'
must be defined with 'element=QName' and not 'type=QName'
at
org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateService(
WSDL11ToAxisServiceBuilder.java:250)
at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.<init>(
CodeGenerationEngine.java:103)
... 2 more
Caused by: org.apache.axis2.AxisFault: Part 'fault' of fault message '{
http://localhost:65466/rpc/soap/jirasoapservice-v2}RemotePermissionException'
must be defined with 'element=QName' and not 'type=QName'
at
org.apache.axis2.description.WSDL11ToAxisServiceBuilder.AddQNameReference(
WSDL11ToAxisServiceBuilder.java:846)
at
org.apache.axis2.description.WSDL11ToAxisServiceBuilder.processBinding(
WSDL11ToAxisServiceBuilder.java:529)
at
org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateService(
WSDL11ToAxisServiceBuilder.java:242)
... 3 more
The JIRA SOAP endpoint is written in Axis1. May I know if there're any
solutions to this?
Thanks in advance.
--
Cheers,
Yuen-Chi Lian
"I do not seek; I find." - Pablo Picasso