Hello,

I receive the error "L2100C_NM1 is a required field" when I try to marshal the xml.  
The curiosity is that I have fully instantiated the L2100C_NM1 segment and have 
assigned values to fields within it.  When I comment out the required fields, I get 
the expected error message that, for example, "L2100C_NM103 is a required field".  If 
I comment out the line setting the L2100C_NM1 segment, I get a null pointer long 
before the marshalling.  I am printing out the values of all the fields within the 
L2100C_NM1 segment, and also get the memory location of the L2100C_NM1 segment just 
before the marshalling statement.  I know it exists and that I am not recreating its 
mother segment without it.  

For what other reasons would I get the 'required field' message?

l2C.getL2100C(0).setL2100C_NM1(new 
org.ghc.dataaccess.claimsstatus.request.L2100C_NM1());
org.ghc.dataaccess.claimsstatus.request.L2100C_NM1 l2CNM1 = 
l2C.getL2100C(0).getL2100C_NM1();
l2CNM1.setL2100C_NM103(request.getProviderName());
l2CNM1.setL2100C_NM109(request.getProviderNo());

Thanks.  This is driving me crazy.

Bernice

----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
        unsubscribe castor-dev

Reply via email to