axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dushshantha Chandradasa (JIRA)" <axis-c-...@ws.apache.org>
Subject [jira] Commented: (AXISCPP-778) WSDL2Ws generates bad code with multiple xsd:any's in a complex type
Date Fri, 05 Aug 2005 09:30:35 GMT
    [ http://issues.apache.org/jira/browse/AXISCPP-778?page=comments#action_12317763 ] 

Dushshantha Chandradasa commented on AXISCPP-778:
-------------------------------------------------

The problem seems to be in the method call Utils.findQName("", "any") in private static Vector
processSequenceNode method of CSchemaUtils class. I think this method call returns the string
"any" which take as the element name. 

In writeDeSerializeGlobalMethod() of BeanParamWriter class, the method name is hardcoded as
any.

if (attribs[i].isAnyType())
            {
                writer.write("\tparam->any = pIWSDZ->getAnyObject();\n");
            }

But i didn,t find how we miss int element which is in between the 2 any elements.

> WSDL2Ws generates bad code with multiple xsd:any's in a complex type
> --------------------------------------------------------------------
>
>          Key: AXISCPP-778
>          URL: http://issues.apache.org/jira/browse/AXISCPP-778
>      Project: Axis-C++
>         Type: Bug
>   Components: WSDL processing - Doc
>     Reporter: Mark Whitlock

>
> I had a wsdl that has a complex type that contained a sequence of xsd:any, xsd:int and
another xsd:any. The class that WSDL2Ws generated contained two AnyType's both with a field
name of any and no int. Firstly the int was missing. Secondly the generated class would not
compile since the two fields had the same name.

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


Mime
View raw message