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

Re: Webservice getCitiesByCountry



   Hello Charles
   Thank you very much for your mail.
   With this program I finally succeeded in consuming the webservice:
        H DFTACTGRP(*NO) ACTGRP(*new) BNDDIR('HTTPAPI')
        W*E CRTBNDRPG  get_cities   srcfile(*libl/qrpglesrc)
        W*E+       DBGVIEW(*SOURCE)
        W*E+       REPLACE(*YES)
        E*W
         /copy HTTPAPI_H
        d VARYINGDATAOFFSET...
        d                 c                     const(2)
        d SOAP            s           1024a     varying
        d rc              s             10i 0
        d c_COUNTRY       s             20a     varying
         /free
           c_COUNTRY = 'Italy';
           SOAP = '<soapenv:Envelope'
                + '
   xmlns:soapenv=[1]"http://schemas.xmlsoap.org/soap/envelope/";'
                + ' xmlns:web=[2]"http://www.webserviceX.NET";>'
                + ' <soapenv:Header/>'
                + '   <soapenv:Body>'
                + '<web:GetCitiesByCountry>'
                + '          <web:CountryName>' + c_Country
                + '</web:CountryName>'
                + '      </web:GetCitiesByCountry>'
                + ' </soapenv:Body>'
                + '</soapenv:Envelope>';
              http_setCCSIDs(1208 : 0);
              http_debug(*ON:'/jgvtmp/httpapi_debug1.txt');
              rc =
   http_post('[3]http://www.webservicex.net/globalweather.asmx'
                               : %addr(SOAP) + VARYINGDATAOFFSET
                               : %len(SOAP)
                               : '/jgvtmp/CitiesByCountry.txt'
                               : HTTP_TIMEOUT
                               : HTTP_USERAGENT
                               : 'text/xml; charset=utf-8'
                    :
   '[4]"http://www.webserviceX.NET/GetCitiesByCountry";');
              if (rc <> 1);
                http_crash();
              endif;
              *inlr = *on;
         /end-free
   Best regards
   Jan

   Am 11.07.2014 16:37, schrieb Charles Wilt:

   Going back to your first msg as your second didn't come through right..
   Think your SOAP action:
   &#65533; &#65533;  &#65533;  &#65533;  &#65533; :
   'urn."[1][5]http://www.webserviceX.NET/GetCitiesByCountry";');
   Should be
   &#65533; &#65533; &#65533;  &#65533;  &#65533;  &#65533; : '"[2][6]http://www
.webserviceX.NET/GetCitiesByCountry"');
   Charles

   On Fri, Jul 11, 2014 at 10:00 AM, Jan Grove Vejlstrup [7]<[3]jgv@xxxxxxxx>
   wrote:

     &#65533;  &#65533; Thank you Charles for your mail.
     &#65533;  &#65533; I made the change, but unfortunately I get the same erro
r:

   &#65533;  &#65533;  HTTPAPI Ver 1.24 released 2012-01-23
   &#65533;  &#65533; OS/400 Ver V6R1M0

   &#65533;  &#65533; http_url_post(): entered
   &#65533;  &#65533; http_persist_open(): entered
   &#65533;  &#65533; http_long_ParseURL(): entered
   &#65533;  &#65533; DNS resolver retrans: 2
   &#65533;  &#65533; DNS resolver retry &#65533; : 2
   &#65533;  &#65533; DNS resolver options: x'00000136'
   &#65533;  &#65533; DNS default domain: WEMAG.ch
   &#65533;  &#65533; DNS server found: 195.186.1.110
   &#65533;  &#65533; http_persist_post(): entered
   &#65533;  &#65533; http_persist_req(POST) entered.
   &#65533;  &#65533; http_long_ParseURL(): entered
   &#65533;  &#65533; do_oper(POST): entered
   &#65533;  &#65533; There are 0 cookies in the cache
   &#65533;  &#65533; POST /globalweather.asmx/GetCitiesByCountry HTTP/1.1

     &#65533;  &#65533; Host: [1][4]www.webserviceX.NET

   &#65533;  &#65533; User-Agent: http-api/1.24
   &#65533;  &#65533; Content-Type: text/xml; charset=utf-8

     &#65533;  &#65533; SOAPAction:
     urn.[2]"[5][8]http://www.webserviceX.NET/GetCitiesByCountry";
     &#65533;  &#65533; Content-Length: 278
     &#65533;  &#65533; senddoc(): entered
     &#65533;  &#65533; <soap:Envelope
     xmlns:soap=[3]"[6][9]http://www.w3.org/2003/05/soap-envelope";
     &#65533;  &#65533; xmlns:web=[4]"[7][10]http://www.webserviceX.NET";> <soap:
Header/>
     &#65533;  &#65533; <soap:Body> &#65533;  &#65533;  &#65533; <web:GetCitiesB
yCountry>
     &#65533;  &#65533; <web:CountryName>Italy</web:CountryName>

   &#65533;  &#65533; </web:GetCitiesByCountry> &#65533;  </soap:Body></soap:Env
