Hi,

I am new to JIBX and when i run the jibx2wsdl tool through Ant from
eclipse i get the error (No way to handle type 'java.lang.Exception' ).
Stack Trace is listed below. I have tried couple of things but nothing
had been successful. I would really appreciate any help or direction in
this regards. If there is another way of generating the binding?

 My target in the build file looks something like

<target name="generate-binding-wsdl" >

<java classpathref="classpath"

classname="org.jibx.ws.wsdl.Jibx2Wsdl" fork="true" failonerror="true">

<arg value="-p"/>

<arg value="${src}/lib/classes"/>

<arg value="-s"/>

<arg value="${src}"/>

<arg value="-t"/>

<arg value="${build-wsdl}"/>

<arg value="--strip-prefixes=m_"/>

<arg value="com.corp.test.api.SoftwareVersion"/> 

</java>

</target>

Error 

[echo] Running Jibx2Wsdl tool

[java] Exception in thread "main" java.lang.IllegalStateException: No
way to handle type 'java.lang.Exception'

[java] at
org.jibx.binding.generator.BindingGenerator.expandReferences(BindingGene
rator.java:191)

[java] at
org.jibx.binding.generator.BindingGenerator.expandReferences(BindingGene
rator.java:194)

[java] at
org.jibx.binding.generator.BindingGenerator.findReferences(BindingGenera
tor.java:983)

[java] at
org.jibx.binding.generator.BindingGenerator.generateSpecified(BindingGen
erator.java:1122)

[java] at org.jibx.ws.wsdl.Jibx2Wsdl.generate(Jibx2Wsdl.java:484)

[java] at org.jibx.ws.wsdl.Jibx2Wsdl.main(Jibx2Wsdl.java:588)

thanks

abhi 

--------------------------------------------------------

This email and any files transmitted with it are confidential and are intended 
solely for the use of the individual or entity to whom they are addressed. This 
communication may contain material protected by the attorney-client privilege. 
If you are not the intended recipient, be advised that any use, dissemination, 
forwarding, printing or copying is strictly prohibited. If you have received 
this email in error, please contact the sender and delete all copies.
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
jibx-users mailing list
jibx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jibx-users

Reply via email to