Re: [jibx-users] jibx2wsdl - custom exception

2008-09-07 Thread Dennis Sosnoski
Hi Alan, There's some discussion of the Axis2 Fault handling at http://www.sosnoski.com/jibx-wiki/space/axis2-jibx/faults, which it sounds like you've already read. This doesn't go into the full details, though. Basically, Axis2 requires that (1) each exception being thrown has a unique data o

Re: [jibx-users] Marshal parent object also along with Child objects

2008-09-07 Thread Dennis Sosnoski
Hi Sundeep, You've got a couple of separate issues here, I think. First off is the NPE. You say that "the customer object is being loaded through lazy loading while loading the order object." That's probably the cause of your NPE, since you have JiBX using the customer filed directly in the bi

Re: [jibx-users] method not found errors.

2008-09-07 Thread Dennis Sosnoski
Hi Willie, The missing method is one that was added by the JiBX binding compiler. The only way you should get this kind of error is if one of the class files has been replaced since the binding compiler executed. Did you perhaps miss redeploying a jar file? Or perhaps Weblogic is for some reas

Re: [jibx-users] Marshalling a "Wrapper" Object?

2008-09-07 Thread Dennis Sosnoski
Hi Ian, You can do part of what you want by splitting the binding for A into an abstract mapping (which basically has the content definition you've already got in place) and a separate concrete mapping with the element name "a" (which just invokes the abstract mapping). That way your AWrapper

Re: [jibx-users] Problem with the & character

2008-09-07 Thread Dennis Sosnoski
Hi Gustavo, The '&' character issue is one with XML itself, because the '&' character is how XML indicates the start of an escape sequence. If you're going to include this character in an attribute value it needs to be escaped as the sequence '&'. CDATA would allow you to get around this issue

Re: [jibx-users] Multiple "inheritance"

2008-09-07 Thread Dennis Sosnoski
Hi Søren, The "extends" attribute is actually rarely needed, and perhaps was an unfortunate choice of name. Partially this is because the meaning of the attribute has evolved somewhat over time, as JiBX has been extended and new features added. Unfortunately the tutorial may give this more emp