Is there any possibilty to integrate a EAR file with cq5 project??? the ear file is generated from a WSDL..
Well I think that depends on what your definition of integrate is. You aren't going to be able deploy and EAR to the CQ OSGI container. An EAR implies a deployment mechanism that isn't supported to my knowledge in OSGI. So you have a couple of options:
In theory there are a number of other more advanced options that you could try, but I'd start with those two options for something that is generated by a WSDL.
Is there a reason why you need an "ear" file ? So what is the task you want to fullfill.
For me it sounds like you want to integrate a jax-ws service inside a cq5 project. To achive that you have to integrate a jax-rs client in cq5.
One option to achive that is to integrate Apache CXF like documented here:
Samplecode can be found here: