[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
HTTP/1.1 202 Accepted
This is my first time working with API and I have an issue with my
program where I'm receiving a HTTP/1.1 202 Accepted.
I am not able to find what is causing the issue.
This is mi WSDL:
<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:cif="http://CifrasLibrary/com/consupago/cifras/bo/CifrasBO">
<soapenv:Header/>
<soapenv:Body>
<cif:sendMessage>
<data>
<!--Optional:-->
<input>CC120605170459590050010060000000000000000000000001|003/100000;00
4/50000|</input>
</data>
</cif:sendMessage>
</soapenv:Body>
</soapenv:Envelope>
My RPG program:
http_debug(*ON);
http_XmlStripCRLF(*ON);
SOAP
=
'<?xml version="1.0" encoding="UTF-8"
standalone="no"?>'
+'<soapenv:Envelope'
+'
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"'
+'
xmlns:cif="http://CifrasLibrary/com/consupago/cifras/bo/CifrasBO">'
+'<soapenv:Header/>'
+' <soapenv:Body>'
+'
<cif:sendMessage>'
+'
<data>'
+' <!--Optional:-->'
+' <input>' + CADENA +
'</input>'
+'
</data>'
+'
</cif:sendMessage>'
+'
</soapenv:Body>'
+'</soapenv:Envelope>';
http_debug(*ON);
ENDPOINT = 'http://192.168.201.141:9080/CifrasControlServiceWeb/'+
'sca/CifrasControlService';
rc = http_url_post_xml( ENDPOINT
: %addr(SOAP) + 2
: %len(SOAP)
: *NULL
: %paddr(MapXmlData)
: %addr(CountryName)
: HTTP_TIMEOUT
: HTTP_USERAGENT
: 'text/xml'
: '""' );
This is the log:
HTTPAPI Ver 1.24 released 2012-01-23
OS/400 Ver V5R4M0
http_persist_open(): entered
http_long_ParseURL(): entered
DNS resolver retrans: 2
DNS resolver retry : 2
DNS resolver options: x'00000136'
DNS default domain: consupago.com
DNS server found: 192.168.201.84
DNS server found: 200.77.227.157
DNS server found: 10.129.1.12
http_persist_post(): entered
http_persist_req(POST) entered.
http_long_ParseURL():
entered
do_oper(POST):
entered
There are 0 cookies in the
cache
POST /CifrasControlServiceWeb/sca/CifrasControlService
HTTP/1.1
Host:
192.168.201.141:9080
User-Agent:
http-api/1.24
Content-Type: text/xml;
charset=UTF-8
SOAPAction:
""
Content-Length:
368
senddoc():
entered
<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:cif="http://CifrasLibrary/com/consupago/cifras/
bo/CifrasBO"> <soapenv:Header/> <soapenv:Body> <cif:sendMessage> <data>
<!--Optional:--> <input>CC1206051704595900300200500000000
00000000000000001|003/100000;004/50000|</input> </data>
</cif:sendMessage> </soapenv:Body> </soapenv:Envelope>
recvresp():
entered
HTTP/1.1 202
Accepted
Content-Type: text/xml;
charset=UTF-8
Content-Length:
0
Connection:
close
Content-Language:
en-US
Date: Wed, 05 Dec 2012 18:51:17
GMT
Server: WebSphere Application
Server/6.1
SetError() Ñ13: HTTP/1.1 202
Accepted
recvresp(): end with
202
recvdoc parms: identity
0
header_load_cookies()
entered
recvdoc():
entered
SetError() Ñ0:
SetError() Ñ13: HTTP/1.1 202
Accepted
http_close(): entered
In the server applications this is the error when consume the service:
------Start of DE processing------ = [12/6/12 18:24:06:649 CST] , key =
javax.xml.ws.WebServiceException
sca.webservice.provider.CifrasControlService 001
Exception = javax.xml.ws.WebServiceException
Source = sca.webservice.provider.CifrasControlService
probeid = 001
Stack Dump = javax.xml.ws.WebServiceException:
org.apache.axiom.om.OMException: javax.xml.stream.XMLStreamException:
The content of elements must consist of well-formed character data or
markup.
at
com.ibm.ws.sca.internal.jaxws.handler.JaxWsExportHandler.processMessage
(JaxWsExportHandler.java:302)
at
com.ibm.wsspi.sca.jaxws.service.WsExtensionProvider.invoke(WsExtensionP
rovider.java:104)
at
sca.webservice.provider.CifrasControlService.invoke(CifrasControlServic
e.java:48)
Thanks!
Erica Rosales
Junior Programmer
Descripción: Descripción: cid:image002.png@01CBD8D3.82C3A4F0
I.C. Erica Gpe. Rosales Sánchez
Tel..(222) 4310117
Advertencia Legal: La información contenida en este e-mail es
confidencial y sólo puede ser utilizada por el individuo o la compañía
a la cual está dirigido. Esta información es de carácter provisional y
referencial, no debe ser distribuida ni copiada total o parcialmente
por ningún medio sin la autorización de M-Finis Soluciones y Servicios
Financieros S. A. de C. V. La Empresa no asume responsabilidad sobre
información, opiniones o criterios contenidos en este e-mail.
Disclaimer: The information contained in this e-mail is confidential
and intended only for the use of the person or company to which it is
addressed. This information is considered provisional and referential;
it can not be totally or partially distributed nor copied by any media
without the authorization from M-Finis Soluciones y Servicios
Financieros S. A. de C. V. The Company does not assume responsibility
about this information, opinions or criteria contained in this e-mail.
Descripción:
Descripción: cid:image003.png@01CBD8D3.82C3A4F0 Por favor
considere el impacto en el medio ambiente antes de imprimir este e-mail
M FINIS Please
consider the environment before printing this e-mail.


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