From: Bram C. <bc...@cb...> - 2007-01-30 20:04:57
|
Bram Cymet wrote: > Hello, >=20 > I am trying to get SOAP working in Yaws 1.66. I have a WSDL file in > attempting to parse the file in yaws it complains that there are > unknown > tags even even for tags like <element> I even tried using the WSDL > file > that is used in the intro to soap in yaws example on the website and > got > the same results. >=20 =C2=A0=C2=A0=C2=A0Have you installed erlsom? =C2=A0=C2=A0=C2=A0If you follow the example, where does it bail out? =C2=A0=C2=A0=C2=A0Also, I've made a couple of small (but crucial) fixes =C2=A0=C2=A0=C2=A0that are in the CVS. For example, in the docs, info is =C2=A0=C2=A0=C2=A0missing about how to initialize the SOAP server: =C2=A0=C2=A0=C2=A0yaws_soap_srv:setup({HandlerMod, handler}, PathToWsdlFile= AsString). =C2=A0=C2=A0=C2=A0Cheers, Tobbe That got me a little further now when I got to call the funtion I get one of two errors either: {error,{not_supported_scheme,file}} or {error,{decoding,"Malformed: Unexpected end of text in document"}} I am not sure what either of these errors mean. Is it a problem with my WSDL file? Maybe something with how I have defined the handler, or something else? Thanks, Bram |