Einzelnen Beitrag anzeigen

Schokohase
(Gast)

n/a Beiträge
 
#2

AW: TidHTTP post asmx und xml

  Alt 25. Sep 2018, 10:41
Manchmal hilft es wenn man exakt arbeitet und nicht nur so ungefähr in etwa.

Doku sagt:
Code:
POST /partner/PartnerService17.asmx HTTP/1.1
Host: ifa17.test.crb.ch
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://www.crbnet.ch/crbox_partner/downloadNPK"

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <downloadNPK xmlns="http://www.crbnet.ch/crbox_partner">
      <chapter>string</chapter>
      <language>Deutsch or Francais or Italiano or English</language>
      <year>int</year>
    </downloadNPK>
  </soap:Body>
</soap:Envelope>
Du machst
Code:
POST /partner/PartnerService17.asmx HTTP/1.1
Host: ifa17.test.crb.ch
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://www.crbnet.ch/crbox_partner/downloadNPK"
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <downloadNPK xmlns="http://www.crbnet.ch/crbox_partner">
      <chapter>string</chapter>
      <language>Deutsch or Francais or Italiano or English</language>
      <year>int</year>
    </downloadNPK>
  </soap:Body>
</soap:Envelope>
  Mit Zitat antworten Zitat