BizTalk Server Orchestration - Using Web Service with BizTalk 2004 or assembly

This is Interesting: Free IT Magazines  
Home > Archive > BizTalk Server Orchestration > December 2005 > Using Web Service with BizTalk 2004 or assembly





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 Using Web Service with BizTalk 2004 or assembly
Nicato

2005-12-29, 5:55 pm

Hi
We have a WebService that cannot be added through "Add Web Reference...".
This because the site uses include from another schema (this is a known bug
google for schema import include wsdl) and it just says "faild to add web
reference".
So I copied the wsdl localy and made the changes suggested by Microsoft and
put them to a web site which I could refernce to.
However, I tested the site with a c# program, which brought me to another
known problem in .NET environment (prior to Version 2.0): Some integer values
come from a database and can be "null".
This is ok, but the .NET XMLSerializer throws an exception. The easiest way
is to change all integer (shorts etc.) in the generated .cs files to string.
Those files are generated by the wsdl.exe.
This works. So now I want to use that in BizTalk. Buh, here I have no clue
how to use it. First I cannot find a generated .cs file where I could change
that.
Second, how to manipulate it otherwise?
Third, what I tried, I copied the assembly from the sample that I mentioned
first to BT. But then, in these classes I know it would work, but how to use
these clases as "web services".

Can someone help me with my questions?

I was thinking of creating a .NET Webservice that uses the assemby. Then in
BT I would use that Webservice. However, using such a construct is not a good
architecture.
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com