BizTalk Server General - Multi-part message handling

This is Interesting: Free IT Magazines  
Home > Archive > BizTalk Server General > October 2005 > Multi-part message handling





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 Multi-part message handling
RKris

2005-10-31, 5:55 pm

Hi, I am trying to call a web service from biztalk 2004. The web service has
a method like this: GetDetails(param1, param2). param1 and param2 are .net
classes not simple types. The return type is a string. When I add the web
reference in biztalk, it generates a schema with multiple parts. When I
generate the instance through BizTalk I get only one part - the first part.
I want to send a single xml document into biztalk with both the parts and
get the response back. How do I do that?
Thanks!
Scott Colestock

2005-10-31, 5:55 pm

To get a document-oriented view of web service consumption, you're going to
have to look at the WSE adapter.

Otherwise, you will need to construct the parameters individually to make
the call. Using generate instance on the schema won't give you the
template(s) you are looking for - if you really need a "sample" set of
parameters (if the types are complex), consider using a soap trace tool
between an existing client and the web service.

Scott Colestock
www.traceofthought.net


"RKris" <RKris@discussions.microsoft.com> wrote in message
news:170D7109-CEB7-41D2-B44A-88C06C9B9E20@microsoft.com...
> Hi, I am trying to call a web service from biztalk 2004. The web service
> has
> a method like this: GetDetails(param1, param2). param1 and param2 are .net
> classes not simple types. The return type is a string. When I add the web
> reference in biztalk, it generates a schema with multiple parts. When I
> generate the instance through BizTalk I get only one part - the first
> part.
> I want to send a single xml document into biztalk with both the parts and
> get the response back. How do I do that?
> Thanks!



Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com