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?
Calling a web/wcf service from orchestration: adding a generated item vs adding service reference
5.6k Views Asked by Jeremy At
1
There are 1 best solutions below
Related Questions in BIZTALK
- BizTalk Server - Can't configure Groups
- Looping functoid, Mapping
- How to setup Hybrid Connection's secondary connection-string in Azure
- Biztalk: Side-by-Side Versioning in different Applications
- Schema error with Azure BizTalk Services EDI Bridge
- Timeout in two-way receive port when redirecting failed messages
- BizTalk file Archive
- BizTalk and COM+
- Biztalk mapping with namespace prefix
- SQL to resume suspended messages in order
- BAM can configure only Analysis Services 2005 or 2008
- "50400: Gateway Timeout." in BizTalk services for large XML files
- cannot retrive a document specification using this name
- How handle a non-resumable ordered delivery send port
- Why would the TrackedMessages_Copy_BizTalkMsgBoxDb start failing with "Query processor could not produce a query plan"?
Related Questions in BIZTALK-2010
- BAM can configure only Analysis Services 2005 or 2008
- Why would the TrackedMessages_Copy_BizTalkMsgBoxDb start failing with "Query processor could not produce a query plan"?
- Error in Biztalk Expression Editor
- Can you use a NLB address in a MSMQ call?
- Retrieving the time stamp of the received message
- Parallel shapes in BizTalk Server
- FileCreationTime and System Time are different
- Data loss when returning Serializable object to biztalk
- Message does not contain a part with name MSHSegment
- Biztalk 2010, ADFS and CRM 2011 on premises
- Orphaned service instances
- Biztalk Server 2010 application deployment with partial bindings
- BizTalk 2010 - Create acknowledgements
- How to correlate service instances in biztlk queries?
- Processing Empty Files in BizTalk 2010
Related Questions in BIZTALK-ORCHESTRATIONS
- Message not being picked up from onRamp WCF type send port in BizTalk
- Retrieving the time stamp of the received message
- Parallel shapes in BizTalk Server
- FileCreationTime and System Time are different
- BizTalk sending message to Webservice without mapping
- BizTalk SFTP Adapter can send but not recieve files and FileZilla on Client connects
- Generate delta from new message and old/previous message biztalk
- How to persist BizTalk orchestration before send shape - for resending
- Biztalk Orchestration reverse engineer
- Create different orchestration with different receive location
- Error while importing the Binding FIles
- Using BizTalk Web Service to re-publish an internal Web Service
- Using BizTalk 2010 to retrieve data from an OracleDB
- Handling Exceptions in Biztalk which don't get caught by Scope shape
- Debug an orchestration in biztalk 2010
Related Questions in BIZTALK-WCF
- BizTalk 2010 WCF-BasicHTTP SendPort takes a long time
- Calling a web/wcf service from orchestration: adding a generated item vs adding service reference
- Disable/block BizTalk WCF Send Port during high volume
- How to return a soap fault with content from an orchestration?
- BizTalk WCF Adapter For Nonconforming Service
- BizTalk sending custom WCF headers with message level security
- Call a multi-parameter web service with BizTalk WCF adapter
- BizTalk is sending request to WCF service and WCF service request with NULL fields in object
- Programmatically define WCF-BasicHttp/WCF-WSHttp setting while consuming WCF service in BizTalk orchestration
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
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 Itemswizard 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 Referenceequivalent.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)