Hi Greg,
I am also having the issue of passing the userID to my Web Service which needs it as a parameter.
I have 2 textbox and a button on my form, First textbox (txtUserID) displays the userid. I have created the seondary data source for the WS.
Now, I am trying to set the rules on the button. When I click the button, it should pass the value txtUserID to the web service, get the returned value,
and set the returned value to a second text box.
This I am doing it this way:
Goto Rules -> Add Rule -> Add Action -> Set A Fields VAlue -> Click the right button to the "Field" textbox -> Select the "Main" data source -> select the txtUserID -> Click OK.
Now Click the right button (Fx) to the "Value" textbox -> Click Insert Field or Group ->Select the "Secondary" data source, which is the WS -> Expand the queryFields ->
select the parameter1 -> Click Filter Data -> Click Add -> In "Specify Filter condition" select parameter1 : is equal to : (Select Field or Group -> "Main" Data Source -> txtUserID).
Click OK all the way back.
Save the form and preview. Click on the button, but nothing happens. The web service never seem to be called.
I have tested my web service and it works perfectly in the IIS on my server.
Any help!!!!
Thanks in advance.