Flynet Studio Code Generation Properties

WcfRequestType (Selection)

WcfRequestType (Selection)

Previous topic Next topic  

WcfRequestType (Selection)

Previous topic Next topic  

Controls code generation for this Task when WCF MULTIPLE has been selected as the TaskModule's WebMethodsType property.

 

Value

Meaning

HTTP GET

The WebInvoke Attribute for the generated Task will be set as Method="GET" and clients will be expected to utilize HTTP GET calls, including all input parameters in the query string.

HTTP POST

The WebInvoke Attribute for the generated Task will be set as Method="POST" and clients will be expected to utilize HTTP POST calls, including input parameters as formatted JSON or XML in the HTTP content body.

 

Note: the WCF environment configured by the Flynet generator defaults to wrapped content in requests so clients should not post using HTTP name-value pairs but should be sure to post formatted XML or JSON.