Biztalk 2013 R2 REST GET方法 - 在Query中传递模式 [英] Biztalk 2013 R2 REST GET Method - passing schema in Query

查看:88
本文介绍了Biztalk 2013 R2 REST GET方法 - 在Query中传递模式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我的网址如下:  http://www.sample.com/Request? param = {param}


这里'param'是一个需要传递的xml架构。我知道将值传递给查询参数的正常过程。任何人都可以建议我如何实现这一点。


任何输入都受到高度赞赏。


谢谢,


ChanderDP

解决方案

使用自定义管道组件来查询
param的值。 
创建(或扩展) FFDasmComp 的实例,并将您的架构分配给
DocumentSpecNam e 属性。


例如

 FFDasmComp ffDasm = new FFDasmComp(); 
ffDasm.DocumentSpecName = new SchemaWithNone(pContent.GetDocumentSpecByType(myVariable).DocSpecStrongName);
ffDasm.Disassemble(pContent,pInMsg);

SchemaWithNone位于Microsoft.BizTalk.Component.Utilities

FFDasmComp位于Microsoft .BizTalk.Component


Hi,

I have an URL like: http://www.sample.com/Request?param={param}

Here 'param' is an xml schema which needs to be passed. I know the normal procedure of passing values to query parameters. Can any one please suggest how can I acheive this.

Any inputs are highly appreciated.

Thanks,

ChanderDP

解决方案

Use a custom pipeline component to interrogate the value of param.  Create (or extend) an instance of FFDasmComp and assign your schema to the DocumentSpecName property.

e.g.

FFDasmComp ffDasm = new FFDasmComp();
ffDasm.DocumentSpecName = new SchemaWithNone(pContent.GetDocumentSpecByType(myVariable).DocSpecStrongName);
ffDasm.Disassemble(pContent, pInMsg);

SchemaWithNone is in Microsoft.BizTalk.Component.Utilities
FFDasmComp is in in Microsoft.BizTalk.Component


这篇关于Biztalk 2013 R2 REST GET方法 - 在Query中传递模式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