Hi All;

I am VERY new to Axis 2 so please be kind.


Here is a little background info.

I have been given a WSDL and XSD by another company in which I need to create Java classes for and eventually a web service. The other company uses WebLogic for their web services and have successfully been able to get the WSDL working with several different companies that use .NET. I will be using Axis 2, Java and Tomcat for mine. I have been in contact with the developer at the other company with my problem, and he was looking into it, but told me to try the mailing list for Axis as well, and that is why I am here.

When I try to create the java classes from the WSDL using wsdl2java.sh I get an error. I am not sure why this happens and I was wondering if someone could shed some light on the problem. I have included the WSDL, the XSD and the output from the command line with the error in it. The developer at the other company believes it was something to do with the response, his code generators create a response directly from the http-response, and he believes Axis is creating a callback method for handling the response.

Any thoughts here to help me get going would be great.


Rob



xmlbridge:~/Desktop/CUCBC/WSDL xmlbridge$ $AXIS2_HOME/bin/wsdl2java.sh -uri 
SDD2.wsdl -ss -sd -d xmlbeans -o Server/
 Using AXIS2_HOME:   /Users/xmlbridge/Desktop/ApacheAxis2/axis2-1.1/
 Using JAVA_HOME:       /System/Library/Frameworks/JavaVM.framework/Home/
Retrieving schema at 'SDD2.xsd', relative to 
'file:/Users/xmlbridge/Desktop/CUCBC/WSDL/'.
Dec 13, 2006 1:59:22 PM org.apache.axis2.description.WSDL11ToAxisServiceBuilder 
populateService
SEVERE: org.apache.axis2.AxisFault: fault "SDD2Error" not found in the 
Operation SDD2TransportOp
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: fault "SDD2Error" not found in the 
Operation SDD2TransportOp; nested exception is: 
        org.apache.axis2.AxisFault: fault "SDD2Error" not found in the 
Operation SDD2TransportOp
        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: fault "SDD2Error" not found in the 
Operation SDD2TransportOp
        at 
org.apache.axis2.description.WSDL11ToAxisServiceBuilder.processBinding(WSDL11ToAxisServiceBuilder.java:521)
        at 
org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateService(WSDL11ToAxisServiceBuilder.java:242)
        ... 3 morexmlbridge:~/Desktop/CUCBC/WSDL xmlbridge$ 
$AXIS2_HOME/bin/wsdl2java.sh -uri SDD2.wsdl -ss -sd -d xmlbeans -o Server/
 Using AXIS2_HOME:   /Users/xmlbridge/Desktop/ApacheAxis2/axis2-1.1/
 Using JAVA_HOME:       /System/Library/Frameworks/JavaVM.framework/Home/
Retrieving schema at 'SDD2.xsd', relative to 
'file:/Users/xmlbridge/Desktop/CUCBC/WSDL/'.
Dec 13, 2006 1:59:22 PM org.apache.axis2.description.WSDL11ToAxisServiceBuilder 
populateService
SEVERE: org.apache.axis2.AxisFault: fault "SDD2Error" not found in the 
Operation SDD2TransportOp
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: fault "SDD2Error" not found in the 
Operation SDD2TransportOp; nested exception is: 
        org.apache.axis2.AxisFault: fault "SDD2Error" not found in the 
Operation SDD2TransportOp
        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: fault "SDD2Error" not found in the 
Operation SDD2TransportOp
        at 
org.apache.axis2.description.WSDL11ToAxisServiceBuilder.processBinding(WSDL11ToAxisServiceBuilder.java:521)
        at 
org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateService(WSDL11ToAxisServiceBuilder.java:242)
        ... 3 more

Attachment: SDD2.wsdl
Description: Binary data

Attachment: SDD2.xsd
Description: Binary data

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

Reply via email to