Home Page › Forums › BizTalk 2004 – BizTalk 2010 › Functoids: String Concatenate Functoid
- This topic has 5 replies, 1 voice, and was last updated 8 years, 4 months ago by
community-content.
-
AuthorPosts
-
-
June 15, 2009 at 5:48 AM #22657
Hi !,
I am new to BTS 2006 R2
When i use String Concatenate Functoid, irrespective of Map and Functoid output is coming same as input.(my input ans output schemas are different). I am using File adapter and PassThruReceive and Transmit pipelines.
can any one please help me to resolve this,
Thanks in advance.
regards,
Revanth
-
June 15, 2009 at 6:10 AM #22659
What are you concatenating. post the sample input and output
-
June 15, 2009 at 6:33 AM #22660
Thx for ur rply.
i am using folling schema as input
<?xml version=”1.0″ encoding=”utf-16″?>
<xs:schema xmlns:b=”http://schemas.microsoft.com/BizTalk/2003” xmlns=”http://Maps_POC2.Schema_POC2in” targetNamespace=”http://Maps_POC2.Schema_POC2in” xmlns:xs=”http://www.w3.org/2001/XMLSchema“>
<xs:element name=”College”>
<xs:complexType>
<xs:sequence>
<xs:element name=”Branches”>
<xs:complexType>
<xs:sequence>
<xs:element name=”ECE” type=”xs:string” />
<xs:element name=”EEE” type=”xs:string” />
<xs:element name=”CSE” type=”xs:string” />
<xs:element name=”IT” type=”xs:string” />
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>and following schema as output.
<?xml version=”1.0″ encoding=”utf-16″?>
<xs:schema xmlns:b=”http://schemas.microsoft.com/BizTalk/2003” xmlns=”http://Maps_POC2.Schema_POC2out” targetNamespace=”http://Maps_POC2.Schema_POC2out” xmlns:xs=”http://www.w3.org/2001/XMLSchema“>
<xs:element name=”University”>
<xs:complexType>
<xs:sequence>
<xs:element name=”Colge”>
<xs:complexType>
<xs:sequence>
<xs:element name=”Goup1″ type=”xs:string” />
<xs:element name=”Group2″ type=”xs:string” />
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>i am concatenating ECE and EEE from source schema to Group1 in destination schema by using String Concatenate Functoid
and mapping CSE and IT from source schema to Group2 in destination schema by using another string concatenate Functoid.
when i give the input xml as following , out put is coming as same as the input.
<College>
<Branches>
<ECE>ECE_0</ECE>
<EEE>EEE_0</EEE>
<CSE>CSE_0</CSE>
<IT>IT_0</IT>
</Branches>
</College>pls help me.
thanks in advance,
regards,
Revanth
-
June 15, 2009 at 8:05 AM #22661
That is strange.
How are you testing your map.
Are you right clicking on it, then select Test Map?
-
June 15, 2009 at 10:08 PM #22664
Thx Wonder. Exactly……..i am right clicking on the map and selecting Testmap. Test map is coming correctly as below
<ns0:University xmlns:ns0=”http://Maps_POC2.Schema_POC2out“>
<Colge><Goup1>ECE_0EEE_0</Goup1><Group2>CSE_0IT_0</Group2></Colge></ns0:University>irrespective of giving outbound maps at send port , output is coming same as input.Thanks in advance.Regtads,Revanth-
June 17, 2009 at 3:47 AM #22673
Redeploy the Application from Visual Studio and restart the Biztalk service.
-
-
-
-
-
-
AuthorPosts
- The forum ‘BizTalk 2004 – BizTalk 2010’ is closed to new topics and replies.