elope>
   &#65533;  &#65533; recvresp(): entered
   &#65533;  &#65533; HTTP/1.1 500 Internal Server Error
   &#65533;  &#65533; Cache-Control: private
   &#65533;  &#65533; Content-Length: 236
   &#65533;  &#65533; Content-Type: text/plain; charset=utf-8
   &#65533;  &#65533; Server: Microsoft-IIS/7.0
   &#65533;  &#65533; X-AspNet-Version: 4.0.30319
   &#65533;  &#65533; X-Powered-By: [8]ASP.NET

     &#65533;  &#65533; Date: Fri, 11 Jul 2014 13:55:03 GMT

   &#65533;  &#65533; SetError() #13: HTTP/1.1 500 Internal Server Error
   &#65533;  &#65533; recvresp(): end with 500
   &#65533;  &#65533; recvdoc parms: identity 236
   &#65533;  &#65533; header_load_cookies() entered
   &#65533;  &#65533; recvdoc(): entered
   &#65533;  &#65533; SetError() #0:
   &#65533;  &#65533; System.InvalidOperationException: Request format is invali
d:
   text/xml;
   &#65533;  &#65533; charset=utf-8.
   &#65533;  &#65533;  &#65533;  at
   System.Web.Services.Protocols.HttpServerProtocol.ReadParameters()
   &#65533;  &#65533;  &#65533;  at
   &#65533;
   &#65533; System.Web.Services.Protocols.WebServiceHandler.CoreProcessRequest()
   &#65533;  &#65533; SetError() #13: HTTP/1.1 500 Internal Server Error
   &#65533;  &#65533; http_close(): entered

     &#65533;  &#65533; I still don't see the error.
     &#65533;  &#65533; Best regards
     &#65533;  &#65533; Jn
     &#65533;  &#65533; Am 11.07.2014 14:41, schrieb Charles Wilt:

   &#65533;  &#65533; You are not posting a proper XML document
   &#65533;  &#65533; If you use SoapUI to examine the WSDL

     &#65533;  &#65533; ([1][5][9][11]http://www.webservicex.net/globalweather.a
smx?WSDL)

   &#65533;  &#65533; You'll see
   &#65533;  &#65533; <web:CountryName>?</web:CountryName>
   &#65533;  &#65533; Your doc is missing the / in the closing tag.
   &#65533;  &#65533; Charles

     &#65533;  &#65533; On Fri, Jul 4, 2014 at 9:05 AM, Jan Grove Vejlstrup
     [6][12]<[2][10]jgv@xxxxxxxx>

   &#65533;  &#65533; wrote:
   &#65533;  &#65533;  &#65533; Hello
   &#65533;  &#65533;  &#65533; I'm trying to use HTTPAPI to consume this webser
vice:

     &#65533;  &#65533;
     &#65533; [3][7][11][13]http://www.webservicex.net/globalweather.asmx?op=Get
Citi
     esByCount

   &#65533;  &#65533;  &#65533; ry
   &#65533;  &#65533;  &#65533; This is my little program:

     &#65533;  &#65533;  &#65533; &#65533; &#65533; &#65533; &#65533; &#65533; H
 DFTACTGRP(*NO) ACTGRP(*new)
     BNDDIR('HTTPAPI'
     )
     &#65533;  &#65533;  &#65533; &#65533; &#65533; &#65533; &#65533; &#65533; W
*E CRTBNDRPG &#65533;
     get_cities &#65533; &#65533; sr
     cfile(*libl/qrpglesrc)
     &#65533;  &#65533;  &#65533; &#65533; &#65533; &#65533; &#65533; &#65533; W
*E+ &#65533; &#65533; &#65533;
     &#65533; &#65533; &#65533; DBGVIEW(*SO
     URCE)
     &#65533;  &#65533;  &#65533; &#65533; &#65533; &#65533; &#65533; &#65533; W
*E+ &#65533; &#65533; &#65533;
     &#65533; &#65533; &#65533; REPLACE(*YE
     S)
     &#65533;  &#65533;  &#65533; &#65533; &#65533; &#65533; &#65533; &#65533; E
*W
     &#65533;  &#65533;  &#65533; &#65533; &#65533; &#65533; &#65533; &#65533; &
#65533; /copy HTTPAPI_H
     &#65533;  &#65533;  &#65533; &#65533; &#65533; &#65533; &#65533; &#65533; d
 VARYINGDATAOFFSET...
     &#65533;  &#65533;  &#65533; &#65533; &#65533; &#65533; &#65533; &#65533; d
 &#65533; &#65533; &#65533;
     &#65533; &#65533; &#65533; &#65533; &#65533; &#65
     533; &#65533; &#65533; &#65533; &#65533; &#65533; &#65533; &#65533; c &#655
33; &#65533; &#65533;
     &#65533; &#65533; &#65533; &#65533; &#65533; &#
     65533; &#65533; &#65533; &#65533; &#65533; &#65533; &#65533; &#65533; &#655
33; &#65533; &#65533;
     &#65533;  &#65533;  &#65533; const(2)
     &#65533;  &#65533;  &#65533; &#65533; &#65533; &#65533; &#65533; &#65533; d
 SOAP &#65533; &#65533; &#65533;
     &#65533; &#65533; &#65533; &#65533;
     &#65533; &#65533; &#65533; &#65533; s &#65533; &#65533; &#65533; &#65533; &
#65533; &#65533; &#65533;
     &#65533; &#65533; &#65533; 1024a &#
     65533; &#65533; &#65533; &#65533; varying
     &#65533;  &#65533;  &#65533; &#65533; &#65533; &#65533; &#65533; &#65533; d
 rc &#65533; &#65533; &#65533;
     &#65533; &#65533; &#65533; &#65533; &#65533; &
     #65533; &#65533; &#65533; &#65533; &#65533; s &#65533; &#65533; &#65533; &#
