You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Rachana Ananthakrishnan <ra...@mcs.anl.gov> on 2007/06/05 01:05:05 UTC

[Axis 1.x] Error generating bindings class.

Hi,

We use Axis 1.x from trunk in the Java WS Core, the WSRF processing
component of the Globus Toolkit. We recently upgraded some WSDLs and while
attempting to generate stubs for those, I am running into an issue where the
binding classes generated reference to Foo.class rather than the generated
Foo_Element.class. 

The WSDL itself can be found here:
http://viewcvs.globus.org/viewcvs.cgi/wsrf/schema/core/notification/notifica
tion_consumer_flattened.wsdl?revision=1.2.114.1&view=markup&pathrev=wsrf_fin
al_branch

It references rw-2.wsdl, for which stubs are generated correctly. For
example, the generated class is QueryResourceProperties_Element.java. But
when the bindings class is generated for the WSDL linked above, it ends up
with QueryResourceProperties.java rather than the generated class. While
generating WSDL for the notification consumer WSDL the -x option is used to
exclude the rw-2 namespace to ensure stubs are not generated again. But
since references are wrong the stubs do no compile. The specific data types
that cause this issue can be found from this compile log:
http://bugzilla.mcs.anl.gov/globus/show_bug.cgi?id=5352

Looking at the mailing list archives and the reported bugs, I could not find
any reference to this issue. Any suggestions on what the issue might be ?

Thanks,
Rachana