Beefy Boxes and Bandwidth Generously Provided by pair Networks Bob
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re^4: Passing a session token using XML::Compile::WSDL

by SeptamusNonovant (Novice)
on Dec 18, 2013 at 00:57 UTC ( #1067564=note: print w/ replies, xml ) Need Help??


in reply to Re^3: Passing a session token using XML::Compile::WSDL
in thread Passing a session token using XML::Compile::WSDL

So I used WSA as a reference and made the INPUT and OUTPUT the same for addHeader. It seems to have taken this time:

my $ns = 'http://example.com/tns'; my $op = $wsdl->operation(...); $op->addHeader(INPUT => "tns_token" => "{$ns}token"); $op->addHeader(OUTPUT => "tns_token" => "{$ns}token"); $call = $op->compileClient(token => $sessionToken);
I got no complaints about token not being found. However, I still am not getting any header information in the SOAP envelope. Am I still missing something?


Comment on Re^4: Passing a session token using XML::Compile::WSDL
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1067564]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (4)
As of 2014-04-19 00:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (473 votes), past polls