Discussion:
Adapter to wake up orchestration
(too old to reply)
Stas Kondratiev
2005-01-18 16:47:05 UTC
Permalink
Hi all,

I have to get a message from a Web service and process it in the
orchestration. I have to do it periodically at some time intervals. My
orchestration must start working upon receiving this message.
SOAP adapter is request-response and I can't set up a receive location so
that it polls web method (like File adapter polls some directory for files)
and passes the response to the MessageBox.
Seems like I have to write a custom adapter that will be sending fictive
message periodically to wake up my orchestration and then in orchestration I
will call the web method to get the real message.

I'd really appreciate some help in this question - is there some way to do
it in a better way?

Thanks in advance
Greg Forsythe
2005-01-18 21:33:56 UTC
Permalink
You don't need a custom adapter, you can just schedule a script to create a
dummy file in a file receive location.

Or for a more sophisticated approach you could try this:
http://www.gotdotnet.com/Community/UserSamples/Details.aspx?SampleGuid=163b20c8-d5b9-4795-b1b9-8a775a1a7359

Greg
Post by Stas Kondratiev
Hi all,
I have to get a message from a Web service and process it in the
orchestration. I have to do it periodically at some time intervals. My
orchestration must start working upon receiving this message.
SOAP adapter is request-response and I can't set up a receive location so
that it polls web method (like File adapter polls some directory for files)
and passes the response to the MessageBox.
Seems like I have to write a custom adapter that will be sending fictive
message periodically to wake up my orchestration and then in orchestration I
will call the web method to get the real message.
I'd really appreciate some help in this question - is there some way to do
it in a better way?
Thanks in advance
Stas Kondratiev
2005-01-19 08:41:01 UTC
Permalink
Hi, Greg! Thanx for your reply.

Yes I know about that gotdotnet scheduler (windows service) but it's too
sophisticated. Besides, our customer won't understand why he must set
settings in an external file to fire up orchestration.
The approach with scheduling script won't suffice our customer for the same
reason.

In short, I need a solution that fits into BizTalk frame, so to say.
Anyway, wouldn't it be nice to have an in-process adapter that schedules
some XML and all its settings are avaliable in the Receive Location dialog? :)
Post by Greg Forsythe
You don't need a custom adapter, you can just schedule a script to create a
dummy file in a file receive location.
http://www.gotdotnet.com/Community/UserSamples/Details.aspx?SampleGuid=163b20c8-d5b9-4795-b1b9-8a775a1a7359
Greg
Post by Stas Kondratiev
Hi all,
I have to get a message from a Web service and process it in the
orchestration. I have to do it periodically at some time intervals. My
orchestration must start working upon receiving this message.
SOAP adapter is request-response and I can't set up a receive location so
that it polls web method (like File adapter polls some directory for
files)
Post by Stas Kondratiev
and passes the response to the MessageBox.
Seems like I have to write a custom adapter that will be sending fictive
message periodically to wake up my orchestration and then in orchestration
I
Post by Stas Kondratiev
will call the web method to get the real message.
I'd really appreciate some help in this question - is there some way to do
it in a better way?
Thanks in advance
Greg Forsythe
2005-01-19 20:17:07 UTC
Permalink
There are two types of receive adapter - active and passive.
The passive ones like HTTP, SOAP, MSMQT simply wait for the message to come
to them.
The active ones FTP, SQL will poll a location at intervals looking for a
message

You could try to implement an active Web Service custom adapter, one that
will poll a web service at intervals
rather than build a custom adapter to send a dummy messages at intervals.

