-
Notifications
You must be signed in to change notification settings - Fork 43
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
wsdl2py fails if 'operation' element has no 'output' child element #81
Comments
Thank you very much for reporting the issue. I can reproduce this. One thing I have to double check is if this is a valid WSDL (is "output" optional?). You could help me here by looking for some spec and/or suggest a fix. |
I'm not too sure myself :) But the original WSDL file loads in Eclipse and Wizdler (Chrome extension). Validating Although I don't like quoting w3schools.com, http://www.w3schools.com/xml/xml_wsdl.asp has an example of an |
@madsweitling I just checked and I think your WSDL is correct ( https://www.w3.org/TR/wsdl#_one-way ). I don't have much time available right now. Can you work around the problem locally right now? |
I have been working on a lot of fixes and this one should be solved in my improvements branch by the commit range fe05c22...1dff9fd. I still have a few more things to finish before I submit a pull request. |
@FelixSchwarz I'm working around the issue locally. |
@pope1ni I gave your improvements branch a spin, however I'm getting a different exception using the same minimal.wsdl posted earlier. I get the same exception when trying the original offending WSDL file.
|
Right. So I have solved the issue raised in the original report in my branch as mentioned. What you are seeing now is a bug being tracked in #75. The |
@pope1ni You are right, I'm seeing #75 now. @FelixSchwarz Feel free to close this bug since it's probably a duplicate of #75 now. |
@madsweitling you could do it yourself :-) closing as duplicate of #75 as per comments above. |
When running the following, an exception is raised in
soapfish.wsdl12.Operation.get_OutputMessage
:minimal.wsdl
The text was updated successfully, but these errors were encountered: