Author: jacopoc
Date: Wed Apr 11 07:58:15 2012 New Revision: 1324614 URL: http://svn.apache.org/viewvc?rev=1324614&view=rev Log: Changes required after the test port changes introduced in rev. 1311214: now the tests should all pass. Modified: ofbiz/trunk/framework/common/servicedef/services_test.xml ofbiz/trunk/framework/service/config/serviceengine.xml ofbiz/trunk/framework/service/src/org/ofbiz/service/test/XmlRpcTests.java Modified: ofbiz/trunk/framework/common/servicedef/services_test.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/common/servicedef/services_test.xml?rev=1324614&r1=1324613&r2=1324614&view=diff ============================================================================== --- ofbiz/trunk/framework/common/servicedef/services_test.xml (original) +++ ofbiz/trunk/framework/common/servicedef/services_test.xml Wed Apr 11 07:58:15 2012 @@ -83,20 +83,20 @@ under the License. <service name="groupTest" engine="group" location="testGroup" invoke=""/> <service name="testHttp" engine="http" - location="http://localhost:8080/webtools/control/httpService" invoke="testScv"> + location="http://localhost:8081/webtools/control/httpService" invoke="testScv"> <description>HTTP service wrapper around the test service</description> <attribute name="message" type="String" mode="IN" optional="true"/> <attribute name="resp" type="String" mode="OUT"/> </service> <service name="testSoap" engine="soap" export="true" - location="http://localhost:8080/webtools/control/SOAPService" invoke="testSOAPScv"> + location="http://localhost:8081/webtools/control/SOAPService" invoke="testSOAPScv"> <description>SOAP service; calls the OFBiz test SOAP service</description> <implements service="testSOAPScv"/> </service> <service name="testSoapSimple" engine="soap" export="true" - location="http://localhost:8080/webtools/control/SOAPService" invoke="testScv"> + location="http://localhost:8081/webtools/control/SOAPService" invoke="testScv"> <description>simple SOAP service; calls the OFBiz test service</description> <implements service="testScv"/> </service> Modified: ofbiz/trunk/framework/service/config/serviceengine.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/service/config/serviceengine.xml?rev=1324614&r1=1324613&r2=1324614&view=diff ============================================================================== --- ofbiz/trunk/framework/service/config/serviceengine.xml (original) +++ ofbiz/trunk/framework/service/config/serviceengine.xml Wed Apr 11 07:58:15 2012 @@ -62,8 +62,13 @@ under the License. <engine name="soap" class="org.ofbiz.service.engine.SOAPClientEngine"/> <engine name="ofbiz-workflow" class="org.ofbiz.workflow.WorkflowEngine"/> <engine name="workflow" class="org.ofbiz.shark.service.SharkServiceEngine"/> + <!-- The engine xml-rpc-local is only used by a test service and for + this reason it is configured to run on port 8081 (see test-containers.xml); + in order to use this in OFBiz change the port accordingly (for demo the default + value is 8080) + --> <engine name="xml-rpc-local" class="org.ofbiz.service.engine.XMLRPCClientEngine"> - <parameter name="url" value="http://localhost:8080/webtools/control/xmlrpc"/> + <parameter name="url" value="http://localhost:8081/webtools/control/xmlrpc"/> <parameter name="login" value="admin"/> <parameter name="password" value="ofbiz"/> </engine> Modified: ofbiz/trunk/framework/service/src/org/ofbiz/service/test/XmlRpcTests.java URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/service/src/org/ofbiz/service/test/XmlRpcTests.java?rev=1324614&r1=1324613&r2=1324614&view=diff ============================================================================== --- ofbiz/trunk/framework/service/src/org/ofbiz/service/test/XmlRpcTests.java (original) +++ ofbiz/trunk/framework/service/src/org/ofbiz/service/test/XmlRpcTests.java Wed Apr 11 07:58:15 2012 @@ -37,7 +37,7 @@ public class XmlRpcTests extends Abstrac public static final String module = XmlRpcTests.class.getName(); public static final String resource = "ServiceErrorUiLabels"; - public static final String url = "http://localhost:8080/webtools/control/xmlrpc"; + public static final String url = "http://localhost:8081/webtools/control/xmlrpc"; public XmlRpcTests(String name) { super(name); |
Free forum by Nabble | Edit this page |