Calling a WCF operation in biztalk (void operation (void)

Here at one of west monroe partner’s clients, they have a WCF webserice that needs to be consumed by biz talk.  The operation that need to be consumed had no inputs and no outputs.  So the schema that was generated had no elements. Thus when used in an orchestration there was no element to be mapped.

What I was doing was trying to map the element to an element from the previous schema and was receiving this error:

:DeserializationFailed</Value></Subcode></Code><Reason><Text xml:lang=”en-US”>The formatter threw an exception while trying to deserialize the message: Error in deserializing body of request message for operation

The easiest way to solve this problem was to use the “nil” functoid and map it to the the root element (name of the operation)

 

 

 

Advertisements
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: