BizTalk Server Orchestration - Message Assignement : XLANGS.Any to Schema Message

This is Interesting: Free IT Magazines  
Home > Archive > BizTalk Server Orchestration > July 2005 > Message Assignement : XLANGS.Any to Schema Message





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 Message Assignement : XLANGS.Any to Schema Message
James White

2005-06-20, 8:49 pm

Hi,

I have been struggling with this for days and wondered if anyone could help.
I am calling a web service from an orchestration and the return type is an
XmlNode, so the resulting response schema just has "any" where the document
is. In the Orchestration, I have a schema generated from the returned Xml
and I'm trying (desperately) to find a way to assign one message to the
other. I've tried loading the ws response into an XmlDocument and assigning
that to the Orchestration message but I always get an empty message. Is
there any way to assign one message to another where the underlying types
are different, but the schemas are the same? And if it involves loading into
an XmlDocument, what does an empty message mean? I assume it would throw an
error if it didn't think the Xml matched the target message's schema, but at
this point I'm just not sure of much anymore.

Thanks so much!

James


John Glisson

2005-07-02, 2:47 am

What orchestration shape are you using to assign the returned xml to your
xmlDocument variable?

John

"James White" wrote:

> Hi,
>
> I have been struggling with this for days and wondered if anyone could help.
> I am calling a web service from an orchestration and the return type is an
> XmlNode, so the resulting response schema just has "any" where the document
> is. In the Orchestration, I have a schema generated from the returned Xml
> and I'm trying (desperately) to find a way to assign one message to the
> other. I've tried loading the ws response into an XmlDocument and assigning
> that to the Orchestration message but I always get an empty message. Is
> there any way to assign one message to another where the underlying types
> are different, but the schemas are the same? And if it involves loading into
> an XmlDocument, what does an empty message mean? I assume it would throw an
> error if it didn't think the Xml matched the target message's schema, but at
> this point I'm just not sure of much anymore.
>
> Thanks so much!
>
> James
>
>
>

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com