Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.

Could not find wsdl:binding operation info for web method

Avatar

Community Advisor

Hi,

 

I'm unable to make JAXWS web-service in AEM 6.5. I followed this which says that this is due to cfx being removed in 6.5. As per the document, i have

  1. Installed the cfx bundle provided in the article.
  2. Removed the 
    javax.jws.*,
    javax.xml.bind.*,
    javax.xml.bind.annotation.*
    entries from cxf-rt-frontend-jaxws-3.2.0 jar manifest file.
  3.  Added the below dependency in the core bundle
    <dependency>
      <artifactId>org.apache.servicemix.specs.jaxb-api-2.2</artifactId>
      <version>2.9.0</version>
      <groupId>org.apache.servicemix.specs</groupId>
      <scope>provided</scope>
    </dependency>
    <dependency>
      <artifactId>geronimo-ws-metadata_2.0_spec</artifactId>
      <version>1.1.3</version>
      <groupId>org.apache.geronimo.specs</groupId>
      <scope>provided</scope>
    </dependency>
But still i'm unable to make the call.
Below is which i'm getting while making the jaxws call after step 1.
javax.xml.ws.WebServiceException: Could not find wsdl:binding operation info for web method <method>.
at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:128)

So the article says the above issue might happen in some cases and step 2 and 3 might resolve it. But after follow step 2 and 3 i'm getting a different error. Below is the error after step 3.

javax.xml.ws.spi.FactoryFinder$ConfigurationError: Provider org.apache.cxf.jaxws.spi.ProviderImpl not found
at javax.xml.ws.spi.FactoryFinder$2.run(FactoryFinder.java:143)
at javax.xml.ws.spi.FactoryFinder.doPrivileged(FactoryFinder.java:251)
at javax.xml.ws.spi.FactoryFinder.newInstance(FactoryFinder.java:138)
at javax.xml.ws.spi.FactoryFinder.access$300(FactoryFinder.java:44)
at javax.xml.ws.spi.FactoryFinder$3.run(FactoryFinder.java:242)
at javax.xml.ws.spi.FactoryFinder.doPrivileged(FactoryFinder.java:251)
at javax.xml.ws.spi.FactoryFinder.find(FactoryFinder.java:174)
at javax.xml.ws.spi.Provider.provider(Provider.java:43)

 Would really appreciate anyone's help in resolving this issue. Thanks in advance.

1 Reply

Avatar

Administrator

@Harwinder-singh @Gaurav_Sachdeva_ @DPrakashRaj @MayurSatav @Rohan_Garg @aanchal-sikka Can you please review this unanswered question? Appreciate your thoughts on this.



Kautuk Sahni