Skip to Content.
Sympa Menu

perfsonar-dev - RE: SQL MA Functional Testing

Subject: perfsonar development work

List archive

RE: SQL MA Functional Testing


Chronological Thread 
  • From: Michael Michalis <>
  • To: 'Roman Łapacz' <>
  • Cc:
  • Subject: RE: SQL MA Functional Testing
  • Date: Thu, 28 Dec 2006 15:31:51 +0200

Hi Roman,
Thanks for the quick response.
Attached are the two requests with the missing elements.

Michalis

-----Original Message-----
From: Roman Łapacz
[mailto:]

Sent: Thursday, December 28, 2006 3:24 PM
To: Michael Michalis
Cc: Roman Lapacz; Loukik Kudarimoti;

Subject: Re: SQL MA Functional Testing

Michael Michalis napisał(a):
>
> Hi Roman,
>

Hi Michael
>
>
>
> Firstly I would like to wish you Merry Christmas and a happy new year.
>

Thank you! I wish you all the best in comming new year.

>
> Now I have completed developing the test requests for functional
> testing the MetadataKeyRequest. Then I fed these requests to the
> service and I noticed that when the request is missing certain
> elements the service does not respond with an error result code but a
> soap error is appearing on the soap client. In such cases shouldn't
> the service be responding with a response code (failing gracefully)?
>

Yes, you are right. The service should respond with error code. Could
you send me examples such requests?

Roman
>
>
>
> Best Regards,
>
>
>
>
>
> Michalis Michael
>

<?xml version="1.0" encoding="UTF-8"?>
<nmwg:message xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"; xmlns:nmtl2="http://ggf.org/ns/nmwg/topology/l2/3.0/"; xmlns:nmwgtopo3="http://ggf.org/ns/nmwg/topology/base/3.0/"; xmlns:select="http://ggf.org/ns/nmwg/ops/select/2.0/"; type="MetadataKeyRequest">
     <nmwg:metadata id="meta1">
          <nmwg:subject id="subject1" />
          <nmwg:eventType>Path.Status</nmwg:eventType>
     </nmwg:metadata>
     <nmwg:metadata id="meta2">
          <select:subject id="iusub2" metadataIdRef="meta1" />
          <select:parameters id="param1">
               <nmwg:parameter name="time">now</nmwg:parameter>
          </select:parameters>
          <nmwg:eventType>select</nmwg:eventType>
     </nmwg:metadata>
     <nmwg:data id="data1" metadataIdRef="meta2" />
</nmwg:message>

<?xml version="1.0" encoding="UTF-8"?>
<nmwg:message xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/"; xmlns:nmtl2="http://ggf.org/ns/nmwg/topology/l2/3.0/"; xmlns:nmwgtopo3="http://ggf.org/ns/nmwg/topology/base/3.0/"; xmlns:select="http://ggf.org/ns/nmwg/ops/select/2.0/"; type="MetadataKeyRequest">
     <nmwg:metadata id="meta1">
          <nmwg:subject id="subject1">
               <nmtl2:link>
                    <nmtl2:globalName type="logical">PSNC-DFN-MUE-003</nmtl2:globalName>
               </nmtl2:link>
          </nmwg:subject>
          <nmwg:eventType>Path.Status</nmwg:eventType>
     </nmwg:metadata>
     <nmwg:metadata id="meta2">
          <select:subject id="iusub2" metadataIdRef="meta1" />
          <select:parameters id="param1">
               <nmwg:parameter name="time">now</nmwg:parameter>
          </select:parameters>
     </nmwg:metadata>
     <nmwg:data id="data1" metadataIdRef="meta2" />
</nmwg:message>




Archive powered by MHonArc 2.6.16.

Top of Page