Skip to main content

Posts

Showing posts with the label XSLT

Orchestration :The xpath expression selected a node which is not valid for property or distinguished field retrieval

Error : Orchestration :The xpath expression selected a node which is not valid for property or distinguished field retrieval Solution: I got above error while setting message attribute value in orchestration using Xpath: I was assigning value to response message attribute after the executing Map. the Map was not creating any node for that attribute and when I was trying to set values in orchestration it was throwing error. 1. Check if the transform is producing the node during the runtime. Please also test the field value by writing the map's output to event log 2. Make sure your Xpath is valid. You may use xpath tester tool to test xpath configured is correct. 

BizTalk Map incoming Message to Single Output field - XSLT template

BizTalk Transformation : Map Incoming XML Message  to Single output field as string To map incoming message to single out field, we will use xstl template in map. 1. Drag and drop Custom Scripting Functoid on your Map 2.Select  Inline XSLT Call Template. 3. Copy and Paste the following xslt code in "Inline Script" Section < xsl:template name = "called-template" > < xsl:param name = "param1" /> < xsl:element name = "DestinationField" namespace = "http://myschema.namespace.com/" > < xsl:text disable-output-escaping = "yes" >&lt;![CDATA[</xsl:text> < xsl:call-template name = "identity" /> < xsl:text disable-output-escaping = "yes" >]]&gt;</xsl:text> </ xsl:element > </ xsl:template > <xsl:template name="identity" match="@*|node()"> <xsl:copy> <xsl:apply-templ...