constructing messages from web messages types

Home Page Forums BizTalk 2004 – BizTalk 2010 constructing messages from web messages types

Viewing 1 reply thread
  • Author
    Posts
    • #18075

      Hello,

       sorry for asking this question but I still haven't found a working solution for this.

      If I consume a web service and I'm trying to send a (web) message I have trouble to construct this one. The message has a simple type as well as a complex type which is propably the problem for me to understand.

      I have read the article on http://objectsharp.com/cs/blogs/matt/archive/2004/11/09/1009.aspx#2937 but still I'm only able to construct a message with simple types. How would I constuct a message in form of:

       <message>

      <a>simpleType</a>

      <b>

           <bc>someElementComplexType</bc>

           <bd>someElementComplexType</bd>

      </b>

      </message>

      construct in an assign shape? I tried by user code (point 3 in the above mentioned article) but it didn't work out…

      Thanks a lot in advance,

      Hansi

       

    • #18087

      1)Create a schema.

      2)Create a map to map source schema to destination schema.

      3)Use
      the transform shape and give name of the map..I think transform shape
      has to be in construct message shape…so u will have to create that
      first.

      I assume you are trying to create an xml message to consume a web service. What is the initial source of your message, I would suggest use a file recieve port and use that to populate the web service request ..that will atleast set end to end point connection after that may be you can try to use code to create and populate the message.

      Also what error are you getting or which is the xact place where u are getting stuck? 

Viewing 1 reply thread
  • The forum ‘BizTalk 2004 – BizTalk 2010’ is closed to new topics and replies.