error: no match of right hand side value {error,[{exception,{error,"unknown tag: html"}
alawatta opened this issue · 7 comments
when use erlsom, following error came.
{'wsdl:tTypes','wsdl:tExtensibleDocumented'}]}
** exception error: no match of right hand side value {error,[{exception,{error,"unknown tag: html"}},
{stack,[undefined]},
{received,{startElement,[],"html",[],[]}}]}
Same WSDL file work with PHP nusoap lib.
Pls help to solve this
Hi, I would need to see the WSDL (and if relevant the XML) to be able to
determine what the problem is. Can you send them to me? (Better still would
be to have a minimal example of the problem.)
regards,
Willem
On Tue, Jan 6, 2015 at 10:46 AM, alawatta notifications@github.com wrote:
when use erlsom, following error came.
{'wsdl:tTypes','wsdl:tExtensibleDocumented'}]}
** exception error: no match of right hand side value
{error,[{exception,{error,"unknown tag: html"}},
{stack,[undefined]},
{received,{startElement,[],"html",[],[]}}]}Same WSDL file work with PHP nusoap lib.
Pls help to solve this—
Reply to this email directly or view it on GitHub
#29.
Hi Willem,
Tx a lot for your response.
I manged to handle that error & now came different error.
- exception error: no match of right hand side value
{error,[{exception,{error,"unknown tag: definitions"}},
{stack,[undefined]},
{received,{startElement,"http://schemas.xmlsoap.org/wsdl/",
"definitions","wsdl",
[{attribute,"targetNamespace",[],[],
"http://www.huawei.com/bme/cbsinterface/cbs/accountmgr
"}]}}]}
here attached wsdl file too.
Br,
Shehan
On Sat, Jan 10, 2015 at 6:05 PM, willemdj notifications@github.com wrote:
Hi, I would need to see the WSDL (and if relevant the XML) to be able to
determine what the problem is. Can you send them to me? (Better still
would
be to have a minimal example of the problem.)regards,
WillemOn Tue, Jan 6, 2015 at 10:46 AM, alawatta notifications@github.com
wrote:when use erlsom, following error came.
{'wsdl:tTypes','wsdl:tExtensibleDocumented'}]}
** exception error: no match of right hand side value
{error,[{exception,{error,"unknown tag: html"}},
{stack,[undefined]},
{received,{startElement,[],"html",[],[]}}]}Same WSDL file work with PHP nusoap lib.
Pls help to solve this—
Reply to this email directly or view it on GitHub
#29.—
Reply to this email directly or view it on GitHub
#29 (comment).
Hi Shehan,
I don't see the WSDL?
It is also not clear to me what you are trying to do. What commands are you using exactly? How can I reproduce the error?
Note that a WSDL is something else than an XSD. Normally you need to "compile" an XSD first. But again, it is not clear to me what you are trying to do, so I can only guess.
regards,
Willem
hi Willem,
Tx for ure response. here is the command I run. Sorry for mistake.
inets:start().
yaws_soap_lib:initModel("CBSInterfaceAccountMgrService?wsdl",
[{include_fun, {erlsom_lib, find_xsd}}]).
then above error came.
- exception error: no match of right hand side value
{error,[{exception,{error,"unknown tag: definitions"}},
{stack,[undefined]},
{received,{startElement,"http://schemas.xmlsoap.org/wsdl/",
"definitions","wsdl",
[{attribute,"targetNamespace",[],[],
"http://www.huawei.com/bme/cbsinterface/cbs/accountmgr
"}]}}]}
here attached wsdl file.
Br,
Shehan
On Wed, Jan 21, 2015 at 11:38 PM, willemdj notifications@github.com wrote:
Hi Shehan,
I don't see the WSDL?
It is also not clear to me what you are trying to do. What commands are
you using exactly? How can I reproduce the error?Note that a WSDL is something else than an XSD. Normally you need to
"compile" an XSD first. But again, it is not clear to me what you are
trying to do, so I can only guess.regards,
Willem—
Reply to this email directly or view it on GitHub
#29 (comment).
Hi Shehan,
this is more likely to be a problem related to yaws_soap. But I can look into it. I didn't find the WSDL, probably gitHub doesn allow attachments. Can you send it to me directly? You can find my email address in the source files of erlsom.
regards,
Willem
Dear Willeam,
tx a lot for ure kind response. I send WSDL file to ure private email.
Tx,
Shehan
On Fri, Jan 23, 2015 at 4:55 PM, willemdj notifications@github.com wrote:
Hi Shehan,
this is more likely to be a problem related to yaws_soap. But I can look
into it. I didn't find the WSDL, probably gitHub doesn allow attachments.
Can you send it to me directly? You can find my email address in the source
files of erlsom.regards,
Willem—
Reply to this email directly or view it on GitHub
#29 (comment).
Hi,
I think that the problem is that this is a soap 1.2 WSDL. I haven't investigated it in detail, but you could try to use yaws_soap12_lib instead of yaws_soap_lib.
Regards,
Willem