I have changed the binding like this and it is working now...
http://www.pcats.org/schema/naxml/loyalty/v01;
class="org.pcats.schema.naxml.loyalty.v01.LoyaltyOnlineStatusRequest"
flexible="true"
ordered="false">
http://www.naxml.org/POSBO/Vocabulary/2003-10-16;
prefix="ns2"/>
http://www.pcats.org/schema/naxml/loyalty/v01;
prefix="ns3"/>
http://www.pcats.org/schema/core/v01;
prefix="ns4"/>
http://www.pcats.org/schema/naxml/loyalty/v01;
>
http://www.pcats.org/schema/naxml/loyalty/v01;
/>
http://www.naxml.org/POSBO/Vocabulary/2003-10-16;
/>
http://www.naxml.org/POSBO/Vocabulary/2003-10-16"/>
http://www.pcats.org/schema/naxml/loyalty/v01;
/>
http://www.pcats.org/schema/naxml/loyalty/v01;
usage="optional"
>
> From: bindulbhow...@gmail.com
> Date: Tue, 24 Nov 2015 15:01:27 -0700
> Subject: Re: [jibx-users] How to solve org.jibx.runtime.JiBXException: No
> unmarshaller for element error
> To: psgov...@hotmail.com
> CC: jibx-users@lists.sourceforge.net
>
> Hello,
>
> You seem to have only changed it in the mapping element; the same
> change needs to happen on all other name fields (structure, value
> elements).
>
> Please go through the documentation if this is not clear.
>
> Regards,
> Bindul
> Bindul Bhowmik
>
>
> On Tue, Nov 24, 2015 at 2:08 PM, PS Govind wrote:
> > Appreciate the quick response..
> > I have changed the binding as follows and now the exception is gone. But
> > fields are set with null.
> > pOSLoyaltyInterfaceVersion=null, vendorName=null, vendorModelVersion=null,
> > pOSSequenceID=null
> > How can I get the values populated in LoyaltyOnlineStatusRequest fields?
> > Again truly appreciate all the help...
> >
> >
> > > ns="http://www.pcats.org/schema/naxml/loyalty/v01;
> > class="org.pcats.schema.naxml.loyalty.v01.LoyaltyOnlineStatusRequest"
> > flexible="true" ordered="false">
> >
> > http://www.naxml.org/POSBO/Vocabulary/2003-10-16;
> > prefix="ns2"/>
> > http://www.pcats.org/schema/naxml/loyalty/v01;
> > prefix="ns3"/>
> > http://www.pcats.org/schema/core/v01; prefix="ns4"/>
> >
> > > usage="optional" >
> > > field="pOSLoyaltyInterfaceVersion" usage="optional"/>
> >
> > > usage="optional" />
> >
> >
> >
> >
> >
> >
> >> From: bindulbhow...@gmail.com
> >> Date: Tue, 24 Nov 2015 12:41:23 -0700
> >> Subject: Re: [jibx-users] How to solve org.jibx.runtime.JiBXException: No
> >> unmarshaller for element error
> >> To: psgov...@hotmail.com; jibx-users@lists.sourceforge.net
> >
> >>
> >> Hello,
> >>
> >> I do not believe your name mapping is correct. As per JiBX
> >> documentation [1]; the /@name attribute should be the local
> >> (unqualified) name of the element or attribute. If you need to add a
> >> namespace, you need to use the /@ns attribute. You cannot use prefixes
> >> in your mapping outside the namespace element.
> >>
> >> So, instead of:
> >> >> class="org.pcats.schema.naxml.loyalty.v01.LoyaltyOnlineStatusRequest"
> >> flexible="true" ordered="false">
> >>
> >> use:
> >> >> ns="http://www.pcats.org/schema/naxml/loyalty/v01;
> >> class="org.pcats.schema.naxml.loyalty.v01.LoyaltyOnlineStatusRequest"
> >> flexible="true" ordered="false">
> >>
> >>
> >> From the namespace element documentation [2], the /@prefix attribute
> >> is used for marshalling only.
> >>
> >>
> >> Bindul Bhowmik
> >>
> >> [1] http://jibx.sourceforge.net/binding/binding-attributes.html#name
> >> [2] http://jibx.sourceforge.net/binding/namespace-element.html
> >>
> >>
> >> On Tue, Nov 24, 2015 at 12:17 PM, PS Govind wrote:
> >> > Hi,
> >> >
> >> > I am getting "org.jibx.runtime.JiBXException: No unmarshaller for
> >> > element"
> >> > error when trying unmarshel the xml file given below. The input xml
> >> > file,
> >> > binding definition, Java source and unmarshelling code are given below.
> >> > Any
> >> > help will be truly appreciated...
> >> >
> >> > org.jibx.runtime.JiBXException: No unmarshaller for element
> >> >
> >> > "{http://www.pcats.org/schema/naxml/loyalty/v01}GetLoyaltyOnlineStatusRequest;
> >> > (line 5, col 60)
> >> > at
> >> >
> >> > org.jibx.runtime.impl.UnmarshallingContext.unmarshalElement(UnmarshallingContext.java:2754)
> >> > at
> >> >
> >> > org.jibx.runtime.impl.UnmarshallingContext.unmarshalDocument(UnmarshallingContext.java:2900)
> >> > at com.weis.fuel.verifone.util.JiBXTest.main(JiBXTest.java:43)
> >> >
> >> > --
> >> > -- XML
> >> > --
> >> >
> >> > >> > xmlns:ns2="http://www.naxml.org/POSBO/Vocabulary/2003-10-16;
> >> > xmlns:ns4="http://www.pcats.org/schema/core/v01;
> >> >