1

I want to invoke a webservice within watson-conversation response and display the returned result from webservice to client.

For example, if I ask watson this question: how about the weather in New York 2016-12-30 ?

then watson will invoke a weather related webservice and pass the parameters city(New York) and date(2016-12-30) to the webservice, the webservice will return message "It is sunny, temperature is 30".

The client will get "It is sunny, temperature is 30" as the answer.

george jiang
  • 105
  • 9
  • See http://stackoverflow.com/questions/40263747/how-to-make-watson-conversation-api-invoke-a-web-application-url-when-user-enter – Dudi Dec 30 '16 at 14:21

1 Answers1

1

You might want to checkout the weather bot built with Watson Conversation and the Weather API. https://github.com/watson-developer-cloud/text-bot

Ashima Arora
  • 190
  • 1
  • 8
  • Is it possible to call SOAP API from Watson conversation application ,[for this sample](https://github.com/watson-developer-cloud/conversation-simple) ,which is deployed in nodejs? – Athif Shaffy Jan 12 '17 at 08:54