I just can't seem to get Axis2 1.1.1 wsdl2java.sh to properly create skeleton code and Axiom or XmlBeans artifacts correctly for, what seems to be, relatively simple wsdl and xsd's.
Below is the xsd and wsdl information. I have used FC4, FC5, Ubuntu and Debian
Sarge. I have tried 1.1, a snapshot before 1.1.1 and 1.1.1 releases. Sun java
1.5.0_09 and 10.
I am being told that the wsdl and xsd information is valid (by the
original developers). Both NetBeans 5.5 and Eclipse (under WDSCi) seem
to agree that they are at least valid.
When I run wsdl2java with ADB binding, the message parts all end up in
the default package with empty package statements ("package ;"). The
ExtensionMapper.java ends up in an (invalid) null package. (It's named
"null" and on the output src path.)
All of the types, after the first array type, are listed with "This was
an array!" in the comments, but have no array declarations in their
_type_nn classes... the [] markers are not produced after the first
repeating element.
I have looked at trying to clean up this code to make it usable, but I
would think that Axis2 should be producing code that, at the very least,
would compile through the ant build if the wsdl2java succeeds, which it
does complete in this case. If not, it should probably give me an error
in the generation of the ADB code.
Maybe its something simple or I'm just a dope, or both, but I am lost.
fih-receive-purchase-order-1_0.wsdl
Description: application/xml
LimitedPurchaseOrder.xsd
Description: application/xml
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
