0

My WCF service gives message in XML format and I want to parse that XML to map it into the destination schema.

WCF exposed method (let' say GetXml()) which gives collection of records (let's say Name, Phone records) in XML format. I want to further map that XML records to map to destination schema.

Please guide me as I am new to biztalk.

Ashish Ashu
  • 14,169
  • 37
  • 86
  • 117

1 Answers1

0

Have you added a servicereference to consume wcf service using addServiceReference option. That will give you required schemas and binding to consume wcf service.

Vikas Bhardwaj
  • 1,455
  • 8
  • 10
  • Hi Vikas, GetXml returns only XML content (in string format) therefore it will not import the schemas. – Ashish Ashu Apr 09 '14 at 03:17
  • in that case, you would need to create schema for xml received in service response and in WCF send adapter configuration on Messages tab, select the Inbound BizTalk Message Body path using xpath. I have not tried this but should work. follow the article http://msdn.microsoft.com/en-us/library/bb226478.aspx – Vikas Bhardwaj Apr 09 '14 at 15:10