SAP Knowledge Base Article - Preview

1833869 - Exception while creating MBO using RESTful Web Service

Symptom

Customer using Sybase Unwired Platform 2.1.3 and in the SDK they are attempting to create an MBO from a REST Webservice.  When they try this they see the error below, even though HTTP tracing shows there is no byte order mark or XML declaration in the
response returned by the web service and the XML is returned correctly:

javax.xml.transform.TransformerException: Content is not allowed in prolog.

at org.apache.xalan.transformer.TransformerImpl.fatalError
(TransformerImpl.java:780) at org.apache.xalan.transformer.TransformerImpl.transform
(TransformerImpl.java:756) at org.apache.xalan.transformer.TransformerImpl.transform
(TransformerImpl.java:1284) at org.apache.xalan.transformer.TransformerImpl.transform
(TransformerImpl.java:1262) at
com.sybase.vader.service.interaction.tra nsform.R1Grid2ResultSetTransform.
transform(R1Grid2ResultSetTransform.java:109) at
com.sybase.vader.service.interaction.transf orm.X2ResultSetTransform.execu
te(X2ResultSetTransform.java:42) at
com.sybase.vader.service.interaction.PipelineCompositeInter  actionOperatio
n.execute(PipelineCompositeInteractionOperation.java:55) at com.sybase.uep.tooling.eis.BaseEISOperation.execute
(BaseEISOperation.java:268) at com.sybase.uep.tooling.eis.BaseEISOperation.execute
(BaseEISOperation.java:168) at com.sybase.uep.tooling.eis.RestEISOperationImpl.execute
(RestEISOperationImpl.java:253) at
com.sybase.uep.tooling.ui.ModelsUti l.getEEISOperationMetaData
(ModelsUtil.java:294) at
com.sybase.uep.tooling.ui.mappertree.common.AttributesMapperDataBuilder.c onstructTargetRoot(AttributesMapperDataBuilder.java:120)
at
com.sybase.uep.tooling.ui.mappertree.common.AbstractMapperDataBu il der.bui
ld(AbstractMapperDataBuilder.java:37) at
com.sybase.uep.tooling.ui.wizards.common.AttributesBottomUpWizard.createA
tt ributes(AttributesBottomUpWizard.java:826) at
com.sybase.uep.tooling.ui.wizards.common.AttributesBottomUpWizard$3.run
(Attribu  tesBottomUpWizard.java:664) at
org.eclipse.jface.operation.ModalContext$ModalContextThread.run
(ModalContext.java:121)


Read more...

Environment

  • Sybase Unwired Platform (SUP) 2.1.3 PL 01 SDK
  • RESTful Webservice
  • Windows
  • MBO

Product

Sybase Unwired Platform 1.5.2 ; Sybase Unwired Platform 1.5.5 ; Sybase Unwired Platform 2.0 ; Sybase Unwired Platform 2.1 ; Sybase Unwired Platform 2.2

Keywords

  • REST
  • create
  • error
, KBA , MOB-SUP-MBO , Sybase MBO Development , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP ONE Support launchpad (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.