Re: [jibx-users] Help writing binding file for an enumset collection

2007-03-06 Thread Satish Kumar
Hi Michael, I've tried this and it works - I don't know if there is a simpler way to achieve it. Add a factory method to AbstractPrivilege: /* private access privilege works with JibX */ private static Set objectNamesFactory () { return EnumSet.noneOf(ObjectNames.class); } The binding th

Re: [jibx-users] Different namespace styles in request and response xmls

2007-03-06 Thread Ilya Sterin
Unmesh, you might want to double check the requirements for submitting the request to the device. It doesn't look like the device even cares about namespacing and not including xmlns is still valid xml, so it won't break validity. The response seems like it doesn't namespace the BPDHeader, etc...

Re: [jibx-users] Help writing binding file for an enumset collection

2007-03-06 Thread Dennis Sosnoski
Hi Michael, I haven't tried this, but since EnumSet is just a specialized collection you should be able to do something along the following lines: - Dennis Dennis M. Sosnoski SOA and Web Services in Java Training and Consulting http://www.sosnoski.com - http://www.sosnoski.co.nz S

Re: [jibx-users] xsi:nil="true" for date field in axis2/jibx

2007-03-06 Thread Dennis Sosnoski
Hi Alex, That is a problem - JiBX currently supports xsi:nil for objects with structure by using the nillable="true" attribute on the definition, but not for simple s. If you're defining the schema yourself it's generally cleaner to use minOccurs="0" rather than nillable="true". This is equiv

Re: [jibx-users] Help writing binding file for an enumset collection

2007-03-06 Thread Michael Librodo
realized that I didnt turn off the rich text formatting.. here is the original message and code... Sorry Hi all-I'm fairly new to JiBX and the tool is quite impressive. After some proof of concept work, I was able to decrease our serialization time by at least a factor of 10. So I am going ahea

[jibx-users] Help writing binding file for an enumset collection

2007-03-06 Thread Michael Librodo
Hi all-I'm fairly new to JiBX and the tool is quite impressive. After some proof of concept work, I was able to decrease our serialization time by at least a factor of 10. So I am going ahead and working on replacing the present serialization solution with JiBX. Up until the issue that I am ment

[jibx-users] xsi:nil="true" for date field in axis2/jibx

2007-03-06 Thread Grivnin, Alexander
Hi, We have a problem when axis2 client (which is .Net) sends as a value for one of the object's fields. The server responses with the exception complaining about date format. It says "Missing 'T' separator in dateTime". Of course if request does not contain this element everything is handled co