How to map wait activity of BPEL into BizTalk
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > BizTalk Server > BizTalk Server Orchestration > How to map wait activity of BPEL into BizTalk




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    How to map wait activity of BPEL into BizTalk  
Aniello


Report This Message To A Moderator Edit/Delete Message


 
05-14-04 05: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.







[ Post a follow-up to this message ]



    Re: How to map wait activity of BPEL into BizTalk  
Scott Colestock


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
05-14-04 05: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.
>
>







[ Post a follow-up to this message ]



    Re: How to map wait activity of BPEL into BizTalk  
Aniello


Report This Message To A Moderator Edit/Delete Message


 
05-20-04 10: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 
>
>







[ Post a follow-up to this message ]



    Re: How to map wait activity of BPEL into BizTalk  
Scott Colestock


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
05-20-04 10: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] 
>
>







[ Post a follow-up to this message ]



    Re: How to map wait activity of BPEL into BizTalk  
Aniello


Report This Message To A Moderator Edit/Delete Message


 
05-21-04 10: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 
>
>







[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 04:05 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register