Folks,
I am using jibx2wsdl to generate nice, clean plain text WSDL files from
existing Java.
The tool works great for my classes without exceptions, but when I use the
original classes with the exceptions, for example:
public myMethod(int i) throws MyException {...}
where MyException includes a class (with getters/setters) MyExceptionData that
includes simple data (like one String).
I get the following error:
generate-wsdl:
[delete] Deleting directory C:\tools\jibx2wsdl\ead\gen
[echo] Running Jibx2Wsdl tool
[java] Errors in generated binding:
[java] Error: No handling defined for name on concrete mapping reference;
on structure element at (line 30, col 145, in xsdBinding.xml)
And the generated WSDLs contain circular references, i.e.:
Generated.wsdl imports xsd.xsd
xsd.xsd imports Generated.xsd
Generate.xsd imports xsd.xsd
Do I need to do anything special for exceptions/faults to use jibx2wsdl?
Currently, I am merely adding:
<arg value="-x"/>
<arg value="mypackage.MyException"/>
to the Jibx2WSDL command.
Thanks.
Nadeem
---------------------------------
Never miss a thing. Make Yahoo your homepage.
-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
jibx-users mailing list
jibx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jibx-users