|
Home > Archive > BizTalk Server Applications Integration > May 2004 > How to map wait activity of BPEL into BizTalk
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 |
How to map wait activity of BPEL into BizTalk
|
|
| Aniello 2004-05-14, 12:56 pm |
| Hi all,
i need to map the wait activity in my BizTalk orchestration and after
exports it to BPEL file. If I don't have misunderstanding the dual shape of
BPEL wait activity is the delay shape. But if I put inside the orchestration
the delay shape and I try to build the project I'm not able to compile it,
because the "new" operator (necessary to configure correctly the delay
shape) isn't allowed 
Does someone know, how to solve the problem or how to work around it?
Is there another shape that maps the BPEL wait activity? Because BizTalk is
compliant with BPEL4WS 1.1 where the wait activity is allowed.
Thanks,
Aniello.
| |
| Scott Colestock 2004-05-14, 12:56 pm |
| You can't use a constant DateTime or timespan - use one of the conversion
classes in System.Xml, as such:
System.Xml.XmlConvert.ToDateTime, e.g
System.Xml.XmlConvert.ToDateTime("2004-04-15")
System.Xml.XmlConvert.ToTimeSpan, e.g
System.Xml.XmlConvert.ToTimeSpan("2004-04-15")
"Aniello" <aniello> wrote in message
news:uVdb6sZOEHA.3028@TK2MSFTNGP11.phx.gbl...
> Hi all,
> i need to map the wait activity in my BizTalk orchestration and after
> exports it to BPEL file. If I don't have misunderstanding the dual shape
of
> BPEL wait activity is the delay shape. But if I put inside the
orchestration
> the delay shape and I try to build the project I'm not able to compile it,
> because the "new" operator (necessary to configure correctly the delay
> shape) isn't allowed 
>
> Does someone know, how to solve the problem or how to work around it?
> Is there another shape that maps the BPEL wait activity? Because BizTalk
is
> compliant with BPEL4WS 1.1 where the wait activity is allowed.
>
> Thanks,
> Aniello.
>
>
| |
| Aniello 2004-05-20, 5:43 pm |
| Thanks for help,
but it doesn't work the same. This is an explicit reference to a particular
class of .Net
and this is not allowed into BPEL4WS.
Now the question is post to microsoft developer:
How can I map the wait activity into an orchestration BPEL compliance using
BizTalk shapes?
Aniello.
"Scott Colestock" <scolestock@nospam_usa.net> ha scritto nel messaggio
news:OBEKEqbOEHA.2704@TK2MSFTNGP10.phx.gbl...
> You can't use a constant DateTime or timespan - use one of the conversion
> classes in System.Xml, as such:
>
> System.Xml.XmlConvert.ToDateTime, e.g
> System.Xml.XmlConvert.ToDateTime("2004-04-15")
> System.Xml.XmlConvert.ToTimeSpan, e.g
> System.Xml.XmlConvert.ToTimeSpan("2004-04-15")
>
>
> "Aniello" <aniello> wrote in message
> news:uVdb6sZOEHA.3028@TK2MSFTNGP11.phx.gbl...
> of
> orchestration
it,[vbcol=seagreen]
> is
>
>
| |
| Scott Colestock 2004-05-20, 5:43 pm |
| Did you actually try this? When I use
System.Xml.XmlConvert.ToDateTime(sometime), my BPEL generates just fine &
looks like:
<bpel:wait until=""2004-04-15"" />
Scott Colestock
"Aniello" <aniello> wrote in message
news:OxTyQcoPEHA.2580@TK2MSFTNGP09.phx.gbl...
> Thanks for help,
> but it doesn't work the same. This is an explicit reference to a
particular
> class of .Net
> and this is not allowed into BPEL4WS.
>
> Now the question is post to microsoft developer:
> How can I map the wait activity into an orchestration BPEL compliance
using
> BizTalk shapes?
>
> Aniello.
>
> "Scott Colestock" <scolestock@nospam_usa.net> ha scritto nel messaggio
> news:OBEKEqbOEHA.2704@TK2MSFTNGP10.phx.gbl...
conversion[vbcol=seagreen]
shape[vbcol=seagreen]
> it,
BizTalk[vbcol=seagreen]
>
>
| |
| Aniello 2004-05-21, 5:52 am |
| I need that the execution of my business process wait for some milleseconds,
so if I use the delay shape i need to declare something like this:
new System.TimeSpan(0,0,0,0,x)
0 days
0 hours
0 minutes
0 seconds
x milliseconds
Now if I have understood well your suggestion i need to convert the content
of System.TimeSpan(0,0,0,0,x) into a string "0,0,0,0,x" that I should give
as input into
System.Xml.XmlConvert.ToTimeSpan("0,0,0,0,x").
I have made this trial and in compilation (after has set that the
orchestration will be BPEL compliant and exportable) I have received an
error message because
this is an explicit reference to a particular class of .Net and this is not
allowed into BPEL4WS 
Thanks,
Aniello.
"Scott Colestock" <scolestock@nospam_usa.net> ha scritto nel messaggio
news:#KJkH8oPEHA.1036@TK2MSFTNGP09.phx.gbl...
> Did you actually try this? When I use
> System.Xml.XmlConvert.ToDateTime(sometime), my BPEL generates just fine &
> looks like:
>
> <bpel:wait until=""2004-04-15"" />
>
> Scott Colestock
>
>
> "Aniello" <aniello> wrote in message
> news:OxTyQcoPEHA.2580@TK2MSFTNGP09.phx.gbl...
> particular
> using
> conversion
after[vbcol=seagreen]
> shape
compile[vbcol=seagreen]
delay[vbcol=seagreen]
it?[vbcol=seagreen]
> BizTalk
>
>
|
|
|
|
|