perfsonar-dev - Re: [pS-dev] Gls infrastructure is down.
Subject: perfsonar development work
List archive
- From: "Jeff W. Boote" <>
- To: Fausto Vetter <>
- Cc: Michael Bischoff <>, Szymon Trocha <>, Jason Zurawski <>,
- Subject: Re: [pS-dev] Gls infrastructure is down.
- Date: Wed, 19 Nov 2008 07:16:40 -0700
Hi Fausto, Michael, Szymon, et al.
On Nov 19, 2008, at 6:25 AM, Fausto Vetter wrote:
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/
Well, we have not changed the SOAP portion of our code in a very, very long time... And, this has worked up until very recently. I'd like to know if there was a change in the Java client requests. Did you change SOAP libraries?
It is clear there is an interoperability issue here - but it is not something that is easy for us to fix for already deployed services. It is of course something we can address in our next release. But - we need to come up with a way to move to that without disabling existing deployments if we can.
Perhaps one of you could look at a previous version of pS-UI and look at what it was sending before. We actually ran into this problem as well when attempting to demonstrate pS-UI with some of our services yesterday and realized this was a problem. pS-UI had always been able to access the Internet2 network SNMP-MA before, but that was no longer the case.
Also, I believe this was working just last month when Szymon was testing the Java hLS with our gLS implementation. So, I suspect something changed in your client libraries since then.
Jason, could you have a look on it?
Jason, Aaron and I are in Austin at the SC08 conference, so you will not hear from us much (if at all) this week. (And, we are all on vacation with the U.S. Thanksgiving holiday next week.)
We can (and will) put something into our next release - likely in December. But, we have several deployments of the existing software (not run by us) and it will take a fair amount of time to convince other groups to upgrade.
thanks,
jeff
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.