-1

Please tell me know, have a way call a web service from C# client in Tibco.

I had defined a process in Tibco Desiger but i don't know call it in C# client.

Thanks in advance.

PVA
  • 7
  • 6

1 Answers1

1

Invoking a Web Service implemented in BusinessWorks from C# is exactly the same as invoking any other Web Service. The WSDL for the service can be found by clicking on the service resource that was create when generated the web service from the process definition, and selecting the "WSDL Source" tab.

One thing to note (which is often overlooked) is that you will need to set the SOAPAction header.

Also, to make it easier to debug the calls to the Web Service, you can create a process definition with a HTTP Receiver starter activity, that uses the same HTTP Shared Connection. Instead of starting the service in the tester, you can start the process definition. This allows you to see what is actually received by the engine, allowing you to tweak it until, the request URI, headers and post content are correct.

Tom Howard
  • 6,516
  • 35
  • 58
  • I want call a web service with paramater is object and then, it will return an other object. I use Send HTTP Respone but i don't find where to set an object. Thanks a lot. – PVA Oct 01 '13 at 02:38
  • When I save as content in "WSDL Source" tab, i save it as concrete WSDL file. How to use that file to call from C# client? – PVA Oct 01 '13 at 03:42
  • The same way you would call any web service from C# – Tom Howard Oct 07 '13 at 22:06