[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
FW: HTTPAPI
Hello I am trying the examples and trying to get to our servlet
When I do this I get the following response back
Project file is required
When I check the parameters received at the servlet I get none
Any ideas
I am using the code like EXAMPLE5
I am using the encoder and the following
eval rc=http_url_post_raw(
'http://localhost:8000/linomax'
+ '/servlets/runProjectCommand'
:myPointer
:dataSize
:30
:%paddr('INCOMING')
)
or
eval rc=http_url_post(
'http://localhost:8000/linomax'
+ '/servlets/runProjectCommand'
:myPointer
:dataSize
: '/tmp/testpost.html' )
Here is the printout fromt the debug file
HTTPAPI Ver 1.17 released 2006-09-23
New iconv() objects set, PostRem=819. PostLoc=0. ProtRem=819.
ProtLoc=0
http_persist_open(): entered
http_long_ParseURL(): entered
http_persist_post(): entered
http_long_ParseURL(): entered
do_post(): entered
POST /linomax/servlets/runProjectCommand HTTP/1.1
Host: localhost:8000
User-Agent: http-api/1.17
Content-Type: text/xml
Expect: 100-continue
Content-Length: 56
recvresp(): entered
HTTP/1.1 100 Continue
SetError() #13: HTTP/1.1 100 Continue
senddoc(): entered
projectLocation=Test_101.xml&priority=5&mode=interactive
recvresp(): entered
HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Content-Type: text/plain;charset=ISO-8859-1
Content-Length: 49
Date: Wed, 06 Dec 2006 17:54:20 GMT
SetError() #13: HTTP/1.1 200 OK
recvdoc parms: identity 49
header_load_cookies() entered
recvdoc(): entered
SetError() #0:
jobNumber=-1
message=Project file is required
http_close(): entered
[emailLogo.gif]
Ron Byrd
Linoma Software
(
Phone:
(402) 944-4242
(
Toll free:
(800) 949-4696
*
Email:
[1]rbyrd@xxxxxxxxxx
8
Web:
[2]www.linomasoftware.com
References
1. mailto:rbyrd@xxxxxxxxxx
2. http://www.linomasoftware.com/
-----------------------------------------------------------------------
This is the FTPAPI mailing list. To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------