HI all,
I have written a simple web service that returns a string value:
here is the code for the web service:
<WebMethod> _
Public Function getString() as String
Return "TestString"
End Function
If i test the webservice from the service.asmx page it returns the correct value and works.
Next i created a browser enabled from with a field called test-string-text-box
I have created a secondary data connection to a the web service called getString, and disabled the store a copy on form option and left the automatically retrieve data option enabled.
Next i went to the form open options and set the following actions:
1 - Query data using a web service: getString
2 - set a fields value: test-string-text-box = result of the getString web service retrieval.
I converted the data connection to a UCDX file and tried both link typ relative and link type store options, approving the UDCX files and uploading them to the central data connection store.
Lastly i pulbished the form as a content type to a MOSS 2007 sharepoint library.
When i open the form it does not set the value of the text box to the result of the get string command.
I have no idea what the problem is, any suggestions?
Thanks in advance.