Skip to Content.
Sympa Menu

perfsonar-dev - Re: [pS-dev] Re: [perfsonar-user] Web Service Request from PerfSonar

Subject: perfsonar development work

List archive

Re: [pS-dev] Re: [perfsonar-user] Web Service Request from PerfSonar


Chronological Thread 
  • From: "Maciej Matachowski" <>
  • To: "Roman Lapacz" <>
  • Cc: , "" <>
  • Subject: Re: [pS-dev] Re: [perfsonar-user] Web Service Request from PerfSonar
  • Date: Mon, 18 Aug 2008 16:06:42 +0200
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references:x-google-sender-auth; b=PvPsR1SErdKlj7y5Sum2nnCbJMZqBWBODfByT6Nse1WE9C2lyCuYqzL0i9lUAPhnJK OTm0ADQXfzaWXzP4dKsIngDapX186PLD9a4YuWi849RSfc6cwpTkMdYjIK+HzboFIWpS G1fmlaxQ7NJom31a2/kvS6Rn1Ob2UOHm9+gs0=

Dear Roman,
Thank you for the answer, url and the example. It will help us a lot.

Best,
Maciek


2008/8/18 Roman Lapacz
<>:
> Jason Zurawski wrote:
>>
>> Maciej;
>>
>>
>>> Thank you for fast respond and redirecting my email (BTW should I also
>>> be signed to developer's mailing list to get the respond and
>>> participate in the discussion?)
>>
>>
>> Your messages will be moderated, so signing up is not required (you may do
>> so if you wish).
>>
>>
>>> We need the general answer like: Can PerfSonar initiate SOAP Requests
>>> to other Web Services, if so how ?
>>> not necessarily to other PerfSonar Services, but also to third party
>>> Web Services ? so is there a way to invoke other Web Service apart
>>> from the UI ?
>>
>>
>> I may be missing your question here, but initiating a WS request is not a
>> function that solely exists in perfSONAR, many languages support this.
>> There are perfSONAR specific client libraries that exist to send messages,
>> but it may be better to start using standard SOAP implementations instead
>> (especially when talking about making requests to other WSs that do not
>> speak the perfSONAR protocol).
>
> As Jason mentioned, perfSONAR web services do not use type mapping but
> simple sending SOAP messages (text) over HTTP. If you want to test some
> already running service you can send Echo request (or any other pS request)
> using command line tool cURL (http://curl.haxx.se/). This tool takes a
> request from text file and sends it to a service. This approach could be
> very useful for someone who is not yet familiar with pS client apps.
>
>
> example use:
>
> curl --stderr /dev/null -H "SOAPAction: none" --data @soap-message.xml
> $SERVICE_URL > $RESPONSE_FILE
>
>
> Roman
>
>
>
>>
>> In general the perfSONAR services do not have the ability to make an
>> arbitrary request on behalf of someone else, they function as a standalone
>> piece of software that offers a set service (such as delivering some form
>> of
>> measurement data, or answering a discovery query). Hope this helps;
>>
>> -jason
>>
>>
>>> 2008/8/11 Jason Zurawski
>>> <>:
>>>>
>>>> Maciej;
>>>>
>>>>
>>>>> We are developing the Mediator which is between two PerfSonars
>>>>> "infrastructures" and user.
>>>>>
>>>>> The infrastructures are established in our lab. We need some
>>>>> informations about the queries.We will need PerfSonar to call the
>>>>> mediator, then mediator will ask the query to the other PerfSonar to
>>>>> get reply and send back to the first perfsonar.
>>>>>
>>>>> My question is how to create Web Service Request from PerfSonar? and
>>>>> how to invoke PerfSonar Services via Web Services ?
>>>>>
>>>>> I have searched the website and I couldn't find any helpful
>>>>> information.
>>>>> Any help will be appreciate.
>>>>>
>>>>>
>>>>> Kind Regards,
>>>>> Maciej Matachowski
>>>>>
>>>>> P.S. I couldn't find the Developer's mailing list so I don't know if
>>>>> this mailing list it a correct one. If not, please redirect my email.
>>>>
>>>>
>>>> is the developers mailing list (moving the
>>>> discussion there).
>>>>
>>>> First a question: which perfSONAR Services are you dealing with
>>>> specifically
>>>> (RRD MA, LS)?
>>>>
>>>> What you are using will change what the answer regarding what types of
>>>> messages to be sent. The messages in general are sent using SOAP over
>>>> HTTP,
>>>> and the foramt is similar to these messages (using the RRD MA as an
>>>> example):
>>>>
>>>>
>>>> http://anonsvn.internet2.edu/svn/perfsonar/trunk/geant2-java-rrd-ma/samples/requests/
>>>>
>>>> The LS, SQL MA, Telnet MP, etc. messages would be slightly different in
>>>> nature (the respective service authors can point you to examples once we
>>>> know what you need), but the idea will be the same.
>>>>
>>>> Let us know some more info, and we should be able to get you further in
>>>> your
>>>> project.
>
>



Archive powered by MHonArc 2.6.16.

Top of Page