Skip Menu |

This queue is for tickets about the WSRF-Lite CPAN distribution.

Report information
The Basics
Id: 46994
Status: resolved
Worked: 3 hours (180 min)
Priority: 0/
Queue: WSRF-Lite

People
Owner: Nobody in particular
Requestors: liem.erwin [...] googlemail.com
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: (no value)
Fixed in: (no value)



Subject: problem with self-defined attributes
Hi, i currently have a problem with self-defined attributes in WSRF::Lite. This is an extract of my codes: my $soap = WSRF::Lite -> on_action(sub { return "http://dummyAction" }) -> wsaddress(WSRF::WS_Address->new()->Address($target)); my $method = SOAP::Data->name('dummyOperation') ->attr({ 'xmlns:xsi' => 'http://www.w3.org/2001/XMLSchema-instance', 'xmlns:adsl' => 'http://dummyServer/adsl', 'xmlns:order' => 'http://dummyServer/order', }) ->prefix('envelope') ->uri('http://dummyServer/envelope'); my $soap_response = $soap->call($method => SOAP::Data->type('xml' => MIME::Base64::decode($xml))); If I turn off the SSL option, WSRF::Lite shows all attributes within this tag. <envelope:dummyOperation xmlns:envelope="..." xmlns:xsi="..." xmlns:adsl="..." xmlns:order="..."/> so far so good. But the problem comes out, once I turn the SSL option on. WSRF::Lite shows only one attribute and the rest is gone. <envelope:dummyOperation xmlns:envelope="..." xmlns:order="..."/> I wonder whether this is a bug or not. Is there any other option to consider? Can anyone help me? Regards, Erwin PS: I'm using WSRF-Lite-0.8.2.6, SOAP-Lite-0.710.08 and perl v5.8.8
The problem here is that unused namespace declarations are trimmed from the signed message. If you use the namespaces that you declared, then they will be inserted in to the XML message. If you require further assistance, please let me know.