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.

Replies are listed 'Best First'.
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?