Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: SOAP reply with correct namespace

by dcunningham (Initiate)
on Sep 05, 2012 at 07:57 UTC ( #991769=note: print w/ replies, xml ) Need Help??


in reply to SOAP reply with correct namespace

Ok, to be more specific, anyone know how to get the namespace passed from the client using SOAP::Transport::HTTP::Server?

And what is the best way to set the namespace on the reply? I know about the $server->serializer( MySerializer->new ); method, but it seems a bit long winded.

Not a fan of SOAP either, but having to make do! Thanks.


Comment on Re: SOAP reply with correct namespace
Download Code
Re^2: SOAP reply with correct namespace
by Anonymous Monk on Sep 05, 2012 at 10:02 UTC

    Ok, to be more specific, anyone know how to get the namespace passed from the client using SOAP::Transport::HTTP::Server?

    Interrogate the appropriate object, like the envelope, there is an example in this treasure trove of SOAP examples and SOAP::Server/SOAP::SOM

    And what is the best way to set the namespace on the reply? I know about the $server->serializer( MySerializer->new ); method, but it seems a bit long winded.

    I don't know of a different way to do it, do you?

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (3)
As of 2014-10-26 08:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (152 votes), past polls