Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Call a web service asynchronously

Hi,

I have created a web service in Java using wizard in NWDS. I created a method in a java class with a return type "String", and exposed it as web service. I guess this will be a synchronous web service.

On the other hand, correct me if i'm wrong, if the method has no return type, ie, "void", then it will be an asynchronous web serivce.

However, for my case above which has a return type "String", can the web service users (another java application or from PI) call this web service asynchrously, ie, without waiting for my web service to finish the processing (because will cause timeout due to long processing time)?

Please give some insight into this question.

Thanks.

- julius

Former Member

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question