[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Question concerning HTTPAPI



   Hi everybody


   i'm new in the "ws-integration-world".

   As a first step, i should integrate following soap-request/response in
   a existing ILE-RPG environment.

   I downloaded HTTPAPI and installed it.

   Can you please tell me which example would fit best ?


   Thanks for your efforts,


   Maurizio Orlando


SOAP 1.1

   The following is a sample SOAP 1.1 request and response. The
   placeholders shown need to be replaced with actual values.
POST /B2BWebServices/BillerDownloadServices.asmx HTTP/1.1
Host: ebill-test.yellowworld.ch
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://www.yellowworld.ch/GetInvoice";
 
<?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>
    <GetInvoice xmlns="http://www.yellowworld.ch";>
      <BillerID>string</BillerID>
      <DeliveryDate>dateTime</DeliveryDate>
      <ArchiveData>boolean</ArchiveData>
    </GetInvoice>
  </soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length
 
<?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>
    <GetInvoiceResponse xmlns="http://www.yellowworld.ch";>
      <GetInvoiceResult>
        <DownloadFile>
          <Data>base64Binary</Data>
          <Filename>string</Filename>
        </DownloadFile>
        <DownloadFile>
          <Data>base64Binary</Data>
          <Filename>string</Filename>
        </DownloadFile>
      </GetInvoiceResult>
    </GetInvoiceResponse>
  </soap:Body>
</soap:Envelope>


   Freundliche Grüsse


   Maurizio Orlando

   Analytiker/Programmierer


   MEINMERCEDES.CH

   Mercedes-Benz Automobil AG

   Zürcherstrasse 109, 8952 Schlieren

   Tel:    +41 44 732 52 46

   Fax:   +41 44 732 51 52


   E-Mail: [1]maurizio.orlando@xxxxxxxxx

   [2]www.meinmercedes.ch



   Disclaimer


   This e-mail may contain confidential and/or privileged information. If
   you are not the intended recipient (or have received this e-mail in
   error) please notify the sender immediately and destroy this e-mail.

   Any unauthorized copying, disclosure or distribution of the material
   in this e-mail is strictly forbidden. The views expressed in this
   message do not necessarily reflect the views of Mercedes-Benz
   Automobil AG.

References

   1. mailto:maurizio.orlando@xxxxxxxxx
   2. http://www.meinmercedes.ch/
-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------