webMethods

webMethods

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.

 View Only
Expand all | Collapse all

Connection to SharePoint failed (SI #5295729)

  • 1.  Connection to SharePoint failed (SI #5295729)

    Posted Wed August 23, 2017 07:56 AM

    Hi all,

    We are trying to connect to SharePoint using SharePoint Adapter in wM 10.0.
    Although we see that connection and authorization to SP are valid (we traced using TCP-Monitor), connection fails with exception.

    Is there anything missing? How to check?

    Regards
    Marko

    P.S.: URL is http://servername1/subjects/MDMTestEnvironment/

    [ART.118.5042] Adapter Runtime (Connection): Unable to enable connection resource kuka.mdm.connection.sharepoint:LEGAL_TermStore.
    [ART.118.5063] Adapter Runtime (Connection): Unable to start connection kuka.mdm.connection.sharepoint:LEGAL_TermStore: after 1 attempt(s).
    [ADA.7072.1001] Error connecting to SharePoint site: Unknown Soap-Exception was thrown.
    java.lang.Exception: Unknown Soap-Exception was thrown.
    at com.braintribe.connector.SharePoint.services.SchemaServiceFacade.getListCollection(SchemaServiceFacade.java:75)
    at com.wm.adapter.wmSharePointAdapter.connection.WmSharePointConnection.initializeConnection(WmSharePointConnection.java:138)
    at com.wm.adk.connection.WmManagedConnectionFactory.createManagedConnection(WmManagedConnectionFactory.java:210)
    at com.wm.pkg.art.ns.ConnectionDataNode.createAndStartConnectionResource(ConnectionDataNode.java:991)
    at com.wm.pkg.art.ns.ConnectionDataNode.enable(ConnectionDataNode.java:753)
    at com.wm.pkg.art.ns.ConnectionDataNodeManager.setConnectionState(ConnectionDataNodeManager.java:1308)
    at sun.reflect.GeneratedMethodAccessor362.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at com.wm.app.b2b.server.JavaService.baseInvoke(JavaService.java:404)
    at com.wm.app.b2b.server.invoke.InvokeManager.process(InvokeManager.java:668)
    at com.wm.ps.serviceMock.ServiceInterceptor.process(ServiceInterceptor.java:360)
    at com.wm.app.b2b.server.util.tspace.ReservationProcessor.process(ReservationProcessor.java:39)
    at com.wm.app.b2b.server.invoke.StatisticsProcessor.process(StatisticsProcessor.java:49)
    at com.wm.app.b2b.server.invoke.ServiceCompletionImpl.process(ServiceCompletionImpl.java:243)
    at com.wm.app.b2b.server.invoke.ValidateProcessor.process(ValidateProcessor.java:49)
    at com.wm.app.b2b.server.invoke.PipelineProcessor.process(PipelineProcessor.java:171)
    at com.wm.app.b2b.server.ACLManager.process(ACLManager.java:299)
    at com.wm.app.b2b.server.invoke.DispatchProcessor.process(DispatchProcessor.java:34)
    at com.wm.app.b2b.server.AuditLogManager.process(AuditLogManager.java:377)
    at com.wm.app.b2b.server.invoke.InvokeManager.invoke(InvokeManager.java:567)
    at com.wm.app.b2b.server.invoke.InvokeManager.invoke(InvokeManager.java:384)
    at com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java:234)
    at com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java:103)
    at com.wm.app.b2b.server.ns.Namespace.invoke(Namespace.java:634)
    at com.wm.util.template.Reporter.invoke(Reporter.java:920)
    at com.wm.util.template.InvokeToken.eval(InvokeToken.java:69)
    at com.wm.util.template.TemplateToken.evalChild(TemplateToken.java:196)
    at com.wm.util.template.SwitchToken.evalChild(SwitchToken.java:78)
    at com.wm.util.template.TemplateToken.eval(TemplateToken.java:166)
    at com.wm.util.template.SwitchToken.eval(SwitchToken.java:51)
    at com.wm.util.template.TemplateToken.evalChild(TemplateToken.java:196)
    at com.wm.util.template.IfVarToken.evalChild(IfVarToken.java:260)
    at com.wm.util.template.TemplateToken.eval(TemplateToken.java:166)
    at com.wm.util.template.IfVarToken.eval(IfVarToken.java:241)
    at com.wm.util.template.TemplateToken.evalChild(TemplateToken.java:196)
    at com.wm.util.template.TemplateToken.eval(TemplateToken.java:166)
    at com.wm.util.template.Reporter.reportNoReset(Reporter.java:1383)
    at com.wm.util.template.Reporter.reportToOutput(Reporter.java:1359)
    at com.wm.util.template.Reporter.reportIData(Reporter.java:1255)
    at com.wm.app.b2b.server.HTTPDocHandler._process(HTTPDocHandler.java:627)
    at com.wm.app.b2b.server.HTTPDocHandler.process(HTTPDocHandler.java:131)
    at com.wm.app.b2b.server.HTTPDispatch.handleRequest(HTTPDispatch.java:190)
    at com.wm.app.b2b.server.Dispatch.run(Dispatch.java:375)
    at com.wm.util.pool.PooledThread.run(PooledThread.java:127)
    at java.lang.Thread.run(Thread.java:745)
    Caused by: javax.xml.ws.soap.SOAPFaultException: javax.xml.bind.JAXBException: class com.braintribe.connector.SharePoint.model.GetListCollection nor any of its super class is known to this context.
    at org.apache.axis2.jaxws.marshaller.impl.alt.MethodMarshallerUtils.createSystemException(MethodMarshallerUtils.java:1326)
    at org.apache.axis2.jaxws.marshaller.impl.alt.MethodMarshallerUtils.demarshalFaultResponse(MethodMarshallerUtils.java:1052)
    at org.apache.axis2.jaxws.marshaller.impl.alt.DocLitWrappedMethodMarshaller.demarshalFaultResponse(DocLitWrappedMethodMarshaller.java:659)
    at org.apache.axis2.jaxws.client.proxy.JAXWSProxyHandler.getFaultResponse(JAXWSProxyHandler.java:577)
    at org.apache.axis2.jaxws.client.proxy.JAXWSProxyHandler.createResponse(JAXWSProxyHandler.java:520)
    at org.apache.axis2.jaxws.client.proxy.JAXWSProxyHandler.invokeSEIMethod(JAXWSProxyHandler.java:386)
    at org.apache.axis2.jaxws.client.proxy.JAXWSProxyHandler.invoke(JAXWSProxyHandler.java:171)
    at com.sun.proxy.$Proxy102.getListCollection(Unknown Source)
    at com.braintribe.connector.SharePoint.services.SchemaServiceFacade.getListCollection(SchemaServiceFacade.java:66)
    … 45 more
    Caused by: javax.xml.bind.JAXBException: class com.braintribe.connector.SharePoint.model.GetListCollection nor any of its super class is known to this context.
    at com.sun.xml.bind.v2.runtime.JAXBContextImpl.getBeanInfo(JAXBContextImpl.java:588)
    at com.sun.xml.bind.v2.runtime.XMLSerializer.childAsRoot(XMLSerializer.java:482)
    at com.sun.xml.bind.v2.runtime.MarshallerImpl.write(MarshallerImpl.java:323)
    at com.sun.xml.bind.v2.runtime.MarshallerImpl.marshal(MarshallerImpl.java:251)
    at javax.xml.bind.helpers.AbstractMarshallerImpl.marshal(AbstractMarshallerImpl.java:95)
    at org.apache.axis2.datasource.jaxb.JAXBDSContext$1.run(JAXBDSContext.java:492)
    at org.apache.axis2.java.security.AccessController.doPrivileged(AccessController.java:76)
    at org.apache.axis2.datasource.jaxb.JAXBDSContext.marshalByElement(JAXBDSContext.java:477)
    at org.apache.axis2.datasource.jaxb.JAXBDSContext.marshal(JAXBDSContext.java:437)
    at org.apache.axis2.jaxws.message.databinding.impl.JAXBBlockImpl._outputFromBO(JAXBBlockImpl.java:189)
    at org.apache.axis2.jaxws.message.impl.BlockImpl.outputTo(BlockImpl.java:371)
    at org.apache.axis2.jaxws.message.impl.BlockImpl.serialize(BlockImpl.java:295)
    at org.apache.axiom.om.impl.llom.OMSourcedElementImpl.internalSerialize(OMSourcedElementImpl.java:687)
    at org.apache.axiom.om.impl.util.OMSerializerUtil.serializeChildren(OMSerializerUtil.java:563)
    at org.apache.axiom.om.impl.llom.OMElementImpl.internalSerialize(OMElementImpl.java:855)
    at org.apache.axiom.soap.impl.llom.SOAPEnvelopeImpl.serializeInternally(SOAPEnvelopeImpl.java:274)
    at org.apache.axiom.soap.impl.llom.SOAPEnvelopeImpl.internalSerialize(SOAPEnvelopeImpl.java:237)
    at org.apache.axiom.om.impl.llom.OMSerializableImpl.serializeAndConsume(OMSerializableImpl.java:219)
    at org.apache.axis2.transport.http.SOAPMessageFormatter.writeTo(SOAPMessageFormatter.java:75)
    at org.apache.axis2.transport.http.AxisRequestEntity.writeRequest(AxisRequestEntity.java:84)
    at org.apache.commons.httpclient.methods.EntityEnclosingMethod.writeRequestBody(EntityEnclosingMethod.java:499)
    at org.apache.commons.httpclient.HttpMethodBase.writeRequest(HttpMethodBase.java:2114)
    at org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:1096)
    at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:398)
    at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
    at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
    at org.apache.axis2.transport.http.AbstractHTTPSender.executeMethod(AbstractHTTPSender.java:622)
    at org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:193)
    at org.apache.axis2.transport.http.HTTPSender.send(HTTPSender.java:75)
    at org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java:406)
    at org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:233)
    at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:443)
    at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:484)
    at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:263)
    at org.apache.axis2.client.OperationClient.execute(OperationClient.java:165)
    at org.apache.axis2.jaxws.core.controller.impl.AxisInvocationController.execute(AxisInvocationController.java:578)
    at org.apache.axis2.jaxws.core.controller.impl.AxisInvocationController.doInvoke(AxisInvocationController.java:127)
    at org.apache.axis2.jaxws.core.controller.impl.InvocationControllerImpl.invoke(InvocationControllerImpl.java:93)
    at org.apache.axis2.jaxws.client.proxy.JAXWSProxyHandler.invokeSEIMethod(JAXWSProxyHandler.java:373)
    … 48 more

    Unknown Soap-Exception was thrown.


    #Integration-Server-and-ESB
    #Adapters-and-E-Standards
    #webMethods


  • 2.  RE: Connection to SharePoint failed (SI #5295729)

    Posted Wed August 23, 2017 09:07 AM

    Hi Marko,

    sounds like a Classloading issue.
    Either on IS/Adapter side or on Sharepoint side.

    Regards,
    Holger


    #Integration-Server-and-ESB
    #Adapters-and-E-Standards
    #webMethods