Use SOAP protocol instead of EJB as follows:
ConnectionProps.setProperty(ServiceClientFactoryProperties.
DSC_DEFAULT_SOAP_ENDPOINT, "http://localhost:8080");
ConnectionProps.setProperty(ServiceClientFactoryProperties.
DSC_TRANSPORT_PROTOCOL,ServiceClientFactoryProperties.DSC_SOAP_PROTOCOL);