Rice has asked for the wisdom of the Perl Monks concerning the following question:
Is there some way I can see the request in a similar fashion?my $uri = "http://service/uri" ; my $proxy = "https://service.provider.address/Service/service.asmx?WSD +L" ; my $service = SOAP::Lite ->uri($uri) ->proxy($proxy) ->autotype(0) ->outputxml(1) ->on_action( sub { join '/', @_ } ) ; my $response = $service->MethodName( SOAP::Header ->name( 'AuthHeader' ) ->value( { header1 => $header_1, header2 => $header_2 } ), SOAP::Data ->name( 'NamedParam1' ) ->type( 'string' ) ->value( $named_param_1 ), SOAP::Data ->name( 'NamedParam2' ) ->type( 'string' ) ->value( $named_param_2 ) ) ; print "RESPONSE: $response\n" ;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Displaying SOAP::Lite request XML
by jhourcle (Prior) on Mar 29, 2006 at 16:11 UTC | |
by Rice (Acolyte) on Mar 30, 2006 at 09:51 UTC | |
|
Re: Displaying SOAP::Lite request XML
by samtregar (Abbot) on Mar 29, 2006 at 18:10 UTC |