I wanted to set entity file within a process, when i insert the webservice into automatic step, the UploadDocument does not appear in the list of available webservices. Please advise.
Did you add the runtime reference to your project?
No ... I don't know how to, but I can run this web service from webservice interface explorer.
In the Web Service Interface Explorer, note the Web Service Operation's "Application / Organization" and "Web Service Interface". For UploadDocument it is "OpenText Entity Runtime" and "Method Set Entity File Services".
Now in your project, right-click on a folder and select "Add Runtime Reference | Other...". then select "Web Service Interface". In the dialog scroll down to the "OpenText Entity Runtime" package and select the "Method Set Entity File Services" method.
You will now have the method available to call in your BPM.
Thank you .. That resolved my issue.