65533; &#65533;
     &#65533; &#65533; &#65533; &#65533;
     &#65533; &#65533; 10i 0
     &#65533;  &#65533;  &#65533; &#65533; &#65533; &#65533; &#65533; &#65533; d
 c_COUNTRY &#65533;
     &#65533; &#65533; &#65533; &#65533; &#65533; s &#
     65533; &#65533; &#65533; &#65533; &#65533; &#65533; &#65533; &#65533; &#655
33; &#65533; &#65533; &#65533; 20a
     &#65533; &#65533; &#65533;
     &#65533;  varying
     &#65533;  &#65533;  &#65533; &#65533; &#65533; &#65533; &#65533; &#65533; &
#65533; /free
     &#65533;  &#65533;  &#65533; &#65533; &#65533; &#65533; &#65533; &#65533; &
#65533; &#65533; &#65533; c_COUNTRY =
     'Italy';
     &#65533;  &#65533;  &#65533; &#65533; &#65533; &#65533; &#65533; &#65533; &
#65533; &#65533; &#65533; SOAP =
     '<soap:Envelope'
     &#65533;  &#65533;  &#65533; &#65533; &#65533; &#65533; &#65533; &#65533; &
#65533; &#65533; &#65533; &#65533;
     &#65533; &#65533; &#65533; &#65533; + '
     &#65533;  &#65533;
     &#65533; xmlns:soap="[4][8][12][14]http://www.w3.org/2003/05/soap-envelope'
     &#65533;  &#65533;  &#65533; &#65533; &#65533; &#65533; &#65533; &#65533; &
#65533; &#65533; &#65533; &#65533;
     &#65533; &#65533; &#65533; &#65533; + ' xm
     lns:web="[5][9][13][15]http://www.webserviceX.NET";>'
     &#65533;  &#65533;  &#65533; &#65533; &#65533; &#65533; &#65533; &#65533; &
#65533; &#65533; &#65533; &#65533;
     &#65533; &#65533; &#65533; &#65533; + ' <s
     oap:Header/>'
     &#65533;  &#65533;  &#65533; &#65533; &#65533; &#65533; &#65533; &#65533; &
#65533; &#65533; &#65533; &#65533;
     &#65533; &#65533; &#65533; &#65533; + ' &#
     65533; &#65533; <soap:Body>'
     &#65533;  &#65533;  &#65533; &#65533; &#65533; &#65533; &#65533; &#65533; &
#65533; &#65533; &#65533; &#65533;
     &#65533; &#65533; &#65533; &#65533; + ' &#
     65533; &#65533; &#65533; &#65533; &#65533; <web:GetCitiesByCountry>'
     &#65533;  &#65533;  &#65533; &#65533; &#65533; &#65533; &#65533; &#65533; &
#65533; &#65533; &#65533; &#65533;
     &#65533; &#65533; &#65533; &#65533; + ' &#
     65533; &#65533; &#65533; &#65533; &#65533; &#65533; &#65533; &#65533; &#655
33;
     <web:CountryName>' + c_Country
     &#65533;  &#65533;  &#65533; &#65533; &#65533; &#65533; &#65533; &#65533; &
#65533; &#65533; &#65533; &#65533;
     &#65533; &#65533; &#65533; &#65533; + ' <w
     eb:CountryName>'
     &#65533;  &#65533;  &#65533; &#65533; &#65533; &#65533; &#65533; &#65533; &
#65533; &#65533; &#65533; &#65533;
     &#65533; &#65533; &#65533; &#65533; + ' &#
     65533; &#65533; &#65533; &#65533; &#65533; </web:GetCitiesByCountry>'
     &#65533;  &#65533;  &#65533; &#65533; &#65533; &#65533; &#65533; &#65533; &
#65533; &#65533; &#65533; &#65533;
     &#65533; &#65533; &#65533; &#65533; + ' &#
     65533; &#65533; </soap:Body>'
     &#65533;  &#65533;  &#65533; &#65533; &#65533; &#65533; &#65533; &#65533; &
#65533; &#65533; &#65533; &#65533;
     &#65533; &#65533; &#65533; &#65533; + '</s
     oap:Envelope>';
     &#65533;  &#65533;  &#65533; &#65533; &#65533; &#65533; &#65533; &#65533; &
#65533; &#65533; &#65533; //
     http_setCCSIDs(1208 : 0);
     &#65533;  &#65533;  &#65533; &#65533; &#65533; &#65533; &#65533; &#65533; &
#65533; &#65533; &#65533; &#65533;
     &#65533; &#65533; http_debug(*ON:'
     /jgvtmp/httpapi_debug1.txt');
     &#65533;  &#65533;  &#65533; &#65533; &#65533; &#65533; &#65533; &#65533; &
#65533; &#65533; &#65533; &#65533;
     &#65533; &#65533; rc =
     &#65533;  &#65533;
     &#65533; http_post('[6][10][14][16]http://www.webserviceX.NET/globalweather
.asm
     x'
     &#65533;  &#65533;  &#65533; &#65533; &#65533; &#65533; &#65533; &#65533; &
