Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

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

Avatar

Level 4


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

0 Replies

Avatar

Level 10

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

Avatar

Level 4

yes .

Here requestXML  and responseXML are input and output to webservice and which are nothing but Textfields.

Avatar

Level 10

You are passing a single text field instance to a WebService as an input variable of type XML?