-
Notifications
You must be signed in to change notification settings - Fork 615
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
Removing wsdl prefix from tags... #64
Comments
Hi Matt, I'm struggling with the same two issues this morning. I haven't figured out how to remove the wsdl prefix yet, but for converting the SOAP calls to camelcase (instead of lower-camelcase), I'm doing this: soap.action[0] = soap.action[0,1].upcase |
don't know why my two lines turned into one, but here's try #2:
|
Thanks...I'll give that a try. I also just posted the Zimbra soap.txt to a gist... http://gist.github.com/428946 ...for those that don't have access to a Zimbra server docs directory. |
Hi Michael, Tried your code snippet. That solved the CamelCase problem but still leaves the issue that the Zimbra server will not accept the SOAP XML with tags like this... |
Yeah, I still don't know a workaround for that. Luckily for me, the API I'm working with (not Zimbra) doesn't seem to care if the prefix is there or not. Hopefully someone else can chime in with a solution for your problem. |
quick survey: would you need to changed or disable the :wsdl namespace globally (for all client instances), per client instance or per request? |
Hi...when working with the Zimbra SOAP stuff....I would never need it so globally works. Maybe someone else would think differently though. I'd be fine just doing something like this per request though too...
|
I think it would be nice to have a way to set the default behavior at the client instance level, then be able to override the default at the request level (as chewie71 described above). |
fixed in dev branch. will be released asap. |
please try savon 0.8.0.beta.1 |
just tried it...getting the following error when I attempt to create a new client instance: ruby-1.9.2-p0 > client = Savon::Client.new '' ArgumentError: wrong number of arguments (1 for 0) |
you should read the new Savon Guide before getting started. |
Yes I should! Thanks :) |
released v0.8.0 which should solve this problem. |
Hi,
I'm trying to connect to Zimbra via SOAP and it doesn't like the wsdl prefix in the tags. The SOAP it seems to expect is this...
So I'm trying to create that request with this bit of code...
But this is what I get back...
Another issue is that it's converting AuthRequest to authRequest. I think I've specified it correctly for not using WSDL according to the docs. What am I doing wrong?
Thanks,
Matt
The text was updated successfully, but these errors were encountered: