Skip to Content.
Sympa Menu

perfsonar-dev - Re: [pS-dev] problem with selftest (SSHTELNET MP)

Subject: perfsonar development work

List archive

Re: [pS-dev] problem with selftest (SSHTELNET MP)


Chronological Thread 
  • From: Stijn Melis <>
  • To: Cándido Rodríguez Montes <>
  • Cc: "" <>
  • Subject: Re: [pS-dev] problem with selftest (SSHTELNET MP)
  • Date: Tue, 15 Jul 2008 14:45:47 +0200

Cándido Rodríguez Montes wrote:
Hi Stijn,

El 15/07/2008, a las 12:20, Stijn Melis escribió:

Cándido Rodríguez Montes wrote:
Hi Stijn,
El 15/07/2008, a las 11:48, Stijn Melis escribió:
Hi all,

I am trying to get the selftest working for the SSHTELNET MP, but I'm having trouble triggering the test. When I send an EchoRequest with the selftest eventType, it uses the EchoRequest class from ps-base instead of the function I wrote.

This may be a stupid question, but is there a way to prevent the EchoRequest class from ps-base to be used?
Yes, it depends on the event type of the EchoRequest:
- 'http://schemas.perfsonar.net/tools/admin/echo/2.0': this is the simple echo request and it is processed by the perfSONAR base.
- Any other event type means that the EchoRequest will be processed by your service. In this case, 'http://schemas.perfsonar.net/tools/admin/selftest/1.0'

Hmm, that's strange, the eventType I use is the selftest one :s

I'll try again, and see what happens.

Try to send the same message to http://homer.rediris.es:8080/perfSONAR-AS/services/AuthService . You can check if this will reply you with the self tests.

I just tried sending this request to your MP:

<nmwg:message xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/";
type="EchoRequest">
<nmwg:metadata id="m1">

<nmwg:eventType>http://schemas.perfsonar.net/tools/admin/selftest/1.0</nmwg:eventType>
</nmwg:metadata>
<nmwg:data id="d1" metadatIdRef="m1"/>
</nmwg:message>

and it returns this response:

<nmwg:message id="localhost.localdomain.-35b240a6:11b115edf58:-7fc5_resp" messageIdRef="localhost.localdomain.-35b240a6:11b115edf58:-7fc5" type="EchoResponse" xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/";>
<nmwg:metadata id="resultCodeMetadata">
<nmwg:eventType>warning.common.no_metadata</nmwg:eventType>
</nmwg:metadata>
<nmwg:data id="resultDescriptionData_for_resultCodeMetadata" metadataIdRef="resultCodeMetadata">
<nmwgr:datum xmlns:nmwgr="http://ggf.org/ns/nmwg/result/2.0/";>No output metadata was returned by MessageHandler. Maybe there was no data trigger, or data trigger didn't have valid metadataIdRef?</nmwgr:datum>
</nmwg:data>
</nmwg:message>

The same happens when I change the eventType to the regular echo eventType.

There must be something wrong with the EchoRequest, but I can't really see what it is.

Could you send me a sample request of the ones you use, please?

Thanks,

Stijn



Archive powered by MHonArc 2.6.16.

Top of Page