03-16-2012 09:04 AM
Hi everyone,
I am new with labview webservices and i have to realize a communication between a java app and a labview webservice. The aim is to send a text and save it with the webservice.
I tried something for the webservice part, it seems i succeeded in deploying it but i can't extract any text. I join my "post.vi".
For test purpose i used an http form :
<FORM METHOD="POST" ENCTYPE="multipart/form-data" ACTION="http://localhost:8080/Webservice/post">
<INPUT TYPE="text" NAME="nom" /><BR />
<INPUT TYPE="submit" VALUE="Submit" />
</FORM>
Thanks in advance for every advice you will give me
Solved! Go to Solution.
03-16-2012 10:32 AM
I can't see in your VI, you connected httpRequestID control to connector pane, which is required.
03-16-2012 04:13 PM
03-16-2012 06:34 PM
Here is my VI, now the connection works fine but "value" is still blank.
Thank a lot for your help
03-17-2012 05:54 AM
I tried also this, but I still have nothing for the values of my post request. I read all I could read for the webservice part on NI website but I'm still unable to deploy this simple webservice. I really would like to learn labview but it seems I can't progress in the webservice part.
The communication works great, I have an answer from the VI but no value. Any help or information would be helpful.
Thanks
03-17-2012 10:13 AM
Ok, so i finally resolve my problem.
If it can help, here is the solution. It seems that the label input for httpRequestID only accept "httpRequestID" , no 2 or whatever. Beginner's mistake, but we're all learning.
So it works now.