0

I need to use a custom behavior so prefer to use WCF custom as receive, but didn't see the variable mapping to map the incoming restful parameters, how can we do that or if it is possible at all?

1
  • What version of BizTalk are you using? Commented Mar 15, 2015 at 20:17

1 Answer 1

3

You have to use a webHttp binding. I believe this is only available in BizTalk 2013 onward. Otherwise you may have to look into a custom adapter.

In the configuration properties for the WCF-Custom port, set up your operation mappinging like so:

<BtsHttpUrlMapping>
  <Operation Name='OpName' Method='POST' Url='/OpName?param1={param1}&amp;id={id}' />
</BtsHttpUrlMapping>

Change the method attribute if necessary. Name should match the operation name on you receive or send port (just like any other WCF action mapping for BizTalk). Then, you can click on the edit button in the Variable Mapping... section.

variable mapping sample

You'll have to create a property schema in the correct namespace to capture those properties for use in routing/in your orchestration. You'll also have to use an XML Receive pipeline to make sure those properties are promoted properly.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.