IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.



#Automation


#Applicationintegration
#webMethods
#Integration
 View Only
  • 1.  webservice connector mis bhevaing with authenticate method=3

    Posted 05/10/11 05:32 PM

    Hi All,

    I have created web service connector in CAF by selecting hybrid method, if i refresh giving below message, if i change Authentication method =1 and username and password from binding and publsih it is giving results back from webservice, i need to use Hybrid authentication.

    n CAF Application Runtime configuration-under UI project-Environment entries contains
    wsclient-socketTimeout java.lang.Integer 10000
    wsclient-endpointAddress java.lang.String http://is:portnumber/ws
    wsclient-requiresAuth java.lang.Boolean true
    wsclient-authMethod java.lang.String 3

    javax.faces.el.EvaluationException: javax.faces.el.EvaluationException: com.webMethods.caf.faces.data.ContentProviderException: java.lang.NullPointerException
    at com.sun.faces.application.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:102)
    at com.webMethods.caf.faces.application.CAFMethodBinding.invoke(CAFMethodBinding.java:65)
    at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)
    at javax.faces.component.UICommand.broadcast(UICommand.java:387)
    at com.webMethods.caf.faces.component.ViewRoot.broadcastEvents(ViewRoot.java:202)
    at com.webMethods.caf.faces.component.ViewRoot.processApplication(ViewRoot.java:116)
    at com.webMethods.caf.faces.portlet.PortletLifecycle$InvokeApplicationPhase.execute(PortletLifecycle.java:684)
    at com.webMethods.caf.faces.portlet.PortletLifecycle.phase(PortletLifecycle.java:256)
    at com.webMethods.caf.faces.portlet.PortletLifecycle.execute(PortletLifecycle.java:146)
    at com.webMethods.caf.faces.portlet.FacesPortlet.processAction(FacesPortlet.java:245)
    at com.webMethods.portal.framework.portletcontainer.impl.PortletApplicationHandler.process(PortletApplicationHandler.java:480)
    at com.webMethods.portal.framework.portletcontainer.servlet.PortletServlet.service(PortletServlet.java:58)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
    at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
    at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:390)
    at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
    at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
    at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
    at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:418)
    at org.mortbay.jetty.servlet.Dispatcher.forward(Dispatcher.java:327)
    at org.mortbay.jetty.servlet.Dispatcher.forward(Dispatcher.java:126)
    at com.webMethods.portal.framework.portletcontainer.PortletContainer.dispatch(PortletContainer.java:219)
    at com.webMethods.portal.framework.portletcontainer.PortletContainer.process(PortletContainer.java:130)
    at com.webMethods.portal.framework.portletcontainer.PortletContainer.processPortletAction(PortletContainer.java:108)
    at com.webMethods.portal.framework.portlet.beans.rest.RestfulPCAHandler.handle(RestfulPCAHandler.java:194)
    at com.webMethods.portal.framework.dispatch.DispatchManager.handle(DispatchManager.java:440)
    at com.webMethods.portal.framework.dispatch.DispatchManager.handleDispatch(DispatchManager.java:370)
    at com.webMethods.portal.framework.impl.PortalServlet.service(PortalServlet.java:266)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
    at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
    at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1166)
    at com.webMethods.portal.framework.impl.NTLMFilter.doFilter(NTLMFilter.java:50)
    at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
    at com.webMethods.caf.faces.servlet.GZIPFilter.doFilter(GZIPFilter.java:42)
    at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
    at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:388)
    at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
    at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
    at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
    at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:418)
    at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)
    at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
    at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
    at org.mortbay.jetty.Server.handle(Server.java:326)
    at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
    at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:938)
    at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:755)
    at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:218)
    at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
    at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409)
    at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:451)
    Caused by: javax.faces.el.EvaluationException: com.webMethods.caf.faces.data.ContentProviderException: java.lang.NullPointerException
    at com.sun.faces.application.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:102)
    at com.webMethods.caf.faces.application.CAFMethodBinding.invoke(CAFMethodBinding.java:65)
    at com.webMethods.caf.faces.bean.BaseFacesBean._resolveDataBinding(BaseFacesBean.java:401)
    at com.webMethods.caf.faces.bean.BaseFacesBean.resolveDataBinding(BaseFacesBean.java:225)
    at com.webMethods.caf.accountclosurerequestview.AccountClosureRequestViewDefaultviewView.actionContinue(AccountClosureRequestViewDefaultviewView.java:367)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.sun.el.parser.AstValue.invoke(AstValue.java:187)
    at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:297)
    at com.sun.faces.application.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:88)
    … 50 more
    Caused by: com.webMethods.caf.faces.data.ContentProviderException: java.lang.NullPointerException
    at com.webMethods.caf.faces.data.ws.glue.GlueWSClientContentProvider.getObjectInstance(GlueWSClientContentProvider.java:122)
    at com.webMethods.caf.faces.data.object.ObjectMethodContentProvider.refresh(ObjectMethodContentProvider.java:353)
    at sun.reflect.GeneratedMethodAccessor1082.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.sun.el.parser.AstValue.invoke(AstValue.java:187)
    at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:297)
    at com.sun.faces.application.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:88)
    … 61 more
    Caused by: java.lang.NullPointerException
    at com.webMethods.caf.wsclient.AuthCredentials.getArtifact(AuthCredentials.java:189)
    at com.webMethods.caf.wsclient.AuthCredentials.getPassword(AuthCredentials.java:102)
    at com.webMethods.caf.faces.data.ws.glue.GlueWSClientContentProvider.getObjectInstance(GlueWSClientContentProvider.java:101)
    … 68 more
    2011-05-10 16:23:28 GMT+02:00 (jsf:ERROR) [RID:677] - Action phase of the portlet failed (INVOKE_APPLICATION 5)


    #webMethods-BPMS
    #webMethods
    #MWS-CAF-Task-Engine


  • 2.  RE: webservice connector mis bhevaing with authenticate method=3

    Posted 05/10/11 10:53 PM

    Thanks for including the stack trace. The NPE in the AuthCredentials object is causing the challenge, but that NPE shouldn’t be occurring if the WSClient library was properly initialized. The WSClient library is always initialized by MWS during its start up, so that’s the first place for us to examine.

    I have some questions:

    • Is this an upgraded server?
    • What version of MWS is this running on?
    • Have you ever made any modifications to the phaseProvider.xml config file?

    Regards,
    –mark


    #webMethods
    #webMethods-BPMS
    #MWS-CAF-Task-Engine


  • 3.  RE: webservice connector mis bhevaing with authenticate method=3

    Posted 05/11/11 04:44 PM

    Hi Mimel,

    it is not upgraded server, version is given below, i have not made any chnages in phaseProvider.xml file but only one CAF project am getting problem, in this project am passing athentication method 1 and user and password in data binding for all web service connector, if i change authetication method to 3 for any web service connector and publish it , it throwing below error.

    Version: 8.0.2.0.192
    Build Date: 2011-04-13
    Installed Fixes: MWS_8.0_SP2_Fix8

    Regards,
    Anil Kumar ellendula


    #webMethods
    #MWS-CAF-Task-Engine
    #webMethods-BPMS


  • 4.  RE: webservice connector mis bhevaing with authenticate method=3

    Posted 05/17/11 07:53 PM

    You will need to file a Support Incident. Thanks for providing the additional info.

    Regards,
    –mark


    #MWS-CAF-Task-Engine
    #webMethods
    #webMethods-BPMS


  • 5.  RE: webservice connector mis bhevaing with authenticate method=3

    Posted 03/21/18 09:08 AM

    HI all

    when i drag the service on protlet i getting select operation error please find below attachment, please provide some suggestion


    #webMethods
    #MWS-CAF-Task-Engine
    #webMethods-BPMS