geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ivan (JIRA)" <>
Subject [jira] Commented: (GERONIMO-4457) Add testcases about dynamic webservice interface Provider
Date Sat, 13 Dec 2008 05:30:44 GMT


Ivan commented on GERONIMO-4457:


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:
>             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.

View raw message