Not able to connect to Sharepoint from Atlassian Universal Wiki Converter
Asked by Qualcomm Support:

I am trying to connect to our Sharepoint using UWC to migrate data from Sharepoint to Confluence but I am unable to establish the connection to Sharepoint.

I am not exactly sure of the error but from the error log I could figure out that it is unable to create a Soap Service:

```
2013-05-28 10:52:51,126 INFO  [Thread-5] - Exporting Sharepoint...2013-05-28 10:52:51,129 INFO  [Thread-5] - Cleaning and creating output  directory:C:\Users\satyamr\Desktop\exported_sharepoint_pages2013-05-28 10:52:51,734 ERROR [Thread-5] - Problem connecting with Sharepoint Soap Service.2013-05-28 10:52:52,259 ERROR [Thread-5] - Error message: Unrecognized errorAxisFault faultCode: {http://www.w3.org/2003/05/soap-envelope}Server.userException faultSubcode: faultString: org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 1; Premature end of file. faultActor: faultNode: faultDetail:    {http://xml.apache.org/axis/}stackTrace:org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 1; Premature end of file.    at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:198)    at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(ErrorHandlerWrapper.java:177)    at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:441)    at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:368)    at com.sun.org.apache.xerces.internal.impl.XMLScanner.reportFatalError(XMLScanner.java:1388)    at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(XMLDocumentScannerImpl.java:1018)    at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:607)    at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:116)    at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:489)    at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:835)    at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:764)    at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:123)    at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1210)    at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:568)    at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.parse(SAXParserImpl.java:302)    at org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227)    at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)    at org.apache.axis.Message.getSOAPEnvelope(Message.java:424)    at org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:62)    at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206)    at org.apache.axis.client.Call.invokeEngine(Call.java:2765)    at org.apache.axis.client.Call.invoke(Call.java:2748)    at org.apache.axis.client.Call.invoke(Call.java:2424)    at org.apache.axis.client.Call.invoke(Call.java:2347)    at org.apache.axis.client.Call.invoke(Call.java:1804)    at com.microsoft.sharepoint.webservices.lists.ListsSoap12Stub.getListCollection(ListsSoap12Stub.java:1380)    at com.atlassian.uwc.exporters.SharepointExporter.getWikis(SharepointExporter.java:307)    at com.atlassian.uwc.exporters.SharepointExporter.getSharepointPages(SharepointExporter.java:284)    at com.atlassian.uwc.exporters.SharepointExporter.exportSharepoint(SharepointExporter.java:151)    at com.atlassian.uwc.exporters.SharepointExporter.export(SharepointExporter.java:112)    at com.atlassian.uwc.ui.listeners.ExportWikiListener.exportWiki(ExportWikiListener.java:205)    at com.atlassian.uwc.ui.listeners.ExportWikiListener$Worker.construct(ExportWikiListener.java:325)    at com.atlassian.uwc.ui.SwingWorker$2.run(SwingWorker.java:110)    at java.lang.Thread.run(Thread.java:722)    {http://xml.apache.org/axis/}hostname:SATYAM org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 1; Premature end of file.    at org.apache.axis.AxisFault.makeFault(AxisFault.java:101)    at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:701)    at org.apache.axis.Message.getSOAPEnvelope(Message.java:424)    at     org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:62)    at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206)    at org.apache.axis.client.Call.invokeEngine(Call.java:2765)    at org.apache.axis.client.Call.invoke(Call.java:2748)    at org.apache.axis.client.Call.invoke(Call.java:2424)    at org.apache.axis.client.Call.invoke(Call.java:2347)    at org.apache.axis.client.Call.invoke(Call.java:1804)    at com.microsoft.sharepoint.webservices.lists.ListsSoap12Stub.getListCollection(ListsSoap12Stub.java:1380)    at com.atlassian.uwc.exporters.SharepointExporter.getWikis(SharepointExporter.java:307)    at com.atlassian.uwc.exporters.SharepointExporter.getSharepointPages(SharepointExporter.java:284)    at com.atlassian.uwc.exporters.SharepointExporter.exportSharepoint(SharepointExporter.java:151)    at com.atlassian.uwc.exporters.SharepointExporter.export(SharepointExporter.java:112)    at com.atlassian.uwc.ui.listeners.ExportWikiListener.exportWiki(ExportWikiListener.java:205)    at com.atlassian.uwc.ui.listeners.ExportWikiListener$Worker.construct(ExportWikiListener.java:325)    at com.atlassian.uwc.ui.SwingWorker$2.run(SwingWorker.java:110)    at java.lang.Thread.run(Thread.java:722)  Caused by: org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 1; Premature end of file.    at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:198)    at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(ErrorHandlerWrapper.java:177)    at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:441)    at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:368)    at com.sun.org.apache.xerces.internal.impl.XMLScanner.reportFatalError(XMLScanner.java:1388)    at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(XMLDocumentScannerImpl.java:1018)    at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:607)    at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:116)    at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:489)    at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:835)    at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:764)    at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:123)    at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1210)    at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:568)    at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.parse(SAXParserImpl.java:302)    at org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227)    at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)    ... 17 more 2013-05-28 10:52:52,364 ERROR [Thread-5] - java.lang.NullPointerException    at com.atlassian.uwc.exporters.SharepointExporter.getSharepointPages(SharepointExporter.java:286)    at com.atlassian.uwc.exporters.SharepointExporter.exportSharepoint(SharepointExporter.java:151)    at com.atlassian.uwc.exporters.SharepointExporter.export(SharepointExporter.java:112)    at com.atlassian.uwc.ui.listeners.ExportWikiListener.exportWiki(ExportWikiListener.java:205)    at com.atlassian.uwc.ui.listeners.ExportWikiListener$Worker.construct(ExportWikiListener.java:325)    at com.atlassian.uwc.ui.SwingWorker$2.run(SwingWorker.java:110)    at java.lang.Thread.run(Thread.java:722)
```

Could someone please shed some light on this issue as I am completely stuck.


Answers:
author: MilanCiti
body: Hello All

Is it possible to know, how you resloved the issue 'Problem connecting with Sharepoint Soap Service' ? I've got very same error. Thank you.

Regards,

Milan


author: hsuhailah
body: Hello,

The current version of UWC is updated by AppFusion. Thus, for a better assistance on this matter, you may directly contact AppFusion support at:

Phone: +1-888-516-2890  
info@appfusions.com  
<https://www.appfusions.com/display/Dashboard/Get+in+Touch>


Tags: sharepoint

universal-wiki-converter