You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Lin Sun (JIRA)" <ji...@apache.org> on 2007/03/30 06:15:25 UTC

[jira] Created: (GERONIMO-3045) Unable to run jax-rpc war test with Axis2

Unable to run jax-rpc war test with Axis2
-----------------------------------------

                 Key: GERONIMO-3045
                 URL: https://issues.apache.org/jira/browse/GERONIMO-3045
             Project: Geronimo
          Issue Type: Bug
      Security Level: public (Regular issues)
          Components: webservices
    Affects Versions: 2.0-M5
         Environment: 1.5 SUN SDK + WIN XP
            Reporter: Lin Sun
             Fix For: 2.0-M5


When running the jax-rpc war test with axis2, both test failed due to an exception thrown when parseWebServiceDescriptor is called.

from reading the code, if webservices.xml doesn't exist, we call discoverwebservices, which will check if the class has annotation. if webservices.xml exists, we 'll just call parseWebServiceDescriptor, which caused the error for axis2 because axis2 moved to xbeans.

The fix is to check if annotation exists when webservices.xml exists also.   Tested the fix and able to pass the 2 jax-rpc war test test with them.   Will attach the patch after a full build.

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


[jira] Commented: (GERONIMO-3045) Unable to run jax-rpc war test with Axis2

Posted by "Lin Sun (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/GERONIMO-3045?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12486446 ] 

Lin Sun commented on GERONIMO-3045:
-----------------------------------

Jarek, I tried to make change at the JAX-WS level as I don't think we should call parseWebServiceDescriptor at all if it is JAX-RPC based webservices.xml.  However, I didn't handle the case when web.xml isn't there as the servletTypes will be null.

The new patch is to revert the changes at JAX-WS level and ignore the xmlbeans xmlexception in Axis2Builder.

I tried to check if namespaceURI equals "http://java.sun.com/xml/ns/javaee" first but it is hard for me to get xbeans to do what I want.   

