in reply to Setting XML prefix for tags with SOAP::Lite
How can I get the "wsse" prefix on the UsernameToken tag?
my $securityHeader = SOAP::Header->new( name => 'Security', uri => $wsse, prefix => 'wsse', value => \SOAP::Data->new( name => 'UsernameToken', prefix => 'wsse', value => { Username => SOAP::Data->type( '' => $userId )->prefix('wss +e'), Password => SOAP::Data->type( '' => $password )->prefix('w +sse'), } ) );
Update: sorry, missed your second issue...
I also need to add the xmlns attribute to grid-name
'HTHmy $gridName = SOAP::Header->new( name => 'grid-name', value => 'SampleGrid1', uri => 'urn:realops.com:amp:workflow', prefix => '', type => '', );
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Setting XML prefix for tags with SOAP::Lite
by TheFluffyOne (Beadle) on Jul 31, 2008 at 05:45 UTC | |
|
Re^2: Setting XML prefix for tags with SOAP::Lite
by TheFluffyOne (Beadle) on Jul 31, 2008 at 21:20 UTC | |
by TheFluffyOne (Beadle) on Jul 31, 2008 at 21:56 UTC | |
by TheFluffyOne (Beadle) on Aug 01, 2008 at 09:34 UTC |