Symptom
- During migration from SAP PO to CPI using Migration Tool, below error occurs while importing interfaces.
We are unable to fetch the templates associated to the selected artifact. Please try after some time. If the issue persists, contact SAP - Connectivity from PO to CPI is successful, all other PO service calls in the migration tool succeed (ICO list, ICO details, communication channels) but ESR SWCV name lookup fails.
Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental.
From detailed Migration error logs observed the below stack trace:
DES: Interface with name = <Interface name> namespace = <namespace> Software Component Version ID = <SWCV GUID> were set on Receiver Interface Rule.
..
DES: Retrieve Context Object Details from ESR Destination Destination{destinationMap={Type=HTTP, User=<User>, Description=<Description>, Authentication=BasicAuthentication, CloudConnectorLocationId=<CloudConnectorLocationId>, systemname=<systemname>, ProxyType=OnPremise, defaultsystem=false, systemVersion=7.50, URL=http://<host>:<port>, Name=<Destination name>, Password=***}}
DES: Processing of Receiver Interfaces
..
DES: Retrieve Software Component Version with suffix = /rep/query/ext?service=QUERY&method=GENERIC&release=7.0 API: fetchCsrfPostRetrieveHeaders 200 OK ...
DES: Unable to retrieve Software Component Version Name. Exception = null ERROR ...
DES: Retrieval of the Software Component Version Name FAILED. Exception : com.sap.it.spc.migration.model.MigrationException: Unable to parse response ERROR ...
DES: Retrieval of the ICO Detail data failed. Unable to parse response ERROR ..
"INT: Exception in identifying patterns: Creation of ICOModel failure.Exception while building the ICO Model Unable to parse responsecom.sap.it.spc.migration.model.MigrationException: Unable to parse response: com.sap.it.design.icomodel.retriever.common.IcoModelBuilder.populateIcoDetail750Plus(IcoModelBuilder.java..
at com.sap.it.design.icomodel.retriever.common.IcoModelBuilder.buildIcoModel(IcoModelBuilder.java...
at com.sap.it.design.icomodel.retriever.icospecific.IcoModelBuilder750.getSystemSpecificICOModel(IcoModelBuilder750.java:..
at com.sap.it.design.icomodel.retriever.icospecific.IcoModelRetrieverIcoSpecific.buildICOModel(IcoModelRetrieverIcoSpecific.java..
at com.sap.it.design.icomodel.retriever.common.IcoModelRetriever.buildICOModel(IcoModelRetriever.java..
at com.sap.it.design.icomodel.service.IcoModelServiceImpl.getIcoModel(IcoModelServiceImpl.java..
at com.sap.it.design.ico.adapter.DefaultIcoAdapter.getICOModel(DefaultIcoAdapter.java..
at com.sap.it.spc.migration.patternintegrationframework.pattern.MigrationPatternModel.findAll(MigrationPatternModel.java:125):
at com.sap.it.spc.migration.patternintegrationframework.pattern.MigrationPatternController.index(MigrationPatternController.java:57)
...
Caused by: jakarta.xml.bind.UnmarshalException: - with linked exception::[com.sun.istack.SAXParseException2; lineNumber: 1; columnNumber: 1; unexpected element (uri:"""", local:""script""). Expected elements are <{}queryResult>]:
at org.glassfish.jaxb.runtime.v2.runtime.unmarshaller.UnmarshallerImpl.handleStreamException(UnmarshallerImpl.java:439): at org.glassfish.jaxb.runtime.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(UnmarshallerImpl.java:373):
at org.glassfish.jaxb.runtime.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:342):
at com.sap.it.design.util.jaxb.JaxbUtil.unmarshalResponse(JaxbUtil.java:59):
at com.sap.it.design.pi.util.httphelper.DefaultHttpHelper.parseSWCVResponseForName(DefaultHttpHelper.java:480):
...
Caused by: com.sun.istack.SAXParseException2; lineNumber: 1; columnNumber: 1; unexpected element (uri:"""", local:""script""). Expected elements are <{}queryResult>:
at org.glassfish.jaxb.runtime.v2.runtime.unmarshaller.UnmarshallingContext.handleEvent(UnmarshallingContext.java...
at org.glassfish.jaxb.runtime.v2.runtime.unmarshaller.Loader.reportError(Loader.java..
at org.glassfish.jaxb.runtime.v2.runtime.unmarshaller.Loader.reportError(Loader.java..
at org.glassfish.jaxb.runtime.v2.runtime.unmarshaller.Loader.reportUnexpectedChildElement(Loader.java......
INT: We are unable to fetch the templates associated to the selected artifact. Please try after some time. If the issue persists, contact SAP.
Read more...
Environment
- SAP Cloud Integration
- SAP Integration Suite
- Process Integration
- Process Orchestration
- SAP NetWeaver 7.5
Keywords
PO to CPI migration, ESR query, SWCV, UnmarshalException, unexpected element, queryResult, Unable to parse response, We are unable to fetch the templates associated to the selected artifact, CPI, PO, migration, metadata , KBA , BC-XI-IBC , Integration Builder - Configuration , LOD-HCI-PI-WT-IFL , Integration Designer , BC-XI-CON-AFW , J2EE Adapter Framework , Problem
About this page
This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.
SAP Knowledge Base Article - Preview