locked
Change the node name from TypedPollingResultSet0 to a business entity RRS feed

  • Question

  • Hello All

    When I use the WCF Typed Polling scenario, the node name is shown as "TypedPollingResultSet0". Is there a way to change to one of business entity name(like Customer or Order etc).

    The sample "Receiving Strongly-typed Polling Messages" in http://msdn.microsoft.com/en-us/biztalk/gg491395 says, I have to use the map to achieve this.

    Is it the only solution to achieve it (just wants to avoid another schema and map here).

    Thanks
    Bhava

    Thursday, July 25, 2013 10:15 PM

Answers

  • Sorry, no.  TypedPollingResultSet[x] is the root name the adapter uses for each result set returned.  That's baked in.

    Regardless of how to accomplish it, you will have to create a new schema with the updated name.  If you copy the Adapter Schema, you can just change the name there.

    Your options are:

    1. Map the result to a friendly format.  Using the copy, use the Mapper's shortcut to Map by Structure to get a one-to-one mapping.

    2. In an Orchestration, case the original Message as XmlDocument and change the node's name.  Then use the updated XmlDocument to create the new Message.

    3. Pipeline component, intercept the steam and change the name with a XmlReader/XmlWriter or similar technique.

    Thursday, July 25, 2013 10:24 PM
    Moderator

All replies

  • Sorry, no.  TypedPollingResultSet[x] is the root name the adapter uses for each result set returned.  That's baked in.

    Regardless of how to accomplish it, you will have to create a new schema with the updated name.  If you copy the Adapter Schema, you can just change the name there.

    Your options are:

    1. Map the result to a friendly format.  Using the copy, use the Mapper's shortcut to Map by Structure to get a one-to-one mapping.

    2. In an Orchestration, case the original Message as XmlDocument and change the node's name.  Then use the updated XmlDocument to create the new Message.

    3. Pipeline component, intercept the steam and change the name with a XmlReader/XmlWriter or similar technique.

    Thursday, July 25, 2013 10:24 PM
    Moderator
  • Thank you.
    Wednesday, July 31, 2013 9:42 PM