webservice,android访问没问题,ios访问报错、、、webservice服务端是用Java实现的 错误如下: 5
六月12,20152:19:06下午org.apache.cxf.phase.PhaseInterceptorChaindoIntercept信息:Interceptor...
六月 12, 2015 2:19:06 下午 org.apache.cxf.phase.PhaseInterceptorChain doIntercept
信息: Interceptor has thrown exception, unwinding now
org.apache.cxf.binding.soap.SoapFault: Error reading XMLStreamReader.
at org.apache.cxf.binding.soap.interceptor.ReadHeadersInterceptor.handleMessage(ReadHeadersInterceptor.java:183)
at org.apache.cxf.binding.soap.interceptor.ReadHeadersInterceptor.handleMessage(ReadHeadersIntercept
Message: 前言中不允许有内容。
at com.sun.org.apache.xerces.internal.impl.XMLStreamReaderImpl.next(XMLStreamReaderImpl.java:598)
at com.sun.org.apache.xerces.internal.impl.XMLStreamReaderImpl.nextTag(XMLStreamReaderImpl.java:1238)
at org.apache.cxf.binding.soap.interceptor.ReadHeadersInterceptor.handleMessage(ReadHeadersInterceptor.java:83)
... 17 more
六月 12, 2015 4:28:48 下午 org.apache.cxf.interceptor.LoggingInInterceptor logging
信息: Inbound Message
----------------------------
Encoding: UTF-8
Headers: {content-type=[application/x-www-form-urlencoded], Host=[192.168.1.30:8881], Content-Length=[15], User-Agent=[Jakarta Commons-HttpClient/3.0.1], ContentType=[application/x-www-form-urlencoded;charset=UTF-8]}
Messages:
Message:
Payload: usernames=fjfkj
加上这个,是所有的报错,本人对webservice不是非常了解、、、 展开
信息: Interceptor has thrown exception, unwinding now
org.apache.cxf.binding.soap.SoapFault: Error reading XMLStreamReader.
at org.apache.cxf.binding.soap.interceptor.ReadHeadersInterceptor.handleMessage(ReadHeadersInterceptor.java:183)
at org.apache.cxf.binding.soap.interceptor.ReadHeadersInterceptor.handleMessage(ReadHeadersIntercept
Message: 前言中不允许有内容。
at com.sun.org.apache.xerces.internal.impl.XMLStreamReaderImpl.next(XMLStreamReaderImpl.java:598)
at com.sun.org.apache.xerces.internal.impl.XMLStreamReaderImpl.nextTag(XMLStreamReaderImpl.java:1238)
at org.apache.cxf.binding.soap.interceptor.ReadHeadersInterceptor.handleMessage(ReadHeadersInterceptor.java:83)
... 17 more
六月 12, 2015 4:28:48 下午 org.apache.cxf.interceptor.LoggingInInterceptor logging
信息: Inbound Message
----------------------------
Encoding: UTF-8
Headers: {content-type=[application/x-www-form-urlencoded], Host=[192.168.1.30:8881], Content-Length=[15], User-Agent=[Jakarta Commons-HttpClient/3.0.1], ContentType=[application/x-www-form-urlencoded;charset=UTF-8]}
Messages:
Message:
Payload: usernames=fjfkj
加上这个,是所有的报错,本人对webservice不是非常了解、、、 展开
2个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询