I'm building a C client using axis2's wsdl2java and have some questions
about the code it generates (the flags I'm using are: "-l c -a -u -d adb
-uri myfile.wsdl").

first, it looks like there are no classes generated for the return
objects.  is that expected?  it appears to create a class for a request
and a response.  although the response class has a get_FooReturn()
function, it looks like it merely returns an axiom_node_t*, not an
object with various getters/setters for the return value's data members.
 So it looks like I need to write a bunch of code to parse the
return--and I had hoped axis2 would handle that.

second, I get a ton of warnings like this:

Jan 16, 2007 11:46:27 AM org.apache.axis2.schema.SchemaCompiler
findClassName
WARNING: Type {http://my.namespace.com}ArrayOf_xsd_string missing!

and:

Jan 16, 2007 11:19:20 AM org.apache.axis2.schema.SchemaCompiler
findClassName
WARNING: Type {urn:mynamespace}MyFooBarList missing!

So I'm wondering if there's a problem with the WSDL that is preventing
the code generator from creating the return objects (eg: maybe it skips
generating any objects that contain types that aren't properly definied?).

Anyhow, I'd really appreciate some feedback on this.

Thanks!

(PS: I would love to attach the WSDL, but unfortunately it contains info
I can't release to the public.  I'm trying to create a trivial example
WSDL that exhibits these problems and will post it if I'm successful).





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to