public void connect() throws Exception {
connect(factParams, identity);
// Building the Call object for sending the requests:
SOAPMappingRegistry mappingReg = new SOAPMappingRegistry();
BeanSerializer beanSer = new BeanSerializer();
mappingReg.mapTypes(Constants.NS_URI_SOAP_ENC,
new QName("urn:ProxyService", "AbstractJmsRequest"),
AbstractJmsRequest.class, beanSer, beanSer);
mappingReg.mapTypes(Constants.NS_URI_SOAP_ENC,