You are viewing a plain text version of this content. The canonical link for it is here.
Posted to woden-dev@ws.apache.org by "F.Ozgur Catak" <f....@gmail.com> on 2010/03/07 12:51:41 UTC
WSDL Parsing, newbie
Hi,
When I try to parse wsdl files (
http://aile.saglik.gov.tr/sbrs/service.asmx?WSDL) i get an error like
[Error] service.asmx?WSDL:2:514: cvc-elt.1: Cannot find the declaration of
element 'wsdl:definitions'.
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.
Any Help?
F.Ozgur CATAK
Istanbul University, Informatics
PhD Student
Re: WSDL Parsing, newbie
Posted by Lawrence Mandel <lm...@ca.ibm.com>.
If you're interested in parsing WSDL 1.1 documents you might find WSDL4J
useful.
http://sourceforge.net/projects/wsdl4j/
Lawrence
From:
Sagara Gunathunga <sa...@gmail.com>
To:
woden-dev@ws.apache.org
Date:
03/07/2010 08:23 AM
Subject:
Re: WSDL Parsing, newbie
On Sun, Mar 7, 2010 at 5:21 PM, F.Ozgur Catak <f....@gmail.com>
wrote:
Hi,
When I try to parse wsdl files (
http://aile.saglik.gov.tr/sbrs/service.asmx?WSDL) i get an error like
[Error] service.asmx?WSDL:2:514: cvc-elt.1: Cannot find the declaration of
element 'wsdl:definitions'.
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.
Any Help?
It seems like you are parsing a WSDL 1.1 [1] document , Woden is a WSDL
2.0 [2] parser . You can't use Woden to parse WSDL 1.1 documents.
[1] - http://www.w3.org/TR/wsdl
[2] - http://www.w3.org/TR/wsdl20-primer/
Thanks,
F.Ozgur CATAK
Istanbul University, Informatics
PhD Student
--
Sagara Gunathunga
Blog - http://ssagara.blogspot.com
Web - http://people.apache.org/~sagara/
Re: WSDL Parsing, newbie
Posted by Sagara Gunathunga <sa...@gmail.com>.
On Sun, Mar 7, 2010 at 5:21 PM, F.Ozgur Catak <f....@gmail.com>wrote:
> Hi,
>
> When I try to parse wsdl files (
> http://aile.saglik.gov.tr/sbrs/service.asmx?WSDL) i get an error like
>
>
> [Error] service.asmx?WSDL:2:514: cvc-elt.1: Cannot find the declaration of
> element 'wsdl:definitions'.
> Woden[Fatal Error],0:0,WSDL501,Expected a "{
> http://www.w3.org/ns/wsdl}description<http://www.w3.org/ns/wsdl%7Ddescription>"
> element, but found a "{http://schemas.xmlsoap.org/wsdl/}definitions<http://schemas.xmlsoap.org/wsdl/%7Ddefinitions>"
> element instead.
>
> Any Help?
>
It seems like you are parsing a WSDL 1.1 [1] document , Woden is a WSDL
2.0 [2] parser . You can't use Woden to parse WSDL 1.1 documents.
[1] - http://www.w3.org/TR/wsdl
[2] - http://www.w3.org/TR/wsdl20-primer/
Thanks,
>
> F.Ozgur CATAK
> Istanbul University, Informatics
> PhD Student
>
--
Sagara Gunathunga
Blog - http://ssagara.blogspot.com
Web - http://people.apache.org/~sagara/