This is the wsdl in the attachment which has only messages defined. Even
with the Axis 1.x this will not work. 

 

<?xml version="1.0" encoding="UTF-8"?>

<!-- January 5, 2006 -->

<wsdl:definitions

   name="common_faults"

 
targetNamespace="http://www.csapi.org/wsdl/parlayx/common/v2_0/faults";

   xmlns="http://schemas.xmlsoap.org/wsdl/";

   xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/";

   xmlns:xsd="http://www.w3.org/2001/XMLSchema";

 
xmlns:parlayx_common_xsd="http://www.csapi.org/schema/parlayx/common/v2_
1">

 

   <wsdl:types>

      <xsd:schema elementFormDefault="qualified">

         <xsd:import
namespace="http://www.csapi.org/schema/parlayx/common/v2_1";
schemaLocation="parlayx_common_types_2_1.xsd"/>

      </xsd:schema>

   </wsdl:types>

 

   <wsdl:message name="ServiceException">

      <wsdl:part name="ServiceException"
element="parlayx_common_xsd:ServiceException"/>

   </wsdl:message>

 

   <wsdl:message name="PolicyException">

      <wsdl:part name="PolicyException"
element="parlayx_common_xsd:PolicyException"/>

   </wsdl:message>

</wsdl:definitions>

 

 

 

 

________________________________

From: Serkan Sunel [mailto:] 
Sent: Monday, April 09, 2007 5:49 PM
To: axis-user@ws.apache.org
Subject: RE: WSDL2JAVA ERROR- No bindings found in wsdl

 

Hi,

 

I have been using this wsdl with old version of AXIS ..

 

I was able to generate java code with axis 1.X 

 

Project was working old axis ..

 

I only wanted to upgr my dependency..

 

You sure that wsdl is wrong ?

 

________________________________

From: Krishnamoorthy J (HCL Financial Services)
[mailto:[EMAIL PROTECTED] 
Sent: Monday, April 09, 2007 3:09 PM
To: axis-user@ws.apache.org
Subject: RE: WSDL2JAVA ERROR- No bindings found in wsdl

 

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: axis-user@ws.apache.org
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