Skip Menu |

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

Report information
The Basics
Id: 40178
Status: resolved
Priority: 0/
Queue: SOAP-Lite

People
Owner: Nobody in particular
Requestors: timwood0 [...] pacbell.net
Cc:
AdminCc:

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



Subject: SOAP::Lite generates variously correct and wrong xmlns:soap schema references
Date: Sun, 19 Oct 2008 17:29:27 -0700
To: bug-SOAP-Lite [...] rt.cpan.org
From: Tim Wood <timwood0 [...] pacbell.net>
Distribution: 0.710.08 Perl: This is perl, v5.8.1 built for i586-linux O/S: Linux axolotl.livecut.com 2.4.20-30.7.legacy #1 Fri Feb 20 14:31:41 PST 2004 i586 unknown My SOAP::Lite XML RPC call documents contain two different values for the xmlns:soap schema. Sometimes I see xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/ SOAP calls with this schema execute correctly. This schema defines the <soap:Envelope> element used in the XML RPC call. Other times I see xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/ SOAP calls with this schema fail with a 400 Bad Request HTTP error from the server. This fails as expected, as the wsdl/soap schema does not define <soap:Envelope>. It is not clear why SOAP::Lite chooses one sometimes and the other other times.
Subject: Re: [rt.cpan.org #40178] SOAP::Lite generates variously correct and wrong xmlns:soap schema references
Date: Mon, 20 Oct 2008 23:56:06 +0200
To: bug-SOAP-Lite [...] rt.cpan.org
From: Martin Kutter <martin.kutter [...] fen-net.de>
Hi Tim, do you use SOAP::Schema (or stubmaker.pl)? There's a (known) namespace conflict when a WSDL defines the "soap" prefix, which is used for the envelope in SOAP::Lite by default. The current workaround is to set $SOAP::Constants::PREFIX_ENV = 'SOAP-ENV'; (any value other than "soap" will probably do). Martin Am Sonntag, den 19.10.2008, 20:29 -0400 schrieb timwood0@pacbell.net via RT: Show quoted text
> Sun Oct 19 20:29:51 2008: Request 40178 was acted upon. > Transaction: Ticket created by timwood0@pacbell.net > Queue: SOAP-Lite > Subject: SOAP::Lite generates variously correct and wrong xmlns:soap schema references > Broken in: (no value) > Severity: (no value) > Owner: Nobody > Requestors: timwood0@pacbell.net > Status: new > Ticket <URL: http://rt.cpan.org/Ticket/Display.html?id=40178 > > > > > Distribution: 0.710.08 > Perl: This is perl, v5.8.1 built for i586-linux > O/S: Linux axolotl.livecut.com 2.4.20-30.7.legacy #1 Fri Feb 20 14:31:41 PST 2004 i586 unknown > > My SOAP::Lite XML RPC call documents contain two different values for the xmlns:soap schema. Sometimes I see > > xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/ > > SOAP calls with this schema execute correctly. This schema defines the <soap:Envelope> element used in the XML RPC call. Other times I see > > xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/ > > SOAP calls with this schema fail with a 400 Bad Request HTTP error from the server. This fails as expected, as the wsdl/soap schema does not define <soap:Envelope>. It is not clear why SOAP::Lite chooses one sometimes and the other other times. > > > >
Subject: Re: [rt.cpan.org #40178] SOAP::Lite generates variously correct and wrong xmlns:soap schema references
Date: Mon, 20 Oct 2008 15:04:05 -0700
To: bug-SOAP-Lite [...] rt.cpan.org
From: Tim Wood <timwood0 [...] pacbell.net>
Hi Martin, Thanks for writing. At 02:56 PM 10/20/08, you wrote: Show quoted text
><URL: http://rt.cpan.org/Ticket/Display.html?id=40178 > > >Hi Tim, > >do you use SOAP::Schema (or stubmaker.pl)?
No, though I have tried stubmaker for my other reported problem about arrays. Show quoted text
>There's a (known) namespace conflict when a WSDL defines the "soap" >prefix, which is used for the envelope in SOAP::Lite by default.
Yep, the application WSDL calls in xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/. Show quoted text
>The current workaround is to set > > $SOAP::Constants::PREFIX_ENV = 'SOAP-ENV'; > >(any value other than "soap" will probably do).
Will do. Thanks! Shall I close the bug? TW Show quoted text
>Martin > >Am Sonntag, den 19.10.2008, 20:29 -0400 schrieb timwood0@pacbell.net via >RT:
>> Sun Oct 19 20:29:51 2008: Request 40178 was acted upon. >> Transaction: Ticket created by timwood0@pacbell.net >> Queue: SOAP-Lite >> Subject: SOAP::Lite generates variously correct and wrong xmlns:soap schema references >> Broken in: (no value) >> Severity: (no value) >> Owner: Nobody >> Requestors: timwood0@pacbell.net >> Status: new >> Ticket <URL: http://rt.cpan.org/Ticket/Display.html?id=40178 > >> >> >> >> Distribution: 0.710.08 >> Perl: This is perl, v5.8.1 built for i586-linux >> O/S: Linux axolotl.livecut.com 2.4.20-30.7.legacy #1 Fri Feb 20 14:31:41 PST 2004 i586 unknown >> >> My SOAP::Lite XML RPC call documents contain two different values for the xmlns:soap schema. Sometimes I see >> >> xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/ >> >> SOAP calls with this schema execute correctly. This schema defines the <soap:Envelope> element used in the XML RPC call. Other times I see >> >> xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/ >> >> SOAP calls with this schema fail with a 400 Bad Request HTTP error from the server. This fails as expected, as the wsdl/soap schema does not define <soap:Envelope>. It is not clear why SOAP::Lite chooses one sometimes and the other other times. >> >> >> >>
Hi, closed as duplicate of https://rt.cpan.org/Ticket/Display.html?id=29505 Martin