问题描述
新建webservice提供者和使用者后写Java代理使用webservice运行代理报错大侠们帮忙解决一下WebServiceEngineFaultfaultCode:{http://schemas.xmlsoap.org/soap/envelope/}Server.generalExceptionfaultSubcode:faultString:org.xml.sax.SAXParseException:在publicId和systemId之间需要空格。faultActor:faultNode:faultDetail:org.xml.sax.SAXParseException:在publicId和systemId之间需要空格。atlotus.domino.axis.InternalFault.makeFault(UnknownSource)atlotus.domino.axis.SOAPPart.getAsSOAPEnvelope(UnknownSource)atlotus.domino.axis.Message.getSOAPEnvelope(UnknownSource)atlotus.domino.axis.client.Call.invokeEngine(UnknownSource)atlotus.domino.axis.client.Call.invoke(UnknownSource)atlotus.domino.axis.client.Call.invoke(UnknownSource)atlotus.domino.axis.client.Call.invoke(UnknownSource)atlotus.domino.axis.client.Call.invoke(UnknownSource)atlotus.domino.websvc.client.Call.invoke(UnknownSource)atDominoSoapBindingStub.hello(DominoSoapBindingStub.java:9)atJavaAgent.NotesMain(UnknownSource)atlotus.domino.AgentBase.runNotes(UnknownSource)atlotus.domino.NotesThread.run(UnknownSource)Causedby:org.xml.sax.SAXParseException:在publicId和systemId之间需要空格。atorg.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(UnknownSource)atorg.apache.xerces.util.ErrorHandlerWrapper.fatalError(UnknownSource)atorg.apache.xerces.impl.XMLErrorReporter.reportError(UnknownSource)atorg.apache.xerces.impl.XMLErrorReporter.reportError(UnknownSource)atorg.apache.xerces.impl.XMLScanner.reportFatalError(UnknownSource)atorg.apache.xerces.impl.XMLScanner.scanExternalID(UnknownSource)atorg.apache.xerces.impl.XMLDocumentScannerImpl.scanDoctypeDecl(UnknownSource)atorg.apache.xerces.impl.XMLDocumentScannerImpl$PrologDispatcher.dispatch(UnknownSource)atorg.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(UnknownSource)atorg.apache.xerces.parsers.XML11Configuration.parse(UnknownSource)atorg.apache.xerces.parsers.XML11Configuration.parse(UnknownSource)atorg.apache.xerces.parsers.XMLParser.parse(UnknownSource)atorg.apache.xerces.parsers.AbstractSAXParser.parse(UnknownSource)atorg.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(UnknownSource)atorg.apache.xerces.jaxp.SAXParserImpl.parse(UnknownSource)atlotus.domino.axis.encoding.DeserializationContextImpl.parse(UnknownSource)...12moreorg.xml.sax.SAXParseException:在publicId和systemId之间需要空格。classlotus.domino.axis.InternalFault
解决方案
解决方案二:
顶一个
解决方案三:
等了半个月都没有回复
解决方案四:
同问,麻烦。。。。。
解决方案五:
wsdl调用的链接写的不正确,http://ip/xxx.nsf/xxx_service?wsdl,这样试试。