11-24-2012 07:40 AM
Solved! Go to Solution.
11-25-2012 11:17 AM
Can you post a screenshot of your webservice VI and its configuration in the Application Builder build specifications?
11-26-2012 02:22 AM
Hello Chris
Attached is a picture of my front panel and block diagram.
Thanks....Eran
11-26-2012 06:58 AM
Eran,
Please confirm 2 things:
1) That NameID is mapped to the connector pane and NOT Data Array. The VI will not work with Data Array because arrays are not allow for terminal inputs and the name of the control cannot have a space in it.
2) That the label for NameID does NOT have any spaces in it. This will mess things up considerably.
Finally, you might consider that the VI is only sort of working you are just not getting any outputs as you suspect (i.e. your output string are blank). I assume that the output mode you have chosen is XML?
11-26-2012 07:30 AM
Hello Chris
Thanks for your answer
1) The terminal is the NameID string
2) There are no space in the string
3) Yes, I use the XMS
However it does not work
Eran
11-26-2012 12:29 PM
Eran,
Did you confirm that your VI is actually outputting a string value?
The easiest way to test would be to use a string constant as your output instead of the result of your calculations and see if the VI fails in the same manner.
11-26-2012 01:10 PM
Hi Chris
Yes the VI operate well and I tested the Web Service Application with a constant and with a number input terminal
Attached is the the project
Thanks for your support
Eran
11-27-2012 11:36 AM
Sorry, I don't have LV 2012.
Did you test with a constant string output (not different input)?
11-27-2012 12:25 PM
Hello Chris
This issue is interesting since the NI support in my region could not help me.
Yes I have done it and it worked well
should I use quotes "string" or <string>?
I believe that the solution is simple but I do not find it
Thanks...Eran
11-28-2012 12:54 PM
So I'm still not convinced that your code is returning a string since it sounds like the only way you've tested it is with numeric inputs (which require different logic to return a string).
Here's a quick web method that I threw together to prove that input and output of strings works in terminal mode.
Works just fine for me. I am in LV 2011 SP1, but I would be very surprised if this is a bug with LV 2012.