Skip to Content.
Sympa Menu

perfsonar-user - Strange responses from http://loco4.man.poznan.pl:8090/axis/services/LookupService

Subject: perfSONAR User Q&A and Other Discussion

List archive

Strange responses from http://loco4.man.poznan.pl:8090/axis/services/LookupService


Chronological Thread 
  • From: Vlada Macek <>
  • To:
  • Subject: Strange responses from http://loco4.man.poznan.pl:8090/axis/services/LookupService
  • Date: Wed, 14 Feb 2007 14:48:16 +0100

Hi,

during the testing of the new LS client against
http://loco4.man.poznan.pl:8090/axis/services/LookupService, we've found
the responses deviate somehow from the specifications on
wiki.perfsonar.net. Can that mean the LS is old version? I think the
responses are vague. When the items below get corrected, the responses
will be better parsable:

1. Returned the result codes in the form 'result.success' instead of
'success.ls.register' for registration operation. Should I fix the
client to accept this answer for success? I consider it unclean
solution.

2. 'id' attribute in response's data and metadata get strange "_0"
suffix, for example 'resultCodeMetadata_0'. I think unified
'resultCodeMetadata' and 'resultCodeData' ids would be great for
parsing and I vote for them to be labeled required on the page
http://wiki.perfsonar.net/jra1-wiki/index.php/LS_Messages.

3. Response <nmwg:message> root element does not hold the required
'metadataIdRef' attribute referencing the 'id' of the request.


My client parses the registration response using this xpath expression,
which I consider good:

/nmwg:message[@type="LSRegisterResponse"
and
metadataIdRef="ls_client_request"]/nmwg:metadata[@id="resultCodeMetadata"]/nmwg:eventType

The items 2. and 3. above both keep the expression from finding the
correct <eventType> and item 1. means the string success.ls.register
cannot be successfully matched to indicate success.

If I may, I ask the responsible person for response. Thanks in advance.

--
\//\/\


begin:vcard
fn:Vlada Macek
n:Macek;Vlada
adr:;;;Liberec;;;Czech Republic
email;internet:
title:UNIX Admin && Developer
tel;cell:+420 608 978 164
note;quoted-printable:GPG info: key 0x1F059424, fingerprint 1494 F8DD 6379 4CD7 E7E3 1FC9 D750=
	 4243 1F05 9424=0D=0A=
	=0D=0A=
	When you find a virus in mail from me, then I intended to infect you, sin=
	ce I use SW that is not distributing malware w/o my knowledge.=0D=0A=
	=0D=0A=
	
x-mozilla-html:FALSE
version:2.1
end:vcard




Archive powered by MHonArc 2.6.16.

Top of Page