命名空间前缀存储在 XAMLX 文件中。不幸的是,没有显示值的 UI,您必须开始挖掘 XAMLX 源。请参阅下面的 XPathMessageQuery.Namespaces 部分,其中xgSc
定义为http://tempuri.org/
<Receive x:Name="__ReferenceID0" CanCreateInstance="True" DisplayName="ReceiveRequest" sap:VirtualizedContainerService.HintSize="255,86" OperationName="GetData" ServiceContractName="p:IService">
<Receive.CorrelationInitializers>
<RequestReplyCorrelationInitializer CorrelationHandle="[handle]" />
<QueryCorrelationInitializer>
<XPathMessageQuery x:Key="key1">
<XPathMessageQuery.Namespaces>
<ssx:XPathMessageContextMarkup>
<x:String x:Key="xgSc">http://tempuri.org/</x:String>
</ssx:XPathMessageContextMarkup>
</XPathMessageQuery.Namespaces>sm:body()/xgSc:GetData/xgSc:orderId</XPathMessageQuery>
</QueryCorrelationInitializer>
</Receive.CorrelationInitializers>
<ReceiveParametersContent>
<p1:OutArgument x:TypeArguments="x:String" x:Key="orderId" />
</ReceiveParametersContent>
</Receive>