axis-c-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nicholas Hart <>
Subject [axis2] question about return objects]
Date Wed, 17 Jan 2007 17:34:45 GMT

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
WARNING: Type {}ArrayOf_xsd_string missing!


Jan 16, 2007 11:19:20 AM org.apache.axis2.schema.SchemaCompiler
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.


(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:
For additional commands, e-mail:

View raw message