#65533; &#65533; &#65533; &#65533;
     &#65533; &#65533; &#65533; &#65533; &#65533; &#655
     33; &#65533; &#65533; &#65533; &#65533; &#65533; &#65533; &#65533; &#65533;
 &#65533; &#65533;
     &#65533; &#65533; &#65533; + '/GetCitiesBy
     Country'
     &#65533;  &#65533;  &#65533; &#65533; &#65533; &#65533; &#65533; &#65533; &
#65533; &#65533; &#65533; &#65533;
     &#65533; &#65533; &#65533; &#65533; &#65533; &#655
     33; &#65533; &#65533; &#65533; &#65533; &#65533; &#65533; &#65533; &#65533;
 &#65533; &#65533;
     &#65533; &#65533; &#65533; : %addr(SOAP) +
     &#65533;  &#65533;  &#65533; VARYINGDATAOFFSET
     &#65533;  &#65533;  &#65533; &#65533; &#65533; &#65533; &#65533; &#65533; &
#65533; &#65533; &#65533; &#65533;
     &#65533; &#65533; &#65533; &#65533; &#65533; &#655
     33; &#65533; &#65533; &#65533; &#65533; &#65533; &#65533; &#65533; &#65533;
 &#65533; &#65533;
     &#65533; &#65533; &#65533; : %len(SOAP)
     &#65533;  &#65533;  &#65533; &#65533; &#65533; &#65533; &#65533; &#65533; &
#65533; &#65533; &#65533; &#65533;
     &#65533; &#65533; &#65533; &#65533; &#65533; &#655
     33; &#65533; &#65533; &#65533; &#65533; &#65533; &#65533; &#65533; &#65533;
 &#65533; &#65533;
     &#65533; &#65533; &#65533; :
     &#65533;  &#65533;  &#65533; '/jgvtmp/CitiesByCountry.txt'
     &#65533;  &#65533;  &#65533; &#65533; &#65533; &#65533; &#65533; &#65533; &
#65533; &#65533; &#65533; &#65533;
     &#65533; &#65533; &#65533; &#65533; &#65533; &#655
     33; &#65533; &#65533; &#65533; &#65533; &#65533; &#65533; &#65533; &#65533;
 &#65533; &#65533;
     &#65533; &#65533; &#65533; : HTTP_TIMEOUT
     &#65533;  &#65533;  &#65533; &#65533; &#65533; &#65533; &#65533; &#65533; &
#65533; &#65533; &#65533; &#65533;
     &#65533; &#65533; &#65533; &#65533; &#65533; &#655
     33; &#65533; &#65533; &#65533; &#65533; &#65533; &#65533; &#65533; &#65533;
 &#65533; &#65533;
     &#65533; &#65533; &#65533; : HTTP_USERAGEN
     T
     &#65533;  &#65533;  &#65533; &#65533; &#65533; &#65533; &#65533; &#65533; &
#65533; &#65533; &#65533; &#65533;
     &#65533; &#65533; &#65533; &#65533; &#65533; &#655
     33; &#65533; &#65533; &#65533; &#65533; &#65533; &#65533; &#65533; &#65533;
 &#65533; &#65533;
     &#65533; &#65533; &#65533; : 'text/xml;
     &#65533;  &#65533;  &#65533; charset=utf-8'
     &#65533;  &#65533;  &#65533; &#65533; &#65533; &#65533; &#65533; &#65533; &
#65533; &#65533; &#65533; &#65533;
     &#65533; &#65533; &#65533; &#65533; &#65533; &#655
     33; &#65533; &#65533; :
     &#65533;  &#65533;
     &#65533; 'urn."[7][11][15][17]http://www.webserviceX.NET/GetCitiesByCountry
"');
     &#65533;  &#65533;  &#65533; &#65533; &#65533; &#65533; &#65533; &#65533; &
#65533; &#65533; &#65533; &#65533;
     &#65533; &#65533; if (rc <> 1);
     &#65533;  &#65533;  &#65533; &#65533; &#65533; &#65533; &#65533; &#65533; &
#65533; &#65533; &#65533; &#65533;
     &#65533; &#65533; &#65533; &#65533; http_c
     rash();
     &#65533;  &#65533;  &#65533; &#65533; &#65533; &#65533; &#65533; &#65533; &
#65533; &#65533; &#65533; &#65533;
     &#65533; &#65533; endif;
     &#65533;  &#65533;  &#65533; &#65533; &#65533; &#65533; &#65533; &#65533; &
#65533; &#65533; &#65533; &#65533;
     &#65533; &#65533; *inlr = *on;
     &#65533;  &#65533;  &#65533; &#65533; &#65533; &#65533; &#65533; &#65533; &
#65533; /end-free

   &#65533;  &#65533;  &#65533; And this is the resulting debug-file:
   &#65533;  &#65533;  &#65533; HTTPAPI Ver 1.24 released 2012-01-23
   &#65533;  &#65533;  &#65533; OS/400 Ver V6R1M0
   &#65533;  &#65533;  &#65533; New iconv() objects set, PostRem=819. PostLoc=0.
 ProtRem=819.
   &#65533;  &#65533;  &#65533; ProtLoc=0
   &#65533;  &#65533;  &#65533; http_url_post(): entered
   &#65533;  &#65533;  &#65533; http_persist_open(): entered
   &#65533;  &#65533;  &#65533; http_long_ParseURL(): entered
   &#65533;  &#65533;  &#65533; DNS resolver retrans: 2

     &#65533;  &#65533;  &#65533; DNS resolver retry &#65533; : 2

   &#65533;  &#65533;  &#65533; DNS resolver options: x'00000136'
   &#65533;  &#65533;  &#65533; DNS default domain: WEMAG.ch
   &#65533;  &#65533;  &#65533; DNS server found: 195.186.1.110
   &#65533;  &#65533;  &#65533; http_persist_post(): entered
   &#65533;  &#65533;  &#65533; http_persist_req(POST) entered.
   &#65533;  &#65533;  &#65533; http_long_ParseURL(): entered
   &#65533;  &#65533;  &#65533; do_oper(POST): entered
   &#65533;  &#65533;  &#65533; There are 0 cookies in the cache
   &#65533;  &#65533;  &#65533; POST /globalweather.asmx/GetCitiesByCountry HTTP
