Skip Menu |

This queue is for tickets about the SOAP-WSDL CPAN distribution.

Report information
The Basics
Id: 70917
Status: new
Priority: 0/

Owner: Nobody in particular
Requestors: patrick.kuijvenhoven [...]

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)

Subject: " NOT_FOUND error" if namespace-prefix is used several times for different namespaces
Date: Tue, 13 Sep 2011 09:55:03 +0200
To: bug-SOAP-WSDL [...]
From: Patrick <patrick.kuijvenhoven [...]>
Download (untitled) / with headers
text/plain 1.1k
If a namespace-prefix is used several times and corresponds to different namespaces, SOAP::WSDL has trouble looking for a type in these namespaces. I've noticed the "TODO: check whether URI is the better key." in "SOAP::WSDL::Expat::WSDLParser::_import_namespace_definitions", and I think the namespace itself is indeed a better "key". I managed to create an example (by stripping down the irrelevant parts of the WSDL I'm using). The example-files are attached to this bug as wsdl_plus_xsds.tar.gz. Test results are the same for SVN-trunk, 2.00.99_3 and 2.00.10: $ file:`pwd`/MyService.wsdl Creating complexType class MyTypes/ Creating simpleType class MyTypes/ Creating complexType class MyTypes/ /usr/local/lib/perl5/site_perl/5.8.8/SOAP/WSDL/Generator/Template/XSD\ NOT_FOUND error - http://localhost/MyService lookupKey not found at /usr/local/lib/perl5/site_perl/5.8.8/SOAP/WSDL/ line 62 Issue: type "lookupKey" exists in namespace "http://localhost/CommonTypes"; not in "http://localhost/MyService" Workaround: See hacky patch in work_around.diff
Download wsdl_plus_xsds.tar.gz
application/x-gzip 806b

Message body not shown because it is not plain text.

Download work_around.diff
text/x-diff 739b

Message body is not shown because sender requested not to inline it.

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to