Hi,
 
I am new to Jibx and have a service which returns an Object whose member
variable is a Map. When i try to generate the wsdl and binding using ant
running in eclipse i get the error
[java] Exception in thread "main" java.lang.IllegalStateException: No
way to handle type 'java.util.Map'

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

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

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

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

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

 
My ant target is pretty simple and looks something like 
<target name="generate-wsdl" >

<delete quiet="true" dir="gen"/>

<mkdir dir="gen"/>

<echo message="Running Jibx2Wsdl tool"/>

<java classpathref="jibx-classpath"

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

<arg value="-p"/>

<arg value="${proj-base}/lib/classes"/>

<arg value="-s"/>

<arg value="${proj-base}"/>

<arg value="-t"/>

<arg value="gen"/>

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

<arg value="com.bdna.mbus.server.MbusTest"/>

</java>

</target>

I would greatly appreciate any help in this regards
 
abhijat 

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

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.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
jibx-users mailing list
jibx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jibx-users

Reply via email to