The following errors or warnings may display when you add the Verastream Host Integrator (VHI) web service to your project, or subsequently attempt to build your project.
Warnings When Adding Service Reference
In your Microsoft Visual Studio 2008 or 2010 project using .NET Framework 3.0 or 3.5, after adding a service reference to the VHI web service WSDL, the Error List may display warnings similar to the following:
Errors When Building Project in Visual Studio 2010
In a BizTalk Server 2010 project, after importing a VHI web service as a Service Reference and attempting to build the solution, the Error List may display multiple errors similar to the following:
Node "<Schema>" - Schema reference "http://<hostname>:9680/vhi-ws/<model or session>/<model name>/<file>.xsd" is not a valid reference or does not exist in the current project.
Errors When Building Project in Visual Studio 2008
When attempting to compile your project in Visual Studio, the Error List and build output may display multiple errors similar to the following:
error CS0102: The type '<project name>.<service reference name>.<type name>' already contains a definition for '<name>'
error CS0111: Type '<project name>.<service reference name>.<type name>' already defines a member called '<name>' with the same parameter types
Error in BizTalk WCF Service Consuming Wizard
If you are attempting to add a Verastream Host Integrator 7.0 web service WSDL to a Microsoft BizTalk Server 2006 R2 or 2009 project using the WCF Adapter, the BizTalk WCF Service Consuming Wizard may display the following error:
Figure 3. 'Error consuming WCF service metadata. Object reference not set to an instance of an object.'