使用webservices的curl命令行? [英] Curl command line for consuming webServices?
本文介绍了使用webservices的curl命令行?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
你们知道如何使用Curl命令行来POST SOAP来测试Web服务吗?
Do you guys know how I can use the Curl command line to POST SOAP to test a web service?
我有一个文件(soap.xml)
I have a file (soap.xml) which has all the soap message attached to it I just don't seem to be able to properly post it.
谢谢!
推荐答案
发布字符串:
curl -d "String to post" "http://www.example.com/target"
发布文件的内容:
curl -d @soap.xml "http://www.example.com/target"
这篇关于使用webservices的curl命令行?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文