Yes, we use them to test for example woden. It's quite easy to write a
concrete wsdl that imports the abstract one and then run it with
wsdl2java.

thanks,
dims

On 6/6/07, Denis Kishenko <[EMAIL PROTECTED]> wrote:
So it looks like 70% of W3C WSDL 2.0 Test Suite files are abstract =)

2007/6/6, Davanum Srinivas <[EMAIL PROTECTED]>:
> This means that that this is an abstract wsdl and not a concrete wsdl.
>
> -- dims
>
> On 6/6/07, Denis Kishenko <[EMAIL PROTECTED]> wrote:
> > I am sorry for confusion, my previous example was incorrect because of
> > I skipped -wv, but this crushes too
> >
> > C:\axis2-1.2\bin>wsdl2java.bat -uri
> > C:\wsdl-test-suite\documents\good\Chameleon-1G\getBalance.wsdl -wv 2.0
> > Using AXIS2_HOME:   C:\axis2-1.2
> > Using JAVA_HOME:    C:\Program Files\Java\jdk1.6.0
> > Exception in thread "main"
> > org.apache.axis2.wsdl.codegen.CodeGenerationException: Error parsing
> > WSDL
> >         at 
org.apache.axis2.wsdl.codegen.CodeGenerationEngine.<init>(CodeGenerationEngine.java:137)
> >         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: No wsdlService found in the WSDL
> >         at 
org.apache.axis2.description.WSDL20ToAxisServiceBuilder.populateService(WSDL20ToAxisServiceBuilder.java:227)
> >         at 
org.apache.axis2.wsdl.codegen.CodeGenerationEngine.<init>(CodeGenerationEngine.java:93)
> >         ... 2 more
> > Caused by: org.apache.axis2.AxisFault: No wsdlService found in the WSDL
> >         at 
org.apache.axis2.description.WSDL20ToAxisServiceBuilder.processService(WSDL20ToAxisServiceBuilder.java:276)
> >         at 
org.apache.axis2.description.WSDL20ToAxisServiceBuilder.populateService(WSDL20ToAxisServiceBuilder.java:224)
> >         ... 3 more
> >
> >
> > 2007/6/6, Lukichev, Alexander S <[EMAIL PROTECTED]>:
> > > Maybe because it expects WSDL v1, not v2?
> > >
> > > Alexander
> > >
> > > >-----Original Message-----
> > > >From: Denis Kishenko [mailto:[EMAIL PROTECTED]
> > > >Sent: Wednesday, June 06, 2007 4:53 PM
> > > >To: [email protected]
> > > >Subject: wsdl2java crushes
> > > >
> > > >Hi all
> > > >
> > > >I am really interested in wsdl2java tool but have some problems.
> > > >
> > > >On the following link you can find a lot of *good* wsdl files
> > > >http://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/index.html
> > > >unfortunately wsdl2java crushes on the most of them (about 70%) with
> > > exceptions
> > > >
> > > >For example, see
> > > >http://dev.w3.org/cvsweb/~checkout~/2002/ws/desc/test-suite/index.html
> > > >
> > > >getBalance.wsdl
> > > ><?xml version="1.0" encoding="UTF-8"?>
> > > ><wsdl:description xmlns:tns="http://example.org/getBalance/";
> > > >       xmlns:wsdl="http://www.w3.org/ns/wsdl";
> > > >       xmlns:xsd="http://www.w3.org/2001/XMLSchema";
> > > >       targetNamespace="http://example.org/getBalance/";>
> > > >
> > > >       <wsdl:documentation>
> > > >               This test shows how to use elements from an included
> > > no-target
> > > >               namespace xsd (i.e. chameleon include)
> > > >       </wsdl:documentation>
> > > >
> > > >       <wsdl:types>
> > > >               <xsd:schema
> > > targetNamespace="http://example.org/getBalance/";
> > > >                       xmlns:xsd="http://www.w3.org/2001/XMLSchema";>
> > > >                       <xsd:include schemaLocation="getBalance.xsd" />
> > > >               </xsd:schema>
> > > >       </wsdl:types>
> > > >
> > > >       <wsdl:interface name="getBalanceInf">
> > > >               <wsdl:operation name="getBalance"
> > > >                       pattern="http://www.w3.org/ns/wsdl/in-out";>
> > > >                       <wsdl:input element="tns:custInfo" />
> > > >                       <wsdl:output element="tns:accInfo" />
> > > >               </wsdl:operation>
> > > >       </wsdl:interface>
> > > ></wsdl:description>
> > > >
> > > >C:\axis2-1.2\bin>wsdl2java.bat -uri
> > > >C:\wsdl-test-suite\documents\good\Chameleon-1G\getBalance.wsdl
> > > >Using AXIS2_HOME:   C:\axis2-1.2
> > > >Using JAVA_HOME:    C:\Program Files\Java\jdk1.6.0
> > > >Exception in thread "main"
> > > >org.apache.axis2.wsdl.codegen.CodeGenerationException: Error parsing
> > > >WSDL
> > > >        at
> > > >org.apache.axis2.wsdl.codegen.CodeGenerationEngine.<init>(CodeGeneratio
> > > nEngine.java:140)
> > > >        at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:32)
> > > >        at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:21)
> > > >Caused by: javax.wsdl.WSDLException: WSDLException (at
> > > >/wsdl:description): faultCode=INVALID_WSDL: Expected element
> > > >'{http://schemas.xmlsoap.org/wsdl/
> > > >}definitions'.
> > > >        at com.ibm.wsdl.xml.WSDLReaderImpl.checkElementName(Unknown
> > > Source)
> > > >        at com.ibm.wsdl.xml.WSDLReaderImpl.parseDefinitions(Unknown
> > > Source)
> > > >        at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
> > > >        at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
> > > >        at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source)
> > > >        at
> > > >org.apache.axis2.wsdl.codegen.CodeGenerationEngine.readInTheWSDLFile(Co
> > > deGenerationEngine.java:308
> > > >)
> > > >        at
> > > org.apache.axis2.wsdl.codegen.CodeGenerationEngine.<init>(CodeGeneration
> > > Engine.java:97)
> > > >        ... 2 more
> > > >
> > > >Why this tool doesn't understand this file?
> > > >
> > > >Thanks,
> > > >Denis
> > > >
> > > >---------------------------------------------------------------------
> > > >To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > >For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
>
> --
> Davanum Srinivas :: http://davanum.wordpress.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>



--
Davanum Srinivas :: http://davanum.wordpress.com

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

Reply via email to