Highlighted

Client Proxy Issue

Avatar

Avatar

shaheenas113483

Avatar

shaheenas113483

shaheenas113483

08-09-2019

In 6.3 instance, the client proxy has:

javax.xml.ws,version=2.1.0 from org.apache.felix.framework (0)

javax.xml.ws.handler,version=2.1.0 from org.apache.felix.framework (0)

while in 6.5 instance for the same pom.xml file the client proxy is showing:

javax.xml.ws,version=2.2.0 from org.apache.servicemix.specs.jaxws-api-2.2 (23)

javax.xml.ws.handler,version=2.2.0 from org.apache.servicemix.specs.jaxws-api-2.2 (23).

and while performing the same functionlity in both the instance, im getting the error in 6.5 as :

FactoryFinder$ConfigurationError: Provider org.apache.cxf.jaxws.spi.ProviderImpl not found

  at javax.xml.ws.spi.FactoryFinder$2.run(FactoryFinder.java:143) [org.apache.servicemix.specs.jaxws-api-2.2:2.9.0]

What to do?

Replies

Highlighted

Avatar

Avatar

jbrar

Employee

Avatar

jbrar

Employee

jbrar
Employee

09-09-2019

As per the dependency finder in 6.5, javax.xml.ws depends on the "org.apache.servicemix.specs.jaxws-api-2.2" version 2.9

Screen Shot 2019-09-09 at 9.06.56 AM.png

Can you check if the correct version of the API is installed on the system?

Screen Shot 2019-09-09 at 9.08.26 AM.png

Also, make sure you have compiled the code with the latest version of the uber jar for 6.5

Highlighted

Avatar

Avatar

shaheenas113483

Avatar

shaheenas113483

shaheenas113483

11-09-2019

I have verified the javax.xml.ws and apache serviceMix as well. It looks same as your screenshot. And, the latest version of the uber jar for 6.5 was also used. Still no luck.

Highlighted

Avatar

Avatar

pdeorio

Avatar

pdeorio

pdeorio

16-10-2019

I'm having the same exact issue - using uber jar 6.5.0. The correct version of the API is installed on my instance as per JaideepBrar​'s screens

Highlighted

Avatar

Avatar

vinaym13734422

Avatar

vinaym13734422

vinaym13734422

20-10-2019

I have the same issue on 6.5.1, did anyone find a solution to this ? Tried with SP-2 also, still the same.

Highlighted

Avatar

Avatar

Bharath_valse

Avatar

Bharath_valse

Bharath_valse

21-10-2019

This seems to be a known issue due to Apache Service Mix. Installing the attached minimum required CXF bundles on my 6.5 helped resolve the issue

Attachment - Adobe Document Cloud

Highlighted

Avatar

Avatar

vinaym13734422

Avatar

vinaym13734422

vinaym13734422

21-10-2019

Thanks Bharath valse​, this works now

Highlighted

Avatar

Avatar

pdeorio

Avatar

pdeorio

pdeorio

22-10-2019

Thank you Bharath valse​, your package fixed our issue.

Highlighted

Avatar

Avatar

viruh15818023

Avatar

viruh15818023

viruh15818023

12-05-2020

We have a similar issue on 6.5.4. installing these package resolved the error but introduced a new bug where the security header is null. Unable to get a security header from the soap object. 

just curious do we need to change the WS client code?  

Highlighted

Avatar

Avatar

sagar_verliani

Avatar

sagar_verliani

sagar_verliani

02-11-2020

@viruh15818023 did you found solution for the null security header, we are stuck on the same issue?