Hello!
I'm trying to use wsdl2erlang with complex wsdl from here(file air_v41_0/Air.wsdl), and I got this
soap:wsdl2erlang("air_v41_0/Air.wsdl").
What must be generated?
1: client
2: server
3: both
Select a number: 1
Do you want to generate test stubs/skeletons?
1: no
2: yes, client only
3: yes, server only
4: yes, client and server
Select a number: 1
Which http client must be used?
1: ibrowse
2: inets
Select a number: 2
** exception error: no match of right hand side value {error,[{exception,{error,{"2 - Unexpected event, expected end-tag"}}},
{stack,['wsdl:definitions']},
{received,{startElement,"http://schemas.xmlsoap.org/wsdl/",
"binding",[],
[{attribute,"type",[],[],"tns:EMDRetrievePortType"},
{attribute,"name",[],[],"EMDRetrieveBinding"}]}}]}
in function soap_parse_wsdl:get_services/3 (/Users/anatolynosov/projects/search/deps/soap/src/soap_parse_wsdl.erl, line 104)
in call from soap:wsdl2erlang/2 (/Users/anatolynosov/projects/search/deps/soap/src/soap.erl, line 305)
And I have no idea what's going wrong. Any suggestions?
Hello! I'm trying to use
wsdl2erlang
with complex wsdl from here(file air_v41_0/Air.wsdl), and I got thisAnd I have no idea what's going wrong. Any suggestions?
Thank you.