| 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.
|