BizTalk Server General - Adding web reference in BT solution fails

This is Interesting: Free IT Magazines  
Home > Archive > BizTalk Server General > August 2004 > Adding web reference in BT solution fails





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 Adding web reference in BT solution fails
nf

2004-08-13, 5:51 pm

I am trying to add a web reference in a BT project and it is failing.
However, I can add a web reference to the same web service in an asp.net
application. And I can add other web services to the same BT project.

Trying it from a BT project usually gives one of the following 2 error
messages:

Could not generate Biztalk files.
Biztalk_Server_Project.com...... cannot be serialized because it does not
have a default public constructor.

OR

Failed to create web reference.


Any thoughts would be appreciated.


Johann Höchtl

2004-08-13, 5:51 pm

nf wrote:
> I am trying to add a web reference in a BT project and it is failing.
> However, I can add a web reference to the same web service in an asp.net
> application. And I can add other web services to the same BT project.
>

I ran into the same problem. It turned out, that i was running into the
known limitations bts 2004 has when consuming web services.

I do not have the documentation at hand but searching the documentation for

web service limitations

will most certainly give you the knwon limitations.

I allready consumed different web servcies and i got almost ever
different error messages and in every case it turned out, that it was a
limitation.

Try consuming a very simple web service. If it works, the WS you try to
consume exposes data structures, which are not yet supported.
> Trying it from a BT project usually gives one of the following 2 error
> messages:
>
> Could not generate Biztalk files.
> Biztalk_Server_Project.com...... cannot be serialized because it does not
> have a default public constructor.
>
> OR
>
> Failed to create web reference.
>

This is the most common on. However it seems you are lacking the last
roll up package. AFAIK the error messages get more clear afterwards.
>
> Any thoughts would be appreciated.
>
>


Johann
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com