cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Kulp (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (CXF-2805) CXF 2.2.7 jaxws_async invoking bug
Date Wed, 26 May 2010 20:09:28 GMT

     [ https://issues.apache.org/jira/browse/CXF-2805?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Daniel Kulp resolved CXF-2805.
------------------------------

         Assignee: Daniel Kulp
    Fix Version/s: Invalid
       Resolution: Not A Problem


This is pretty much per spec.    The async methods, at this point, are ONLY used for client
side.   Per jaxws spec, the server impl doesn't have to implement the interface (can reference
it via the @WebService annotation) and thus doesn't need to have the async methods.   However,
we generally have it implement the interface and just "null" the async methods just to catch
when operations are added to the wsdl and such.

> CXF 2.2.7 jaxws_async invoking bug
> ----------------------------------
>
>                 Key: CXF-2805
>                 URL: https://issues.apache.org/jira/browse/CXF-2805
>             Project: CXF
>          Issue Type: Bug
>          Components: Samples
>    Affects Versions: 2.2.7
>         Environment: Windows XP, JDK 6.0, CXF 2.2.7
>            Reporter: zejun wang
>            Assignee: Daniel Kulp
>             Fix For: Invalid
>
>
> in the CXF 2.2.7 jaxws_async sample, the two async methods are not implemented at all,
they simply return null, and when client tired to call the async method, actually only the
sync method is called. 
> <jaxws:endpoint xmlns:tns="http://apache.org/
> hello_world_async_soap_http"
>                 id="greeterasync"
> implementor="org.apache.hello_world_async_soap_http.GreeterAsyncImpl"
>                 wsdlLocation="wsdl/hello_world_async.wsdl"
> endpointName="tns:SoapPort" serviceName="tns:SOAPService"
>                 address="/SoapPort">
>                 <jaxws:features>
>                         <bean class="org.apache.cxf.feature.LoggingFeature" />
>                 </jaxws:features>
>         </jaxws:endpoint>
> </beans>
> System.out.println("Invoking greetMeSometimeAsync...");
> java.lang.String _greetMeSometimeAsync_requestType = "";
> Response<org.apache.hello_world_async_soap_http.types.GreetMeSometimeResponse>
> _greetMeSometimeAsync__return =
> port.greetMeSometimeAsync(_greetMeSometimeAsync_requestType);
> System.out.println("greetMeSometimeAsync.result=" +
> _greetMeSometimeAsync__return); 

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


Mime
View raw message