Skip Menu |

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

Report information
The Basics
Id: 40802
Status: resolved
Priority: 0/
Queue: SOAP-WSDL

People
Owner: Nobody in particular
Requestors: tomk [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 2.00_05
Fixed in: (no value)



Subject: wsdl2perl problems with special url
wsdl2perl https://webui.opensettlement.org/ws10/InstructionService?WSDL results in: Can't locate object method "set_final" via package "SOAP::WSDL::XSD::ComplexType " at c:/Programme/perl588/site/lib/SOAP/WSDL/Base.pm line 136 at line 189 at c:/Programme/perl588/site/lib/SOAP/WSDL/Expat/Base.pm line 82 at line 4 at c:/Programme/perl588/site/lib/SOAP/WSDL/Expat/Base.pm line 82 Is this a bug in SOAP::WSDL or malformed WSDL?
Subject: Re: [rt.cpan.org #40802] wsdl2perl problems with special url
Date: Wed, 03 Dec 2008 22:39:58 +0100
To: bug-SOAP-WSDL [...] rt.cpan.org
From: Martin Kutter <martin.kutter [...] fen-net.de>
Hi Thomas, this is a bug, although it has nothing to do with the URL (but the WSDL located there). The "final" attribute in a XML Schema definition (which should be ignored by SOAP::WSDL as of now) triggers the error. Fixed in 2.00.06 uploaded to CPAN just now. Martin Am Montag, den 10.11.2008, 05:25 -0500 schrieb Thomas Kratz via RT: Show quoted text
> Mon Nov 10 05:25:49 2008: Request 40802 was acted upon. > Transaction: Ticket created by TOMK > Queue: SOAP-WSDL > Subject: wsdl2perl problems with special url > Broken in: 2.00_05 > Severity: Normal > Owner: Nobody > Requestors: tomk@cpan.org > Status: new > Ticket <URL: http://rt.cpan.org/Ticket/Display.html?id=40802 > > > > wsdl2perl https://webui.opensettlement.org/ws10/InstructionService?WSDL > > results in: > > Can't locate object method "set_final" via package > "SOAP::WSDL::XSD::ComplexType > " at c:/Programme/perl588/site/lib/SOAP/WSDL/Base.pm line 136 > at line 189 at c:/Programme/perl588/site/lib/SOAP/WSDL/Expat/Base.pm > line 82 > at line 4 at c:/Programme/perl588/site/lib/SOAP/WSDL/Expat/Base.pm line 82 > > Is this a bug in SOAP::WSDL or malformed WSDL? >
On Wed Dec 03 16:40:30 2008, martin.kutter@fen-net.de wrote: Show quoted text
> Hi Thomas, > > this is a bug, although it has nothing to do with the URL (but the > WSDL > located there). The "final" attribute in a XML Schema definition > (which > should be ignored by SOAP::WSDL as of now) triggers the error. > > Fixed in 2.00.06 uploaded to CPAN just now.
I downloaded and installed 2.00.06 (although the tests threw quite a lot of warnings and errors) and got much further this time. But still there seems to be a problem: wsdl2perl https://webui.opensettlement.org/ws10/InstructionService? WSDL yields: Creating complexType class MyTypes/orgaUser.pm Creating complexType class MyTypes/organisation.pm Creating complexType class MyTypes/orgaMapping.pm Creating complexType class MyTypes/account.pm Creating complexType class MyTypes/accountMapping.pm Creating complexType class MyTypes/assetClass.pm Creating complexType class MyTypes/assetClassMapping.pm Creating complexType class MyTypes/country.pm Creating complexType class MyTypes/currency.pm Creating complexType class MyTypes/instruction.pm Creating complexType class MyTypes/instructionParty.pm Creating complexType class MyTypes/OpenSettlementException.pm Creating simpleType class MyTypes/orgaMappingType.pm Creating simpleType class MyTypes/instructionType.pm Creating simpleType class MyTypes/assetClasses.pm Creating simpleType class MyTypes/dataMainStatus.pm Creating simpleType class MyTypes/dataPublicationStatus.pm Creating complexType class MyTypes/instructionArray.pm Creating element class MyElements/OpenSettlementException.pm unsupported global type <tns:orgaUser> found in part user at c:/Programme/perl58 8/site/lib/SOAP/WSDL/Generator/Iterator/WSDL11.pm line 75. Thomas
Subject: Re: [rt.cpan.org #40802] wsdl2perl problems with special url
Date: Thu, 29 Jan 2009 08:59:41 +0100
To: bug-SOAP-WSDL [...] rt.cpan.org
From: Martin Kutter <martin.kutter [...] fen-net.de>
Hi Thomas, sorry for the late reply. Your error is not a bug, but a limitation of the current SOAP::WSDL implementation: It only supports document/literal style WSDL definitions. In your WSDL, there's a comlexType ("tns:orgaUser") used as message part ("user"), which means the WSDL is in rpc/literal or rpc/encoded style (document/literal mandates the use of elements for message parts). Martin Am Donnerstag, den 04.12.2008, 10:26 -0500 schrieb Thomas Kratz via RT: Show quoted text
> Queue: SOAP-WSDL > Ticket <URL: http://rt.cpan.org/Ticket/Display.html?id=40802 > > > On Wed Dec 03 16:40:30 2008, martin.kutter@fen-net.de wrote:
> > Hi Thomas, > > > > this is a bug, although it has nothing to do with the URL (but the > > WSDL > > located there). The "final" attribute in a XML Schema definition > > (which > > should be ignored by SOAP::WSDL as of now) triggers the error. > > > > Fixed in 2.00.06 uploaded to CPAN just now.
> > I downloaded and installed 2.00.06 (although the tests threw quite a lot > of warnings and errors) and got much further this time. But still there > seems to be a problem: > > wsdl2perl https://webui.opensettlement.org/ws10/InstructionService? > WSDL > > yields: > > Creating complexType class MyTypes/orgaUser.pm > Creating complexType class MyTypes/organisation.pm > Creating complexType class MyTypes/orgaMapping.pm > Creating complexType class MyTypes/account.pm > Creating complexType class MyTypes/accountMapping.pm > Creating complexType class MyTypes/assetClass.pm > Creating complexType class MyTypes/assetClassMapping.pm > Creating complexType class MyTypes/country.pm > Creating complexType class MyTypes/currency.pm > Creating complexType class MyTypes/instruction.pm > Creating complexType class MyTypes/instructionParty.pm > Creating complexType class MyTypes/OpenSettlementException.pm > Creating simpleType class MyTypes/orgaMappingType.pm > Creating simpleType class MyTypes/instructionType.pm > Creating simpleType class MyTypes/assetClasses.pm > Creating simpleType class MyTypes/dataMainStatus.pm > Creating simpleType class MyTypes/dataPublicationStatus.pm > Creating complexType class MyTypes/instructionArray.pm > Creating element class MyElements/OpenSettlementException.pm > unsupported global type <tns:orgaUser> found in part user at > c:/Programme/perl58 > 8/site/lib/SOAP/WSDL/Generator/Iterator/WSDL11.pm line 75. > > Thomas > >