hi,all.
i am a axis2 user which used jibx as databinding pattern.
i had writen a very simple code ,but it was with some exception occured.
The scene is comeing with i using wsdl2java to create my server
and client stub.
command listed below:
==================================
call %AXIS2_HOME%/bin/wsdl2java -uri MockGreetTeacher.wsdl -p
net.asd.test.mockservice.service.impl.stub -d jibx -s -ss -sd -ssi -uw
-o ..\src -Ebindingfile .\aaa.xml
================================
the aaa.xml is as below:
==============================
<?xml version="1.0" encoding="UTF-8"?>
<binding>
<namespace uri="http://vo.service.mockservice.test.asd.net/xsd"
default="element"/>
<mapping name="Credit" class="net.asd.test.mockservice.service.vo.Credit">
<value name="descript" field="descript"/>
<value name="greeting" field="greeting"/>
<value name="id" field="id"/>
<value name="name" field="name"/>
<value name="passed" field="passed"/>
<value name="passwd" field="passwd"/>
<value name="type" field="type"/>
</mapping>
</binding>
=================================
i had traced the exception raised by axis`s wsdl2java,i found when call
org.jibx.binding.model.BindingElement.readBinding(xxx.xxx.xxx.xxx);
the returnValue is a BingdingElement whose childSet().size() equal 0!.
there are not the source code about JiBX_bindingFactory,so i did not
dig more deep.
i did not found the mistake in aaa.xml,
who could help me on this?
all commets will be quite welcome.
murphy
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
jibx-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jibx-users