[Xml-compile] XML::Compile::WSDL11 And template()

Oliver Gorwits oliver.gorwits at oucs.ox.ac.uk
Wed Jun 16 06:02:54 GMT 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 16/06/2010 00:07, Richard Head Jr. wrote:
> Given this beast of a WSDL: http://pastie.org/1006133 
> I'd like to print out the request hash, but the following doesn't work:
> 
> $wsdl->template('PERL','{http://webservices.msb.xx.com}exportClientSpecMetadata');

Instead you could try the explain() method:

 # investigate the %request structure (server input)
 print $wsdl->explain('GetStockPrice', PERL => 'INPUT');

This is in the XML::Compile::WSDL11 documentation, but you will need
an up to date version of the module. I am pleased to say this works
well because I use it a lot :-)

HTH,

regards,
oliver.
- -- 
Oliver Gorwits, Network and Telecommunications Group,
Oxford University Computing Services
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkwYaQ4ACgkQ2NPq7pwWBt6rDACg+hs8FYXdC5E01FuKTIRbD8NJ
bTMAnRwe0Xsgf7u+W5NUKTZmzPWsZy9u
=UkXI
-----END PGP SIGNATURE-----



More information about the Xml-compile mailing list