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

Parse WSDL Without Services #30

Open
greenyouse opened this issue Sep 24, 2017 · 1 comment
Open

Parse WSDL Without Services #30

greenyouse opened this issue Sep 24, 2017 · 1 comment

Comments

@greenyouse
Copy link

I have some WSDLs that pull in services from other WSDLs using imports. When I try running soap:wsdl2erlang on the files, it errors out with:

** exception error: no function clause matching 
                    soap_parse_wsdl:'-services/1-lc$^0/1-0-'(undefined) (src/soap_parse_wsdl.erl, line 114)
     in function  soap_parse_wsdl:get_services/3 (src/soap_parse_wsdl.erl, line 105)
     in call from soap_parse_wsdl:get_services/3 (src/soap_parse_wsdl.erl, line 110)
     in call from soap:wsdl2erlang/2 (/tmp/soap/_build/default/lib/soap/src/soap.erl, line 305)

For reproduction I uploaded a modified version of the w3schools TempConverter WSDL from the docs. There's a services WSDL that contains all the services and an abstract WSDL with the rest of the code.

I'm not sure what the best way to handle this would be. In Java wsimport outputs class files for each service but since this outputs a file per WSDL maybe there's a way to merge abstract and service WSDLs? If this doesn't sound like a common use case then feel free to close it and I'll stick to editing the files by hand.

@benjamin-bergia
Copy link

I am trying to work with the VMWare WebService API and I get the same issue.

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

2 participants