You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ofbiz.apache.org by vivtops86 <vi...@nestgroup.net> on 2010/07/30 08:08:57 UTC

Service invocation error

Hi,
  I have a service group:

              <group name="TestRemote"
		send-mode="all">
		<invoke name="SetURL" mode="sync"
			result-to-context="true" />
		<invoke name="testClient" mode="sync"/>
	</group>

the corresponding services in the services.xml are:

          <service name="SetURL" engine="java"
		location="org.ofbiz.learning.learning.LearningServices" invoke="setUrl"
		export="true">
		<description>Setting URL</description>
		<attribute name="test" type="String" mode="IN" optional="true" />
		<attribute name="url" type="String" mode="OUT" optional="true" />
	</service>
	
	<service name="testClient" engine="soap" export="true"
		location="${parameters.url}" invoke="learningFirstSoap">
		<description>Test SOAP service; calls the OFBiz test service</description>
		<attribute name="test" type="String" mode="IN" optional="true"
			default-value="Vivek" />
		<attribute name="ret" type="String" mode="OUT" optional="true" />
	</service>


if you look at the location attribute of second service,i tried to put the
value from the first service(url) as 
"${parameters.url}" . But i get the error:
org.ofbiz.webapp.event.EventHandlerException: Service invocation error (no
protocol: ${parameters.ret})

what could be the problem?
-- 
View this message in context: http://ofbiz.135035.n4.nabble.com/Service-invocation-error-tp2307597p2307597.html
Sent from the OFBiz - User mailing list archive at Nabble.com.