Unable to connect Webservice using Bridge Action From Architect

Hi,

I created a GET method WCF webservice in C# .net (for example: TestWebServices.svc) and the URL is working fine externally and internally. I created a connector in which I added "http://testdomain.com/TestWebServices.svc" in EndpointURL. After that, I created one Action with configuration URL including method name, "http://testdomain.com/TestWebServices.svc/GetID" and created Request and Response schema:

Request:
{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "Request for checking card exist or not",
"description": "Default schema for a user action.",
"type": "object",
"properties": {
"CardNumber": {
"type": "string",
"description": "string"
}
},
"additionalProperties": true
}

Response :
{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "Response for checking card exist or not",
"description": "Default schema for a user action.",
"type": "object",
"properties": {
"contactID": {
"type": "string",
"description": "string"
},
"message": {
"type": "string",
"description": "string"
},
"name": {
"type": "string",
"description": "string"
},
"status": {
"type": "string",
"description": "string"
},
"value": {
"type": "string",
"description": "string"
}
},
"additionalProperties": true
}

After that I used this action in architect using Bridge Action:

But it is throwing an error message of Action Failure as set up under Failure condition in Bridge action.

Please let me know your suggestions that I am missing and also for any further information if you need.

Please find the attached screenshot of the action.

Regards,
Deepankar.

Can you tell from the webservice logs if the bridge action is actually communicating with the web service?

You mentioned that your web service is available externally. I would strongly suggest creating a data action instead of a bridge web service connector. Data actions are more flexible, support HTTPS, don't require a bridge server, and have better tools to test and troubleshoot issues.

Thanks for Reply.
I download the Log file from the Webservice Connector and its indicate error:

And i used Data Action in architect instead of Bridge Action and rest of the things are as it is.
but i got the same error message.

Regards,
Deepankar

Thanks for Reply.
I downloaded the Log file from the Webservice Connector and its indicate error:

And i used Data Action in architect instead of Bridge Action and rest of the things are as it is.
but i got the same error message.

Regards,
Deepankar

Did you create a data action in the administrative UI (Admin -> Integrations -> Actions)?

If so, what is happening when you attempt to test the data action (Setup -> Test)?

No, i Create a data action in the administrative UI(Admin-> Bridge -> Actions)
Previously i created the actions which point to PHP service and its correctly working from the architect as per expected.But now i want to use my c#.net service from IVR.
i follow the step as per i mentioned in my first post and also added screenshot of architect, But it is throwing an error message of Action Failure as set up under Failure condition in Bridge action.
Please let me know your suggestions and any further information if you need.

Regards,
Deepankar.

I would recommend that you open up a support ticket for this issue. This would probably be better served by someone who can look at your exact configuration and help you troubleshoot in real time.

Also, if you expect your endpoint to be available to the public internet I would highly recommend switching to accessing it via a Data Action since they are more secure and provide much better troubleshooting tools.

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.