Go Back   Developer Program Forum > Sports API > Betfair Sports API - API NG

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

Thread Closed
Thread Tools Display Modes
Old 11-30-2009, 08:53 PM
firstworldchild firstworldchild is offline
Junior Member
Join Date: Nov 2009
Posts: 24
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="http://www.betfair.com/publicapi/v3/BFGlobalService/">
<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: https://api.betfair.com/global/v3/BFGlobalService.wdsl

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 https://www.verisign.com/rpa (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 www.verisign.com/rpa (c)05/CN=*.betfair.com
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;}A.name {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(ResponseFacade.java:405)
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(ReplyHeaderFilter.java:96)
</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 new.pl line 11

Any suggestions?
Old 12-02-2009, 09:31 AM
anonymouse anonymouse is offline
Join Date: Sep 2009
Posts: 43

I don't know much about soap but I'm pretty sure you shouldn't be posting to https://api.betfair.com/global/v3/BFGlobalService.wdsl. Maybe it should be http://www.betfair.com/publicapi/v3/BFGlobalService/
Old 12-02-2009, 08:50 PM
firstworldchild firstworldchild is offline
Junior Member
Join Date: Nov 2009
Posts: 24
Default hrrm

lemme check my code - thanks for pointing that out, i hope i haven't put in .wsdl lol!
Old 12-09-2009, 10:07 AM
MarkL MarkL is offline
BDP Team
Join Date: Oct 2008
Posts: 338

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 Betfair Sports API - API NG 3 08-02-2010 04:42 PM
Failed to retrieve events: INVALID_EVENT_ID Minor Error:null Header Error:OK pietrick Java 2 01-22-2010 03:56 PM
PlaceBets -> ERROR 500: Internal Server Error. pekoll289 Betfair Sports API - API NG 2 01-08-2010 04:07 PM
Error 9. Internal Error when trying to place a bet KaptenHaddock VB6 and Excel 2 12-22-2009 01:40 AM
"INTERNAL ERROR" without any explanation Giacecco Betfair Sports API - API NG 0 07-21-2009 09:26 PM

All times are GMT. The time now is 02:18 AM.

BETFAIR® and the BETFAIR LOGO are registered trade marks of The Sporting Exchange Limited. Data on Betfair website(s) (including pricing data) is protected by © and database rights. It may not be used for any purpose without a licence. © The Sporting Exchange Limited. All rights reserved.