That explains it - thanks much for the response!

I may try the converter here: http://www.w3.org/2006/02/WSDLConvert.html

to convert to 2.0 and see if that works.



--- [EMAIL PROTECTED] wrote:

From: John Kaputin <[EMAIL PROTECTED]>
To: woden-dev@ws.apache.org
Cc: "Ron Johnson" <[EMAIL PROTECTED]>
Subject: Re: Getting INVALID_WSDL with WSDL generated from .NET web service
Date: Tue, 29 Jan 2008 22:30:43 +0000

Ron,
it looks like you have a WSDL 1.1 document.  Woden is a WSDL 2.0 parser.

> Expected a "{http://www.w3.org/ns/wsdl}description"; element, but
> found a "{http://schemas.xmlsoap.org/wsdl/}definitions"; element instead.

The WSDL 1.1 namespace is http://schemas.xmlsoap.org/wsdl/ and the root 
document element is <definitions>.
The WSDL 2.0 namespace is http://www.w3.org/ns/wsdl and the root document 
element is <description>.

You need to use WSDL4J to parse WSDL 1.1 documents 
(sourceforge.net/projects/wsdl4j)

regards,
John Kaputin


"Ron Johnson" <[EMAIL PROTECTED]> wrote on 29/01/2008 21:54:11:

> Hello - I took what I thought was a fairly simple WSDL file that was
> generated from a .NET web service and an not able to use it with 
> Woden. As far as I know it is valid, I even ran a validator (soapUI)
> on it to double check. Here's the error I'm getting - any idea 
> what's going on here?
> 
> Woden[Fatal Error],0:0,WSDL501,Expected a "{http://www.w3.
> org/ns/wsdl}description" element, but found a "{http://schemas.
> xmlsoap.org/wsdl/}definitions" element instead.
> WSDLException: faultCode=INVALID_WSDL: Fatal WSDL error:
> 0:0,WSDL501,Expected a "{http://www.w3.org/ns/wsdl}description"; 
> element, but found a "{http://schemas.xmlsoap.org/wsdl/}definitions";
> element instead.: 
>     at org.apache.woden.internal.ErrorReporterImpl.
> reportError(ErrorReporterImpl.java:229)
>     at org.apache.woden.internal.ErrorReporterImpl.
> reportError(ErrorReporterImpl.java:184)
>     at org.apache.woden.internal.ErrorReporterImpl.
> reportError(ErrorReporterImpl.java:169)
>     at org.apache.woden.internal.BaseWSDLReader.
> parseDescription(BaseWSDLReader.java:357)
>     at org.apache.woden.internal.DOMWSDLReader.
> readWSDL(DOMWSDLReader.java:203)
>     at org.apache.woden.internal.DOMWSDLReader.
> readWSDL(DOMWSDLReader.java:234)
>     at org.apache.woden.internal.DOMWSDLReader.
> readWSDL(DOMWSDLReader.java:247)
>     at org.apache.woden.internal.DOMWSDLReader.
> readWSDL(DOMWSDLReader.java:122)
>     at test.Main.main(Main.java:19)
> 
> Fight the Power! Blazemail





Unless stated otherwise above:
IBM United Kingdom Limited - Registered in England and Wales with number 
741598. 
Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU







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





_____________________________________________________________
Fight the Power! Blazemail

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

Reply via email to