将XML文件传递到URL [英] passing XML file to a URL

查看:257
本文介绍了将XML文件传递到URL的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们的客户给了我一个URL.
我需要将一些XML格式的数据发送到此URL.

有人知道怎么做吗?

I have been given an URL by our client.
I need to send some data in XML format to this URL.

Anyone know how to do this?

推荐答案

http://url.com/page.aspx?data=您的xml放在这里"
这仅在您的数据较小时才有效,因为get方法有其局限性.因此,如果要发送大数据文件,则应使用post方法.可以使用任何表单元素(即textarea,file,hiddenfiled
)发送xml文件的内容. 希望这对您有帮助
http://url.com/page.aspx?data="your xml goes here"
This will work only if your data is small because get method has its limitation. so if you want to send big data file then you should use post method.you can send the contents of xml file using any form elements i.e textarea,file,hiddenfiled
Hope this will help You


http://url.com/page.aspx?data=您的xml进入此处"
http://url.com/page.aspx?data="your xml goes here"


您"我需要知道应该如何传递xml数据-URL是SOAP Web服务吗?例如.
You''ll need to know how the xml data should be passed - is the url a SOAP webservice? for example.


这篇关于将XML文件传递到URL的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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