[jboss-user] [JBoss Portal] - Web Service Client not working w/RichFaces

adesai@atech.com do-not-reply at jboss.com
Tue Apr 1 17:36:42 EDT 2008


Hello there,

My WSDL Web service client is not working with RichFaces. The same code is working with MyFaces app.

I'm getting the following error:

  | 14:03:47,734 FATAL [application] /jsp/result.xhtml @17,68 action="#{echo.callWSDL}": javax.xml.ws.WebServiceException: Unable to load Provid
  | er: org.jboss.ws.core.jaxws.spi.ProviderImpl
  | javax.faces.el.EvaluationException: /jsp/result.xhtml @17,68 action="#{echo.callWSDL}": javax.xml.ws.WebServiceException: Unable to load Pro
  | vider: org.jboss.ws.core.jaxws.spi.ProviderImpl
  |         at com.sun.facelets.el.LegacyMethodBinding.invoke(LegacyMethodBinding.java:73)
  |         at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:91)
  |         at javax.faces.component.UICommand.broadcast(UICommand.java:383)
  |         at org.ajax4jsf.component.AjaxActionComponent.broadcast(AjaxActionComponent.java:62)
  |         at org.ajax4jsf.component.AjaxViewRoot.processEvents(AjaxViewRoot.java:184)
  |         at org.ajax4jsf.component.AjaxViewRoot.broadcastEvents(AjaxViewRoot.java:162)
  |         at org.ajax4jsf.component.AjaxViewRoot.processApplication(AjaxViewRoot.java:350)
  |         at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:97)
  |         at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
  |         at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:117)
  |         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:244)
  |         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
  |         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  |         at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:141)
  |         at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:281)
  |         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
  |         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  |         at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
  |         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
  |         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  |         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
  |         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
  |         at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
  |         at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
  |         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
  |         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
  |         at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
  |         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
  |         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
  |         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
  |         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
  |         at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
  |         at java.lang.Thread.run(Thread.java:595)
  | Caused by: javax.xml.ws.WebServiceException: Unable to load Provider: org.jboss.ws.core.jaxws.spi.ProviderImpl
  |         at javax.xml.ws.spi.Provider.provider(Provider.java:98)
  |         at javax.xml.ws.Service.<init>(Service.java:83)

I've following JARs in my lib:

commons-beanutils-1.7.0
commons-collections-3.2
commons-digester-1.8
commons-logging-1.0.4
explode
jsf-facelets-1.1.14
jstl-1.0
portletbridge-api-1.0.0-20080212.175852-5
portletbridge-impl-1.0.0-20080212.175852-5
richfaces-api-3.1.4.SR1
richfaces-impl-3.1.4.SR1
richfaces-ui-3.1.4.SR1

jaxb-api
jaxb-impl
jaxb-xjc
jboss-jaxrpc
jboss-jaxws

I read somewhere in the forum that I need to have following JARs as well to run the Web Service. Is that correct? Why didn't I require them with MyFaces though? Where can I find these JARs to download?

jboss-common-client.jar  
jboss-common-core.jar 

Thanks for your help.
-Amol



View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4140731#4140731

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4140731



More information about the jboss-user mailing list