Skip to main content
Nintex Community Menu Bar

How can I communicated with custom WCF JSON web service

  • January 9, 2019
  • 1 reply
  • 12 views

Forum|alt.badge.img

Dear All,

I'm struggling for few hours and I cant make it work:

Here's how my WCF interface looks like:

[OperationContract]

[WebInvoke(UriTemplate = "/UpdateUserProfileProperties", RequestFormat = WebMessageFormat.Json, ResponseFormat = WebMessageFormat.Json, BodyStyle = WebMessageBodyStyle.Bare, Method = "POST")]

boolUpdateUserProfileProperties(Core.Entities.UserProfile userProfileData);

And here's how the WEb Request action looks like:

I'm debugging WCF using Service Trace Viewer but no matter how I change the body, it still does not work.

Whats' the proper way to communicate with JSON WCF webservices ?

Is there any specific way of creating the json body ? or maybe my headers are wrong ?

1 reply

Forum|alt.badge.img+17
  • March 11, 2019

May I recommend using something like Postman before attemping inside of Nintex. This will ensure that you have all your values correct and then you should be able to copy/paste them into Nintex and run the workflow to see if it executes.