How can I change the binding definition so that it doesn't add name space prefix for a few fields? XML <?xml version="1.0" encoding="UTF-8" standalone="yes"?><ns3:GetRewardsResponse xmlns:ns3="http://www.pcats.org/schema/naxml/loyalty/v01" xmlns:ns2="http://www.naxml.org/POSBO/Vocabulary/2003-10-16" xmlns:ns4="http://www.pcats.org/schema/core/v01" > <ns3:ResponseHeader overallResult="success"> <ns3:POSLoyaltyInterfaceVersion>1.0</ns3:POSLoyaltyInterfaceVersion> <ns2:VendorName>VIPER:Topaz</ns2:VendorName> <ns4:Result> <ns3:Success/> </ns4:Result> </ns3:ResponseHeader></ns3:GetRewardsResponse> Binding <binding name="GetRewardsResponse" xmlns:ns3="http://www.pcats.org/schema/naxml/loyalty/v01" xmlns:ns2="http://www.naxml.org/POSBO/Vocabulary/2003-10-16" xmlns:ns4="http://www.pcats.org/schema/core/v01" trim-whitespace="true" direction="output"> <namespace uri="http://www.pcats.org/schema/naxml/loyalty/v01" default="elements" prefix="ns3"/> <namespace uri="http://www.naxml.org/POSBO/Vocabulary/2003-10-16" prefix="ns2"/> <namespace uri="http://www.pcats.org/schema/core/v01" prefix="ns4"/> <mapping class="com.company.model.GetRewardsResponse" name="GetRewardsResponse"> <structure type="org.pcats.schema.naxml.loyalty.v01.ResponseHeader" ordered="true" get-method="getResponseHeader" set-method="setResponseHeader"/> </mapping> <mapping class="org.pcats.schema.naxml.loyalty.v01.ResponseHeader" name="ResponseHeader"> <format type="org.pcats.schema.naxml.loyalty.v01.ResponseHeader$OverallResult" enum-value-method="xmlValue"/> <value style="element" name="POSLoyaltyInterfaceVersion" ns="http://www.pcats.org/schema/core/v01" get-method="getPOSLoyaltyInterfaceVersion" set-method="setPOSLoyaltyInterfaceVersion"/> <value style="element" name="VendorName" ns="http://www.naxml.org/POSBO/Vocabulary/2003-10-16" get-method="getVendorName" set-method="setVendorName"/> <structure name="Result" ns="http://www.pcats.org/schema/core/v01" > <structure ordered="false" choice="true"> <structure test-method="ifSuccess" name="Success" usage="optional" /> <structure test-method="ifFailure" name="Failure" usage="optional"> <value style="element" name="ExceptionClass" get-method="getExceptionClass" usage="optional"/> </structure> </structure> </structure> </mapping></binding> What changes are required to this binding to not include the ns3: prefix from just <ns3:Success/> element?
------------------------------------------------------------------------------
_______________________________________________ jibx-users mailing list jibx-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jibx-users