[jboss-user] [JBossWS] - Re: web.xml modified to web.xml.org - Subsequent runs fail

PatrickMadden do-not-reply at jboss.com
Fri Sep 21 11:19:29 EDT 2007


Hi, I noticed that this was fixed in JBossWS 2.0.1.GA but then recently re-opened. I'm using JBossAS 4.2.1.GA and JBossWS 2.0.1.GA plus JBoss Seam 2.0.CR1 and RichRaces 3.1.1.SNAPSHOT, with exploded/unpacked EAR.

I'm still seeing some strange behavior here. Of course its possible I'm doing something wrong.

First time I run, everything is OK (I think). I have two web services defined and when I look at http://localhost:8080/jbossws/services I see 4 Registered Service Endpoints. For simplicity, I'll only describe one of the service definitiions.


  | @WebService(name = "FlashServiceEndpointInterface", targetNamespace = "http://clooster.com/web/services/flash", serviceName = "FlashService")
  | @SOAPBinding(style = SOAPBinding.Style.RPC)
  | @Remote(EJB3RemoteFlashService.class)
  | @RemoteBinding(jndiBinding = "/ejb3/EJB3FlashService")
  | @Stateless
  | @WebContext(transportGuarantee = "NONE", contextRoot = "/Clooster", urlPattern = "/common/services/FlashService")
  | public class EJB3RemoteFlashServiceBean implements
  |         EJB3RemoteFlashService
  | {
  | ...
  | }
  | 

First time I run I see endpoints as follows:


  | http://MillGatewayFX:8080/Clooster/common/services/FlashService?wsdl
  | 
  | AND
  | 
  | http://MillGatewayFX:8080/CloosterRichWeb2-CloosterRichWeb2/EJB3RemoteFlashServiceBean?wsdl
  | 
  | 

This works and in my client code I access using the first one defined as it is in my EJB mentioned above.

However the second time I run I only see:


  | http://MillGatewayFX:8080/CloosterRichWeb2-CloosterRichWeb2/EJB3RemoteFlashServiceBean?wsdl
  | 

and my client side code fails. So I'm back to square one and am forced to modify the run.bat to replace web.xml with web.xml.org for it to work correctly. Its not a major deal but for me I still consider it a bug.

Just giving you a heads up and thanks for all your hard work!

PVM

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4087300#4087300

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4087300



More information about the jboss-user mailing list