none
HttpListener - HttpClient - Example code

    Question

  • Hello,

    I'm looking for a good example of the data Exchange.

    Connection: http://127.0.0.1:8080

    How I send it via Client, how I Analyse it?

    Greeting Sandra

    // Create a listener.
    HttpListener listener = new HttpListener();

    HttpClient

    //REQUEST

    <?xml version="1.0" encoding="UTF-8"?> <soapenv:Machinetyp4 xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:me="http://sap.com/xi/ME"> <me:DataMaschineQuery> <me:Item>RequestMachine</me:Item> // RESPONSE <?xml version="1.0" encoding="UTF-8"?> <soapenv:Machinetyp4 xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:me="http://sap.com/xi/ME"> <soapenv:Header/> <me:Item>Tester</me:Item> <me:Revision>v4.7</me:Revision> <me:SiteRef> <me:Site>No2</me:Site> </soapenv:Machinetyp4>


    • Edited by Sandra Bauer Wednesday, April 19, 2017 5:15 PM Format
    Tuesday, April 18, 2017 4:25 PM

Answers

All replies