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: Stijn Melis <>
  • To: Roman Lapacz <>
  • Cc: Maciej Matachowski <>, "" <>
  • Subject: Re: [pS-dev] Re: [perfsonar-user] Web Service Request from PerfSonar
  • Date: Tue, 26 Aug 2008 11:31:01 +0200

Hi Maciej,

as Roman said, I can help you along if you have any questions regarding the SSHTELNET MP. Feel free to ask.

However, I did not make those soapUI scripts, and I don't have a lot of experience with soapUI, so if you have questions about that, you're probably better of contacting the person who made those scripts. I'm not sure who that is though, sorry...

Cheers,

Stijn

Roman Lapacz wrote:
Maciej Matachowski wrote:
Thanks Roman, we have found a lot of useful information there.

What about the soap request for telnet service. Can you provide them ?

For SSH Telnet MP I found this:
http://anonsvn.internet2.edu/svn/perfsonar/tags/GEANT2_JAVA-SSHTELNET-MP-1.3.3/test/
http://tinyurl.com/57su7y
Stijn Melis could say more about this service and its resources (not sure but he might be on vacation now).


Roman


Kind Regards,
Maciek



2008/8/21 Roman Lapacz
<>:
Maciej Matachowski wrote:
Dear All,

We want to test echo services of PErfSonar via SOAP requests on SOAPUI
tool, but where is the WSDL file located for the services?

Hi,

take a look here:
http://anonsvn.internet2.edu/svn/perfsonar/trunk/geant2-java-rrd-ma/test/functional-testing/
(that's for java rrd ma but also other services should have own soapui files
prepared by testing team)


Roman

Regards,
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