[Carbon-dev] Better way of handling time outs when invoking in only operations

2012-02-16 Thread Manjula Rathnayake
Hi all,

We have a business process which invoke a in only operation in a proxy
service. So even though the operation get successfully invoked, we get time
out in business process server. This is due to not getting *200 OK
response.

We can get this resolved by adding following property in In sequence for
each in only operations.

property name=SOAPAction expression=get-property('Action')
scope=default/
switch source=get-property('SOAPAction')
case regex=urn:addUser
property name=FORCE_SC_ACCEPTED value=true
scope=axis2/
property name=OUT_ONLY value=true/
/case
case regex=urn:addRole
property name=FORCE_SC_ACCEPTED value=true
scope=axis2/
property name=OUT_ONLY value=true/
/case
case regex=urn:updateRolesOfUser
property name=FORCE_SC_ACCEPTED value=true
scope=axis2/
property name=OUT_ONLY value=true/
/case
case regex=urn:deleteUser
property name=FORCE_SC_ACCEPTED value=true
scope=axis2/
property name=OUT_ONLY value=true/
/case
case regex=urn:deleteRole
property name=FORCE_SC_ACCEPTED value=true
scope=axis2/
property name=OUT_ONLY value=true/
/case
/switch

Any suggestions on how to handle this properly?


thank you.

*
-- 
Manjula Rathnayaka
Software Engineer
WSO2, Inc.
Mobile:+94 77 743 1987
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev


Re: [Carbon-dev] Better way of handling time outs when invoking in only operations

2012-02-16 Thread Denis Weerasiri
On Fri, Feb 17, 2012 at 10:02 AM, Manjula Rathnayake manju...@wso2.comwrote:

 Hi all,

 We have a business process which invoke a in only operation in a proxy
 service. So even though the operation get successfully invoked, we get time
 out in business process server. This is due to not getting *200 OK
 response.
 *

Can you attach the BPEL config you define which invoke the in only proxy
and the WSDL operation config related to this invoke/?

 *
 We can get this resolved by adding following property in In sequence for
 each in only operations.

 property name=SOAPAction expression=get-property('Action')
 scope=default/
 switch source=get-property('SOAPAction')
 case regex=urn:addUser
 property name=FORCE_SC_ACCEPTED value=true
 scope=axis2/
 property name=OUT_ONLY value=true/
 /case
 case regex=urn:addRole
 property name=FORCE_SC_ACCEPTED value=true
 scope=axis2/
 property name=OUT_ONLY value=true/
 /case
 case regex=urn:updateRolesOfUser
 property name=FORCE_SC_ACCEPTED value=true
 scope=axis2/
 property name=OUT_ONLY value=true/
 /case
 case regex=urn:deleteUser
 property name=FORCE_SC_ACCEPTED value=true
 scope=axis2/
 property name=OUT_ONLY value=true/
 /case
 case regex=urn:deleteRole
 property name=FORCE_SC_ACCEPTED value=true
 scope=axis2/
 property name=OUT_ONLY value=true/
 /case
 /switch

 Any suggestions on how to handle this properly?


 thank you.

 *
 --
 Manjula Rathnayaka
 Software Engineer
 WSO2, Inc.
 Mobile:+94 77 743 1987

 ___
 Carbon-dev mailing list
 Carbon-dev@wso2.org
 http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev




-- 
Thanks,
Denis
--
*Denis Weerasiri*
Software Engineer
Integration Technologies Team, WSO2 Inc.; http://wso2.com,
*email: denis http://goog_277208233/** [AT] wso2.com http://wso2.com/*
*phone: +94117639629
*
*site: 
**https://sites.google.com/site/ddweerasiri/*https://sites.google.com/site/ddweerasiri/
*blog: **http://ddweerasiri.blogspot.com* http://ddweerasiri.blogspot.com/
*
twitter: **http://twitter.com/ddweerasiri* http://twitter.com/ddweerasiri*
linked-in: 
**http://lk.linkedin.com/in/ddweerasiri*http://lk.linkedin.com/in/ddweerasiri
___
Carbon-dev mailing list
Carbon-dev@wso2.org
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev