axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nikhil V Thaker <nikhil.v.tha...@us.ibm.com>
Subject Re: [jira] Commented: (AXIS2-1707) Use of AnyType in Wrapped wsdl causes WebServicesException
Date Thu, 16 Nov 2006 19:27:44 GMT
Rich as per our discussion and JIRA comments I was under the impression 
you where going to make the small change.

Nikhil Thaker
office: 512 838 9964
nvthaker@us.ibm.com
============================
GO BUCKEYES!, Beat Michigan
============================



"Rich Scheuerle (JIRA)" <jira@apache.org> 
11/16/2006 10:42 AM
Please respond to
axis-dev@ws.apache.org


To
axis-dev@ws.apache.org
cc

Subject
[jira] Commented: (AXIS2-1707) Use of AnyType in Wrapped wsdl causes 
WebServicesException






    [ 
http://issues.apache.org/jira/browse/AXIS2-1707?page=comments#action_12450453 
] 
 
Rich Scheuerle commented on AXIS2-1707:
---------------------------------------

You didn't make the suggested change to the JAXWSProxyHandler.

I will make the change today and then close this problem.

The following needs to be changed from 
                 if(method.getReturnType() == Future.class){
to
                 if(Future.class.isAssignableFrom(method.getReturnType()) 
){

And
        if(method.getReturnType() == Response.class){
to
        if(Response.class.isAssignableFrom(method.getReturnType()) ){



> Use of AnyType in Wrapped wsdl causes WebServicesException
> ----------------------------------------------------------
>
>                 Key: AXIS2-1707
>                 URL: http://issues.apache.org/jira/browse/AXIS2-1707
>             Project: Apache Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: jaxws
>            Reporter: Nikhil Thaker
>         Assigned To: Rich Scheuerle
>         Attachments: JIRA_1707_anytypeinwrappedwsdl.txt
>
>
> When a user uses AnyType in a wsdl jaxws proxy causes following 
Exception:
> Exception in thread "main" javax.xml.ws.WebServiceException: 
AynchHandler null for Async callback, Invalid AsyncHandler callback Object
>         at 
org.apache.axis2.jaxws.ExceptionFactory.createWebServiceException(ExceptionFactory.java:222)
>         at 
org.apache.axis2.jaxws.ExceptionFactory.makeWebServiceException(ExceptionFactory.java:81)
>         at 
org.apache.axis2.jaxws.ExceptionFactory.makeWebServiceException(ExceptionFactory.java:176)
>         at 
org.apache.axis2.jaxws.client.proxy.JAXWSProxyHandler.InvokeSEIMethod(JAXWSProxyHandler.java:205)
>         at 
org.apache.axis2.jaxws.client.proxy.JAXWSProxyHandler.invoke(JAXWSProxyHandler.java:152)
>         at $Proxy6.echoObject2(Unknown Source)
>         at 
annotations.webparam.testdata.WebParamRuntimeClient.runtest(WebParamRuntimeClient.java:49)
>         at 
annotations.webparam.testdata.WebParamRuntimeClient.main(WebParamRuntimeClient.java:18)
> I will provide a fix for this issue.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

 

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org



Mime
View raw message