Hi,

I'm trying to get some information using REST, but always receive a
"Internal Server Error". I'm testing using CURL:

curl -v -H "Accept: application/json"
"http://127.0.0.1:8180/RIS/v1/wf/definitions;debug" -H
"RESTAuthorization:Y249dWFhZG1pbixvdT1BZG1pbmlzdHJ hdG9ycyvdT1zZXJ2aWNlcyxvPXZhbGU6bm92ZWxs"

Here is the LOG:
* About to connect() to 127.0.0.1 port 8180 (#0)
* Trying 127.0.0.1... connected
* Connected to 127.0.0.1 (127.0.0.1) port 8180 (#0)
> GET /RIS/v1/wf/definitions;debug HTTP/1.1
> User-Agent: curl/7.19.0 (x86_64-suse-linux-gnu) libcurl/7.19.0

OpenSSL/0.9.8h zlib/1.2.3 libidn/1.10
> Host: 127.0.0.1:8180
> Accept: application/json
>

RESTAuthorization:Y249dWFhZG1pbixvdT1BZG1pbmlzdHJh dG9ycyvdT1zZXJ2aWNlcyxvPXZhbGU6bm92ZWxs
>

< HTTP/1.1 500 Internal Server Error
< Server: Apache-Coyote/1.1
< X-Powered-By: Servlet 2.5; JBoss-5.0/JBossWeb-2.1
< Content-Type: application/json
< Transfer-Encoding: chunked
< Date: Mon, 27 Feb 2012 19:09:18 GMT
< Connection: close
<
* Closing connection #0
{"Code":{"Value":"Receiver","Subcode":{"Value":"In ternalError"}},"Reason":{"Text":"String
index out of range: -1"}}i



The only sucessfull results that I get is when I use the followinf
command:
curl -v -H "Accept: application/json"
"http://127.0.0.1:8180/RIS/v1;debug" -H
"RESTAuthorization:Y249dWFhZG1pbixvdT1BZG1pbmlzdHJ hdG9ycyvdT1zZXJ2aWNlcyxvPXZhbGU6bm92ZWxs"

Does anybody already had this problem?
Thanks anyway


--
rudnei1967
------------------------------------------------------------------------
rudnei1967's Profile: http://forums.novell.com/member.php?userid=47004
View this thread: http://forums.novell.com/showthread.php?t=452684