Luigi, thanks again! I hope we're getting closer. There are a few points I don't understand. You wrote:
>1) put drop-down on empty dynamic pdf form
I didn't do that, because I don't know what it means. Instead I created a data connection from a WSDL, which worked very well, and dragged the entire data connection into an empty form, which I had set to preview as a dynamic form in forms properties.
>3) Enable "Show Dynamic Properties"
If you mean to make this a dynamic form in the preview setting, that's what I've done. Otherwise I don't see any "Show Dynamic Properties" option.
>4) On the drop-down - OBJECT-binding tab - Click "Specify Item Values"
No drop-down here. I don't know what you mean by that.
LiveCycle Designer inserted all web service fields nicely into the form with all binding settings apparently properly set. The form consists of input fields (just one in this case), a few output fields, and the button at the end, which was automatically set to execute the data connection function. Superficially it looks to me as if LiveCycle Designer did everything right.
What I've done next is to re-route the web service calls through a TCP monitor on localhost to see what it does. (I did that by modifying the WSDL file and regenerating the data connection.)
The result is that the button does nothing. I can click on it as much as I like---it never sends any SOAP request to the desired TCP port, in this case localhost:8080. This LiveCycle Designer preview is as dead as it can be.
When I add another button next to the generated one and put the code you proposed into its click event, I get, "xfa.connectionSet.d3WsInfoLocalhost has no properties" from the debugger. It doesn't seem to find the data connection this way. d3WsInfoLocalhost is the name I gave the data connection.
Since the generated button (control type execute) issues no warning and no error message either, the whole thing is already severely defective, and all I'm now looking for is a workaround. Normally I can't work with that kind of software. If it refuses to do anything, the least I have to expect is an error message. Close to giving up, but since I didn't understand several of your points I thought I should ask before pulling the plug.