From: Hao Wu <ih...@ya...> - 2007-01-04 19:13:18
|
Hi, I'm having a run time problem with createUnmarshallingContext. jibxBindingFactory is created fine. I've included the code sample below. private GetPropertyInfoRequest unMarshalGetPropertyInfoRequest( Element xmlRequest ) { GetPropertyInfoRequest request = null; IBindingFactory jibxBindingFactory = null; try { jibxBindingFactory = BindingDirectory.getFactory(GetPropertyInfoRequest.class); } catch ( JiBXException e ) { // TODO Auto-generated catch block e.printStackTrace(); return null; } IUnmarshallingContext unmarshallCtx = null; try { unmarshallCtx = jibxBindingFactory.createUnmarshallingContext(); // PROBLEM: doesn't work, doesn't throw exception either. } catch ( JiBXException e ) { // TODO Auto-generated catch block e.printStackTrace(); return null; } catch ( Exception e ) { // TODO Auto-generated catch block e.printStackTrace(); return null; } __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com |