24
Views
5
Comments
Solved
Error when consuming Asynchronous SOAP web service operation

Hello,

I followed this article https://success.outsystems.com/Documentation/How-to_Guides/Integrations/How_to_consume_a_Web_Service_in_Integration_Studio

Now I am trying to consume the soap service in "Service Studio" using the extension I created. I added it in the dependencies, I used the extension action in server action and I called it from the button action. Note that the soap operation is Asynchronous. 

But it is giving me below error. How should I resolve this error ? 


here is the extension action I am trying to call "SendPvtRecords". 


Appreciate your support. 

mvp_badge
MVP
Rank: #76
Solution

Hi S.M.,

Normally an extension should be used for one way task execution since it “extends” the module logic and runs in the same context (as Kilian mentions in the shared link).
But if you really need this to work, here’s an interesting post about running asynchronous code in extensions you might find useful.

Regards,

Nordin

Rank: #2148

any solutions? 

mvp_badge
MVP
Rank: #76

Hi Maitha,

I've pointed you to that post because a few options were mentioned there. Did you try any of those options?

Unfortunately I'm not a C# developer so I can't really help you. Maybe other community members who have experience in C# development can help?

Regards,

Nordin