Integrating Integrators – BizTalk, Windows Azure, Windows Workflow, and Beyond
Join
Sign in
Search Options
Search Everything
Search BizTalk 2004
Home
AppFabric
BizTalk Server
Windows Azure
Windows Workflow
Jobs (Hire A Guru)
More ...
Home
»
BizTalk Server
»
BizTalk 2004
»
BizTalk 2004 Forum
»
A question about message of dataset type
A question about message of dataset type
BizTalk 2004
This group is for all content related to BizTalk Server 2004. This includes a forum, samples, videos, labs, whitepapers, and tools. Most of the content here also applies to other versions of BizTalk beyond 2004.
Get this RSS feed
Home
Forum
Files
Sitewide Application Navigation
Home
Blogs
Media
Forums
Wikis
Groups
Details
3
Replies
0
Subscribers
Posted
over 7 years ago
Options
Subscribe via RSS
Share this
BizTalk 2004 Forum
A question about message of dataset type
rated by 0 users
This post has
3 Replies |
0
Followers
Posted by
temperary
on
Wed, Mar 8 2006 8:06 AM
A question about message of dataset type
There is a web service,which returns with a message of dataset type.But I don't know how to receive this type of message.
Please help,thanks!
Reply
Posted by
greg.forsythe
on
Wed, Mar 8 2006 8:37 AM
A question about message of dataset type
Unfortunately you cannot call a web service returning a dataset in Biztalk 2004 with the SOAP adapter. This limitation applies to any array
This has something to do with BPEL.
One possible workaround if you can change the Web Service is to use a container object
[code:1:a48a3610dc]public class DSContainer
{
DataSet myDataSet;
}
[WebMethod]
public DSContainer getDataset()[/code:1:a48a3610dc]
Another work around is to use the WSE adapter
Apparently Biztalk 2006 is capable of handling a Web Service returning a DataSet, although I have yet to try this.
Reply
Posted by
temperary
on
Wed, Mar 8 2006 10:07 AM
A question about message of dataset type
Thanks greg.forsythe for the help.
Now I have another question.If the web service returns a string,which contains a xml structure.So,in this case,how to receive the message?
Reply
Posted by
greg.forsythe
on
Wed, Mar 8 2006 6:12 PM
A question about message of dataset type
In this case you can use an XmlDocument variable in your orchestration
and load the string into the XmlDocument and assign the XmlDocument to a message.
xmlDocVar.LoadXml(WebRequestResponse.ReturnString);
newMessage = xmlDocVar;
Reply
Page 1 of 1 (4 items)