Skip Menu |
 

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

Report information
The Basics
Id: 91155
Status: new
Priority: 0/
Queue: SOAP-Lite

People
Owner: Nobody in particular
Requestors: richard.tomasso [...] exfo.com
Cc:
AdminCc:

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



From richard.tomasso [...] exfo.com Tue Dec 3 14: 30:26 2013
X-Originalarrivaltime: 03 Dec 2013 19:30:14.0041 (UTC) FILETIME=[16CC6890:01CEF05E]
MIME-Version: 1.0
X-Spam-Status: No, score=-5.555 tagged_above=-99.9 required=10 tests=[AWL=1.344, BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5] autolearn=ham
Content-Class: urn:content-classes:message
X-Spam-Flag: NO
X-Virus-Checked: Checked
Message-ID: <084CDC75FEC1E640B60338273BEACDFA029B1D10 [...] spboexc01.exfo.com>
Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01CEF05E.16A0A475"
X-Virus-Scanned: Debian amavisd-new at bestpractical.com
X-MS-Tnef-Correlator:
X-Spam-Score: -5.555
Received: from localhost (localhost [127.0.0.1]) by hipster.bestpractical.com (Postfix) with ESMTP id DF291240266 for <cpan-bug+SOAP-Lite [...] hipster.bestpractical.com>; Tue, 3 Dec 2013 14:30:26 -0500 (EST)
Received: from hipster.bestpractical.com ([127.0.0.1]) by localhost (hipster.bestpractical.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 46iDB6j-dCfK for <cpan-bug+SOAP-Lite [...] hipster.bestpractical.com>; Tue, 3 Dec 2013 14:30:24 -0500 (EST)
Received: from la.mx.develooper.com (x1.develooper.com [207.171.7.70]) by hipster.bestpractical.com (Postfix) with SMTP id 71885240249 for <bug-SOAP-Lite [...] rt.cpan.org>; Tue, 3 Dec 2013 14:30:24 -0500 (EST)
Received: (qmail 19189 invoked by alias); 3 Dec 2013 19:30:23 -0000
Received: from smtpinqc.exfo.com (HELO smtpinqc.exfo.com) (206.162.164.97) by la.mx.develooper.com (qpsmtpd/0.28) with ESMTP; Tue, 03 Dec 2013 11:30:19 -0800
Received: from spqcexc04.exfo.com ([172.16.48.171]) by smtpinqc.exfo.com with Microsoft SMTPSVC(6.0.3790.4675); Tue, 3 Dec 2013 14:30:14 -0500
Received: from spboexc01.exfo.com ([10.10.10.16]) by spqcexc04.exfo.com with Microsoft SMTPSVC(6.0.3790.4675); Tue, 3 Dec 2013 14:30:14 -0500
Delivered-To: cpan-bug+SOAP-Lite [...] hipster.bestpractical.com
Subject: Namespace set in server code is changed by apache in response
Return-Path: <richard.tomasso [...] exfo.com>
Thread-Index: Ac7wXhNtR1m2rHJ0T6if7Z7EjEqydw==
X-RT-Mail-Extension: soap-lite
X-Original-To: cpan-bug+SOAP-Lite [...] hipster.bestpractical.com
X-Spam-Check-BY: la.mx.develooper.com
Date: Tue, 3 Dec 2013 14:30:08 -0500
X-Spam-Level:
Thread-Topic: Namespace set in server code is changed by apache in response
X-MS-Has-Attach:
X-Mimeole: Produced By Microsoft Exchange V6.5
To: <bug-SOAP-Lite [...] rt.cpan.org>
From: "Richard Tomasso" <richard.tomasso [...] exfo.com>
X-RT-Interface: Email
Content-Length: 0
content-type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
X-RT-Original-Encoding: ascii
Content-Length: 1599
Download (untitled) / with headers
text/plain 1.5k
I have a SOAP service that uses different WSDL files to implement the API, each with its own namespace. Working fine, but lately we are seeing Responses that come back with the wrong namespace. The code in the Handler module looks at the SOAPAction in the header and parses that for the proper namespace. The last lines of the handler() method are $server->configure(@_); $server->serializer->ns($ns, 'ourNS'); $server->SUPER::handler(@_); @_ is an Apache2::RequestRec If I run a typical session, first Request is an Auth, then a Utility action and then some Provisioning action, based on those WSDLs. So the namespaces returned should be our.server.com/auth, ourserver.com/util, ourserver.com/prov. But when I run it with SOAPUI, I'm seeing our.server.com/auth, ourserver.com/util, ourserver.com/auth in the Response Headers. The correct namespace is being sent to the ns() call. Doing some further debugging, what I've narrowed it down to is the httpd process running. Once ourNS gets set in that, it stays that way. In the problem example, I checked the pid and when Requests gets handled by the same pid as the first Auth, the Response ourNS is always our.server.com/auth. When the first request handled by the second pid is the Util, all Responses handled by that httpd process after that have an ourNS that is always our.server.com/util. And so on. It's not at all clear why the httpd process is doing something to override what is explicitly set in the SOAP object. Is this some weird side-effect of the problematic way SOAP::Lite handles namespaces to begin with?
content-type: text/html; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
X-RT-Original-Encoding: ascii
Content-Length: 3454


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

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.