[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Question concerning HTTPAPI
Maurizio,
Depending on what version of HTTP API you have installed I suggest to
look at EXAMPLE18 (1.23 or lower) or EXAMPLE16 (1.24beta10 or higher).
Please notice that both examples do not specify a proxy server. Hence
in case that your network requires using a proxy server you need to
call http_setProxy(yourServer.ch: yourPortNbr) before
http_url_post_xml().
You may also consider to look at WSDL2RPG that you can download from
[1]http://www.tools400.de
Thomas.
Von: maurizio.orlando@xxxxxxxxxx
An: ftpapi@xxxxxxxxxxxxxxxxxxxxxx
Datum: 17.08.2010 08:04
Betreff: Question concerning HTTPAPI
Gesendet von: ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx
_________________________________________________________________
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: "[2]http://www.yellowworld.ch/GetInvoice"
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope
xmlns:xsi="[3]http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="[4]http://www.w3.org/2001/XMLSchema"
xmlns:soap="[5]http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<GetInvoice xmlns="[6]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="[7]http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="[8]http://www.w3.org/2001/XMLSchema"
xmlns:soap="[9]http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<GetInvoiceResponse xmlns="[10]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: maurizio.orlando@xxxxxxxxx
[11]www.meinmercedes.ch <[12]http://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.
----------------------------------------------------------------------
-
This is the FTPAPI mailing list. To unsubscribe, please go to:
[13]http://www.scottklement.com/mailman/listinfo/ftpapi
----------------------------------------------------------------------
-
--
IMPORTANT NOTICE:
This email is confidential, may be legally privileged, and is for the
intended recipient only. Access, disclosure, copying, distribution, or
reliance on any of it by anyone else is prohibited and may be a
criminal
offence. Please delete if obtained in error and email confirmation to
the sender.
References
1. http://www.tools400.de/
2. http://www.yellowworld.ch/GetInvoice
3. http://www.w3.org/2001/XMLSchema-instance
4. http://www.w3.org/2001/XMLSchema
5. http://schemas.xmlsoap.org/soap/envelope/
6. http://www.yellowworld.ch/
7. http://www.w3.org/2001/XMLSchema-instance
8. http://www.w3.org/2001/XMLSchema
9. http://schemas.xmlsoap.org/soap/envelope/
10. http://www.yellowworld.ch/
11. file://localhost/tmp/www.meinmercedes.ch
12. http://www.meinmercedes.ch/
13. http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------
This is the FTPAPI mailing list. To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------