Skip to Content
0
Former Member
Nov 23, 2012 at 09:23 AM

problem in creating MBO of SOAP webservice in SUP 2.1.3 - Premature end of file

159 Views

I was trying to create MBO from on soap webservices, in the creation phase when I click Preview/Test preview the results of the WSDL method, providing valid values for the WSDL method parameters, it fails giving this error:

Premature end of file


The error trace found in (<sybase_WorkSpace_directory>/.metadata/.log)

! !ENTRY com.sybase.uep.common 4 0 2012-10-24 15:01:48.084

!MESSAGE Execution error

!STACK 0

  1. java.lang.RuntimeException: Failed to execute EISOperation.

at com.sybase.uep.tooling.eis.BaseEISOperation.execute(BaseEISOperation.java:286)

at com.sybase.uep.tooling.eis.BaseEISOperation.execute(BaseEISOperation.java:168)

at com.sybase.uep.tooling.eis.WsEISOperationImpl.execute(WsEISOperationImpl.java:840)

at com.sybase.uep.tooling.ui.dialogs.preview.ExecuteSection.getRecordSet(ExecuteSection.java:332)

at com.sybase.uep.tooling.ui.dialogs.preview.ExecuteSection.access$400(ExecuteSection.java:83)

at com.sybase.uep.tooling.ui.dialogs.preview.ExecuteSection$4.run(ExecuteSection.java:213)

at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)

Caused by: java.lang.RuntimeException: Failed to create SOAP envelope for WS result checker

at com.sybase.vader.da.ws.soap.SoapInteractionOperation.invokeOnError(SoapInteractionOperation.java:1083)

at com.sybase.vader.da.ws.soap.SoapInteractionOperation.execute(SoapInteractionOperation.java:598)

at com.sybase.vader.statistics.MonitoringOperation.execute(MonitoringOperation.java:72)

at com.sybase.vader.service.interaction.PipelineCompositeInteractionOperation.execute(PipelineCompositeInteractionOperation.java:55)

at com.sybase.uep.tooling.eis.BaseEISOperation.execute(BaseEISOperation.java:268)

... 6 more

Caused by: com.sun.xml.internal.messaging.saaj.SOAPExceptionImpl: Unable to create envelope from given source:

at com.sun.xml.internal.messaging.saaj.soap.EnvelopeFactory.createEnvelope(EnvelopeFactory.java:114)

at com.sun.xml.internal.messaging.saaj.soap.ver1_1.SOAPPart1_1Impl.createEnvelopeFromSource(SOAPPart1_1Impl.java:70)

at com.sun.xml.internal.messaging.saaj.soap.SOAPPartImpl.getEnvelope(SOAPPartImpl.java:122)

at com.sybase.vader.da.ws.soap.SoapInteractionOperation.getSaajSOAPEnvelope(SoapInteractionOperation.java:1094)

at com.sybase.vader.da.ws.soap.SoapInteractionOperation.invokeOnError(SoapInteractionOperation.java:1079)

... 10 more

Caused by: javax.xml.transform.TransformerException: org.xml.sax.SAXParseException: Premature end of file.

at org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:501)

at com.sun.xml.internal.messaging.saaj.util.transform.EfficientStreamingTransformer.transform(EfficientStreamingTransformer.java:393)

at com.sun.xml.internal.messaging.saaj.soap.EnvelopeFactory.createEnvelope(EnvelopeFactory.java:102)

... 14 more

Caused by: org.xml.sax.SAXParseException: Premature end of file.

at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1231)

at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:522)

at org.xml.sax.helpers.XMLFilterImpl.parse(XMLFilterImpl.java:333)

at org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:484)

... 16 more

It is not a problem on malformed wsdl or xml files, because I tested the same service using soapUI, and it didn't give any error. also did validation on the request, response, schemas, wsdl.

Has anyone faced this problem before?