BizTalk Server Orchestration - sending flat file string to the Web service

This is Interesting: Free IT Magazines  
Home > Archive > BizTalk Server Orchestration > September 2004 > sending flat file string to the Web service





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 sending flat file string to the Web service
anand kumar

2004-09-23, 9:20 am

Hi,
I have published the orchestration as a web service.

How can I send the flat file string to web service. If the string is XML, I
could deserialize and send as a object.

Can a string be passed to the orchestration web service from the code?

We are not using file receive location or MSMQT and is not recommended for
scability purpose.

Please advise.

Thanks,
Anand
Gilles [MSFT]

2004-09-23, 5:51 pm

Hello,

>I have published the orchestration as a web service.
>
>How can I send the flat file string to web service. If the string is XML, I
>could deserialize and send as a object.


I am not sure I fully understand what you want to do.

If you orchestration has been published as a web service, this means that any SOAP
client can now send messages to it. Usually, you publish orchestrations as web services
because you would like to enable clients to communicate with the orchestration and
you already have the web service aware clients or you are planning to write them.

In your case, you would write a client that calls the web service and passes the
data as a string if you wish. Using .NET, this is very easy. Add a reference to the web service
in a C# application project and you are alsmost done.

Usually, people approach flat files processing a little differently. First, they set up a receive location
to pick up the flat file. Then, they have a pipeline to disassemble the flat file (create an XML out of it).
Finally, they have an orchestartion that picks the XML up and process it.

>Can a string be passed to the orchestration web service from the code?


Web services expose methods. One of the methods can take a string and clients can pass whatever they want in this string.

Thanks,
-Gilles.

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com