Axis2: a few changes to set the servicepath, contextroot correctly in EJB to 
allow getWSDL() test working correctly
-------------------------------------------------------------------------------------------------------------------

                 Key: GERONIMO-2914
                 URL: https://issues.apache.org/jira/browse/GERONIMO-2914
             Project: Geronimo
          Issue Type: Improvement
      Security Level: public (Regular issues)
          Components: webservices
    Affects Versions: 2.0
         Environment: winxp + sun 1.5 SDK
            Reporter: Lin Sun
             Fix For: 2.0


This patch builds on top of GERONIMO-2894 since there are changes impacting the 
same files (i.e. committing this patch will also commit the patch submmitted in 
G2894).  I could not find a better way to create patches for easier review as 
G2894 isn't committed yet.

1) The patch will change the initContextRoot() method to be an abstract method 
and provide different implementation of it in POJO and EJB.
2) The patch will also setServicePath of the axis2 configurationcontext 
differently for POJO and EJB.

After applying the patch, please delete the 3 0KB files in 
(Axis2WebServiceContext.java
, EJBWebServiceGBean.java
, Axis2WebServiceContainerFactoryGBean.java) in the 
src\main\java\org\apache\geronimo\axis2 dir.   

I have applied this patch and G2913 into an updated checkout dir and able to 
run a full build with it.  With this patch, jaxws-ejb getWSDL() test works for 
both Jetty and Tomcat.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to