Liferay SOAP 服务特殊字符
Liferay SOAP Services special character
我正在为我的文档库使用 Liferay SOAP 服务。
当我尝试上传名称包含 SOAP 特殊字符(如“:”)的文件时,我收到类似
的错误
AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
faultSubcode:
faultString: java.rmi.RemoteException: Screenshot from 2015-02-10 14:43:33.png
faultActor:
faultNode:
faultDetail:
{http://xml.apache.org/axis/}hostname:rcop.agem.com.tr
java.rmi.RemoteException: Screenshot from 2015-02-10 14:43:33.png
at org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:222)
at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:129)
at org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java:1087)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(AbstractSAXParser.java:609)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanEndElement(XMLDocumentFragmentScannerImpl.java:1789)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2965)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:606)
at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:117)
我该如何解决这个问题?
如果问题是关于 SOAP 的列“:”字符...使用 SOAP 客户端它应该为您转义字符串。
但是,您确定问题不是某些文件系统中不允许使用列字符吗?
我正在为我的文档库使用 Liferay SOAP 服务。 当我尝试上传名称包含 SOAP 特殊字符(如“:”)的文件时,我收到类似
的错误AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
faultSubcode:
faultString: java.rmi.RemoteException: Screenshot from 2015-02-10 14:43:33.png
faultActor:
faultNode:
faultDetail:
{http://xml.apache.org/axis/}hostname:rcop.agem.com.tr
java.rmi.RemoteException: Screenshot from 2015-02-10 14:43:33.png
at org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:222)
at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:129)
at org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java:1087)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(AbstractSAXParser.java:609)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanEndElement(XMLDocumentFragmentScannerImpl.java:1789)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2965)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:606)
at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:117)
我该如何解决这个问题?
如果问题是关于 SOAP 的列“:”字符...使用 SOAP 客户端它应该为您转义字符串。
但是,您确定问题不是某些文件系统中不允许使用列字符吗?