problem using the advanced gateway.

MDK <[email protected]>
Newsgroups gmane.comp.java.openamf.user
Message-ID <[email protected]>
Hello there,

I've just got all the pieces set up (Tomcat 5, AS2 remoting components)

I can get data from the server without problem using the default 
gateway, but as soon as i switch to the advanced gateway i get

org.openamf.invoker.AccessDeniedException: could not find service 
configuration for 'com.gooii.timemaps.ProjectManager'

im hoping this is something simple im missing in my configuration.

any ideas?

this is my open-amf config :

<?xml version="1.0" encoding="UTF-8"?>
<config>

<amf-serializer>
	<force-lower-case-keys>false</force-lower-case-keys>
</amf-serializer>

	<!-- Required for DefaultGateway-->
	<invoker>
	<name>PageableRecordSet</name>
<class>org.openamf.invoker.PageableResultSetServiceInvoker</class>
	</invoker>

	<invoker>
		<name>SessionControl</name>
		<class>org.openamf.invoker.SessionControlInvoker</class>
	</invoker>

	<invoker>
		<name>WebService</name>
		<class>org.openamf.invoker.WebServiceInvoker</class>
	</invoker>

	<invoker>
		<name>JMX</name>
		<class>org.openamf.invoker.JMXServiceInvoker</class>
	</invoker>

	<invoker>
		<name>Java</name>
		<class>org.openamf.invoker.JavaServiceInvoker</class>
	</invoker>

	<pageable-recordset>
		<initial-data-row-count>20</initial-data-row-count>
	</pageable-recordset>

	<custom-class-mapping>
		<java-class>com.gooii.timemaps.Project</java-class>
		<custom-class>Project</custom-class>
	</custom-class-mapping>
	
	<service>
		<name>SessionControlService</name>
		<invoker-ref>SessionControl</invoker-ref>
		<method>
			<name>close</name>
			<parameter>
				<type>*</type>
			</parameter>
		</method>
	</service>
	
<service>
	<name>OpenAMFPageableRecordSet</name>
	<invoker-ref>PageableRecordSet</invoker-ref>
	<method>
		<name>*</name>
		<parameter>
			<type>*</type>
		</parameter>
	</method>
</service>
	
<service>
	<name>ProjectManager</name>
		<service-location>com.gooii.timemaps.ProjectManager</service-location>
	<invoker-ref>Java</invoker-ref>
	<method>
	<!-- Operation's are matched by the name and parameters -->
	<name>getProjects</name>
		<parameter>
		<type>*</type>
		</parameter>
		<result-filter>
		<class>org.openamf.filter.BeanListToRecordSet</class>
			<parameter>
				<name>ignore</name>
				<value>extraInfo</value>
			</parameter>
		</result-filter>
	</method>
</service>

</config>



-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.