On Tue, Mar 20, 2012 at 6:07 PM, Denis Weerasiri <[email protected]> wrote: > Hi Sagara, > This admin service works correctly last week in trunk. But with the latest > update messageExchangePattern is not set as expected. > > I defined this operation in service.xml > (https://svn.wso2.org/repos/wso2/carbon/platform/trunk/components/business-processes/bpel/org.wso2.carbon.bpel/src/main/resources/META-INF/services.xml) > of bpel admin service as follows. > > <operation name="retireProcess" mep="http://www.w3.org/ns/wsdl/in-only" > namespace="http://wso2.org/bps/management/wsdl/ProcessManagement"> > <actionMapping>urn:retireProcess</actionMapping> > <parameter name="AuthorizationAction" > locked="true">/permission/admin/manage/bpel/processes</parameter> > </operation> > > > But when this operation invoked, the mep has been set to > "http://www.w3.org/ns/wsdl/robust-in-only" > > Service impl is > at https://svn.wso2.org/repos/wso2/carbon/platform/trunk/components/business-processes/bpel/org.wso2.carbon.bpel/src/main/java/org/wso2/carbon/bpel/core/ode/integration/mgt/services/ProcessManagementServiceSkeleton.java > . > Were there any recent changes happen?
Hi Denis, I'm not aware with any recent change on Axis2 private branch that can cause above situation. BTW use of http://www.w3.org/ns/wsdl/in-only MEP is incorrect according to the following method signature because there is no way to provide response back in case of ProcessManagementException occurs. Recently I have corrected this behavior in Apache trunk so that following method signature map into a in-out MEP. Anyway I don't think above change have merge with our private branch yet. public void retireProcess(QName pid) throws ProcessManagementException Thanks ! > > -- > Thanks, > Denis > ---------------------------------------------------------- > Denis Weerasiri > Software Engineer > Integration Technologies Team, WSO2 Inc.; http://wso2.com, > email: denis [AT] wso2.com > phone: +94117639629 > site: https://sites.google.com/site/ddweerasiri/ > blog: http://ddweerasiri.blogspot.com > twitter: http://twitter.com/ddweerasiri > linked-in: http://lk.linkedin.com/in/ddweerasiri > -- Sagara Gunathunga Technical Lead; WSO2, Inc.; http://wso2.com Blog - http://ssagara.blogspot.com _______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
