If you're interested in parsing WSDL 1.1 documents you might find WSDL4J 
useful.

http://sourceforge.net/projects/wsdl4j/

Lawrence




From:
Sagara Gunathunga <[email protected]>
To:
[email protected]
Date:
03/07/2010 08:23 AM
Subject:
Re: WSDL Parsing, newbie





On Sun, Mar 7, 2010 at 5:21 PM, F.Ozgur Catak <[email protected]> 
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/

Reply via email to