Hi, i'm currently using JIBX as data binding framework within an XFire webservice. Everytime i refer types in the binding.xml i have to use the FQCN. Is there any possibility to specify a default package name for my types at a central place (similar to the package attribute in hibernate mapping files)? I tried the package attribute of the binding tag but I did not work and I think it's not made for that purpose. The documentation does not mention anything about it. This is my binding.xml:
<binding> <mapping name="getPhysicianRequest" class="de.mycompany.srs.webservice.api.GetPhysicianRequest" extends="de.mycompany.srs.webservice.api.AbstractRequest"> <structure map-as="de.mycompany.srs.webservice.api.AbstractRequest" /> <value name="physicianNumber" get-method="getPhysicianNumber" set-method="setPhysicianNumber" /> </mapping> <mapping class="de.mycompany.srs.webservice.api.AbstractRequest" abstract="true"> <value name="messageID" get-method="getMessageID" set-method="setMessageID" usage="optional" /> </mapping> <mapping class="de.mycompany.srs.webservice.api.PhysicianData" abstract="true"> <value name="physicianNumber" get-method="getPhysicianNumber" set-method="setPhysicianNumber" /> <value name="firstName" get-method="getFirstName" set-method="setFirstName" /> <value name="lastName" get-method="getLastName" set-method="setLastName" /> <value name="namePrefix" get-method="getNamePrefix" set-method="setNamePrefix" usage="optional" /> <value name="nameSuffix" get-method="getNameSuffix" set-method="setNameSuffix" usage="optional" /> </mapping> <mapping name="getPhysicianResponse" class="de.mycompany.srs.webservice.api.GetPhysicianResponse" extends="de.mycompany.srs.webservice.api.AbstractResponse"> <structure map-as="de.mycompany.srs.webservice.api.AbstractResponse" /> <structure field="physician" map-as="de.mycompany.srs.webservice.api.PhysicianData" /> </mapping> <mapping class="de.mycompany.srs.webservice.api.AbstractResponse" abstract="true"> <value name="timestamp" get-method="getTimestamp" set-method="setTimestamp" /> <value name="ack" get-method="getAck" set-method="setAck" /> <collection field="errors" create-type="java.util.ArrayList" usage="optional"> <structure name="error" type="de.mycompany.srs.webservice.api.Error"> <value name="errorMessage" get-method="getErrorMessage" set-method="setErrorMessage" usage="optional" /> <value name="errorCode" get-method="getErrorCode" set-method="setErrorCode" usage="optional" /> <collection field="errorParameters" create-type="java.util.ArrayList"> <structure name="errorParameter" type="de.mycompany.srs.webservice.api.ErrorParameter"> <value name="value" get-method="getValue" set-method="setValue" usage="optional" /> <value name="paramID" get-method="getParamID" set-method="setParamID" usage="optional" style="attribute" /> </structure> </collection> </structure> </collection> <value name="correlationID" get-method="getCorrelationID" set-method="setCorrelationID" usage="optional" /> </mapping> </binding> Furthermore i'm using a collection nested inside another collection. Are there any performance issues when nesting collections like this? Many thx in advance, jan ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ jibx-users mailing list jibx-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jibx-users