My Oracle Support Banner

XMLPost Fails To Update Parent Association With -7 Error (Doc ID 1511584.1)

Last updated on SEPTEMBER 23, 2019

Applies to:

Oracle WebCenter Sites - Version 7.5.0 and later
Information in this document applies to any platform.

Symptoms

Via XMLPost, associating a new parent to a revision tracked flex asset results in -7 No description provided error.

XMLPost ini configuration:

xmlpost.xmlfilenamefilter: .xml

xmlpost.url: http://stg.example.com:30681/cs/ContentServer
xmlpost.numargs: 7
xmlpost.argname1: pagename
xmlpost.argvalue1: OpenMarket/Gator/XMLPost/modifyData
xmlpost.argname2: inifile
xmlpost.argvalue2: futuretense.ini
xmlpost.argname3: authusername
xmlpost.argvalue3: username
xmlpost.argname4: authpassword
xmlpost.argvalue4: <password>
xmlpost.argname5: xmlpostdebug
xmlpost.argvalue5: on
xmlpost.argname6: publication
xmlpost.argvalue6: MTEP_USG       
xmlpost.argname7: _ASSET_
xmlpost.argvalue7: MTEP_Content_P

xmlpost.success: Success
xmlpost.failure: Error
xmlpost.logfile: /path/to/xmlpost/logfile/xmlposterror.txt
xmlpost.deletefile: n
post_ASSET_: y
post_TYPE_: y
post_ITEMNAME_: y
post_GROUP_Department: y
post_GROUP_Category: y
post_GROUP_BrandFacet: y
post_GROUP_TypeFacet: y
post_GROUP_SizeFacet: y
postShelf_name: y
postmtep_shelf_description:y
postmtep_shelf_title: y
postBrandSet: y

XMLPost xml data:

<?xml version= "1.0" encoding="UTF-8" ?>
<document>
<_ASSET_>MTEP_Content_P</_ASSET_>
<_TYPE_>Shelf</_TYPE_>
<publication>publication</publication>
<_GROUP_Category><![CDATA[Recipes]]></_GROUP_Category>
<_ITEMNAME_><![CDATA[Treats]]></_ITEMNAME_>
</document>

in XMLPost log:

### xmlpost debug is ON ### Asset save error:  Recipes: -7, number-7 (No description provided)

in futuretense.txt log:

[2012-11-27 10:49:15.558][CS.XCELERATE.ASSET][ERROR] Error in ComplexAsset: number-7 (No description provided)
com.openmarket.basic.interfaces.AssetException: number-7 (No description provided)
    at com.openmarket.assetframework.complexasset.ComplexAsset.superSaveAll(y:3026)
    at com.openmarket.assetframework.complexasset.AssetManager.saveAll(y:2530)
    at com.openmarket.assetframework.common.BulkTransactionalAssetManager.save(y:1683)
    at com.openmarket.assetframework.complexasset.ComplexAsset.Save(y:1116)
    at com.openmarket.xcelerate.asset.Asset.Save(y:3551)
    at com.openmarket.xcelerate.commands.AssetDispatcher.Save(y:708)
    ...<snipped log messages>...
[2012-11-27 10:49:15.571][org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/cs].[jsp]][ERROR] Servlet.service() for servlet jsp threw exception
COM.FutureTense.XML.Post.XMLPost$XMLPostException: Post response indicates neither success nor failure.  Consult futuretense.txt & xmlpost log file for details.
    at COM.FutureTense.XML.Post.XMLPost.B(y:156)
    at COM.FutureTense.XML.Post.XMLPost.A(y:1778)
    at COM.FutureTense.XML.Post.XMLPost.C(y:126)
    at COM.FutureTense.XML.Post.XMLPost.B(y:2513)
    at COM.FutureTense.XML.Post.XMLPost.doIt(y:2614)
    at org.apache.jsp.jsp.cs_005fdeployed.MTEP.Preview.XMLPostAssociation_jsp._jspService(XMLPostAssociation_jsp.java:180)
    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)    
    ...<snipped log messages>...

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.