Contributions
Re: Receive data with query from Webservice
First thank your help. Now I have something advanced, but since I have not used WebService I do not know how to work with it. From the webservice (SoapUI) I make a query for the Nodes that I have in a monitoring platform. (attachment "capture 1") When making the query, gives me the following information. (attachment doc "xml1"). I believe that I have to make the following query to take for example the devices of the "Cisco7200" family. <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:node="http://node.sdk.nms.ov.hp.com/"> <soapenv:Header/> <soapenv:Body> <node:getNodes xmlns:ns1="http://node.sdk.nms.ov.hp.com/"> <arg0 xsi:type="ns3:expression" xmlns:ns3="http://filter.sdk.nms.ov.hp.com/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <subFilters xsi:type="ns3:condition"> <name>deviceFamily</name> <operator>EQ</operator> <value>com.hp.ov.nms.devices.cisco7200seriesrouters</value> </subFilters> </arg0> </node:getNodes> </soapenv:Body> </soapenv:Envelope>space> But what I know is where I have to put that data, or how to create that query in the SoapUI. Then, what I do not know if I have to do is SOAP or REST (I think it would be REST but I do not know). What I do want is to do it with GET. Thank you very much for the help. Greetings.6 years agoPlace ReadyAPI QuestionsReadyAPI Questions4.3KViews0likes2CommentsReceive 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. 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. A greeting and thanks in advance.Solved6 years agoPlace ReadyAPI QuestionsReadyAPI Questions4.3KViews0likes4CommentsReceive 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.Solved6 years agoPlace TestLeft QuestionsTestLeft Questions3.1KViews0likes4Comments