如何创建一个接受xml值的webmethod函数 [英] how to a create a webmethod function that accept a xml value

查看:98
本文介绍了如何创建一个接受xml值的webmethod函数的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我将收到此xml消息并根据布尔值触发另一个发明,因为xml消息匹配格式我将返回相同的xml消息或者如果它不匹配返回错误。我只是不知道如何在我的Web服务中创建此功能。任何帮助将不胜感激。

提前谢谢







I will received this xml message and trigger another invent based on the Boolean value as long xml message match the format I will return the same xml message or if it don't match return error. I just do not how to create this function in my web service. Any help will be greatly appreciated.
Thanks in advance



<modulecommunication>
   <received>true<\received>
<\modulecommunication;

推荐答案

问题太模糊,无法直接回答,因为您没有提供任何有关技术的信息......



我建议阅读文档:

托管代码中的Web服务 [ ^ ]

使用XML Web Services创建ASP.NET和XML Web服务客户端 [ ^ ]
The question is too vague to answer it directly, because you did not provide any information about techniques...

I'd suggest to read the documentation:
Web Services in Managed Code[^]
XML Web Services Created Using ASP.NET and XML Web Service Clients[^]


这篇关于如何创建一个接受xml值的webmethod函数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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