Thank you Thomas for your suggestion. I tried it but still getting the same error. Updated log and program are attached. Thanks, Shivani Marrero The Warranty Group - Home Warranty IT Phone: (908) 707-9956 Cell: (201) 927-4477 Fax: (312) 395-9735 Email: shivani.marrero@xxxxxxxxxxxx thomas.raddatz@xxxxxx Sent by: ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx 08/11/2008 06:32 AM Please respond to HTTPAPI and FTPAPI Projects <ftpapi@xxxxxxxxxxxxxxxxxxxxxx> To ftpapi@xxxxxxxxxxxxxxxxxxxxxx cc Subject Antwort: Re: HTTP/1.1 500 Internal Server Error Shivani, Did you already try to send the SOAP request utf-8 encoded? The server error message implies that the server expects the message to be utf-8 encoded and nothing else: Character Set Encoding from transport information [UTF-8] does not match with character set encoding in the received SOAP message [iso-8859-1] Use http_setccsid() to tell HTTP API to encode the message to utf-8: http_setccsids(1208: 0); If you still send the XML document declaration (I can not find it in the program, but it is shown in the http log), change it to: <?xml version="1.0" encoding="utf-8" standalone="no"?> Thomas. ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx schrieb am 11.08.2008 05:43:06: > Hi Scott, > > Thank you for sharing the HTTPAPI software and examples. I was able to > test the example18 & 20 OK. So I customized the example20 to invoke my > web service to see if the hosting server receives the soap message and > able to parse the request. I am using eclipse, axis2 and hosting the > service on the Jboss server. Keep getting the HTTP/1.1 500 Internal > Server Error and on the server log I see the error: Unable to parse > request. Not sure how to resolve these errors. I am attaching the debug > log and updated example20 program. > > > > > Thanks, > Shivani > > This message is intended only for the addressee and may contain > information that is confidential or privileged. Unauthorized use is > strictly prohibited and may be unlawful. If you are not the intended > recipient, or the person responsible for delivering to the intended > recipient, you should not read, copy, disclose or otherwise use this > message, except for the purpose of delivery to the addressee. If you have > received this email in error, please delete and advise the IT Security > department at infosec@xxxxxxxxx immediately. > > > > > This message is intended only for the addressee and may contain > information that is confidential or privileged. Unauthorized use is > strictly prohibited and may be unlawful. If you are not the intended > recipient, or the person responsible for delivering to the intended > recipient, you should not read, copy, disclose or otherwise use this > message, except for the purpose of delivery to the addressee. If you > have received this email in error, please delete and advise the IT > Security department at infosec@xxxxxxxxx immediately. > [Anhang "httpapi_debug.txt" gelöscht von Thomas Raddatz/GfD/DE] > [Anhang "cr2.RTF" gelöscht von Thomas Raddatz/GfD/DE] > ---------------------------------------------------------------------- - > This is the FTPAPI mailing list. To unsubscribe, please go to: > http://www.scottklement.com/mailman/listinfo/ftpapi > ---------------------------------------------------------------------- - -- IMPORTANT NOTICE: This email is confidential, may be legally privileged, and is for the intended recipient only. Access, disclosure, copying, distribution, or reliance on any of it by anyone else is prohibited and may be a criminal offence. Please delete if obtained in error and email confirmation to the sender. ---------------------------------------------------------------------- - This is the FTPAPI mailing list. To unsubscribe, please go to: http://www.scottklement.com/mailman/listinfo/ftpapi ---------------------------------------------------------------------- - This message is intended only for the addressee and may contain information that is confidential or privileged. Unauthorized use is strictly prohibited and may be unlawful. If you are not the intended recipient, or the person responsible for delivering to the intended recipient, you should not read, copy, disclose or otherwise use this message, except for the purpose of delivery to the addressee. If you have received this email in error, please delete and advise the IT Security department at infosec@xxxxxxxxx immediately.
New iconv() objects set, PostRem=1208. PostLoc=0. ProtRem=819. ProtLoc=0 http_persist_open(): entered http_long_ParseURL(): entered DNS resolver retrans: 10 DNS resolver retry : 3 DNS resolver options: x'00000136' DNS default domain: WARRANTY.LOCAL DNS server found: 10.208.240.64 DNS server found: 10.208.240.65 DNS server found: 10.208.50.91 http_persist_post(): entered http_long_ParseURL(): entered do_post(): entered POST /EPaymentWS/services/listServices HTTP/1.1 Host: gld.epayment.thewg.com User-Agent: http-api/1.23 Content-Type: text/xml Expect: 100-continue Content-Length: 894 SOAPAction: http://gld.epayment.thewg.com/EPaymentWS/services/ProcessCreditCard recvresp(): entered HTTP/1.1 100 Continue SetError() #13: HTTP/1.1 100 Continue senddoc(): entered <?xml version="1.0" encoding="UTF-8"?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:q0="http://gld.epayment.thewg.com" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><soapenv:Body> <q0:ProcessAuthorization> <q0:CLIENT_ID>200010001</q0:CLIENT_ID> <q0:ACCT_NUM>4444444444444448</q0:ACCT_NUM> <q0:EXP_YEAR>12</q0:EXP_YEAR> <q0:EXP_MONTH>12</q0:EXP_MONTH> <q0:CVV2/> <q0:CV_PRESENCE_IND/> <q0:CUSTOMER_FULLNAME>TEST TEST</q0:CUSTOMER_FULLNAME> <q0:CUSTOMER_STREET>100 main street</q0:CUSTOMER_STREET> <q0:CUSTOMER_ZIP>60601</q0:CUSTOMER_ZIP> <q0:INVOICE>srm-2</q0:INVOICE> <q0:TAX_AMOUNT /> <q0:TRANS_AMOUNT>1.02</q0:TRANS_AMOUNT> <q0:TROUTD /> <q0:XID>123</q0:XID> </q0:ProcessAuthorization></soapenv:Body></soapenv:Envelope> recvresp(): entered HTTP/1.1 500 Internal Server Error Date: Tue, 12 Aug 2008 18:39:27 GMT Server: Apache X-Powered-By: Servlet 2.4; JBoss-4.3.0.GA (build: SVNTag=JBPAPP_4_3_0_GA date=200801031548)/Tomcat-5.5 Connection: close Transfer-Encoding: chunked Content-Type: text/xml;charset=UTF-8 SetError() #13: HTTP/1.1 500 Internal Server Error recvdoc parms: chunked 0 header_load_cookies() entered recvchunk(): entered get_chunk_size(): entered 186 chunk size = 390 get_chunk_size returned 390 calling comm_blockread <?xml version='1.0' encoding='UTF-8'?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Body><soapenv:Fault><faultcode>soapenv:Client</faultcode><faultstring>The service cannot be found for the endpoint reference (EPR) http://gld.epayment.thewg.com/EPaymentWS/services/listServices</faultstring><detail /></soapenv:Fault></soapenv:Body></soapenv:Envelope> comm_blockread returned 390 get_chunk_size(): entered 0 chunk size = 0 get_chunk_size returned 0 SetError() #13: HTTP/1.1 500 Internal Server Error http_close(): entered
Attachment:
CR2.RTF
Description: RTF file
----------------------------------------------------------------------- This is the FTPAPI mailing list. To unsubscribe, please go to: http://www.scottklement.com/mailman/listinfo/ftpapi -----------------------------------------------------------------------