Hi Brian,
I was able to generate code for you wsdl.
You better try with the latest Axis2/Java snapshot. It can be downloaded
from the following url..
http://people.apache.org/dist/axis2/nightly/axis2-SNAPSHOT-bin.zip
Your wsdl has lot of schema elements, types (generates 1822 files).
When I tried to compile it. there was some errors due to undeclared
variables.
Obviously this wsdl containing some not tested schema constructs. So
c-codegen xslt templates should be updated to support this.
Since codegen uses XSLT templates, you can mostly fix these issues even from
the Axis2/Java binary release.
you can find these templates in
org/apache/axis2/wsdl/template/c and
org/apache/axis2/schema/template inside the jars.
Thanks
Dimuthu
Thanks
Dimuthu
On 10/8/07, Brian McQueen <[EMAIL PROTECTED] > wrote:
I'm trying to get something going with axis2/c and I can't get the
wsdl to parse. It looks like its simply not implemented yet -
whatever "it" is. I'd be happy to get started implementing it myself
though. Is the error message accurate? I don't know how to get
started since I can't even tell what's not implemented from the error
message. Here's a link to the wsdl if anyone is willing to have a
look at it, and the error message is included afterwards:
https://webservices.netsuite.com/wsdl/v2_6_0/netsuite.wsdl
Here are the error messages:
Exception in thread "main"
org.apache.axis2.wsdl.codegen.CodeGenerationException :
Error parsing
WSDL
at
org.apache.axis2.wsdl.codegen.CodeGenerationEngine.CodeGenerationEngine(org.apache.axis2.util.CommandLineOptionParser)
(Unknown Source)
at
org.apache.axis2.wsdl.WSDL2Code.main(java.lang.String [])
(Unknown Source)
at
org.apache.axis2.wsdl.WSDL2C.main(java.lang.String[])
(Unknown Source)
at gnu.java.lang.MainThread.call_main()
(/usr/lib/libgcj.so.6.0.0)
at gnu.java.lang.MainThread.run() (/usr/lib/libgcj.so.6.0.0)
Caused by: org.w3c.dom.DOMException: NOT_SUPPORTED_ERR: The
implementation does not support the requested type of object or
operation.
at
org.apache.xerces.dom.CoreDOMImplementationImpl.createLSParser(short,
java.lang.String) (Unknown Source)
at
gnu.xml.dom.DomDocumentBuilderFactory.newDocumentBuilder()
(/usr/lib/libgcj.so.6.0.0)
at
org.apache.axis2.util.XMLUtils.newDocument(org.xml.sax.InputSource)
(Unknown Source)
at
org.apache.axis2.util.XMLUtils.newDocument(java.lang.String,
java.lang.String, java.lang.String) (Unknown Source)
at
org.apache.axis2.util.XMLUtils.newDocument(java.lang.String)
(Unknown Source)
at
org.apache.axis2.wsdl.codegen.CodeGenerationEngine.readInTheWSDLFile(java.lang.String)
(Unknown Source)
at
org.apache.axis2.wsdl.codegen.CodeGenerationEngine.CodeGenerationEngine(org.apache.axis2.util.CommandLineOptionParser
)
(Unknown Source)
...4 more
---------------------------------------------------------------------
To unsubscribe, e-mail:
[EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]