BizTalk Server General - Orchestration Web Service Error

This is Interesting: Free IT Magazines  
Home > Archive > BizTalk Server General > January 2006 > Orchestration Web Service Error





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Orchestration Web Service Error
bengoeltz@gmail.com

2006-01-27, 9:28 pm

Hi - I have created an orchestration in BizTalk Server, and published
it as
a web service via the Web Service Publishing wizard. I
have also created a simple application to test the web
service (by adding a web reference to the BTS web
service), but am having issues creating a new instance of
the .NET class representing the orchestration port (which
was auto-created via the wizard).

Specifically, when I run the following code:
localhost.BizTalkWebPort ws = new localhost.BizTalkWebPort
();

The following error occurs:
System.InvalidOperationException: Unable to generate a
temporary class (result=1)
Unable to generate a temporary class (result=1)
error CS0030: Cannot convert
type 'BTSProject.localhost.AttributeDescription[]'
to 'BTSProject.localhost.AttributeDescription'
CS0029: Cannot implicitly convert
type 'BTSProject.localhost.AttributeDescription'
to 'BTSProject.localhost.AttributeDescription[]'
.....
C:\BTSProject\Web References\localhost\References.cs:line
41

I have debugged the References.cs file, and the exception
is thrown on the first line of the constructor for
the .NET class representing the orchestration port.

The AttributeDescription mentioned in the error does
exist in the input schema for the orchestration / web
service, and it seems the error is due to an invalid cast
between a single instance of AttributeDescription and an
array of AttributeDescription's.

Any ideas for how to deal with this are much appreciated.

Ben

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com