Welcome to MSDN Blogs Sign in | Join | Help

Microsoft BizTalk Server

(Kerrey Zheng's view with BPI Products)
BizTalk Error: WCF Service Consuming Wizard

When you try to using Biztalk WCF Service Consuming Wizard, you get an error message.

Error details: "Error consuming WCF service metadata. Object reference not set to a instance of an object."

As Below:

image

Resolutions:

1, Generate WSDL and XSD files by using svcutil tool
    > svcutil.exe /t:metadata http://yourservice

2, Verify <xsd:schema> nodes in WSDL file, make sure the node has a target namespace define. It doesn't matter what attribute value you use, maybe just looks like <xsd:schema targetNamespace=http://any.

3, Select Metadata Files(WSDL and XSD) as the source 

image

4, Everything should be fine.

Posted: Thursday, February 05, 2009 2:38 PM by Kerrey Zheng

Comments

No Comments

Leave a Comment

(required) 

(required) 

(optional)

(required) 

  
Enter Code Here: Required

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Page view tracker