Mapping message to multipart

Home Page Forums BizTalk 2004 – BizTalk 2010 Mapping message to multipart

Viewing 1 reply thread
  • Author
    Posts
    • #24760

      Hi,

      I’m facing an issue with next problem:

      1. Generated with “consume wcf service wziard” schemas.

      2. Moved schemas to project schemas

      3. chnged names of schemas according to my convention, updated references for complex structured schemas.

      4. Created multy-part types for multy-part messages.

      5. defined multypart messages in Orchstration project – in my orchestration.

      6. Created a map in BTS Mapper – Getting a message and mapping it to my multy-part message

      7. Trying to construct message for WCF – it should be mapped as I defined in mapper(project maps)

      8. Picking incoming message – OK

      9. Trying to pick multy-part defined message as defined in map – impossible, it’s like my map can not recognize a multy-part message. Did anyone face this problem?

      I should add, that multy-part message types defined as public, and the orchestration which holds those types – is in the same project where I want to use my mapper.

      Thanx for an answer.

       

       

    • #24769

      Hi Yonathan,

       

         How did you define your multi-part message in your orchestration in step 5? If each part’s type is defined with an actual schema, not a .NET type, then you will be able to select that message in a Transform shape in your orchestration.

         In any case, you will not be able to pick that multi-part message as a source or destination schema in a BizTalk map.

       

         Hope this information helps,

       

         Daniel.

       

      • #24773

        Hi Daniel,

        After schemas and binding files generated – also creted an empty orchestration. That orchestration has definitions for multpart messages,  which are look like “SomeLongName_Input” an “SomeLongName_Output”. Their parts defined of type one of schemas which were generated.

        For not keeping dosens of objects – I created one empty orchestration for definition of multipart types and port types for all my WCF services. And every such “SomeLongName_Input” and “SomeLongName_Output” defined according to WCF request schema. (Actually what WCF expects to “see on request”).

        Those multipart types have in my case only one part, and except mapping which I hope to solve soon – all other stuff – works.

        Maybe it has connection to type in schema definitions, cause I have three different projects – Schemas, Maps and Orchestrations, which are referenced to each other.

         

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