I am getting the following error when I run Jibx2Wsdl:
Error: factory-method needed for abstract type
'ems.shared.config.ForwardLinkProfileData'; on structure element at (line 32,
col 91, in config_vmtBinding.xml)
In config_vmtBinding.xml, it has:
<mapping abstract="true" type-name="ns4:vmtData"
class="ems.shared.config.vmt.VmtData"> <!-- other lines removed -->
<!-- this is line 32 --> <structure map-as="ns1:forwardLinkProfileData"
field="fl" usage="optional" name="fl"/>
So our VmtData class has a private field named "fl" of type
ForwardLinkProfileData, as well as getFl() and setFl() methods to get and set
the fl field. When we call getFl() and setFl(), we are actually getting and
setting objects that are subclasses of the ForwardLinkProfileData class.
I'm not sure how to go about creating a factory method for the
ForwardLinkProfileData class, since you can't create an instance of an abstract
class. Any suggestions on how to resolve this error?
------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
jibx-users mailing list
jibx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jibx-users