WSDL - Not able to send data with request but able to get the response

Avatar

Avatar

Dhiyane

Avatar

Dhiyane

Dhiyane

29-11-2011


Hi All ,


I have created sample Form with WSDL connection.

Form Includes (Developed with LC Designer): -

1. Input field mapped with XML tag Like ID.

2. Output field mapped with XML tag like Name

3. Button (On Click event)

   Calling webservice using the below code

   requestXML.rawValue = xfa.data.saveXML();

   app.alert(requestXML.rawValue);
   try{
   xfa.connectionset.dataconnection1.excute(0)
   }catch (e){
    app.alert(e);
   }
   app.alert(responseXML.rawValue);


while clicking the button , I can able to call the service and get the response.
But the request is always null and not able to send the data.

and the webservice is developed with WCF.

Is any Idea about the issue?

or any other option to call webservice?

Advance Thanks

Dhiyane

View Entire Topic

Avatar

Avatar

Steve_L_Walker

Avatar

Steve_L_Walker

Steve_L_Walker

30-11-2011

Have you bound the text field representing the input to the WebService to the input variable on the WebService data connection?

I am not sure what requestXML and responseXML represent?

Steve