Hi Hao, You're missing some details in your email. Are you using JibxSoap and getting this problem? The JibxSoap distribution is seriously out-of-date, so you get problems if you try to use it with the current JiBX distribution. I'll try to get it updated by this weekend. If you're not using JibxSoap and are getting this problem, can you supply more details (such as what you mean by "// PROBLEM: doesn't work, doesn't throw exception either.").
- Dennis Dennis M. Sosnoski SOA and Web Services in Java Training and Consulting http://www.sosnoski.com - http://www.sosnoski.co.nz Seattle, WA +1-425-939-0576 - Wellington, NZ +64-4-298-6117 Hao Wu wrote: > FYI, When using a test message, the following is the response. > > Received SOAP Response : > <?xml version="1.0" encoding="utf-8"?><soapenv:Envelope > xmlns:soapenv="http://sc > hemas.xmlsoap.org/soap/envelope/" > xmlns:xsd="http://www.w3.org/2001/XMLSchema" x > mlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><soapenv:Body><soapenv:Faul > t><faultcode>soapenv:Server.userException</faultcode><faultstring>java.lang.refl > ect.InvocationTargetException</faultstring><detail><ns1:hostname > xmlns:ns1="http > ://xml.apache.org/axis/">hwu-02</ns1:hostname></detail></soapenv:Fault></soapenv > :Body></soapenv:Envelope> > > */Hao Wu <[EMAIL PROTECTED]>/* wrote: > > 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 > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to > share your > opinions on IT & business topics through brief surveys - and earn cash > > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV_______________________________________________ > jibx-users mailing list > jibx-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/jibx-users > > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > ------------------------------------------------------------------------ > > _______________________________________________ > jibx-users mailing list > jibx-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/jibx-users > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ jibx-users mailing list jibx-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jibx-users