Quote:
I have a Struts Controller called "StrutsController". In the 
StrutsControllerImpl class I make calls to the webservice via the 
getWebService() method in the StrutsController class, like this: 
getWebService().getPerson();
(end of quote)




Ah :)  The reason it works is that its not talking to the webservice, but just 
calling to the actual java service with the ServiceLocator (look for that 
ServiceLocator file and you'll see what I mean).




Quote:
java.io.IOException: No serializer found for class au.com.test.PersonImpl in 
registry org.apache.axis. 
(end of quote)




Ok now that I see your error, the reason it wouldn't be working is that the 
au.com.test.Person class is mapped in the server-config.wsdd but not the 
au.com.test.PersonImpl...the value objects normally don't have an Impl suffix 
but the implementations for the entities do.  So I guess it won't work out of 
the box with entities because the impl suffix isn't added to the 
service-config.wsdd mapping. 



If you'd like, you can you can file a JIRA issue for the webservice and I'll 
try to think of a good way to get around this.  So I guess at the moment it 
does look like you'll only be able to use the VOs (however you need to remember 
than if you're using andromda its really hardly any extra work to expose them 
through VOs anyway).
--
Chad Brandon - [EMAIL PROTECTED]

http://www.andromda.org
_________________________________________________________
Reply to the post : http://galaxy.andromda.org/forum/viewtopic.php?p=1623#1623
Posting to http://forum.andromda.org/ is preferred over posting to the mailing 
list!


-------------------------------------------------------
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
_______________________________________________
Andromda-user mailing list
Andromda-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/andromda-user

Reply via email to