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