-
Notifications
You must be signed in to change notification settings - Fork 616
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 with multiple namespaces failing to identify them #224
Comments
you want to know if it's possible? or did you try it? if savon failed to parse the wsdl, please post the link to the wsdl |
Hi @rubiii - it's a bit of both. Github-mailed you the gist link. |
thx. i didn't have any time to test this yet, but i'll get back to you asap. |
I also have this problem - are there any updates? |
i have same problem too |
I'm not sure what people mean by "same problem", these things are depending on the specific WSDL file. Savon attempts to parse the WSDL and add the right namespaces, and any bugs are likely ones that would happen with some WSDL files and not others. |
can one of you provide a wsdl document and xml examples of the expected and actual xml?! |
The namespaced WSDLs that led me to do this work initially, or the server they describe, are no longer available to me, which is part of the reason for my silence; I don't have an especially good way of testing changes against real SOAP servers these days (unless there are public ones which would serve). The namespace code could use some love, I'm sure. What I got accepted in 2011 was enough for the particular server I had, but I didn't make any serious effort to make it handle all cases. I keep meaning to spend some time on this, but keep not getting around to it. Definitely agree with rubiii that a test case would make it easier for us to fix this. |
right. closing this issue until it gets some ❤️ |
@rubiii I had sent you what I could. Using this behind the firewall so can't provide everything. |
Know this is from 8 years ago, but I am experiencing similar behavior. Unfortunately, I cannot post the wsdl as it is proprietary, but I can give broad information. The WSDL in question is maintained by an external company that has multiple API versions (and different WSDLs) that are implemented by our mutual clients. My work requires me to by able to connect to the endpoints regardless of what API version. What I have done:
This is not optimal as a lot of data is in the code. Yes, I could put these all in external configurations, but subsequent API versions may eliminate these namespaces. When I've stepped through my code and this gem, I see the Wasabi Document does indeed parse completely with the namespaces available in the What I would like to see: Happy to clarify if any confusion. |
I'm attempting to use Savon with a relatively complex namespaced (6 excluding the standard SOAP XML namespaces) environment and am wanting to use the WSDL to drive Namespaces.
My expectation is that, given a WSDL identifying the namespaces for SOAP objects and variables, that these be automatically updated with the namespace.
Can you give any guide on this? I'm not sure how much code I can post (I know that in itself is an issue).
The text was updated successfully, but these errors were encountered: