Consider the following scenario:
In this scenario, the BizTalk Server project does not build successfully. Additionally, when you check the generated schemas and orchestrations, you notice the following problems:
- You have the Windows Communication Foundation (WCF) service installed on a server that is running Microsoft BizTalk Server 2009.
- You create a BizTalk Server project in Visual Studio.
- You use the BizTalk WCF Service Consuming Wizard to add WCF send adapters to the BizTalk Server project.
- You choose a metadata file as the metadata source. Additionally, the name of the WCF Service contains a hyphen (-).
For example, you choose a Web Services Description Language (WSDL) file as the metadata source, and the WCF Service name is "Example-Testservice". - When you successfully complete the wizard, you build the BizTalk Server project.
In this scenario, the BizTalk Server project does not build successfully. Additionally, when you check the generated schemas and orchestrations, you notice the following problems:
- The hyphen (-) in the WCF service name is converted to an underscore (_) character in the "Type Name" field of the generated schemas. For example, the generated schema is prefixed with "Example_Testservice".
- The Multi-Part Message in the generated orchestration references the type by using type names that are prefixed with "Example-Testservice".
- "Security" and "session" messages are generated unexpectedly in the orchestration. Additionally, part names in the orchestration are named "Security" and "Session," respectively.