Here's what I had: 

            XmlObject xobj = XmlObject.Factory.parse(in);
            SchemaType st = xobj.schemaType();
            
            cursor = xobj.newCursor();
            cursor.toStartDoc();
            cursor.toFirstChild();
            if ("http://java.sun.com/xml/ns/javaee".equals(cursor.getName().getNamespaceURI())) {
            //the checking is needed as we also send JAX-RPC based webservices.xml here
            //if (xobj instanceof WebservicesDocument) {  
                WebservicesType wst = WebservicesDocument.Factory.parse(in).getWebservices();

it turned out the xobj isn't instanceof WebservicesDocument, so I cannot cast it to WebservicesDocument.

The above if statement works fine, but the inputstream isn't at the right position so calling the following after if 

            WebservicesType wst = WebservicesDocument.Factory.parse(in).getWebservices();

will fail.   I tried to use inputstream.mark and .reset but these two methods aren't supported.

Thus I decided just to ignore the xmlexception unless someone has a better solution.

Thanks, Lin




> Unable to run jax-rpc war test with Axis2
> -----------------------------------------
>
>                 Key: GERONIMO-3045
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-3045
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: webservices
>    Affects Versions: 2.0-M5
>         Environment: 1.5 SUN SDK + WIN XP
>            Reporter: Lin Sun
>         Assigned To: Lin Sun
>             Fix For: 2.0-M5
>
>         Attachments: G3045.patch
>
>
> When running the jax-rpc war test with axis2, both test failed due to an exception thrown when parseWebServiceDescriptor is called.
> from reading the code, if webservices.xml doesn't exist, we call discoverwebservices, which will check if the class has annotation. if webservices.xml exists, we 'll just call parseWebServiceDescriptor, which caused the error for axis2 because axis2 moved to xbeans.
> The fix is to check if annotation exists when webservices.xml exists also.   Tested the fix and able to pass the 2 jax-rpc war test test with them.   Will attach the patch after a full build.

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


[jira] Closed: (GERONIMO-3045) Unable to run jax-rpc war test with Axis2

Posted by "Lin Sun (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GERONIMO-3045?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lin Sun closed GERONIMO-3045.
-----------------------------


This has been checked in and seem to work well.

> Unable to run jax-rpc war test with Axis2
> -----------------------------------------
>
>                 Key: GERONIMO-3045
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-3045
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: webservices
>    Affects Versions: 2.0-M5
>         Environment: 1.5 SUN SDK + WIN XP
>            Reporter: Lin Sun
>             Fix For: 2.0-M5
>
>         Attachments: G3045-latest.patch, G3045-new.patch, G3045.patch
>
>
> When running the jax-rpc war test with axis2, both test failed due to an exception thrown when parseWebServiceDescriptor is called.
> from reading the code, if webservices.xml doesn't exist, we call discoverwebservices, which will check if the class has annotation. if webservices.xml exists, we 'll just call parseWebServiceDescriptor, which caused the error for axis2 because axis2 moved to xbeans.
> The fix is to check if annotation exists when webservices.xml exists also.   Tested the fix and able to pass the 2 jax-rpc war test test with them.   Will attach the patch after a full build.

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


[jira] Commented: (GERONIMO-3045) Unable to run jax-rpc war test with Axis2

Posted by "Jarek Gawor (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/GERONIMO-3045?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12486509 ] 

Jarek Gawor commented on GERONIMO-3045:
---------------------------------------

I think you can do something like WebservicesDocument doc  = (WebservicesDocument)XmlObject.changeType(WebservicesDocument.type);

> Unable to run jax-rpc war test with Axis2
> -----------------------------------------
>
>                 Key: GERONIMO-3045
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-3045
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: webservices
>    Affects Versions: 2.0-M5
>         Environment: 1.5 SUN SDK + WIN XP
>            Reporter: Lin Sun
>             Fix For: 2.0-M5
>
>         Attachments: G3045-new.patch, G3045.patch
>
>
> When running the jax-rpc war test with axis2, both test failed due to an exception thrown when parseWebServiceDescriptor is called.
> from reading the code, if webservices.xml doesn't exist, we call discoverwebservices, which will check if the class has annotation. if webservices.xml exists, we 'll just call parseWebServiceDescriptor, which caused the error for axis2 because axis2 moved to xbeans.
> The fix is to check if annotation exists when webservices.xml exists also.   Tested the fix and able to pass the 2 jax-rpc war test test with them.   Will attach the patch after a full build.

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


[jira] Updated: (GERONIMO-3045) Unable to run jax-rpc war test with Axis2

Posted by "Lin Sun (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GERONIMO-3045?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lin Sun updated GERONIMO-3045:
------------------------------

    Attachment: G3045-latest.patch

Hi Jarek, thanks again for your comment.  Tried No. 1 you proposed and worked well.   That seemed a bit easier to me so that we don't need to open the stream and parse the inputstream again.

Please let me know if the latest patch looks ok.   Thanks,

Lin

> Unable to run jax-rpc war test with Axis2
> -----------------------------------------
>
>                 Key: GERONIMO-3045
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-3045
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: webservices
>    Affects Versions: 2.0-M5
>         Environment: 1.5 SUN SDK + WIN XP
>            Reporter: Lin Sun
>             Fix For: 2.0-M5
>
>         Attachments: G3045-latest.patch, G3045-new.patch, G3045.patch
>
>
> When running the jax-rpc war test with axis2, both test failed due to an exception thrown when parseWebServiceDescriptor is called.
> from reading the code, if webservices.xml doesn't exist, we call discoverwebservices, which will check if the class has annotation. if webservices.xml exists, we 'll just call parseWebServiceDescriptor, which caused the error for axis2 because axis2 moved to xbeans.
> The fix is to check if annotation exists when webservices.xml exists also.   Tested the fix and able to pass the 2 jax-rpc war test test with them.   Will attach the patch after a full build.

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


[jira] Updated: (GERONIMO-3045) Unable to run jax-rpc war test with Axis2

Posted by "Lin Sun (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GERONIMO-3045?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lin Sun updated GERONIMO-3045:
------------------------------

    Attachment: G3045.patch

Jarek, Could you please review and (possibly) commit this?  Thanks, Lin

> Unable to run jax-rpc war test with Axis2
> -----------------------------------------
>
>                 Key: GERONIMO-3045
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-3045
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: webservices
>    Affects Versions: 2.0-M5
>         Environment: 1.5 SUN SDK + WIN XP
>            Reporter: Lin Sun
>             Fix For: 2.0-M5
>
>         Attachments: G3045.patch
>
>
> When running the jax-rpc war test with axis2, both test failed due to an exception thrown when parseWebServiceDescriptor is called.
> from reading the code, if webservices.xml doesn't exist, we call discoverwebservices, which will check if the class has annotation. if webservices.xml exists, we 'll just call parseWebServiceDescriptor, which caused the error for axis2 because axis2 moved to xbeans.
> The fix is to check if annotation exists when webservices.xml exists also.   Tested the fix and able to pass the 2 jax-rpc war test test with them.   Will attach the patch after a full build.

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


[jira] Assigned: (GERONIMO-3045) Unable to run jax-rpc war test with Axis2

Posted by "Lin Sun (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GERONIMO-3045?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lin Sun reassigned GERONIMO-3045:
---------------------------------

    Assignee:     (was: Lin Sun)

Unassign it so a committer can grab it.

> Unable to run jax-rpc war test with Axis2
> -----------------------------------------
>
>                 Key: GERONIMO-3045
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-3045
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: webservices
>    Affects Versions: 2.0-M5
>         Environment: 1.5 SUN SDK + WIN XP
>            Reporter: Lin Sun
>             Fix For: 2.0-M5
>
>         Attachments: G3045-new.patch, G3045.patch
>
>
> When running the jax-rpc war test with axis2, both test failed due to an exception thrown when parseWebServiceDescriptor is called.
> from reading the code, if webservices.xml doesn't exist, we call discoverwebservices, which will check if the class has annotation. if webservices.xml exists, we 'll just call parseWebServiceDescriptor, which caused the error for axis2 because axis2 moved to xbeans.
> The fix is to check if annotation exists when webservices.xml exists also.   Tested the fix and able to pass the 2 jax-rpc war test test with them.   Will attach the patch after a full build.

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


[jira] Commented: (GERONIMO-3045) Unable to run jax-rpc war test with Axis2

Posted by "Jarek Gawor (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/GERONIMO-3045?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12486510 ] 

Jarek Gawor commented on GERONIMO-3045:
---------------------------------------

Or even easier, you could just close the passed input stream and open another by doing wsDDUrl.openStream() if the namespace is right.

> Unable to run jax-rpc war test with Axis2
> -----------------------------------------
>
>                 Key: GERONIMO-3045
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-3045
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: webservices
>    Affects Versions: 2.0-M5
>         Environment: 1.5 SUN SDK + WIN XP
>            Reporter: Lin Sun
>             Fix For: 2.0-M5
>
>         Attachments: G3045-new.patch, G3045.patch
>
>
> When running the jax-rpc war test with axis2, both test failed due to an exception thrown when parseWebServiceDescriptor is called.
> from reading the code, if webservices.xml doesn't exist, we call discoverwebservices, which will check if the class has annotation. if webservices.xml exists, we 'll just call parseWebServiceDescriptor, which caused the error for axis2 because axis2 moved to xbeans.
> The fix is to check if annotation exists when webservices.xml exists also.   Tested the fix and able to pass the 2 jax-rpc war test test with them.   Will attach the patch after a full build.

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


[jira] Assigned: (GERONIMO-3045) Unable to run jax-rpc war test with Axis2

Posted by "Donald Woods (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GERONIMO-3045?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Donald Woods reassigned GERONIMO-3045:
--------------------------------------

    Assignee: Donald Woods

> Unable to run jax-rpc war test with Axis2
> -----------------------------------------
>
>                 Key: GERONIMO-3045
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-3045
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: webservices
>    Affects Versions: 2.0-M5
>         Environment: 1.5 SUN SDK + WIN XP
>            Reporter: Lin Sun
>         Assigned To: Donald Woods
>             Fix For: 2.0-M5
>
>         Attachments: G3045.patch
>
>
> When running the jax-rpc war test with axis2, both test failed due to an exception thrown when parseWebServiceDescriptor is called.
> from reading the code, if webservices.xml doesn't exist, we call discoverwebservices, which will check if the class has annotation. if webservices.xml exists, we 'll just call parseWebServiceDescriptor, which caused the error for axis2 because axis2 moved to xbeans.
> The fix is to check if annotation exists when webservices.xml exists also.   Tested the fix and able to pass the 2 jax-rpc war test test with them.   Will attach the patch after a full build.

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


[jira] Updated: (GERONIMO-3045) Unable to run jax-rpc war test with Axis2

Posted by "Lin Sun (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GERONIMO-3045?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lin Sun updated GERONIMO-3045:
------------------------------

    Attachment: G3045-new.patch

Tested the patch with jaxrpc-war and jaxws-war testsuites.

> Unable to run jax-rpc war test with Axis2
> -----------------------------------------
>
>                 Key: GERONIMO-3045
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-3045
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: webservices
>    Affects Versions: 2.0-M5
>         Environment: 1.5 SUN SDK + WIN XP
>            Reporter: Lin Sun
>         Assigned To: Lin Sun
>             Fix For: 2.0-M5
>
>         Attachments: G3045-new.patch, G3045.patch
>
>
> When running the jax-rpc war test with axis2, both test failed due to an exception thrown when parseWebServiceDescriptor is called.
> from reading the code, if webservices.xml doesn't exist, we call discoverwebservices, which will check if the class has annotation. if webservices.xml exists, we 'll just call parseWebServiceDescriptor, which caused the error for axis2 because axis2 moved to xbeans.
> The fix is to check if annotation exists when webservices.xml exists also.   Tested the fix and able to pass the 2 jax-rpc war test test with them.   Will attach the patch after a full build.

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


[jira] Commented: (GERONIMO-3045) Unable to run jax-rpc war test with Axis2

Posted by "Donald Woods (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/GERONIMO-3045?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12485618 ] 

Donald Woods commented on GERONIMO-3045:
----------------------------------------

Verified the patch fixes the noted problem on the Tomcat assembly when using Axis2.

> Unable to run jax-rpc war test with Axis2
> -----------------------------------------
>
>                 Key: GERONIMO-3045
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-3045
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: webservices
>    Affects Versions: 2.0-M5
>         Environment: 1.5 SUN SDK + WIN XP
>            Reporter: Lin Sun
>             Fix For: 2.0-M5
>
>         Attachments: G3045.patch
>
>
> When running the jax-rpc war test with axis2, both test failed due to an exception thrown when parseWebServiceDescriptor is called.
> from reading the code, if webservices.xml doesn't exist, we call discoverwebservices, which will check if the class has annotation. if webservices.xml exists, we 'll just call parseWebServiceDescriptor, which caused the error for axis2 because axis2 moved to xbeans.
> The fix is to check if annotation exists when webservices.xml exists also.   Tested the fix and able to pass the 2 jax-rpc war test test with them.   Will attach the patch after a full build.

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


[jira] Resolved: (GERONIMO-3045) Unable to run jax-rpc war test with Axis2

Posted by "Jarek Gawor (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GERONIMO-3045?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jarek Gawor resolved GERONIMO-3045.
-----------------------------------

    Resolution: Fixed

Patch applied (Committed revision 525383). Thanks so much Lin!


> Unable to run jax-rpc war test with Axis2
> -----------------------------------------
>
>                 Key: GERONIMO-3045
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-3045
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: webservices
>    Affects Versions: 2.0-M5
>         Environment: 1.5 SUN SDK + WIN XP
>            Reporter: Lin Sun
>             Fix For: 2.0-M5
>
>         Attachments: G3045-latest.patch, G3045-new.patch, G3045.patch
>
>
> When running the jax-rpc war test with axis2, both test failed due to an exception thrown when parseWebServiceDescriptor is called.
> from reading the code, if webservices.xml doesn't exist, we call discoverwebservices, which will check if the class has annotation. if webservices.xml exists, we 'll just call parseWebServiceDescriptor, which caused the error for axis2 because axis2 moved to xbeans.
> The fix is to check if annotation exists when webservices.xml exists also.   Tested the fix and able to pass the 2 jax-rpc war test test with them.   Will attach the patch after a full build.

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


[jira] Closed: (GERONIMO-3045) Unable to run jax-rpc war test with Axis2

Posted by "Donald Woods (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GERONIMO-3045?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Donald Woods closed GERONIMO-3045.
----------------------------------

    Resolution: Fixed

Completed: At revision: 525000 in trunk.
Thanks Lin.


> Unable to run jax-rpc war test with Axis2
> -----------------------------------------
>
>                 Key: GERONIMO-3045
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-3045
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: webservices
>    Affects Versions: 2.0-M5
>         Environment: 1.5 SUN SDK + WIN XP
>            Reporter: Lin Sun
>         Assigned To: Donald Woods
>             Fix For: 2.0-M5
>
>         Attachments: G3045.patch
>
>
> When running the jax-rpc war test with axis2, both test failed due to an exception thrown when parseWebServiceDescriptor is called.
> from reading the code, if webservices.xml doesn't exist, we call discoverwebservices, which will check if the class has annotation. if webservices.xml exists, we 'll just call parseWebServiceDescriptor, which caused the error for axis2 because axis2 moved to xbeans.
> The fix is to check if annotation exists when webservices.xml exists also.   Tested the fix and able to pass the 2 jax-rpc war test test with them.   Will attach the patch after a full build.

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


[jira] Assigned: (GERONIMO-3045) Unable to run jax-rpc war test with Axis2

Posted by "Donald Woods (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GERONIMO-3045?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Donald Woods reassigned GERONIMO-3045:
--------------------------------------

    Assignee: Lin Sun  (was: Donald Woods)

> Unable to run jax-rpc war test with Axis2
> -----------------------------------------
>
>                 Key: GERONIMO-3045
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-3045
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: webservices
>    Affects Versions: 2.0-M5
>         Environment: 1.5 SUN SDK + WIN XP
>            Reporter: Lin Sun
>         Assigned To: Lin Sun
>             Fix For: 2.0-M5
>
>         Attachments: G3045.patch
>
>
> When running the jax-rpc war test with axis2, both test failed due to an exception thrown when parseWebServiceDescriptor is called.
> from reading the code, if webservices.xml doesn't exist, we call discoverwebservices, which will check if the class has annotation. if webservices.xml exists, we 'll just call parseWebServiceDescriptor, which caused the error for axis2 because axis2 moved to xbeans.
> The fix is to check if annotation exists when webservices.xml exists also.   Tested the fix and able to pass the 2 jax-rpc war test test with them.   Will attach the patch after a full build.

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


[jira] Reopened: (GERONIMO-3045) Unable to run jax-rpc war test with Axis2

Posted by "Jarek Gawor (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GERONIMO-3045?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jarek Gawor reopened GERONIMO-3045:
-----------------------------------


Lin,

I think this patch breaks the case where there is no web.xml file around. Also, I think the right solution might be for Axis2 to check the namespace of the webservies.xml file and if it is 'j2ee' namespace it should ignore it (or ignore the exception if can't check the namespace). Also, since right now this is only Axis2 issue the code should go into Axis2 module and not the common JAX-WS module.



> Unable to run jax-rpc war test with Axis2
> -----------------------------------------
>
>                 Key: GERONIMO-3045
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-3045
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: webservices
>    Affects Versions: 2.0-M5
>         Environment: 1.5 SUN SDK + WIN XP
>            Reporter: Lin Sun
>         Assigned To: Donald Woods
>             Fix For: 2.0-M5
>
>         Attachments: G3045.patch
>
>
> When running the jax-rpc war test with axis2, both test failed due to an exception thrown when parseWebServiceDescriptor is called.
> from reading the code, if webservices.xml doesn't exist, we call discoverwebservices, which will check if the class has annotation. if webservices.xml exists, we 'll just call parseWebServiceDescriptor, which caused the error for axis2 because axis2 moved to xbeans.
> The fix is to check if annotation exists when webservices.xml exists also.   Tested the fix and able to pass the 2 jax-rpc war test test with them.   Will attach the patch after a full build.

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