Quote:
I find this quite confusing. I've created an hibernate/webservice/struts 
architecture (as per documentation), and now I find my Struts getWebService() 
call is not actually using the webservice? Should this be noted somewhere in 
the doco? 
(end of quote)




If you wanted your web tier to call the webservices, you'd need to generate the 
appropriate client stubs and use the service locator generated by axis for each 
service (you can also set this up to work within one of the bpm4struts 
controllers by configuring some of the bpm4struts namespace properties in 
mda/conf/andromda.xml).  Even if you're exposing your services as webservices 
that doesn't mean you always want your webtier to talk to the webservices..a 
lot of times you'll have a webtier in the same ear as the service tier, so 
talking to the webservice isn't necessary (which is currently how its set up).  
Take a look at your web/maven.xml you'll see a goal in there you can uncomment 
and configure to generate client stubs (if that's what you wanted to do).  We 
should however probably mention this in the docs, any idea where in the 
documentation you would expect to find this information?  




Quote:


You mention the reason for the problem is that the impl suffix isn't added to 
the service-config.wsdd mapping. I might try finding where I can add this 
suffix manually. Do you see this as a viable workaround? 
(end of quote)




Yeah that would work (changing it manually), however another better 
work-a-round is to change the template for the server-config.wsdd and add the 
"Impl" suffix where appropriate and then use the merge location to override the 
default template in the cartridge, take a look at this for more info on using 
the merge support: 
http://www.andromda.org/andromda-cartridges/index.html#mergeLocation



P.S. you can find the server-config.wsdd template that you need to override 
inside the andromda-webservice-cartridge jar in /templates/webservice/axis
--
Chad Brandon - [EMAIL PROTECTED]

http://www.andromda.org
_________________________________________________________
Reply to the post : http://galaxy.andromda.org/forum/viewtopic.php?p=1648#1648
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