/1.1

     &#65533;  &#65533;  &#65533; Host: [8][16]www.webserviceX.NET

   &#65533;  &#65533;  &#65533; User-Agent: http-api/1.24
   &#65533;  &#65533;  &#65533; Content-Type: text/xml; charset=utf-8

     &#65533;  &#65533;  &#65533; SOAPAction:
     urn."[9][12][17][18]http://www.webserviceX.NET/GetCitiesByCountry";

   &#65533;  &#65533;  &#65533; Content-Length: 277
   &#65533;  &#65533;  &#65533; senddoc(): entered
   &#65533;  &#65533;  &#65533; <soap:Envelope

     &#65533;  &#65533;
     &#65533; xmlns:soap="[10][13][18][19]http://www.w3.org/2003/05/soap-envelop
e
     &#65533;  &#65533;  &#65533; xmlns:web="[11][14][19][20]http://www.webservi
ceX.NET">
     <soap:Header/>
     &#65533;  &#65533;  &#65533; <soap:Body> &#65533; &#65533; &#65533; &#65533
; &#65533;
     <web:GetCitiesByCountry> <web:Coun

   tryName>Italy
   &#65533;  &#65533;  &#65533; <web:CountryName> </web:GetCitiesByCountry>
   &#65533;  &#65533;  &#65533; </soap:Body></soap:Envelope>
   &#65533;  &#65533;  &#65533; recvresp(): entered
   &#65533;  &#65533;  &#65533; HTTP/1.1 500 Internal Server Error
   &#65533;  &#65533;  &#65533; Cache-Control: private
   &#65533;  &#65533;  &#65533; Content-Length: 236
   &#65533;  &#65533;  &#65533; Content-Type: text/plain; charset=utf-8
   &#65533;  &#65533;  &#65533; Server: Microsoft-IIS/7.0
   &#65533;  &#65533;  &#65533; X-AspNet-Version: 4.0.30319

     &#65533;  &#65533;  &#65533; X-Powered-By: [12][20]ASP.NET

   &#65533;  &#65533;  &#65533; Date: Fri, 04 Jul 2014 12:58:25 GMT
   &#65533;  &#65533;  &#65533; SetError() #13: HTTP/1.1 500 Internal Server Err
or
   &#65533;  &#65533;  &#65533; recvresp(): end with 500
   &#65533;  &#65533;  &#65533; recvdoc parms: identity 236
   &#65533;  &#65533;  &#65533; header_load_cookies() entered
   &#65533;  &#65533;  &#65533; recvdoc(): entered
   &#65533;  &#65533;  &#65533; SetError() #0:
   &#65533;  &#65533;  &#65533; System.InvalidOperationException: Request format
 is invalid:
   &#65533;  &#65533;  &#65533; text/xml; charset=utf-8.

     &#65533;  &#65533;  &#65533; &#65533; &#65533; &#65533; at
     &#65533;  &#65533;
     &#65533; System.Web.Services.Protocols.HttpServerProtocol.ReadParameters()
     &#65533;  &#65533;  &#65533; &#65533; &#65533; &#65533; at

   &#65533;  &#65533;
   &#65533; System.Web.Services.Protocols.WebServiceHandler.CoreProcessRequest()
   &#65533;  &#65533;  &#65533; SetError() #13: HTTP/1.1 500 Internal Server Err
or
   &#65533;  &#65533;  &#65533; http_close(): entered
   &#65533;  &#65533;  &#65533; What am I doing wrong?
   &#65533;  &#65533;  &#65533; Best regards
   &#65533;  &#65533;  &#65533; Jan
   &#65533;  &#65533;
   &#65533; --------------------------------------------------------------------
   &#65533;  &#65533;  &#65533; ---

     &#65533;  &#65533;  &#65533; This is the FTPAPI mailing list. &#65533; To u
nsubscribe,
     please go to:
     &#65533;  &#65533;
     &#65533; [13][15][21][21]http://www.scottklement.com/mailman/listinfo/ftpap
i
     &#65533;  &#65533;
     &#65533; ------------------------------------------------------------------
     --
     &#65533;  &#65533;  &#65533; ---
     References
     &#65533;  &#65533; 1. [16][22][22]http://www.webservicex.net/globalweather.
asmx?WSDL
     &#65533;  &#65533; 2. [17]mailto:[[23]23]jgv@xxxxxxxx
     &#65533;  &#65533; 3.
     [18][24][24]http://www.webservicex.net/globalweather.asmx?op=GetCitiesBy
     Country
     &#65533;  &#65533; 4. [19][25][25]http://www.w3.org/2003/05/soap-envelope
     &#65533;  &#65533; 5. [20][26][26]http://www.webserviceX.NET/
     &#65533;  &#65533; 6. [21][27][27]http://www.webserviceX.NET/globalweather.
asmx
     &#65533;  &#65533; 7. [22][28][28]http://www.webserviceX.NET/GetCitiesByCou
ntry
     &#65533;  &#65533; 8. [23][29][29]http://www.webserviceX.NET/
     &#65533;  &#65533; 9. [24][30][30]http://www.webserviceX.NET/GetCitiesByCou
ntry
     &#65533;  10. [25][31][31]http://www.w3.org/2003/05/soap-envelope
     &#65533;  11. [26][32][32]http://www.webserviceX.NET/
     &#65533;  12. [27][33][33]http://ASP.NET/
     &#65533;  13. [28][34][34]http://www.scottklement.com/mailman/listinfo/ftpa
pi

   -----------------------------------------------------------------------
   This is the FTPAPI mailing list. &#65533; To unsubscribe, please go to:

     [29][35][35]http://www.scottklement.com/mailman/listinfo/ftpapi
     --------------------------------------------------------------------
     ---
     References
     &#65533;  &#65533; 1. [36][36]http://www.webserviceX.NET/
     &#65533;  &#65533; 2. [37][37]http://www.webserviceX.NET/GetCitiesByCountry
     &#65533;  &#65533; 3. [38][38]http://www.w3.org/2003/05/soap-envelope
     &#65533;  &#65533; 4. [39][39]http://www.webserviceX.NET/
     &#65533;  &#65533; 5. [40][40]http://www.webservicex.net/globalweather.asmx
?WSDL
     &#65533;  &#65533; 6. mailto:[2][[41]41]jgv@xxxxxxxx
     &#65533;  &#65533; 7.
     [42][42]http://www.webservicex.net/globalweather.asmx?op=GetCitiesByCoun
     t
     &#65533;  &#65533; 8. [43][43]http://www.w3.org/2003/05/soap-envelope
     &#65533;  &#65533; 9. [44][44]http://www.webserviceX.NET/
     &#65533;  10. [45][45]http://www.webserviceX.NET/globalweather.asmx
     &#65533;  11. [46][46]http://www.webserviceX.NET/GetCitiesByCountry
     &#65533;  12. [47][47]http://www.webserviceX.NET/GetCitiesByCountry
     &#65533;  13. [48][48]http://www.w3.org/2003/05/soap-envelope
     &#65533;  14. [49][49]http://www.webserviceX.NET/
     &#65533;  15. [50][50]http://www.scottklement.com/mailman/listinfo/ftpapi
     &#65533;  16. [51][51]http://www.webservicex.net/globalweather.asmx?WSDL
     &#65533;  17. mailto:[[52]52]jgv@xxxxxxxx
     &#65533;  18.
     [53][53]http://www.webservicex.net/globalweather.asmx?op=GetCitiesByCoun
     try
     &#65533;  19. [54][54]http://www.w3.org/2003/05/soap-envelope
     &#65533;  20. [55][55]http://www.webserviceX.NET/
     &#65533;  21. [56][56]http://www.webserviceX.NET/globalweather.asmx
     &#65533;  22. [57][57]http://www.webserviceX.NET/GetCitiesByCountry
     &#65533;  23. [58][58]http://www.webserviceX.NET/
     &#65533;  24. [59][59]http://www.webserviceX.NET/GetCitiesByCountry
     &#65533;  25. [60][60]http://www.w3.org/2003/05/soap-envelope
     &#65533;  26. [61][61]http://www.webserviceX.NET/
     &#65533;  27. [62][62]http://ASP.NET/
     &#65533;  28. [63][63]http://www.scottklement.com/mailman/listinfo/ftpapi
     &#65533;  29. [64][64]http://www.scottklement.com/mailman/listinfo/ftpapi
     --------------------------------------------------------------------
     ---
     This is the FTPAPI mailing list. &#65533; To unsubscribe, please go to:
     [65][65]http://www.scottklement.com/mailman/listinfo/ftpapi
     --------------------------------------------------------------------
     ---

References

   1. [66]http://www.webservicex.net/GetCitiesByCountry
   2. [67]http://www.webservicex.net/GetCitiesByCountry
   3. [68]mailto:jgv@xxxxxxxx
   4. [69]http://www.webserviceX.NET/
   5. [70]http://www.webserviceX.NET/GetCitiesByCountry
   6. [71]http://www.w3.org/2003/05/soap-envelope
   7. [72]http://www.webserviceX.NET/
   8. [73]http://ASP.NET/
   9. [74]http://www.webservicex.net/globalweather.asmx?WSDL
  10. [75]mailto:jgv@xxxxxxxx
  11. [76]http://www.webservicex.net/globalweather.asmx?op=GetCitiesByCount
  12. [77]http://www.w3.org/2003/05/soap-envelope
  13. [78]http://www.webserviceX.NET/
  14. [79]http://www.webserviceX.NET/globalweather.asmx
  15. [80]http://www.webserviceX.NET/GetCitiesByCountry
  16. [81]http://www.webserviceX.NET/
  17. [82]http://www.webserviceX.NET/GetCitiesByCountry
  18. [83]http://www.w3.org/2003/05/soap-envelope
  19. [84]http://www.webserviceX.NET/
  20. [85]http://ASP.NET/
  21. [86]http://www.scottklement.com/mailman/listinfo/ftpapi
  22. [87]http://www.webservicex.net/globalweather.asmx?WSDL
  23. [88]mailto:jgv@xxxxxxxx
  24. [89]http://www.webservicex.net/globalweather.asmx?op=GetCitiesByCountry
  25. [90]http://www.w3.org/2003/05/soap-envelope
  26. [91]http://www.webserviceX.NET/
  27. [92]http://www.webserviceX.NET/globalweather.asmx
  28. [93]http://www.webserviceX.NET/GetCitiesByCountry
  29. [94]http://www.webserviceX.NET/
  30. [95]http://www.webserviceX.NET/GetCitiesByCountry
  31. [96]http://www.w3.org/2003/05/soap-envelope
  32. [97]http://www.webserviceX.NET/
  33. [98]http://ASP.NET/
  34. [99]http://www.scottklement.com/mailman/listinfo/ftpapi
  35. [100]http://www.scottklement.com/mailman/listinfo/ftpapi
  36. [101]http://www.webserviceX.NET/
  37. [102]http://www.webserviceX.NET/GetCitiesByCountry
  38. [103]http://www.w3.org/2003/05/soap-envelope
  39. [104]http://www.webserviceX.NET/
  40. [105]http://www.webservicex.net/globalweather.asmx?WSDL
  41. [106]mailto:jgv@xxxxxxxx
  42. [107]http://www.webservicex.net/globalweather.asmx?op=GetCitiesByCount
  43. [108]http://www.w3.org/2003/05/soap-envelope
  44. [109]http://www.webserviceX.NET/
  45. [110]http://www.webserviceX.NET/globalweather.asmx
  46. [111]http://www.webserviceX.NET/GetCitiesByCountry
  47. [112]http://www.webserviceX.NET/GetCitiesByCountry
  48. [113]http://www.w3.org/2003/05/soap-envelope
  49. [114]http://www.webserviceX.NET/
  50. [115]http://www.scottklement.com/mailman/listinfo/ftpapi
  51. [116]http://www.webservicex.net/globalweather.asmx?WSDL
  52. [117]mailto:jgv@xxxxxxxx
  53. [118]http://www.webservicex.net/globalweather.asmx?op=GetCitiesByCountry
  54. [119]http://www.w3.org/2003/05/soap-envelope
  55. [120]http://www.webserviceX.NET/
  56. [121]http://www.webserviceX.NET/globalweather.asmx
  57. [122]http://www.webserviceX.NET/GetCitiesByCountry
  58. [123]http://www.webserviceX.NET/
  59. [124]http://www.webserviceX.NET/GetCitiesByCountry
  60. [125]http://www.w3.org/2003/05/soap-envelope
  61. [126]http://www.webserviceX.NET/
  62. [127]http://ASP.NET/
  63. [128]http://www.scottklement.com/mailman/listinfo/ftpapi
  64. [129]http://www.scottklement.com/mailman/listinfo/ftpapi
  65. [130]http://www.scottklement.com/mailman/listinfo/ftpapi


-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubscribe, please go to:
[131]http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------

References

   1. http://schemas.xmlsoap.org/soap/envelope/
   2. http://www.webserviceX.NET/
   3. http://www.webservicex.net/globalweather.asmx
   4. http://www.webserviceX.NET/GetCitiesByCountry
   5. http://www.webserviceX.NET/GetCitiesByCountry
   6. http://www.webserviceX.NET/GetCitiesByCountry
   7. mailto:[3]jgv@xxxxxxxx
   8. http://www.webserviceX.NET/GetCitiesByCountry
   9. http://www.w3.org/2003/05/soap-envelope
  10. http://www.webserviceX.NET/
  11. http://www.webservicex.net/globalweather.asmx?WSDL
  12. mailto:[2][10]jgv@xxxxxxxx
  13. http://www.webservicex.net/globalweather.asmx?op=GetCiti
  14. http://www.w3.org/2003/05/soap-envelope
  15. http://www.webserviceX.NET/
  16. http://www.webserviceX.NET/globalweather.asm
  17. http://www.webserviceX.NET/GetCitiesByCountry
  18. http://www.webserviceX.NET/GetCitiesByCountry
  19. http://www.w3.org/2003/05/soap-envelope
  20. http://www.webserviceX.NET/
  21. http://www.scottklement.com/mailman/listinfo/ftpapi
  22. http://www.webservicex.net/globalweather.asmx?WSDL
  23. mailto:23]jgv@xxxxxxxx
  24. http://www.webservicex.net/globalweather.asmx?op=GetCitiesBy
  25. http://www.w3.org/2003/05/soap-envelope
  26. http://www.webserviceX.NET/
  27. http://www.webserviceX.NET/globalweather.asmx
  28. http://www.webserviceX.NET/GetCitiesByCountry
  29. http://www.webserviceX.NET/
  30. http://www.webserviceX.NET/GetCitiesByCountry
  31. http://www.w3.org/2003/05/soap-envelope
  32. http://www.webserviceX.NET/
  33. http://ASP.NET/
  34. http://www.scottklement.com/mailman/listinfo/ftpapi
  35. http://www.scottklement.com/mailman/listinfo/ftpapi
  36. http://www.webserviceX.NET/
  37. http://www.webserviceX.NET/GetCitiesByCountry
  38. http://www.w3.org/2003/05/soap-envelope
  39. http://www.webserviceX.NET/
  40. http://www.webservicex.net/globalweather.asmx?WSDL
  41. mailto:41]jgv@xxxxxxxx
  42. http://www.webservicex.net/globalweather.asmx?op=GetCitiesByCoun
  43. http://www.w3.org/2003/05/soap-envelope
  44. http://www.webserviceX.NET/
  45. http://www.webserviceX.NET/globalweather.asmx
  46. http://www.webserviceX.NET/GetCitiesByCountry
  47. http://www.webserviceX.NET/GetCitiesByCountry
  48. http://www.w3.org/2003/05/soap-envelope
  49. http://www.webserviceX.NET/
  50. http://www.scottklement.com/mailman/listinfo/ftpapi
  51. http://www.webservicex.net/globalweather.asmx?WSDL
  52. mailto:52]jgv@xxxxxxxx
  53. http://www.webservicex.net/globalweather.asmx?op=GetCitiesByCoun
  54. http://www.w3.org/2003/05/soap-envelope
  55. http://www.webserviceX.NET/
  56. http://www.webserviceX.NET/globalweather.asmx
  57. http://www.webserviceX.NET/GetCitiesByCountry
  58. http://www.webserviceX.NET/
  59. http://www.webserviceX.NET/GetCitiesByCountry
  60. http://www.w3.org/2003/05/soap-envelope
  61. http://www.webserviceX.NET/
  62. http://ASP.NET/
  63. http://www.scottklement.com/mailman/listinfo/ftpapi
  64. http://www.scottklement.com/mailman/listinfo/ftpapi
  65. http://www.scottklement.com/mailman/listinfo/ftpapi
  66. http://www.webservicex.net/GetCitiesByCountry
  67. http://www.webservicex.net/GetCitiesByCountry
  68. mailto:jgv@xxxxxxxx
  69. http://www.webserviceX.NET/
  70. http://www.webserviceX.NET/GetCitiesByCountry
  71. http://www.w3.org/2003/05/soap-envelope
  72. http://www.webserviceX.NET/
  73. http://ASP.NET/
  74. http://www.webservicex.net/globalweather.asmx?WSDL
  75. mailto:jgv@xxxxxxxx
  76. http://www.webservicex.net/globalweather.asmx?op=GetCitiesByCount
  77. http://www.w3.org/2003/05/soap-envelope
  78. http://www.webserviceX.NET/
  79. http://www.webserviceX.NET/globalweather.asmx
  80. http://www.webserviceX.NET/GetCitiesByCountry
  81. http://www.webserviceX.NET/
  82. http://www.webserviceX.NET/GetCitiesByCountry
  83. http://www.w3.org/2003/05/soap-envelope
  84. http://www.webserviceX.NET/
  85. http://ASP.NET/
  86. http://www.scottklement.com/mailman/listinfo/ftpapi
  87. http://www.webservicex.net/globalweather.asmx?WSDL
  88. mailto:jgv@xxxxxxxx
  89. http://www.webservicex.net/globalweather.asmx?op=GetCitiesByCountry
  90. http://www.w3.org/2003/05/soap-envelope
  91. http://www.webserviceX.NET/
  92. http://www.webserviceX.NET/globalweather.asmx
  93. http://www.webserviceX.NET/GetCitiesByCountry
  94. http://www.webserviceX.NET/
  95. http://www.webserviceX.NET/GetCitiesByCountry
  96. http://www.w3.org/2003/05/soap-envelope
  97. http://www.webserviceX.NET/
  98. http://ASP.NET/
  99. http://www.scottklement.com/mailman/listinfo/ftpapi
 100. http://www.scottklement.com/mailman/listinfo/ftpapi
 101. http://www.webserviceX.NET/
 102. http://www.webserviceX.NET/GetCitiesByCountry
 103. http://www.w3.org/2003/05/soap-envelope
 104. http://www.webserviceX.NET/
 105. http://www.webservicex.net/globalweather.asmx?WSDL
 106. mailto:jgv@xxxxxxxx
 107. http://www.webservicex.net/globalweather.asmx?op=GetCitiesByCount
 108. http://www.w3.org/2003/05/soap-envelope
 109. http://www.webserviceX.NET/
 110. http://www.webserviceX.NET/globalweather.asmx
 111. http://www.webserviceX.NET/GetCitiesByCountry
 112. http://www.webserviceX.NET/GetCitiesByCountry
 113. http://www.w3.org/2003/05/soap-envelope
 114. http://www.webserviceX.NET/
 115. http://www.scottklement.com/mailman/listinfo/ftpapi
 116. http://www.webservicex.net/globalweather.asmx?WSDL
 117. mailto:jgv@xxxxxxxx
 118. http://www.webservicex.net/globalweather.asmx?op=GetCitiesByCountry
 119. http://www.w3.org/2003/05/soap-envelope
 120. http://www.webserviceX.NET/
 121. http://www.webserviceX.NET/globalweather.asmx
 122. http://www.webserviceX.NET/GetCitiesByCountry
 123. http://www.webserviceX.NET/
 124. http://www.webserviceX.NET/GetCitiesByCountry
 125. http://www.w3.org/2003/05/soap-envelope
 126. http://www.webserviceX.NET/
 127. http://ASP.NET/
 128. http://www.scottklement.com/mailman/listinfo/ftpapi
 129. http://www.scottklement.com/mailman/listinfo/ftpapi
 130. http://www.scottklement.com/mailman/listinfo/ftpapi
 131. 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
-----------------------------------------------------------------------