If I want to call a web service or wcf method from an orchestration, I can do it by either adding a service reference to the project or adding a generated item. What is the advantage of either approach - is there a best practice?
相关问题
- Biztalk Log4Net [closed]
- DocumentSpecNames?
- VS 2012 .user file causes unnecessary builds
- How do I set the MSMQ Message Extension Using BizT
- BizTalk - 0 parameter web message not being sent i
相关文章
- BizTalk - 0 parameter web message not being sent i
- How can I return HTTP-400 from a BizTalk Rest serv
- mapping a string containing xml in BizTalk
- Biztalk and the best way to call web service
- Network Load Balancing Biztalk Instances
- How can I set SB-Messaging adapter credentials sec
- BIZTalk210 PowerScript的停止和启动发送端口(BIZTalk210 powers
- 平坦化在BizTalk重复结构(Flattening repeating structure in
Steef -Jan Wiggers answers a similar question here
TL;DR - Always use the
Generated Items wizard
.My 10c - Although the .xsd files imported by Add Service is added as a schema and set to BtsCompile, there are some limitations such as:
Using the
Add Generated Items
wizard does extra work for you:One thing I would recommend with the Wizard, is to create a folder for the WCF reference and always import all the artifacts into the folder (i.e. don't do the usual separation of Schemas from Ports and leave the dummy .odx there as well). This way, if you need to regenerate the items, just delete everything in the folder and start again (sadly, the wizard doesn't have a
Update Service Reference
equivalent.Also note that if you do move the generated Schemas and Port Types into a separate assembly, that you will need to change the type modifier access to
Public
(it is internal by default)