axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 12636] - Axis rc1 support for multiple output params through WSDL-driven (in runtime) client fails
Date Fri, 20 Sep 2002 07:58:49 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12636>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12636

Axis rc1 support for multiple output params through WSDL-driven (in runtime) client fails





------- Additional Comments From nbrennan@touchcorp.com  2002-09-20 07:58 -------
This is identical (as far as I can see) to bug #12753.

See my notes on that bug, but removing lines 267 to 277 of 
org.apache.axis.message.RPCHandler.onStartChild() works for me:

              if (paramDesc != null && paramDesc.getJavaType() != null) {
                  // If we have an xsi:type, make sure it makes sense
                  // with the current paramDesc type
                  Class xsiClass = 
                          context.getTypeMapping().getClassForQName(type);
                  if (!JavaUtils.isConvertable(xsiClass, destClass)) {
		      System.out.println("dser = " + dser.getClass().getName());
                      throw new SAXException("Bad types (" +
                                             xsiClass + " -> " + destClass 
+ ")"); // FIXME!
                  }
              }

Regards,

Neil Brennan

Mime
View raw message