[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Help with CCISD convertion during POST Using HTTPAPI
Hi again,
I´m having an issue, cause the XML I'm using to make the request use !
and [ [ I changed the CCISD To 819 but in the Debug file I got this
information:
They change the "[" to another simbol, blanks I assume and I can´t
make a post correctly.
How I know the correct CCISD to make a correct convertion for a
succesfull post?
The debug data
-----------------------
HTTPAPI Ver 1.13.1 released 2006-01-03
New tables set, ASCII=QTCPASC. EBCDIC=QTCPEBC
SetError() ýý HTTPAPI was compiled to use tables rather than CCSIDs
http_url_post(): entered
http_persist_open(): entered
http_long_ParseURL(): entered
http_persist_post(): entered
http_long_ParseURL(): entered
do_post(): entered
POST /singecmotorcitas/citas.asmx HTTP/1.1
Host: 172.30.7.2
User-Agent: Mozilla/5.0 (X11; U; OS400)
Content-Type: text/xml; charset=utf-8
SOAPAction: [1]http://tempuri.org/ws_MotorSINGEC/Citas/RecibeXML
Expect: 100-continue
Content-Length: 1384
recvresp(): entered
HTTP/1.1 100 Continue
Via: 1.1 MIGRA-ISA
SetError() ýý HTTP/1.1 100 Continue
senddoc(): entered
<soap:Envelope xmlns:xsi="[2]http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="[3]http://www.w3.org/2001/XMLSchema"
xmlns:soap="[4]http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><R
ecibeXML
xmlns="[5]http://tempuri.org/ws_MotorSINGEC/Citas"><stringXML><?CDATA?m
l version="1.0" encoding="utf-8"?><cita ciudad="2" idTransaccion=""
tipoCita="1" numTransaccion="" idCita="" fechaCita="" horaCita=""
confirm="0"
estatusConfirm=""><ciudadano><numeroIdentidad>0501-1982-01837</numeroId
entidad><nombreCompleto>Felipe Garcia
Calero</nombreCompleto><numeroIdentificacion></numeroIdentificacion></c
iudadano><datosTransaccion><fechaTransaccion>15/01/2014</fechaTransacci
on><idSucursal>01</idSucursal><duracionPasaporte>2</duracionPasaporte><
costoPasaporte>0</costoPasaporte><costoCita>0</costoCita><montoCredito>
0</montoCredito><totalTransaccion>0</totalTransaccion><tipoCambio>0</ti
poCambio><folioTGR1>0</folioTGR1><transaccionExtranjero><pais></pais><c
iudad></ciudad><tipoServicio></tipoServicio><numDocPago></numDocPago><c
omentarioPago></comentarioPago><montoPago></montoPago></transaccionExtr
anjero></datosTransaccion><pasaporteAnterior><libretaAnterior></libreta
Anterior><fechaExpedicion></fechaExpedicion><fechaVencimiento></fechaVe
ncimiento><tiempoVigencia></tiempoVigencia><mesesVigencia></mesesVigenc
ia></pasaporteAnterior></cita>!!></stringXML></RecibeXML></soap:Body></
soap:Envelope>
recvresp(): entered
HTTP/1.1 500 Internal Server Error.
Connection: Keep-Alive
Content-Length: 575
Date: Mon, 03 Feb 2014 17:00:04 GMT
Content-Type: text/xml; charset=utf-8
Server: Microsoft-IIS/6.0
X-Powered-By: [6]ASP.NET
X-AspNet-Version: 1.1.4322
Cache-Control: private
SetError() ýý HTTP/1.1 500 Internal Server Error.
recvdoc parms: identity 575
recvdoc(): entered
SetError() ýý
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope
xmlns:soap="[7]http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="[8]http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="[9]http://www.w3.org/2001/XMLSchema">
<soap:Body>
<soap:Fault>
<faultcode>soap:Client</faultcode>
<faultstring>Server was unable to read request. --> There is
an error in XML document (1, 252). --> The '?' character,
hexadecimal value 0x65B, cannot begin with a name. Line 1, position
252.</faultstring>
<detail />
</soap:Fault>
</soap:Body>
</soap:Envelope>
SetError() ýý HTTP/1.1 500 Internal Server Error.
http_close(): entered
This is How I see the URL you can see the error message
Imágenes integradas 1
Best Regards,
--
[writing.jpg] Saludos Cordiales,
"El que tiene imaginación, con qué facilidad saca de la nada un mundo".
Gustavo Adolfo Bequer
References
1. http://tempuri.org/ws_MotorSINGEC/Citas/RecibeXML
2. http://www.w3.org/2001/XMLSchema-instance
3. http://www.w3.org/2001/XMLSchema
4. http://schemas.xmlsoap.org/soap/envelope/
5. http://tempuri.org/ws_MotorSINGEC/Citas
6. http://ASP.NET/
7. http://schemas.xmlsoap.org/soap/envelope/
8. http://www.w3.org/2001/XMLSchema-instance
9. http://www.w3.org/2001/XMLSchema

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