我创建了一个定义为输入端口的服务,其返回消息是一个XML文件。 我想创建一个输出管道,将相同的xml文件返回到启动Web服务的外部应用程序 在xml输出下面:
我的代码:
<!-- <?xml version="1.0" encoding="UTF-8" ?>
<Envelope xmlns="http://schemas.microsoft.com/dynamics/2011/01/documents/Message">
<Header>
<MessageId>{83B12743-ABF3-40C7-AC14-B0BD31D1B94D}</MessageId>
<Action>http://schemas.Comp.com/COMPSS/services/MyClasseService/create</Action>
<RequestMessageId>{876BD718-1350-4FF0-8049-4D272FE924CC}</RequestMessageId>
</Header>
<Body>
<MessageParts xmlns="http://schemas.microsoft.com/dynamics/2011/01/documents/Message">
<EntityKeyList xmlns="http://schemas.microsoft.com/dynamics/2006/02/documents/EntityKeyList">
<EntityKey xmlns="http://schemas.microsoft.com/dynamics/2006/02/documents/EntityKey">
<KeyData>
<KeyField>
<Field>FiscalCalendarYear.FiscalCalendar_CalendarId</Field>
<Value>CAL</Value>
</KeyField>
<KeyField>
<Field>FiscalCalendarYear.Name</Field>
<Value>2015</Value>
</KeyField>
<KeyField>
<Field>Name</Field>
<Value>labe122333</Value>
</KeyField>
<KeyField>
<Field>OMOperatingUnit</Field>
<Value>BD</Value>
</KeyField>
<KeyField>
<Field>Type</Field>
<Value>AZE</Value>
</KeyField>
</KeyData>
</EntityKey>
</EntityKeyList>
</MessageParts>
</Body>
</Envelope> -->