mteler87
Nintex Newbie

How can I communicated with custom WCF JSON web service

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 ?

0 Kudos
Reply
1 Reply
eharris04
Workflow Hero

Re: How can I communicated with custom WCF JSON web service

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.

 

 

0 Kudos
Reply