I wanted to build an awesome place for people to discuss module specific issues, but I don't have any more time for this, and there are much better places to discuss Perl-related issues. I'd recommend asking your question on Stack Overflow or on Perl Monks.
If you are looking for a Perl tutorial or Perl-related news, I hope these links will serve you well.
Posted on 2009-06-26 13:34:53-07 by dzieciou
WSDL parser
I'm looking for a WSDL parser which would allow me to extract:
(a) content of <documentation> tags describing both the whole service and its operation in WSDL definition
(b) identifiers for input/output parameters of Web service operations

I found SOAP::WSDL project but it doesn't seem to provide such functionality... Or it does but I cannot find access to such information.

Do you know any WSDL parser in Perl providing such information?



Best regards,
Maciej
Direct Responses: 11078 | Write a response
Posted on 2009-06-28 16:51:37-07 by mkutter in response to 11056
Re: WSDL parser
Hi,
SOAP::WSDL's WSDL parser works on a custom document model. The information you're looking for is included, but you'll have to look through the source to find it, and there's no guarantees these parts of SOAP::WSDL stay as they are, because it's not part of the official API.

The easiest way to get the information you need is to use a DOM parser like XML::LibXML and to use XPath to find the parts you need.
Martin
Direct Responses: Write a response