Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
API ERROR
04-03-2013, 06:27 PM,
#3
RE: API ERROR
Pls find below the error.


Home

---SENDING---
POST /webERP/api/api_xml-rpc.php HTTP/1.0
User-Agent: XML-RPC for PHP 3.0.0.beta
Host: localhost
Accept-Encoding: gzip, deflate
Accept-Charset: UTF-8,ISO-8859-1,US-ASCII
Content-Type: text/xml
Content-Length: 287

<?xml version="1.0"?>
<methodCall>
<methodName>weberp.xmlrpc_GetStockBalance</methodName>
<params>
<param>
<value><string>upul</string></value>
</param>
<param>
<value><string>admin</string></value>
</param>
<param>
<value><string>abc123</string></value>
</param>
</params>
</methodCall>
---END---

---GOT---
HTTP/1.1 200 OK
Date: Wed, 03 Apr 2013 08:15:21 GMT
Server: Apache/2.4.2 (Win64) PHP/5.4.3
X-Powered-By: PHP/5.4.3
Set-Cookie: webERPapi=io8vejlf87pnoab33agqcec851; path=/
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Content-Length: 0
Connection: close
Content-Type: text/html


---END---

HEADER: date: Wed, 03 Apr 2013 08:15:21 GMT
HEADER: server: Apache/2.4.2 (Win64) PHP/5.4.3
HEADER: x-powered-by: PHP/5.4.3
HEADER: set-cookie: webERPapi=io8vejlf87pnoab33agqcec851; path=/
HEADER: expires: Thu, 19 Nov 1981 08:52:00 GMT
HEADER: cache-control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
HEADER: pragma: no-cache
HEADER: content-length: 0
HEADER: connection: close
HEADER: content-type: text/html
COOKIE: webERPapi=io8vejlf87pnoab33agqcec851

XML error at line 1, check URL
( ! ) Fatal error: Call to a member function kindOf() on a non-object in C:\wamp\www\webERP\xmlrpc\lib\xmlrpc.inc on line 3310
Call Stack
# Time Memory Function Location
1 0.0006 261856 {main}( ) ..\file.php:0
2 0.0777 1032024 php_xmlrpc_decode( ) ..\file.php:32




Thank you.

Reply


Messages In This Thread
API ERROR - by Gamini - 03-14-2013, 06:06 PM
RE: API ERROR - by etabaraz - 03-28-2013, 11:54 PM
RE: API ERROR - by Gamini - 04-03-2013, 06:27 PM
RE: API ERROR - by etainsee - 04-03-2013, 09:15 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)