|
Home > Archive > BizTalk Server Administration > July 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
>
>
| |
| Vikas Nahata [MSFT] 2004-07-09, 3:32 pm |
| Aniello,
Something like following should work:
System.Xml.XmlConvert.ToTimeSpan("2004-07-07")
This is special cased for BPEL Export and you should be able to export it
sucessfully without error even though it is reference to a specific .NET
class.
Please see the following for more information.
http://www.msdn.microsoft.com/libra...y/en-us/sdk/htm
/ebiz_prog_orch_zopr.asp
--------------------
| >>From: "Aniello" <aniello>
| >>References: <uVdb6sZOEHA.3028@TK2MSFTNGP11.phx.gbl>
<OBEKEqbOEHA.2704@TK2MSFTNGP10.phx.gbl>
<OxTyQcoPEHA.2580@TK2MSFTNGP09.phx.gbl>
<#KJkH8oPEHA.1036@TK2MSFTNGP09.phx.gbl>
| >>Subject: Re: How to map wait activity of BPEL into BizTalk
| >>Date: Fri, 21 May 2004 09:27:14 +0200
| >>Lines: 98
| >>X-Priority: 3
| >>X-MSMail-Priority: Normal
| >>X-Newsreader: Microsoft Outlook Express 6.00.3790.0
| >>X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.132
| >>Message-ID: <#4yJMUwPEHA.1340@TK2MSFTNGP12.phx.gbl>
| >>Newsgroups:
microsoft.public.biztalk.orchestration,microsoft.public.biztalk.appintegrati
on,microsoft.public.biztalk.general,microsoft.public.biztalk.admin
| >>NNTP-Posting-Host: lab150-7.diima.unisa.it 193.205.163.107
| >>Path:
cpmsftngxa10.phx.gbl!TK2MSFTFEED02.phx.gbl!TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP0
8.phx.gbl!TK2MSFTNGP12.phx.gbl
| >>Xref: cpmsftngxa10.phx.gbl microsoft.public.biztalk.appintegration:6705
microsoft.public.biztalk.general:15488 microsoft.public.biztalk.admin:1903
microsoft.public.biztalk.orchestration:6204
| >>X-Tomcat-NG: microsoft.public.biztalk.admin
| >>
| >>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...
| >>> > 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...
| >>> > > > 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.
| >>> > > >
| >>> > > >
| >>> > >
| >>> > >
| >>> >
| >>> >
| >>>
| >>>
| >>
| >>
| >>
This posting is provided "AS IS" with no warranties, and confers no rights.
EBusiness Server Team
|
|
|
|
|