since ‎07-04-2021
‎14-04-2021
touseefkhan4pk
Level 1
Re: Getting org.apache.cxf.jaxws.spi.ProviderImpl not fou...
Avatar

touseefkhan4pk

touseefkhan4pk
- Adobe Experience Manager
Thank you Lakshmi, I installed bundle for CXF (https://helpx.adobe.com/experience-manager/kb/jaxws-webservice-calls-not-working-aem-65.html) too but now it is giving null reference exception on lineServiceXML serviceXml = new ServiceXML(wsdlURL, SERVICE_NAME);

Views

47

Likes

0

Replies

0
Re: Getting org.apache.cxf.jaxws.spi.ProviderImpl not fou...
Avatar

touseefkhan4pk

touseefkhan4pk
- Adobe Experience Manager
I build project with clean install -X. It gives some extra information regarding this error as " Failed to execute goal org.apache.felix:maven-bundle-plugin:5.1.2:bundle (default-bundle) on project stewart.cms: Error(s) found in bundle configuration -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.felix:maven-bundle-plugin:5.1.2:bundle (default-bundle) on project stewart.cms: Error(s) found in bundle configuration at org.apache.maven.lifecycle...

Views

85

Likes

0

Replies

0
Re: Getting org.apache.cxf.jaxws.spi.ProviderImpl not fou...
Avatar

touseefkhan4pk

touseefkhan4pk
- Adobe Experience Manager
Hi @Vijaylakshmi, I am providing Emebd-Transitive true and When I set Embed-Dependency as "*". It gives me this error "he default package '.' is not permitted by the Import-Package syntax. This can be caused by compile errors in Eclipse because Eclipse creates valid class files regardless of compile errors."

Views

91

Likes

0

Replies

0
Re: Getting org.apache.cxf.jaxws.spi.ProviderImpl not fou...
Avatar

touseefkhan4pk

touseefkhan4pk
- Adobe Experience Manager
Hi @Vijayalakshmi_S . Hi @Vijayalakshmi . After lot of hit & trial, i think my code manage to find CXF library in AEM but I am getting error "javax.xml.ws.WebServiceException: org.apache.cxf.service.factory.ServiceConstructionException". This is my maven bundle plugin org.apache.felixmaven-bundle-plugin5.1.2trueorg.osgi.framework,*;resolution:=optional${export.package}.*,facebook4j.*,com.fasterxml.*,twitter4j.*,com.brightedge*,org.apache.cxf*,org.glassfish.m*${embed.dependency},${maven.dependencorg.springframework.beans, org.springframework.core,org.springframework.integration,org.springframework.context...

Views

58

Like

1

Replies

0
Re: Getting org.apache.cxf.jaxws.spi.ProviderImpl not fou...
Avatar

touseefkhan4pk

touseefkhan4pk
- Adobe Experience Manager
Hi @Vijayalakshmi . After lot of hit & trial, i think my code manage to find CXF library in AEM but now I am getting following error

Views

72

Likes

0

Replies

0
Re: Getting org.apache.cxf.jaxws.spi.ProviderImpl not fou...
Avatar

touseefkhan4pk

touseefkhan4pk
- Adobe Experience Manager
@Vijayalakshmi_S Thanks for helping. I am really stuck here. Please help me to resolve this issue. I tried your solution but it didn't work. I don't have much knowledge about maven bundle plugin. I changed its something like this but it also didn't help. Please how should I write this maven bundle plugin with the above CXF dependencies ? org.apache.felixmaven-bundle-plugin5.1.2trueorg.osgi.framework,*;resolution:=optional${export.package}.*,facebook4j.*,com.fasterxml.*,twitter4j.*,com.brightedge...

Views

75

Like

1

Replies

0
Re: Getting org.apache.cxf.jaxws.spi.ProviderImpl not fou...
Avatar

touseefkhan4pk

touseefkhan4pk
- Adobe Experience Manager
Hi @Vijayalakshmi Thanks for replying and guiding. I tried your above solution but it didn't work.

Views

101

Likes

0

Replies

0
Re: Getting org.apache.cxf.jaxws.spi.ProviderImpl not fou...
Avatar

touseefkhan4pk

touseefkhan4pk
- Adobe Experience Manager
I have dependency to be included in a sub module so only needs to change in sub module ?

Views

118

Likes

0

Replies

0
Re: Getting org.apache.cxf.jaxws.spi.ProviderImpl not fou...
Avatar

touseefkhan4pk

touseefkhan4pk
- Adobe Experience Manager
I have parent pom and then pom in multiple modules. Do I need to change maven-bundle-plugin in each module or only needs to change in the current module I am working ?

Views

129

Likes

0

Replies

0
Re: Getting org.apache.cxf.jaxws.spi.ProviderImpl not fou...
Avatar

touseefkhan4pk

touseefkhan4pk
- Adobe Experience Manager
@Vijayalakshmi_S @Thanks for reply. This is my maven bundle plugin in my module's pom. org.apache.felixmaven-bundle-plugin2.0.1trueorg.osgi.framework,*;resolution:=optionaljavax.inject;version=0.0.0,**truecom.stewart.models I added lines suggested by you but getting many error something like this; java.lang.ArrayIndexOutOfBoundsExceptionjava.lang.ArrayIndexOutOfBoundsExceptionjava.lang.ArrayIndexOutOfBoundsExceptionjava.lang.ArrayIndexOutOfBoundsExceptionjava.lang.ArrayIndexOutOfBoundsException[...

Views

91

Like

1

Replies

0
Getting org.apache.cxf.jaxws.spi.ProviderImpl not found Issue in AEM
Avatar

touseefkhan4pk

touseefkhan4pk
- Adobe Experience Manager
I am working on an AEM maven project where I have to consume a web service. I am using Eclipse for writing code and for its implementation using CXF library. The code works fine in a sample project but as soon as I deploy package on CRXD in AEM and then try from it, it gives following error on the very first line while creating service object.javax.xml.ws.spi.FactoryFinder$ConfigurationError: Provider org.apache.cxf.jaxws.spi.ProviderImpl not found It is the code I am using. ServiceXML serviceXm...

Views

283

Likes

0

Replies

18
Likes from