cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Web service call is failing with error

Former Member
0 Likes
1,129

Hi,


When am calling a web service with username/hash as soap body getting error like - Uncaught exception from EnterpriseService_Call, Unknown variable: EnterpriseService_Call.GetData


Can you please help in find the root cause of the issue?


Thanks

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Likes

Hi Surya,

Would you let us know from where you are calling web service and for what?

And if possible provide error log as screenshot or txt file. So that it will be easy to trace issue.

For gland your issue, go through below posts

Regards,

Praveen Reddy

former_member185280
Active Contributor
0 Likes

For me the issue is occuring when we are trying to call a web service using the Web Service Action in a transaction. After a migration via export and import it looks like at run time the action is not getting the wsdl or generating the soap envelope so a link error exception is thrown when trying to assign a value to a node. 

MII14.0 SP4 Patch 3 

Former Member
0 Likes

Praveen,

Same as mentioned by Christian, when we debug/execute the transaction, the web service action in that transaction fails with error as mentioned. We could test the web service call outside MII and it was through as expected.

Thanks

Former Member
0 Likes

Hi Surya,

configure the web service action block for the 1st time with the url and then press ok.. hopefully from the next time you will not get the error.

Regards,
Suman

former_member185280
Active Contributor
0 Likes

I recently ran into a similar issue when moving from dev to qa. To get around it I had to configure the web service action directly in qa. Haven't had time to investigate further.

Former Member
0 Likes

Christian,

Check if your web service wizard is configured properly or not, like the port and operations. After re validating these points, my issue is resolved.

Thanks to Praveen and Suman for your inputs.

former_member185280
Active Contributor
0 Likes

Thanks Surya, It works when I hard code the port and operation. I haven't used the web service action in a while but I don't remember having to do that in the past. 

Former Member
0 Likes

Hi christian,

Actually its kind of a bug and it was there in MII 12.2 but seems its still there in 14.0. Actually if you pass the port and operation dynamically in web service action block then it was unable to configure at the beginning. but if you configure them for the 1st time and then if you pass the operation and port dynamically then it will work fine.

regards,

Suman