Your WSDL is not complete. 

 

Check this tutorial http://www.w3schools.com/wsdl/default.asp

 

 

________________________________

From: Serkan Sunel [mailto:[EMAIL PROTECTED] 
Sent: Monday, April 09, 2007 4:15 PM
To: [email protected]
Subject: WSDL2JAVA ERROR- No bindings found in wsdl

 

Hi all,

 

 

I am a newbie for axis2

Can you tell me how can I generate java code for the wsdl and XSD files
(attached)..

I am gettimg the following errors..

 

[EMAIL PROTECTED] wsdl] java org.apache.axis2.wsdl.WSDL2Code -uri
parlayx_common_faults_2_0.wsdl --serverside-interface

Retrieving schema at 'parlayx_common_types_2_1.xsd', relative to
'file:/home/serkans/products/utilities/current/utilities/parlayx/wsdl/'.

log4j:WARN No appenders could be found for logger
(org.apache.axis2.description.WSDL11ToAxisServiceBuilder).

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>(CodeGeneration
Engine.java:112)

        at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:32)

Caused by: org.apache.axis2.AxisFault: No bindings found in wsdl; nested
exception is:

        org.apache.axis2.AxisFault: No bindings found in wsdl

        at
org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateService(
WSDL11ToAxisServiceBuilder.java:250)

        at
org.apache.axis2.wsdl.codegen.CodeGenerationEngine.<init>(CodeGeneration
Engine.java:103)

        ... 1 more

Caused by: org.apache.axis2.AxisFault: No bindings found in wsdl

        at
org.apache.axis2.description.WSDL11ToAxisServiceBuilder.findBinding(WSDL
11ToAxisServiceBuilder.java:377)

        at org.apache.axis2

 

Thanks..

 

Serkan SUNEL



DISCLAIMER:
-----------------------------------------------------------------------------------------------------------------------
The contents of this e-mail and any attachment(s) are confidential and intended 
for the named recipient(s) only. 
It shall not attach any liability on the originator or HCL or its affiliates. 
Any views or opinions presented in 
this email are solely those of the author and may not necessarily reflect the 
opinions of HCL or its affiliates. 
Any form of reproduction, dissemination, copying, disclosure, modification, 
distribution and / or publication of 
this message without the prior written consent of the author of this e-mail is 
strictly prohibited. If you have 
received this email in error please delete it and notify the sender 
immediately. Before opening any mail and 
attachments please check them for viruses and defect.
-----------------------------------------------------------------------------------------------------------------------

Reply via email to