掲示板

XMLStreamException

11年前 に Katharina Grabner によって更新されました。

XMLStreamException

New Member 投稿: 1 参加年月日: 12/06/26 最新の投稿
I'm trying to set up a projekt with one Liferay portlet and two JAX-WS Web Services. The data transfer between the portlet and the service is over a SSL connection. I'm trying to get a Proxy Ticket in the portlet. In the web.xml of the service I already configuret the different CAS filter. Now when I try to call a web service I get a XMLStreamException.

Here is the Stack Trace:

13:27:44,468 ERROR [jsp:154] javax.xml.stream.XMLStreamException: ParseError at [row,col]:[1,1]
[indent]Message: Premature end of file.
at com.sun.org.apache.xerces.internal.impl.XMLStreamReaderImpl.next(XMLStreamReaderImpl.java:593)
at com.sun.xml.internal.ws.util.xml.XMLStreamReaderFilter.next(XMLStreamReaderFilter.java:81)
at com.sun.xml.internal.ws.streaming.XMLStreamReaderUtil.next(XMLStreamReaderUtil.java:65)
at com.sun.xml.internal.ws.streaming.XMLStreamReaderUtil.nextContent(XMLStreamReaderUtil.java:99)
at com.sun.xml.internal.ws.streaming.XMLStreamReaderUtil.nextElementContent(XMLStreamReaderUtil.java:89)
at com.sun.xml.internal.ws.wsdl.parser.RuntimeWSDLParser.hasWSDLDefinitions(RuntimeWSDLParser.java:209)
at com.sun.xml.internal.ws.wsdl.parser.RuntimeWSDLParser.parse(RuntimeWSDLParser.java:119)
at com.sun.xml.internal.ws.client.WSServiceDelegate.parseWSDL(WSServiceDelegate.java:254)
at com.sun.xml.internal.ws.client.WSServiceDelegate.<init>(WSServiceDelegate.java:217)
at com.sun.xml.internal.ws.client.WSServiceDelegate.<init>(WSServiceDelegate.java:165)
at com.sun.xml.internal.ws.spi.ProviderImpl.createServiceDelegate(ProviderImpl.java:93)
at javax.xml.ws.Service.<init>(Service.java:56)
at javax.xml.ws.Service.create(Service.java:680)
at grabner.portlet.service.WebServiceInvoker.prepareServiceInvoker(WebServiceInvoker.java:96)
at grabner.portlet.service.WebServiceInvoker.getLDAPUsers(WebServiceInvoker.java:108)
at grabner.portlet.BackingBean.sortAndMergeLists(BackingBean.java:466)
at grabner.portlet.BackingBean.getStartup(BackingBean.java:366)
at javax.el.BeanELResolver.getValue(BeanELResolver.java:62)
at com.sun.faces.el.DemuxCompositeELResolver._getValue(DemuxCompositeELResolver.java:173)
at com.sun.faces.el.DemuxCompositeELResolver.getValue(DemuxCompositeELResolver.java:200)[/indent]

Please, has anyone an idea, where the error is? If there are any question, I try to answer them!
thumbnail
11年前 に David H Nebinger によって更新されました。

RE: XMLStreamException

Liferay Legend 投稿: 14918 参加年月日: 06/09/02 最新の投稿
Premature end of file to me indicates that the remote closed the connection.
thumbnail
11年前 に Hitoshi Ozawa によって更新されました。

RE: XMLStreamException

Liferay Legend 投稿: 7942 参加年月日: 10/03/24 最新の投稿
javax.xml.stream.XMLStreamException: ParseError at [row,col]:[1,1]


This usually happens when SOAP message is in invalid format.