Betfair Developers

Exchange API
Discussion about the Betfair Sports Application Programming Interface - API NG

Thread Closed
firstworldchild firstworldchild is offline
Junior Member
Default Internal Error?

Hi Guys

Im using soap::lite for perl and have finally been able to generate the following soap request:

<?xml version="1.0" encoding="UTF-8"?>
<login xmlns="">
<locationId xmlns="">0</locationId>
<password xmlns="">password</password>
<productId xmlns="">82</productId>
<username xmlns="">username</username>
<vendorSoftwareId xmlns="">0</vendorSoftwareId>

i get the following error when the request is posted to:

Date: Mon, 30 Nov 2009 21:37:55 GMT
Content-Length: 1595
Content-Type: text/html;charset=utf-8
Client-Date: Mon, 30 Nov 2009 21:37:56 GMT
Client-Response-Num: 1
Client-SSL-Cert-Issuer: /C=US/O=VeriSign, Inc./OU=VeriSign Trust Network/OU=Terms of use at (c)09/CN=VeriSign Class 3 Secure Server CA - G2
Client-SSL-Cert-Subject: /C=GB/ST=London/L=London/O=The Sporting Exchange Ltd/OU=IS/OU=Terms of use at (c)05/CN=*
Client-SSL-Cipher: RC4-MD5
Client-SSL-Warning: Peer certificate not verified
Cneonction: close
Title: Apache Tomcat/5.5.28 - Error report

<html><head><title>Apache Tomcat/5.5.28 - Error report</title><style><!--H1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} H3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A {color : black;} {color : black;}HR {color : #525D76;}--></style> </head><body><h1>HTTP Status 500 - </h1><HR size="1" noshade="noshade"><p><b>type</b> Exception report</p><p><b>message</b> <u></u></p><p><b>description</b> <u>The server encountered an internal error () that prevented it from fulfilling this request.</u></p><p><b>exception</b> <pre>java.lang.IllegalStateException
org.apache.catalina.connector.ResponseFacade.sendE rror(
electric.servlet.httpget.HTTPGetServlet.service(Un known Source)
javax.servlet.http.HttpServlet.service(HttpServlet .java:810)
electric.server.http.ServletServer.service(Unknown Source)
javax.servlet.http.HttpServlet.service(HttpServlet .java:810)
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doF ilter(
</pre></p><p><b>note</b> <u>The full stack trace of the root cause is available in the Apache Tomcat/5.5.28 logs.</u></p><HR size="1" noshade="noshade"><h3>Apache Tomcat/5.5.28</h3></body></html>
500 Internal Server Error at line 11

Any suggestions?
anonymouse anonymouse is offline

I don't know much about soap but I'm pretty sure you shouldn't be posting to Maybe it should be
firstworldchild firstworldchild is offline
Junior Member
Default hrrm

lemme check my code - thanks for pointing that out, i hope i haven't put in .wsdl lol!
MarkL MarkL is offline
BDP Team

I spent a bit of time trying to get SOAP::Lite to work with our API and couldn't. Have you had any luck?
Thread Closed

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
GetAllMarkets gives (500) Internal server error newrick Exchange API 3 02-08-2010 05:42 PM
Failed to retrieve events: INVALID_EVENT_ID Minor Error:null Header Error:OK pietrick Java 2 22-01-2010 05:56 PM
PlaceBets -> ERROR 500: Internal Server Error. pekoll289 Exchange API 2 08-01-2010 06:07 PM
Error 9. Internal Error when trying to place a bet KaptenHaddock VB6 and Excel 2 22-12-2009 03:40 AM
"INTERNAL ERROR" without any explanation Giacecco Exchange API 0 21-07-2009 10:26 PM