Hi all,

Apologies if this is a dumb question (no, wait! there's no such thing, right?). Anyway, I'm new to most of the things involved in AppFuse, apart from Java.

I'm using AppFuse 2.0, and a Spring MVC modular archetype. I've been through the tutorials creating a persistent object and a manager, and then tried to expose my web service using XFire & annotations. I haven't seen any errors along the way (woo!), and my persistence and manager tests work perfectly. Unfortunately, I can't see my web service or its WSDL when I run the webapp with jetty:run-war.

I have to confess I got slightly confused around the start of the manager tutorial. Everywhere up to there, the tutorial implies that you should swap src/main/webapp for core/src/main/java, but it gets a bit less consistent around this point. Anyway, I carried on working in core.

The standard User service appears on the services page, but that's it. My equivalent of the PersonService (OK, so I didn't follow the tutorials exactly - I created a different object type, but the structure is exactly the same).

Can anyone point me at the places to look for problems? Everything up to the manager test works perfectly.

My applicationContext.xml in core contains this:

<bean id="orderDao" class="com.myclient.cfx.dao.hibernate.OrderDaoHibernate">
                <property name="sessionFactory" ref="sessionFactory"/>
        </bean>

<bean id="orderManager" class="com.myclient.cfx.service.impl.OrderManagerImpl">
            <constructor-arg ref="orderDao" />
        </bean>


Any ideas? Helpful tips on ways to debug this would be gratefully received. In the mean time I'm going to try it using a simple archetype and see if it's any easier...

-Chrisl
begin:vcard
fn:Chris Lilley
n:Lilley;Chris
email;internet:[EMAIL PROTECTED]
tel;cell:07802 713947
x-mozilla-html:FALSE
url:http://www.blackpepper.co.uk
version:2.1
end:vcard


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to