Hi Ram, thanks for ur reply,
here i am sending multple fields data to <any> element typebecause of source will change every time in source data stucture type is
<root xmlns:apl='http://www.xxxx.in' xmlns:atl='http://www.xxxx.in/atl'>
<product apl:entity='Product' apl:onNew='' apl:match='database.byId(id, Product)'>
<id>id</id>
<name>name</name>
<external-id>externalId</external-id>
<parent-id>string i:parent=database.byId(i, Product)</parent-id>
<accounting-symbol>accountingSymbol</accounting-symbol>
<long-name>alternativeName</long-name>
<description>description</description>
<is-closed>isClosed</is-closed>
<accounting-code-purchase>accountingCodePurchase</accounting-code-purchase>
<accounting-code-sale>accountingCodeSale</accounting-code-sale>
</product>
<apl:reply>
<ImportAcknowledgement>
<atl:repeat select="database.updatedItems">
<product>
<id>{id}</id>
<external-id>{item.externalId}</external-id>
<success>{successful}</success>
<message>{error}</message>
</product>
</atl:repeat>
</ImportAcknowledgement>
</apl:reply>
</root>
in map i used masscopy functoid to map from Source Document root to destination Document root field.
the above total data is sent to destination. destination structre is
RootNode
TemplateId
TemplateName
Document
<Any>
after in logical ports i used to select existing ports and i deployed and in Bts admin i used SOAP adapter for sending the requset to Webservice .
here in this process iam getting the above error.
thanks
chinna
- Edited by
chinna01
Monday, December 23, 2013 11:56 AM