Expand my Community achievements bar.

Web Service Problems ( SOAP )

Avatar

Former Community Member
Hi everyody,

we have a web service in dotnet. Wen we call a method that doesn't require

parameters, the webservice answers well. On the contrary, when I call a

method that require a parameter, in the debug mode i can see that the value

passed is always "null". This is the script:



SOAP.wireDump = false;

var cListURL = "URL OF THE WEB SERVICE";



var service = SOAP.connect(cListURL);

var cTextString = "OK";

var result = service.function1(cTextString);

string.rawValue = result



The function is done that it come back to me a value, but we have always "Empty" because the data the webservice received is always "null".



I am using Adobe 7.0



Please help me

Pushkar
3 Replies

Avatar

Former Community Member
I have the same problem too, did you solve it ?

Avatar

Level 1
The error is in a row:

var result = service.function1(cTextString);

You have to specify the name of parameter, for example:

var result = service.function1({ parameterName: cTextString });



Michal