perfsonar-dev - Re: [pS-dev] Gls infrastructure is down.
Subject: perfsonar development work
List archive
- From: Fausto Vetter <>
- To: Michael Bischoff <>
- Cc: Szymon Trocha <>, Jason Zurawski <>,
- Subject: Re: [pS-dev] Gls infrastructure is down.
- Date: Wed, 19 Nov 2008 13:25:50 +0000
Hi Michael,
That's really interesting. As far as I knew, from the beginning, soapaction for perfsonar services should be left blank. The code you presented below seems to expect anything ending with:
message/
Jason, could you have a look on it?
Thanks,
Michael Bischoff wrote:
Something ending with 'message' I suppose - I'm not sure why it is prefixed
with 'any char'
bit, with or without it it should yield the same results. Well I suppose that
depence on if
it includes whitespaces or not. Or does it? anywats perl is not actually my
native tongue :p
http://search.cpan.org/src/PERFSONAR/perfSONAR_PS-Services-Daemon-0.08/perfsonar
my $action = $request->getRawRequest->headers->{"soapaction"};
if (!$action =~ m/^.*message\/$/) {
my $msg = "Received message with an invalid soap action type.";
$logger->error($msg);
throw perfSONAR_PS::Error_compat("error.common.transport", $msg);
}
Kind regards,
Michael
ps. I'm adding jasons adress directly so he might actually read it soon-ish.
Hi Szymon/Jason,
The following is the HTTP output for the same request:
--------------------------
Sent output:
--------------------------
POST /perfSONAR_PS/services/gLS HTTP/1.0
Content-Type: text/xml; charset=utf-8
Accept: application/soap+xml, application/dime, multipart/related, text/*
User-Agent: Axis/1.4
Host: ls.perfsonar.pionier.net.pl:9990
Cache-Control: no-cache
Pragma: no-cache
SOAPAction: ""
Content-Length: 559
<?xml version="1.0" encoding="UTF-8"?><soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><soapenv:Body><nmwg:message
id="message1227088786" type="EchoRequest"
xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/">
<nmwg:metadata id="meta">
<nmwg:eventType>http://schemas.perfsonar.net/tools/admin/echo/2.0</nmwg:eventType>
</nmwg:metadata>
<nmwg:data id="data" metadataIdRef="meta"/>
</nmwg:message></soapenv:Body></soapenv:Envelope>
--------------------------
Received output:
--------------------------
HTTP/1.1 200 success
Date: Wed, 19 Nov 2008 10:03:28 GMT
Server: libwww-perl-daemon/5.810
User-Agent: perfSONAR-PS/1.0b
Content-Length: 801
Content-Type: text/xml
<SOAP-ENV:Envelope
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Header/>
<SOAP-ENV:Body>
<nmwg:message xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"
id="message.2970950" type="ErrorResponse"><nmwg:metadata
id="metadata.10158832"><nmwg:eventType>error.common.transport</nmwg:eventType></nmwg:metadat
a><nmwg:data
metadataIdRef="metadata.10158832" id="data.16911491"><nmwgr:datum
xmlns:nmwgr="http://ggf.org/ns/nmwg/result/2.0/">Received message with
an invalid soap action type.</nmwgr:datum></nmwg:data></nmwg:message>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
--------------------------
As you can observe, the sender SOAP Action is:
SOAPAction: ""
This is as expected and follows definitions as other services. What is
it expected from Perl Services?
Cheers,
Szymon Trocha wrote:
Fausto Vetter pisze:--
Hi Szymon,yes
Isn't the gLS the following access point?
http://ls.perfsonar.pionier.net.pl:9990/perfSONAR_PS/services/gLS
And also, if I try to echo request the above, with the followingThis is a question to Jason.
message, I have the following error:
Regards,
______________________________________________________________________
Fausto Vetter
Services Support/Network Engineer
DANTE - www.dante.net
Tel: +44 (0)1223 371 357
Fax: +44 (0)1223 371 371
Email:
City House, 126-130 Hills Road
Cambridge CB2 1PQ
UK
_____________________________________________________________________
--
______________________________________________________________________
Fausto Vetter
Services Support/Network Engineer
DANTE - www.dante.net
Tel: +44 (0)1223 371 357
Fax: +44 (0)1223 371 371
Email:
City House, 126-130 Hills Road
Cambridge CB2 1PQ
UK
_____________________________________________________________________
- Gls infrastructure is down., Michael Bischoff, 11/12/2008
- Re: [pS-dev] Gls infrastructure is down., Jason Zurawski, 11/12/2008
- Re: [pS-dev] Gls infrastructure is down., Szymon Trocha, 11/13/2008
- Re: [pS-dev] Gls infrastructure is down., Fausto Vetter, 11/18/2008
- Re: [pS-dev] Gls infrastructure is down., Fausto Vetter, 11/18/2008
- Re: [pS-dev] Gls infrastructure is down., Michael Bischoff, 11/18/2008
- Re: [pS-dev] Gls infrastructure is down., Szymon Trocha, 11/19/2008
- Re: [pS-dev] Gls infrastructure is down., Fausto Vetter, 11/19/2008
- Re: [pS-dev] Gls infrastructure is down., Michael Bischoff, 11/19/2008
- Re: [pS-dev] Gls infrastructure is down., Fausto Vetter, 11/19/2008
- Re: [pS-dev] Gls infrastructure is down., Jeff W. Boote, 11/19/2008
- Re: [pS-dev] Gls infrastructure is down., Michael Bischoff, 11/19/2008
- Re: [pS-dev] Gls infrastructure is down., Hans Trompert, 11/20/2008
- Re: [pS-dev] Gls infrastructure is down., Jason Zurawski, 11/20/2008
- Re: [pS-dev] Gls infrastructure is down., Herbert Monteiro, 11/20/2008
- Re: [pS-dev] Gls infrastructure is down., Szymon Trocha, 11/21/2008
- Re: [pS-dev] Gls infrastructure is down., Hans Trompert, 11/24/2008
- Re: [pS-dev] Gls infrastructure is down., Michael Bischoff, 11/19/2008
- Re: [pS-dev] Gls infrastructure is down., Fausto Vetter, 11/19/2008
- Re: [pS-dev] Gls infrastructure is down., Fausto Vetter, 11/18/2008
- Re: [pS-dev] Gls infrastructure is down., Fausto Vetter, 11/18/2008
Archive powered by MHonArc 2.6.16.