Is this rpc or doc ?
Are you using "refs" - you appear to say yes. Refs were not supported in 1.5

1.6 is due out in the next few wks and many problems in this area were fixed - are you able to build and run the latest code in svn.

fyi: your wsdl didn't come through.




Iwan Tomlow <[EMAIL PROTECTED]>

30/11/2005 11:01

Please respond to
"Apache AXIS C User List"

To
"'[email protected]'" <[email protected]>
cc
Subject
Invalid C++ with ignoring anonymous type >





Hello,

I'm having trouble with creating C++ sources for the WSDL for a project I'm
starting on (using Axis C++ 1.5). The wsdl is rather complex, including lots
of xsd-schemas and working with references, but I managed to reproduce the
problem with some small changes to the ref.wsdl example (attached).

After these change, WSDL2Ws produces the following output:

ignoring anonymous type >intComp
ignoring anonymous type >intItem
Code generation completed.

And in the resulting hpp-file, you see invalid stuff like:
                STORAGE_CLASS_INFO >intItem echoInt(>intComp* Value0);

This looks more or less the same problem as in AXISCPP-753, but that issue
only talks about complex types. Here, the problem also exists with simple
types defined as

                                                  <element name="intItem">
                                                                   <simpleType><restriction
base="int">...</restriction></simpleType>
                                                  </element>

Instead of the default in the original ref.wsdl: <element name="intItem"
type="int" />

Is there any way around this problem?

Kind Regards,
Iwan Tomlow

Reply via email to