Skip to main content
Nintex Community Menu Bar

How do I create Optional Method Parameters in a WCF service Instance

  • October 31, 2019
  • 1 reply
  • 62 views
  • Translate

when I create a smartobject based on a wcf  ServiceObject 

the input paramters of the service object always appear as REQUIRED 

for example graph.UpdateDocumentFields(String username , String Colour = 'Null) 

will apear in the smartobject tooling 

as 

INPUT PROPERTY NAME   TYPE REQUIRED Bound To 

username                              TEXT      YES         parameter username 

colour                                     TEXT      YES         parameter  colour 

 

I would expect to see 

INPUT PROPERTY NAME   TYPE REQUIRED Bound To 

username                              TEXT      YES         parameter username 

colour                                     TEXT      No          parameter  colour 

Did this topic help you find an answer to your question?

1 reply

Forum|alt.badge.img+7

Hello  @AFWater,

 

Pleae have a look at the followking paths:

 

Passing Null Values to a WCF Service

https://community.k2.com/t5/K2-Blackpearl-Forum-Posts/Passing-Null-Values-to-a-WCF-Service/td-p/74670

 

Configuration setting to deal with Optional Parameters while creating SQL Service Instance:

https://vijaydk2guy.com/2017/12/22/configuration-setting-to-deal-with-optional-parameters-while-creating-sql-service-instance/

 

All the best.

Translate

Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie Settings