[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Consultation http
Let me give an example: retrieve the weather in Barcelona (my city).
Using soapUI software with the following request:
<soapenv:Envelope
xmlns:soapenv="[1]http://schemas.xmlsoap.org/soap/envelope/"
xmlns:web="[2]http://www.webserviceX.NET">
<soapenv:Header/>
<soapenv:Body>
<web:GetWeather>
<!--Optional:-->
<web:CityName>Barcelona / Aeropuerto</web:CityName>
<!--Optional:-->
<web:CountryName>Spain</web:CountryName>
</web:GetWeather>
</soapenv:Body>
</soapenv:Envelope>
The result is the following:
<soap:Envelope
xmlns:soap="[3]http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="[4]http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="[5]http://www.w3.org/2001/XMLSchema">
<soap:Body>
<GetWeatherResponse xmlns="[6]http://www.webserviceX.NET">
<GetWeatherResult><![CDATA[<?xml version="1.0"
encoding="utf-16"?>
<CurrentWeather>
<Location>Barcelona / Aeropuerto, Spain (LEBL) 41-17N 002-04E
6M</Location>
<Time>Jul 15, 2011 - 02:00 AM EDT / 2011.07.15 0600 UTC</Time>
<Wind> from the NW (320 degrees) at 5 MPH (4 KT) (direction
variable):0</Wind>
<Visibility> greater than 7 mile(s):0</Visibility>
<SkyConditions> partly cloudy</SkyConditions>
<Temperature> 68 F (20 C)</Temperature>
<DewPoint> 66 F (19 C)</DewPoint>
<RelativeHumidity> 93%</RelativeHumidity>
<Pressure> 30.12 in. Hg (1020 hPa)</Pressure>
<Status>Success</Status>
</CurrentWeather>]]></GetWeatherResult>
</GetWeatherResponse>
</soap:Body>
</soap:Envelope>
This is just what I need to recover from my RPG program.
Thank you.
Lluís Alonso
Dpto. Informática
Grupo Vichy Catalan
De: Mike Krebs <mkrebs@xxxxxxxxxxxxxxxxxx>
Para: HTTPAPI and FTPAPI Projects
<ftpapi@xxxxxxxxxxxxxxxxxxxxxx>
Fecha: 14/07/2011 17:55
Asunto: RE: Consultation http
Enviado por: ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx
_________________________________________________________________
Yes we can. Post your real question with the debug file and source
code and we will get you on track.
-----Original Message-----
From: ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx
[[7]mailto:ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of Lluis
Alonso
Sent: Thursday, July 14, 2011 1:33 AM
To: ftpapi@xxxxxxxxxxxxxxxxxxxxxx
Subject: Consultation http
Hello Everyone,
I recently started working on AS/400 RPG features from http and need
help.
I send instruccions to a Web Services using SOAP with the intention of
recovering 2 thing:
- a value.
- xml code used by the Web Services to save the IFS.
I managed to recover the value, but I failed to retrieve the xml code.
Can Anyone help me?
Thank you very much!
Lluís Alonso
Dpto. Informática
Grupo Vichy Catalan
----------------------------------------------------------------------
-
This is the FTPAPI mailing list. To unsubscribe, please go to:
[8]http://www.scottklement.com/mailman/listinfo/ftpapi
----------------------------------------------------------------------
-
[9][cid:_2_04AC416404AC3AC40024D324C12578CE]
References
1. http://schemas.xmlsoap.org/soap/envelope/
2. http://www.webservicex.net/
3. http://schemas.xmlsoap.org/soap/envelope/
4. http://www.w3.org/2001/XMLSchema-instance
5. http://www.w3.org/2001/XMLSchema
6. http://www.webservicex.net/
7. mailto:ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx
8. http://www.scottklement.com/mailman/listinfo/ftpapi
9. http://www.vichycatalan.es/
-----------------------------------------------------------------------
This is the FTPAPI mailing list. To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------