You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Ivan (JIRA)" <ji...@apache.org> on 2008/12/10 02:28:44 UTC

[jira] Created: (GERONIMO-4457) Add testcases about dynamic webservice interface Provider

Add testcases about dynamic webservice interface Provider
---------------------------------------------------------

                 Key: GERONIMO-4457
                 URL: https://issues.apache.org/jira/browse/GERONIMO-4457
             Project: Geronimo
          Issue Type: Test
      Security Level: public (Regular issues)
          Components: webservices
            Reporter: Ivan
            Priority: Minor


Provider interface is an important part for web service, especially for Restful web service. Currently, no related testcases exist in our testsuite.

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


Re: [jira] Commented: (GERONIMO-4457) Add testcases about dynamic webservice interface Provider

Posted by Ivan <xh...@gmail.com>.
Jarek, just find the reason why the Provider DataSource failed on the tomcat
+ axis2.I will create another JIRA for it, so I temporary removed the
testcases.

2008/12/10 Jarek Gawor (JIRA) <ji...@apache.org>

>
>    [
> https://issues.apache.org/jira/browse/GERONIMO-4457?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12655253#action_12655253]
>
> Jarek Gawor commented on GERONIMO-4457:
> ---------------------------------------
>
> What happened to the patch? Was something wrong with it?
>
>
> > Add testcases about dynamic webservice interface Provider
> > ---------------------------------------------------------
> >
> >                 Key: GERONIMO-4457
> >                 URL: https://issues.apache.org/jira/browse/GERONIMO-4457
> >             Project: Geronimo
> >          Issue Type: Test
> >      Security Level: public(Regular issues)
> >          Components: webservices
> >            Reporter: Ivan
> >            Priority: Minor
> >
> > Provider interface is an important part for web service, especially for
> Restful web service. Currently, no related testcases exist in our testsuite.
>
> --
> This message is automatically generated by JIRA.
> -
> You can reply to this email to add a comment to the issue online.
>
>


-- 
Ivan

[jira] Updated: (GERONIMO-4457) Add testcases about dynamic webservice interface Provider

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

Ivan updated GERONIMO-4457:
---------------------------

    Attachment: Geronimo-4457.patch

I made some changes about the Provider<DataSource> testing.
If Geronimo-4459 is fixed, all the cases would pass on tomcat + axis2
For CXF, those httpbinding cases still failed, I have comment out them.
Please help to review the testcase, and thanks for any comment !

> Add testcases about dynamic webservice interface Provider
> ---------------------------------------------------------
>
>                 Key: GERONIMO-4457
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4457
>             Project: Geronimo
>          Issue Type: Test
>      Security Level: public(Regular issues) 
>          Components: webservices
>            Reporter: Ivan
>            Priority: Minor
>         Attachments: Geronimo-4457.patch
>
>
> Provider interface is an important part for web service, especially for Restful web service. Currently, no related testcases exist in our testsuite.

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


[jira] Resolved: (GERONIMO-4457) Add testcases about dynamic webservice interface Provider

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

Jarek Gawor resolved GERONIMO-4457.
-----------------------------------

       Resolution: Fixed
    Fix Version/s: 2.2

Committed the patch (with tiny changes) to trunk (revision 725899). Thank you very much!  Will investigate the HTTP binding issues next. 



> Add testcases about dynamic webservice interface Provider
> ---------------------------------------------------------
>
>                 Key: GERONIMO-4457
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4457
>             Project: Geronimo
>          Issue Type: Test
>      Security Level: public(Regular issues) 
>          Components: webservices
>            Reporter: Ivan
>            Assignee: Jarek Gawor
>            Priority: Minor
>             Fix For: 2.2
>
>         Attachments: Geronimo-4457.patch
>
>
> Provider interface is an important part for web service, especially for Restful web service. Currently, no related testcases exist in our testsuite.

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


[jira] Commented: (GERONIMO-4457) Add testcases about dynamic webservice interface Provider

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

Jarek Gawor commented on GERONIMO-4457:
---------------------------------------

Ivan,

You had the following comment in the code for HTTPDataSource test method: "TODO With Axis2, it seems that there is an issue about finding the operation for client request. So we create Service dynamically without WSDL, so that the GenericProviderDispatcher could take effect.". I changed that code to use the injected Service class and everything still seems to work ok. What problem did you see with this?


> Add testcases about dynamic webservice interface Provider
> ---------------------------------------------------------
>
>                 Key: GERONIMO-4457
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4457
>             Project: Geronimo
>          Issue Type: Test
>      Security Level: public(Regular issues) 
>          Components: webservices
>            Reporter: Ivan
>            Assignee: Jarek Gawor
>            Priority: Minor
>             Fix For: 2.2
>
>         Attachments: Geronimo-4457.patch
>
>
> Provider interface is an important part for web service, especially for Restful web service. Currently, no related testcases exist in our testsuite.

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


[jira] Commented: (GERONIMO-4457) Add testcases about dynamic webservice interface Provider

Posted by "Ivan (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/GERONIMO-4457?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12655254#action_12655254 ] 

Ivan commented on GERONIMO-4457:
--------------------------------

Jarek, just find the reason why the Provider DataSource failed on the tomcat + axis2.
I will create another JIRA for it, so I temporary removed the testcases.

> Add testcases about dynamic webservice interface Provider
> ---------------------------------------------------------
>
>                 Key: GERONIMO-4457
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4457
>             Project: Geronimo
>          Issue Type: Test
>      Security Level: public(Regular issues) 
>          Components: webservices
>            Reporter: Ivan
>            Priority: Minor
>
> Provider interface is an important part for web service, especially for Restful web service. Currently, no related testcases exist in our testsuite.

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


[jira] Updated: (GERONIMO-4457) Add testcases about dynamic webservice interface Provider

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

Ivan updated GERONIMO-4457:
---------------------------

    Attachment: jaxws-provider-test.patch

a. Provider<DataSource> is failed on tomcat + axis2, the others all pass. I am trying to seek why it fails now.
b. All the http binding testcases fail on jetty + cxf, it is related to the an issue in https://issues.apache.org/jira/browse/CXF-1517.
To make sure no cases fail on both tomcat and jetty, currently, I comment out all the httpbinding testcases temporary. 
Please help to review it, thanks !

> Add testcases about dynamic webservice interface Provider
> ---------------------------------------------------------
>
>                 Key: GERONIMO-4457
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4457
>             Project: Geronimo
>          Issue Type: Test
>      Security Level: public(Regular issues) 
>          Components: webservices
>            Reporter: Ivan
>            Priority: Minor
>         Attachments: jaxws-provider-test.patch
>
>
> Provider interface is an important part for web service, especially for Restful web service. Currently, no related testcases exist in our testsuite.

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


[jira] Assigned: (GERONIMO-4457) Add testcases about dynamic webservice interface Provider

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

Jarek Gawor reassigned GERONIMO-4457:
-------------------------------------

    Assignee: Jarek Gawor

> Add testcases about dynamic webservice interface Provider
> ---------------------------------------------------------
>
>                 Key: GERONIMO-4457
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4457
>             Project: Geronimo
>          Issue Type: Test
>      Security Level: public(Regular issues) 
>          Components: webservices
>            Reporter: Ivan
>            Assignee: Jarek Gawor
>            Priority: Minor
>         Attachments: Geronimo-4457.patch
>
>
> Provider interface is an important part for web service, especially for Restful web service. Currently, no related testcases exist in our testsuite.

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


[jira] Updated: (GERONIMO-4457) Add testcases about dynamic webservice interface Provider

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

Ivan updated GERONIMO-4457:
---------------------------

    Attachment:     (was: jaxws-provider-test.patch)

> Add testcases about dynamic webservice interface Provider
> ---------------------------------------------------------
>
>                 Key: GERONIMO-4457
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4457
>             Project: Geronimo
>          Issue Type: Test
>      Security Level: public(Regular issues) 
>          Components: webservices
>            Reporter: Ivan
>            Priority: Minor
>
> Provider interface is an important part for web service, especially for Restful web service. Currently, no related testcases exist in our testsuite.

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


[jira] Commented: (GERONIMO-4457) Add testcases about dynamic webservice interface Provider

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

Jarek Gawor commented on GERONIMO-4457:
---------------------------------------

I enabled the HTTP binding tests in revision 726127 since GERONIMO-4459 is fixed.


> Add testcases about dynamic webservice interface Provider
> ---------------------------------------------------------
>
>                 Key: GERONIMO-4457
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4457
>             Project: Geronimo
>          Issue Type: Test
>      Security Level: public(Regular issues) 
>          Components: webservices
>            Reporter: Ivan
>            Assignee: Jarek Gawor
>            Priority: Minor
>             Fix For: 2.2
>
>         Attachments: Geronimo-4457.patch
>
>
> Provider interface is an important part for web service, especially for Restful web service. Currently, no related testcases exist in our testsuite.

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


[jira] Commented: (GERONIMO-4457) Add testcases about dynamic webservice interface Provider

Posted by "Ivan (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/GERONIMO-4457?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12656256#action_12656256 ] 

Ivan commented on GERONIMO-4457:
--------------------------------

Jarek,

I found that you add a service reference in the geronimo-web.xml and web.xml, but service-ref do not have a wsdl-file location.In my environment, if I use it to enject the service reference, Geronimo would say it could not create the dispatch for it. 

Currently, I removed the port definition from the WSDL file and the wsdlLocation attribute of WebServiceProvider annotation in the GreeterHTTPDataSourceProvider. If you recover them, some errors show that Axis2 could not find the operation for the client request. From my side, Provider interface of HTTP Binding are usually used as RESTful webservice and does not need WSDL file to describe them, but actually we could use WSDL to define the message structures. For Provider<Source>, it is OK, the payload is of XML type, and Axis2 seems always to wrapper the payload to a SOAPMessage, and could use SOAPMessageBodyBasedDispatcher to find the operation based the definition in the WSDL file. For Provdier<DataSource>,  Axis2 could NOT use SOAPMessageBodyBasedDispatcher to find the operation,  because it is not of XML type. Axsi2 has a GenericProviderDispatcher for Provider interface, but it is only for those Providers without definition in the WSDL file.
I am not sure whether I have described it clearly, thanks for any comment !




> Add testcases about dynamic webservice interface Provider
> ---------------------------------------------------------
>
>                 Key: GERONIMO-4457
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4457
>             Project: Geronimo
>          Issue Type: Test
>      Security Level: public(Regular issues) 
>          Components: webservices
>            Reporter: Ivan
>            Assignee: Jarek Gawor
>            Priority: Minor
>             Fix For: 2.2
>
>         Attachments: Geronimo-4457.patch
>
>
> Provider interface is an important part for web service, especially for Restful web service. Currently, no related testcases exist in our testsuite.

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


[jira] Commented: (GERONIMO-4457) Add testcases about dynamic webservice interface Provider

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

Jarek Gawor commented on GERONIMO-4457:
---------------------------------------

What happened to the patch? Was something wrong with it?


> Add testcases about dynamic webservice interface Provider
> ---------------------------------------------------------
>
>                 Key: GERONIMO-4457
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4457
>             Project: Geronimo
>          Issue Type: Test
>      Security Level: public(Regular issues) 
>          Components: webservices
>            Reporter: Ivan
>            Priority: Minor
>
> Provider interface is an important part for web service, especially for Restful web service. Currently, no related testcases exist in our testsuite.

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