Jan Krusche
Jan Krusche

Reputation: 23

Setting up a HTTP Receiver in Tibco Businessworks for an existing Web Service

So currently I managed to reach an existant Web Service and use one of it's functions to alter a database. However, the Web Service does not respond with a Soap Response, but with just the HTTP Respond Code 200, which I want to use to create a "Success!"-like notification.

Using BusinessWorks I was able to to connect the process with a HTTP Receiver in the Modeler-View, but it doesn't work and gives me the error message "Process configuration error. The activity [HTTPReceiver] in the process [webservices.module.IWSContract] cannot have an input transition."

My goal is to catch the HTTP Response Code 200 from the Web Service, and optionally display it to the user.

Upvotes: 1

Views: 2215

Answers (2)

Seb
Seb

Reputation: 684

As you mention you use TIBCO BW 6. this should be the "Invoke" activity instead of SOAPRequestreply (Basic Palette -> Invoke) enter image description here

Upvotes: 2

Nicolas Heitz
Nicolas Heitz

Reputation: 674

You need to use a SOAP Request-Reply activity to invoke the web service. Technically, the "HTTP 200" response won't be visible but you will get an empty output in case of a success:

enter image description here

You can then choose to return whatever success message to the user.

Upvotes: 1

Related Questions