Exporting process as web service and testing using curl

srinisrini Member Posts: 9 Contributor II
edited November 2018 in Help
Hi

When I try to export a service and test using curl it is throwing me following exception

curl -v -T Test.csv http://wdidevgmyneni:8080/RA/process/ClassificationTestModel
* About to connect() to wdidevgmyneni port 8080 (#0)
*Β  Trying fe80::ec0f:343f:b2f9:c72c...
* 0x8001f140 is at send pipe head!
* STATE: CONNECT => WAITCONNECT handle 0x80057690; line 1032 (connection #0)
* Connected to wdidevgmyneni (fe80::ec0f:343f:b2f9:c72c) port 8080 (#0)
* STATE: WAITCONNECT => DO handle 0x80057690; line 1151 (connection #0)
> PUT /RA/process/ClassificationTestModel HTTP/1.1
> User-Agent: curl/7.29.0
> Host: wdidevgmyneni:8080
> Accept: */*
> Content-Length: 102
> Expect: 100-continue
>
* STATE: DO => DO_DONE handle 0x80057690; line 1236 (connection #0)
* STATE: DO_DONE => WAITPERFORM handle 0x80057690; line 1352 (connection #0)
* STATE: WAITPERFORM => PERFORM handle 0x80057690; line 1363 (connection #0)
* HTTP 1.1 or later with persistent connection, pipelining supported
< HTTP/1.1 100 Continue
* We are completely uploaded and fine
* HTTP 1.1 or later with persistent connection, pipelining supported
< HTTP/1.1 302 Moved Temporarily
< Server: Apache-Coyote/1.1
< X-Powered-By: Servlet/3.0; JBossAS-6
< Set-Cookie: JSESSIONID=28570C6324126E0226E3AE9A98F61405; Path=/RA
< Location: http://wdidevgmyneni:8080/RA/faces/login.xhtml;jsessionid=28570C6324126E0226E3AE9A98F61405
< Content-Length: 0
< Date: Wed, 15 May 2013 11:16:20 GMT
<
* STATE: PERFORM => DONE handle 0x80057690; line 1533 (connection #0)
* Connection #0 to host wdidevgmyneni left intact
* Expire cleared

Please shed some light -

Thanks
Sign In or Register to comment.