Forum Discussion

JorgeGrille's avatar
JorgeGrille
Occasional Contributor
6 years ago
Solved

Receive data with query from Webservice

Hi!

In the WebService I load the general data consulted to a monitoring platform, but then I wanted to receive the data of 
a specific team giving it a label.
For example, this is a piece of code that brings me the general query.
 <xs:complexType name="ipAddress">
<xs:sequence>
<xs:element minOccurs="0" name="created" type="xs:dateTime"/>
<xs:element minOccurs="0" name="hostedOnId" type="xs:string"/>
<xs:element minOccurs="0" name="id" type="xs:string"/>
<xs:element minOccurs="0" name="inInterfaceId" type="xs:string"/>
<xs:element minOccurs="0" name="ipSubnetId" type="xs:string"/>
<xs:element minOccurs="0" name="ipValue" type="xs:string"/>
<xs:element minOccurs="0" name="managementMode" type="ns1:managementMode"/>
<xs:element minOccurs="0" name="modified" type="xs:dateTime"/>
<xs:element minOccurs="0" name="notes" type="xs:string"/>
<xs:element name="prefixLength" type="xs:int"/>
<xs:element minOccurs="0" name="uuid" type="xs:string"/>
</xs:sequence>
</xs:complexType>

Then I would like to give it a value, for example an ip, and to return the data related to that device.
I do not know if i would open for example the field "IpValue" = "value of the IP" , but i do not know how to do it.

A greeting and thanks in advance.
 

 



 

 

 

 

 

4 Replies

  • JorgeGrille's avatar
    JorgeGrille
    Occasional Contributor

    For example, I do this search (which I do not know if it is really like that) and it gives me the result of the capture.

    • AlexKaras's avatar
      AlexKaras
      Champion Level 3

      Hi,

       

      Do you use SoapUI (according to the screenshot) or TestLeft (as you are posting here)?

       

      • JorgeGrille's avatar
        JorgeGrille
        Occasional Contributor

        Hi!

        I´m using SoapUI.

         

        Maybe I wrote the post where it was not. If so, excuse me, and if you can tell me where I should ask, I would appreciate it very much.

          Thank you!

          Greetings.