Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WSDL parsing error #25

Open
jomei opened this issue May 7, 2017 · 1 comment
Open

WSDL parsing error #25

jomei opened this issue May 7, 2017 · 1 comment

Comments

@jomei
Copy link

jomei commented May 7, 2017

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?

Thank you.

@jomei
Copy link
Author

jomei commented May 10, 2017

Looks like this issue is related with willemdj/erlsom#56

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant