[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
SetError() #66: XML parse failed at line 2, col 0: no element found
Hello,
I have been banging my head against the wall trying to figure this
out... This is my first attempt at using HTTPAPI and I get to the web
site and download the file OK just cannot parse it. It appears to have
all the tags escaped correctly.
HTTPAPI Ver 1.29 released 2015-02-23
NTLM Ver 1.4.0 released 2014-12-22
OS/400 Ver V7R1M0
New iconv() objects set, PostRem=819. PostLoc=0. ProtRem=819. ProtLoc=0
http_url_post(): entered
http_persist_open(): entered
http_long_ParseURL(): entered
DNS resolver retrans: 2
DNS resolver retry : 2
DNS resolver options: x'00000136'
DNS default domain: MAY
DNS server found: 192.9.200.31
DNS server found: 129.250.35.250
DNS server found: 129.250.35.251
Nagle's algorithm (TCP_NODELAY) disabled.
http_persist_post(): entered
http_persist_req(POST) entered.
http_long_ParseURL(): entered
http_long_ParseURL(): entered
do_oper(POST): entered
There are 0 cookies in the cache
POST /DgieWSWeb/DgieWS?WSDL HTTP/1.1
Host: www.banxico.org.mx
User-Agent: http-api/1.29
Content-Type: text/xml
SOAPAction: http://www.banxico.org.mx/DgieWSWeb/DgieWS
Content-Length: 437
senddoc(): entered
<?xml version="1.0" encoding="iso-8859-1" standalone="no"?><soapenv:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://ws.dgie.banxico.org.mx"> <soapenv:Header/> <soapenv:Body> <ws:tiposDeCambioBanxico soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> </soapenv:Body> </soapenv:Envelope>
recvresp(): entered
HTTP/1.1 200 OK
X-Powered-By: Servlet/3.0 JSP/2.2 (GlassFish Server Open Source Edition 3.1.2.2 Java/Sun Microsystems Inc./1.6)
X-OPNET-Transaction-Trace: pid=4628,requestid=f2975113-fb42-4b88-8876-2577cea3e62e
Set-Cookie: _op_aixPageId=a_fff36019-926d-481b-b205-5205a478277a; Path=/
Content-Type: text/xml;charset=utf-8
Date: Wed, 17 Feb 2016 20:26:53 GMT
Set-Cookie: ser98070=3327084202.34335.0000; path=/
Set-Cookie: TS014a759c=0118e010061bb255a71c4556195fafb8bd8578bc5d1e59e88fd1e39edd55f2b60ca975f9be6155963e2388445c6f92465c79a710be0f8d4c5afd812a940b92ecce7661c3cd; Path=/
Transfer-Encoding: chunked
Set-Cookie: ORF_wwwBanx=2522236586.20480.0000; path=/
SetError() #13: HTTP/1.1 200 OK
recvresp(): end with 200
recvdoc parms: chunked 0
header_load_cookies() entered
cookie_parse() entered
cookie = _op_aixPageId=a_fff36019-926d-481b-b205-5205a478277a; Path=/
cookie attr _op_aixPageId=a_fff36019-926d-481b-b205-5205a478277a
cookie attr Path=/
cookie_parse() entered
cookie = ser98070=3327084202.34335.0000; path=/
cookie attr ser98070=3327084202.34335.0000
cookie attr path=/
cookie_parse() entered
cookie = TS014a759c=0118e010061bb255a71c4556195fafb8bd8578bc5d1e59e88fd1e39edd55f2b60ca975f9be6155963e2388445c6f92465c79a710be0f8d4c5afd812a940b92ecce7661c3cd; Path=/
cookie attr TS014a759c=0118e010061bb255a71c4556195fafb8bd8578bc5d1e59e88fd1e39edd55f2b60ca975f9be6155963e2388445c6f92465c79a710be0f8d4c5afd812a940b92ecce7661c3cd
cookie attr Path=/
cookie_parse() entered
cookie = ORF_wwwBanx=2522236586.20480.0000; path=/
cookie attr ORF_wwwBanx=2522236586.20480.0000
cookie attr path=/
recvchunk(): entered
get_chunk_size(): entered
12ed
chunk size = 4845
get_chunk_size returned 4845
calling comm_blockread
<?xml version="1.0" encoding="UTF-8"?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><soapenv:Header><X-OPNET-Transaction-Trace:X-OPNET-Transaction-Trace soapenv:actor="http://schemas.xmlsoap.org/soap/actor/next" soapenv:mustUnderstand="0" xsi:type="soapenc:string" xmlns:X-OPNET-Transaction-Trace="http://opnet.com" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">pid=4628,requestid=106c65f1-72fd-4344-ad1e-8851c5299e0e</X-OPNET-Transaction-Trace:X-OPNET-Transaction-Trace></soapenv:Header><soapenv:Body><ns1:tiposDeCambioBanxicoResponse soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="http://ws.dgie.banxico.org.mx"><result xsi:type="xsd:string"><?xml version="1.0" encoding="ISO-8859-1"?>
<CompactData xmlns="http://www.SDMX.org/resources/SDMXML/schemas/v1_0/message"
xmlns:bm="http://www.banxico.org.mx/structure/key_families/dgie/sie/series/compact"
xmlns:compact="http://www.SDMX.org/resources/SDMXML/schemas/v1_0/compact"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.SDMX.org/resources/SDMXML/schemas/v1_0/message SDMXMessage.xsd
http://www.banxico.org.mx/structure/key_families/dgie/sie/series/compact BANXICO_DGIE_SIE_Compact.xsd
http://www.SDMX.org/resources/SDMXML/schemas/v1_0/compact SDMXCompactData.xsd" >
<Header>
<ID>TIPOSDECAMBIO</ID>
<Test>false</Test>
<Truncated>false</Truncated>
<Name xml:lang="sp">Tipos de Cambio</Name>
<Prepared>2016-02-17 14:26:54.274</Prepared>
<Sender id="BANXICO">
<Name xml:lang="sp">Banco de México</Name>
<Contact>
<Name xml:lang="sp">Subgerencia de Desarrollo de Sistemas</Name>
<Telephone>(01 55)52372678</Telephone>
</Contact>
</Sender>
<DataSetAction>Update</DataSetAction>
<Extracted>2016-02-17 14:26:54.274</Extracted>
</Header>
<bm:DataSet>
<bm:SiblingGroup BANXICO_FREQ="Dia" TIME_FORMAT="P1D"/>
<bm:Series TITULO="Tipo de cambio pesos por dólar E.U.A. Tipo de cambio para solventar obligaciones denominadas en moneda extranjera Fecha de liquidación" IDSERIE="SF60653" BANXICO_FREQ="Dia" BANXICO_FIGURE_TYPE="TipoCambio" BANXICO_UNIT_TYPE="PesoxDoll">
<bm:Obs TIME_PERIOD="2016-02-17" OBS_VALUE="18.8471"/>
</bm:Series>
<bm:Series TITULO="Tipo de cambio Pesos por dólar E.U.A. Tipo de cambio para solventar obligaciones denominadas en moneda extranjera Fecha de determinación (FIX)" IDSERIE="SF43718" BANXICO_FREQ="Dia" BANXICO_FIGURE_TYPE="TipoCambio" BANXICO_UNIT_TYPE="PesoxDoll">
<bm:Obs TIME_PERIOD="2016-02-17" OBS_VALUE="18.3895"/>
</bm:Series>
<bm:Series TITULO="Cotización de las divisas que conforman la canasta del DEG Respecto al peso mexicano Euro" IDSERIE="SF46410" BANXICO_FREQ="Dia" BANXICO_FIGURE_TYPE="TipoCambio" BANXICO_UNIT_TYPE="Peso">
<bm:Obs TIME_PERIOD="2016-02-17" OBS_VALUE="20.496937"/>
</bm:Series>
<bm:Series TITULO="Cotización de la divisa Respecto al peso mexicano Dólar Canadiense" IDSERIE="SF60632" BANXICO_FREQ="Dia" BANXICO_FIGURE_TYPE="TipoCambio" BANXICO_UNIT_TYPE="Peso">
<bm:Obs TIME_PERIOD="2016-02-17" OBS_VALUE="13.3601"/>
</bm:Series>
<bm:Series TITULO="Cotización de las divisas que conforman la canasta del DEG Respecto al peso mexicano Yen japonés" IDSERIE="SF46406" BANXICO_FREQ="Dia" BANXICO_FIGURE_TYPE="TipoCambio" BANXICO_UNIT_TYPE="Peso">
<bm:Obs TIME_PERIOD="2016-02-17" OBS_VALUE="0.161128"/>
</bm:Series>
<bm:Series TITULO="Cotización de las divisas que conforman la canasta del DEG Respecto al peso mexicano Libra esterlina" IDSERIE="SF46407" BANXICO_FREQ="Dia" BANXICO_FIGURE_TYPE="TipoCambio" BANXICO_UNIT_TYPE="Peso">
<bm:Obs TIME_PERIOD="2016-02-17" OBS_VALUE="26.317213"/>
</bm:Series>
</bm:DataSet>
</CompactData>
</result></ns1:tiposDeCambioBanxicoResponse></soapenv:Body></soapenv:Envelope>
comm_blockread returned 4845
get_chunk_size(): entered
0
chunk size = 0
get_chunk_size returned 0
http_close(): entered
HTTPAPI Ver 1.29 released 2015-02-23
NTLM Ver 1.4.0 released 2014-12-22
OS/400 Ver V7R1M0
SetError() #66: XML parse failed at line 2, col 0: no element found
-----------------------------------------------------------------------
This is the FTPAPI mailing list. To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------