Author: keith Date: Thu Jul 24 01:48:31 2008 New Revision: 19937 URL: http://wso2.org/svn/browse/wso2?view=rev&revision=19937
Log: Fixing actions of DataServices been deployed Modified: trunk/mashup/java/modules/core/src/org/wso2/mashup/deployers/DBDeployer.java Modified: trunk/mashup/java/modules/core/src/org/wso2/mashup/deployers/DBDeployer.java URL: http://wso2.org/svn/browse/wso2/trunk/mashup/java/modules/core/src/org/wso2/mashup/deployers/DBDeployer.java?rev=19937&r1=19936&r2=19937&view=diff ============================================================================== --- trunk/mashup/java/modules/core/src/org/wso2/mashup/deployers/DBDeployer.java (original) +++ trunk/mashup/java/modules/core/src/org/wso2/mashup/deployers/DBDeployer.java Thu Jul 24 01:48:31 2008 @@ -250,7 +250,6 @@ // those in here. createDefaultEndpoints(axisService); - String targetNamespace = axisService.getTargetNamespace(); String httpMethod = HTTPConstants.HEADER_POST; Iterator axisOperations = axisService.getChildren(); @@ -260,14 +259,8 @@ String httpLocation = axisOperation.getName().getLocalPart(); // Calculate the values for input and output actions according to // http://www.w3.org/TR/ws-addr-wsdl/#defactionwsdl20 - String inputAction = - targetNamespace + WSDL2Constants.DEFAULT_INTERFACE_NAME + - MashupConstants.FORWARD_SLASH + name + Java2WSDLConstants.REQUEST; - String outAction = - targetNamespace + WSDL2Constants.DEFAULT_INTERFACE_NAME + - MashupConstants.FORWARD_SLASH + name + Java2WSDLConstants.RESPONSE; - axisOperation.setSoapAction(inputAction); - axisOperation.setOutputAction(outAction); + String inputAction = axisOperation.getInputAction(); + // Create a default SOAP 1.1 Binding operation AxisBindingOperation soap11BindingOperation = createDefaultSOAP11BindingOperation(axisOperation, httpLocation, inputAction); _______________________________________________ Mashup-dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/mashup-dev