Greg
Post by Stas Kondratiev
Hi, Greg! Thanx for your reply.
Yes I know about that gotdotnet scheduler (windows service) but it's too
sophisticated. Besides, our customer won't understand why he must set
settings in an external file to fire up orchestration.
The approach with scheduling script won't suffice our customer for the same
reason.
In short, I need a solution that fits into BizTalk frame, so to say.
Anyway, wouldn't it be nice to have an in-process adapter that schedules
some XML and all its settings are avaliable in the Receive Location dialog? :)
Post by Greg Forsythe
You don't need a custom adapter, you can just schedule a script to create a
dummy file in a file receive location.
http://www.gotdotnet.com/Community/UserSamples/Details.aspx?SampleGuid=163b20c8-d5b9-4795-b1b9-8a775a1a7359
Post by Stas Kondratiev
Post by Greg Forsythe
Greg
Post by Stas Kondratiev
Hi all,
I have to get a message from a Web service and process it in the
orchestration. I have to do it periodically at some time intervals. My
orchestration must start working upon receiving this message.
SOAP adapter is request-response and I can't set up a receive location so
that it polls web method (like File adapter polls some directory for
files)
Post by Stas Kondratiev
and passes the response to the MessageBox.
Seems like I have to write a custom adapter that will be sending fictive
message periodically to wake up my orchestration and then in orchestration
I
Post by Stas Kondratiev
will call the web method to get the real message.
I'd really appreciate some help in this question - is there some way to do
it in a better way?
Thanks in advance
Birol Kilinc
2007-06-13 11:59:31 UTC
Permalink
Post by Stas Kondratiev
Hi all,
I have to get a message from a Web service and process it in the
orchestration. I have to do it periodically at some time intervals. My
orchestration must start working upon receiving this message.
SOAP adapter is request-response and I can't set up a receive location so
that it polls web method (like File adapter polls some directory for files)
and passes the response to the MessageBox.
Seems like I have to write a custom adapter that will be sending fictive
message periodically to wake up my orchestration and then in orchestration I
will call the web method to get the real message.
I'd really appreciate some help in this question - is there some way to do
it in a better way?
Thanks in advance
Did ever find a solution to this?

I have the same problem as you. An orchestration is published as a web service, but after submitting the request it takes upto 40 seconds to get the response (first time). After the first time, it takes about 8 seconds.

For now I have created a windows service that posts a dummy xml to the webservice, but this is not a good solution.

BizTalk Utilities - Frustration free BizTalk Adapters
http://www.topxml.com/biztalkutilities
Saravana Kumar
2007-06-13 17:26:59 UTC
Permalink
you can consider using ScheduledTask adapter, used to be available in
GotDotNet.

I've used it for the same purpose.

Regards,
Saravana Kumar
http://www.biztalk247.com/v1/
http://www.digitaldeposit.net/blog
[Please mark the response as "Answer" if it solves your problem.]
Post by Birol Kilinc
Post by Stas Kondratiev
Hi all,
I have to get a message from a Web service and process it in the
orchestration. I have to do it periodically at some time intervals. My
orchestration must start working upon receiving this message.
SOAP adapter is request-response and I can't set up a receive location so
that it polls web method (like File adapter polls some directory for files)
and passes the response to the MessageBox.
Seems like I have to write a custom adapter that will be sending fictive
message periodically to wake up my orchestration and then in
orchestration I
will call the web method to get the real message.
I'd really appreciate some help in this question - is there some way to do
it in a better way?
Thanks in advance
Did ever find a solution to this?
I have the same problem as you. An orchestration is published as a web
service, but after submitting the request it takes upto 40 seconds to get
the response (first time). After the first time, it takes about 8 seconds.
For now I have created a windows service that posts a dummy xml to the
webservice, but this is not a good solution.
BizTalk Utilities - Frustration free BizTalk Adapters
http://www.topxml.com/biztalkutilities
Saravana Kumar
2007-06-13 18:22:32 UTC
Permalink
I didn't provide the link in my previous post
http://www.gotdotnet.com/Community/UserSamples/Details.aspx?SampleGuid=e473fc93-5081-44c7-a9c9-84bf4e783728

Regards,
Saravana Kumar
http://www.biztalk247.com/v1/
http://www.digitaldeposit.net/blog
[Please mark the response as "Answer" if it solves your problem.]
Post by Saravana Kumar
you can consider using ScheduledTask adapter, used to be available in
GotDotNet.
I've used it for the same purpose.
Regards,
Saravana Kumar
http://www.biztalk247.com/v1/
http://www.digitaldeposit.net/blog
[Please mark the response as "Answer" if it solves your problem.]
Post by Birol Kilinc
Post by Stas Kondratiev
Hi all,
I have to get a message from a Web service and process it in the
orchestration. I have to do it periodically at some time intervals. My
orchestration must start working upon receiving this message.
SOAP adapter is request-response and I can't set up a receive location so
that it polls web method (like File adapter polls some directory for files)
and passes the response to the MessageBox.
Seems like I have to write a custom adapter that will be sending fictive
message periodically to wake up my orchestration and then in
orchestration I
will call the web method to get the real message.
I'd really appreciate some help in this question - is there some way to do
it in a better way?
Thanks in advance
Did ever find a solution to this?
I have the same problem as you. An orchestration is published as a web
service, but after submitting the request it takes upto 40 seconds to get
the response (first time). After the first time, it takes about 8 seconds.
For now I have created a windows service that posts a dummy xml to the
webservice, but this is not a good solution.
BizTalk Utilities - Frustration free BizTalk Adapters
http://www.topxml.com/biztalkutilities
Loading...