Skip to Content.
Sympa Menu

perfsonar-dev - Re: [pS-dev] Re: Working LS service for testing

Subject: perfsonar development work

List archive

Re: [pS-dev] Re: Working LS service for testing


Chronological Thread 
  • From: Stijn Melis <>
  • To: "" <>
  • Subject: Re: [pS-dev] Re: Working LS service for testing
  • Date: Wed, 07 Mar 2007 17:20:18 +0100

You may use SOAPClient:

org.perfsonar.client.testHarness.SOAPClient

with parameters: (LS_URL) (INPUT_FILE.XML) (OUTPUT_FILE.XML)

If you don't want to use ant to run LS client ("ant client-query")
you may take a look at:

https://svn.internet2.edu/svn/perfsonar/trunk/perfsonar/contrib/benchmarking/ls/

especially:

https://svn.internet2.edu/svn/perfsonar/trunk/perfsonar/contrib/benchmarking/ls/runclient

remember to have all required jars:

https://svn.internet2.edu/svn/perfsonar/trunk/perfsonar/contrib/benchmarking/ls/jar/required-jars

Maciej

Hi,

First of all, I'm having trouble finding out what exactly I need to send. At the moment, this is the Request I'm sending:

<nmwg:message
type="LSQueryRequest"
id="msg1"
xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/";

xmlns:xquery="http://ggf.org/ns/nmwg/tools/org/perfsonar/service/lookup/xquery/1.0/";>

<nmwg:metadata id="meta1">

<xquery:subject id="sub1">
declare namespace nmwg="http://ggf.org/ns/nmwg/base/2.0/";;
data(/nmwg:store/nmwg:metadata/@id)
</xquery:subject>
<nmwg:eventType>service.lookup.xquery</nmwg:eventType>

</nmwg:metadata>
<nmwg:data/>
</nmwg:message>

Is this request correct?

Secondly, I'm having some difficulties finding out what the LS URL is. I tried the same URL I sent the LSRegisterRequest to, but that didn't work out. I got this Response:

<nmwg:message id="msg1_resp" messageIdRef="msg1" type="LSQueryResponse" 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>


I noticed Maciej provided a host (loco3.man.poznan.pl) and a port (8680), but I can't find an URL that has the LS. Any help finding this URL would be much appreciated.

Thanks in advance,

Stijn



Archive powered by MHonArc 2.6.16.

Top of Page