Welcome to the "trac"-ing site of soap4r!
[soap4r] [httpclient] [openpgp4u] [pkcs1] [logger] [csv] [vtr]

Ticket #124 (closed defect: fixed)

Opened 3 years ago

Last modified 2 years ago

configuable envelope namespace

Reported by: nahi Assigned to: nahi
Priority: normal Milestone: 1.5.5
Component: soap4r Version: 1.5
Keywords: Cc:

Description

Flickr SOAP API uses SOAP/1.2 envelope namespace. Can we use SOAP/1.2 envelope namespace temporarily to deceive soap4r?

bartt wrote:

>> Yes, Flickr returns only one type of SOAP Envelope namespace. Would it
>> be possible to replace the namespace as it comes down the wire before
>> being parsed by soap4r? As a temporary fix at least? I'd rather not
>> change the source code of soap4r just to accommodate flickr.

No easy way in 1.5.4.  I changed my developing code (not commited yet).
 Do you think it's enough?

    TemporaryNamespace = 'urn:foo'
    @client.options["soap.envelope.requestnamespace"] = TemporaryNamespace
    @client.options["soap.envelope.responsenamespace"] = TemporaryNamespace
    @client.do_proc(...)

Change History