BizTalk Server Orchestration - Wouldn't it be cool if....

This is Interesting: Free IT Magazines  
Home > Archive > BizTalk Server Orchestration > June 2005 > Wouldn't it be cool if....





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 Wouldn't it be cool if....
James White

2005-06-27, 5:51 pm

You could use an attribute in an ASP.NET web service to mark an Xml return
type as being of a particular schema (a server side XSD) and have Add Web
Reference build a WSDL including that schema? I know you can accomplish that
with hand coded WSDL or by using .NET classes, but it would be great if you
could return XmlNode (so the soap generation would be efficient) but tell
BizTalk what the data looks like so it doesn't generate BaseType.Any for the
response...
Tomas Restrepo \(MVP\)

2005-06-28, 2:51 am

James,

> You could use an attribute in an ASP.NET web service to mark an Xml return
> type as being of a particular schema (a server side XSD) and have Add Web
> Reference build a WSDL including that schema? I know you can accomplish
> that
> with hand coded WSDL or by using .NET classes, but it would be great if
> you
> could return XmlNode (so the soap generation would be efficient) but tell
> BizTalk what the data looks like so it doesn't generate BaseType.Any for
> the
> response...


Someone already did this

See
http://msdn.microsoft.com/msdnmag/i...ng/default.aspx


--
Tomas Restrepo
tomasr@mvps.org
http://www.winterdom.com/


James White

2005-06-28, 5:52 pm

Thanks! I actually tried that (its a great idea) but for some reason it
didn't appear to affect the WSDL generated in my Biztalk Web Reference. I'll
give it another shot though, certainly seems like the solution.

Thanks again,

James
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com