Jämförda versioner

Nyckel

  • Dessa rader lades till.
  • Denna rad togs bort.
  • Formateringen ändrades.

...

Exempelanrop till PingForConfiguration  

{code}

  curl -H  

Kodblock
titlecurl till PingForConfiguration med korrekta http headers angivna
curl -H "Content-Type: text/xml; charset=utf-8" -H "x-vp-sender-id: HSAID" -H "x-vp-instance-id: VP_INSTANCEID" -d @PingForConfigurationRequest.xml -X POST http://localhost:8080/vp/itintegration/monitoring/PingForConfiguration/1/rivtabp21

{code}

...

Kodblock
languagexml
titlePingForConfigurationRequest.xml
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:riv:itintegration:registry:1" xmlns:urn1="urn:riv:itintegration:monitoring:PingForConfigurationResponder:1">

...


  <soapenv:Header>

...


    <urn:LogicalAddress>Test</urn:LogicalAddress>

...


  </soapenv:Header>

...


  <soapenv:Body>

...


  <urn1:PingForConfiguration>

...


    <urn1:serviceContractNamespace>?</urn1:serviceContractNamespace>

...


    <urn1:logicalAddress>?</urn1:logicalAddress>

...


    <!--You may enter ANY elements at this point-->

...


    </urn1:PingForConfiguration>

...


  </soapenv:Body>

...


</soapenv:Envelope>

...

Kodblock

...

 

...

languagexml
titlePingForConfigurationResponse
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">

...


<soap:Header>

...


<mule:header xmlns:mule="http://www.muleumo.org/providers/soap/1.0">

...


<mule:MULE_CORRELATION_ID>06ce8dfa-adb6-11e3-80b1-812a0d6458ec

...


</mule:MULE_CORRELATION_ID>

...


<mule:MULE_CORRELATION_GROUP_SIZE>1

...


</mule:MULE_CORRELATION_GROUP_SIZE>

...


<mule:MULE_CORRELATION_SEQUENCE>-1</mule:MULE_CORRELATION_SEQUENCE>

...


</mule:header>

...


</soap:Header>

...


<soap:Body>

...


<PingForConfigurationResponse

...


xmlns="urn:riv:itintegration:monitoring:PingForConfigurationResponder:1"

...


xmlns:ns2="urn:riv:itintegration:registry:1">

...


<version>V1.0</version>

...


<pingDateTime>20140317102506</pingDateTime>

...


<configuration>

...


<name>Applikation</name>

...


<value>VP</value>

...


</configuration>

...


<configuration>

...


<name>Anropsbehörigheter</name>

...


<value>219</value>

...


</configuration>

...


<configuration>

...


<name>Logiska-adresser</name>

...


<value>154</value>

...


</configuration>

...


</PingForConfigurationResponse>

...


</soap:Body>

...


</soap:Envelope>

...