Talk About Network

Google





Software > Biz Talk Orchestration > Re: Orchestrati...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 5 Topic 4100 of 4234
Post > Topic >>

Re: Orchestration consuming webservice

by DNova <dnova7@[EMAIL PROTECTED] > Apr 1, 2008 at 08:07 AM

Sounds to me like your orchestration may not be exposed as a simple
web service.  In my experience BizTalk will always wrap parameters
(which I understand is good practice).  There are a few things you can
do to get aroundthis, some of them less elegant than others.

Real quick and dirty:
Create an orchestration variable of type XmlDo***ent (browse .NET
types to get it).
In your Message Assignment shape do:
do***ent.LoadXml("<MyExposedResult>...</MyExposedResult>");
using a string containing an instance of your XML response.
Then ResultMessage = do***ent; will assign this to your result message
and you can use it as you please.
Be sure you get the XML right in the LoadXml.

You could also store the XML as a resource within the project, which
is probably a neater solution.

Alternatively you could make a map to your result message type and
just put some filler in it, like a constant value or something, do the
transform first and the assignment second and you'll be set.

If you want to see what your SOAP response looks like this will tell
you more about what types you're returning.  I hope this helps,
granted it's not exactly pretty.

Kind Regards,
-Dan
 




 5 Posts in Topic:
Orchestration consuming webservice
Bas <bverhallen@[EMAIL  2008-04-01 05:56:21 
Re: Orchestration consuming webservice
DNova <dnova7@[EMAIL P  2008-04-01 08:07:17 
RE: Orchestration consuming webservice
=?Utf-8?B?WW9zc2kgRGFoYW4  2008-04-02 01:44:00 
Re: Orchestration consuming webservice
Bas <bverhallen@[EMAIL  2008-04-07 05:55:53 
Re: Orchestration consuming webservice
Dan Rosanova <dnova7@[  2008-04-07 09:05:27 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
localhost-V2008-12-19 Thu Jan 8 17:40:54 PST 2009.