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

Re: HTTP/1.1 500 Internal Server Error



   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.
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: 1033
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="iso-8859-1" standalone="no"?><soapenv:Envelope    xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/";    xmlns:q0="http://ep.twg.com";    xmlns:xsd="http://www.w3.org/2001/XMLSchema";    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";><soapenv:Body>  <q0:ProcessAuthorization>      <q0:FUNCTION_TYPE>PAYMENT</q0:FUNCTION_TYPE>      <q0:PAYMENT_TYPE>CREDIT</q0:PAYMENT_TYPE>      <q0:COMMAND>SALE</q0:COMMAND>      <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>SHIVANI</q0:CUSTOMER_FULLNAME>      <q0:CUSTOMER_STREET>100 main street</q0:CUSTOMER_STREET>      <q0:CUSTOMER_ZIP>08807</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: Mon, 11 Aug 2008 02:56:28 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
233

chunk size = 563
get_chunk_size returned 563
calling comm_blockread
<?xml version='1.0' encoding='UTF-8'?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"; xmlns:wsa="http://www.w3.org/2005/08/addressing";><soapenv:Header><wsa:Action>http://www.w3.org/2005/08/addressing/soap/fault</wsa:Action></soapenv:Header><soapenv:Body><soapenv:Fault><faultcode>soapenv:Client</faultcode><faultstring>Character Set Encoding from transport information [UTF-8] does not match with character set encoding in the received SOAP message [iso-8859-1]</faultstring><detail /></soapenv:Fault></soapenv:Body></soapenv:Envelope>
comm_blockread returned 563


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
-----------------------------------------------------------------------