axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From antel...@apache.org
Subject cvs commit: xml-axis-wsif/java/src/org/apache/wsif/base WSIFClientProxy.java
Date Fri, 03 Jan 2003 14:39:15 GMT
antelder    2003/01/03 06:39:15

  Modified:    java/src/org/apache/wsif/base WSIFClientProxy.java
  Log:
  Fix WSIFClientProxy to work with document style operations using wrapped parts and stubs
  
  Revision  Changes    Path
  1.15      +9 -1      xml-axis-wsif/java/src/org/apache/wsif/base/WSIFClientProxy.java
  
  Index: WSIFClientProxy.java
  ===================================================================
  RCS file: /home/cvs/xml-axis-wsif/java/src/org/apache/wsif/base/WSIFClientProxy.java,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -r1.14 -r1.15
  --- WSIFClientProxy.java	2 Jan 2003 15:34:25 -0000	1.14
  +++ WSIFClientProxy.java	3 Jan 2003 14:39:15 -0000	1.15
  @@ -480,6 +480,13 @@
                   if (partTypeName==null) {
                       partTypeName = part.getElementName();
                   }
  +
  +                /* for wrapped document literal operations AXIS uses a wrapper
  +                 * element class with ">" prefixed to the namespace local part
  +                 */
  +                QName partTypeNameWrapped = 
  +                   new QName(partTypeName.getNamespaceURI(), ">" + partTypeName.getLocalPart());
  +
                   boolean foundThisArg = false;
                   boolean exactMatchThisArg = false;
   
  @@ -489,7 +496,8 @@
                       ) {
                       WSIFDynamicTypeMapping mapping =
                           (WSIFDynamicTypeMapping) mapIt.next();
  -                    if (mapping.getXmlType().equals(partTypeName)) {
  +                    if (mapping.getXmlType().equals(partTypeName)
  +                    || (mapping.getXmlType().equals(partTypeNameWrapped))) {
                           if (mapping
                               .getJavaType()
                               .isAssignableFrom(types[argIndex])
  
  
  

Mime
View raw message