3

I am writing a BizTalk orchestration which involves a set of messages (which are input/output of some web-services). I want to perform transform on these messages but when adding "Transform" to my orch. it only lists input and output messages of the orchestration as source/destination!

What is the problem?

enter image description here

Dijkgraaf
  • 11,049
  • 17
  • 42
  • 54
Mahdi
  • 1,871
  • 2
  • 24
  • 41
  • 1
    are you try to map a web service response? if yes then what is the type of result – Vikas Bhardwaj Sep 04 '14 at 13:55
  • I am trying to map orchestration input to web-service input. web-service input message contains only primitive data types (I think this is important in the process of defining a map but I have not yet discovered the real problem). – Mahdi Sep 04 '14 at 14:35
  • Use message assignment shape to create the request. With no complex type defined at service, you won't be able to use map – Vikas Bhardwaj Sep 04 '14 at 14:37
  • "Use of unconstructed message in message assignment" is the error message I receive when I try to initialize a message using message assignment – Mahdi Sep 05 '14 at 06:03

3 Answers3

0

The Transform Configuration dialog box will only list messages that match the message type of your BTS mapping.

Typically, you have your mapping which maps between message type A and message type B. Here, you are selecting the destination message type. If your message is not listed here, it means it does not have the same message type as your BTS mapping expects it to be in it's destination schema.

Make sure you select the correct message type for your message in your orchestration or - if you are sure that this matches - double check the destination of your BTS mapping. Either way, there will be a discrepancy between the two.

zurebe-pieter
  • 3,246
  • 21
  • 38
  • But we can ask VS to create a new BTS mapping based on the source/destination message type and that's what I am using. In this case I have to be able to select any message type and the map will be created accordingly. – Mahdi Sep 04 '14 at 14:32
0

Messages of the XmlDocument Type will not appear in the Transform dialog.

Johns-305
  • 10,908
  • 12
  • 21
0

As per comments, the web service request with primitive types should be created in message assignment shape, not the maps

Vikas Bhardwaj
  • 1,455
  • 8
  • 10
  • But message assignment cannot "CREATE" a new message. It can only assign values to an existing message. – Mahdi Sep 05 '14 at 06:02
  • That's not correct to say. A message can be created by either Map, or within message assignment shape as both appears within Construct Message http://msdn.microsoft.com/en-us/library/ee253554(v=bts.10).aspx – Vikas Bhardwaj Sep 05 '14 at 14:29
  • The link in the comment is gone. Messages can be created by creating a system.xml.xmlDocument, loading it from an xml string or file, then assigning the xmldocument variable to the message. – Jay Nov 17 '21 at 17:34