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<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/
