unwire / handsoap

Handsoap is a library for creating SOAP clients in Ruby
http://github.com/unwire/handsoap
225 stars 58 forks source link

Default namespace #11

Closed ta closed 2 years ago

ta commented 14 years ago

Hi,

1 - As far as I can tell, handsoap only supports prefixed namespaces and not default namespaces(*) like this: "... <books xmlns="http://somebooksite.com/book_spec"&gt; ...".

(*) http://www.w3.org/TR/REC-xml-names/#defaulting

Am I wrong in that observation? If not, will you consider adding this feature?

2 - Some services defines more than one namespace in the envelope:

Is this possible with handsoap? If not, will you consider adding this feature? Regards, Tonni - who is trying to wrap his head around xml/soap
speedmax commented 14 years ago

I encounter a webservice which has default name space too..

anyone work around this issue?

speedmax commented 14 years ago

here is a patch that works for me

https://gist.github.com/9cc616c94f366c599df0