WSDL 文件和 SOAP 标头
我这里有一个 wsdl 文件:“模糊” 我想知道如何从该文件中获取 SOAP 标头?这对我来说看起来非常神秘,所以如果有人能给我指出一个教程,那就太好了。我想要的只是需要传递到 NSURLConnection 的肥皂字符串,我可以使用 NSXMLParser 进行解析。
例如,本教程位于: http://www.icodeblog.com/2008/11/03/iphone-programming-tutorial-intro-to-soap-web-services/展示了如何做到这一点,但它不显示如何从 wsdl 文件获取 SOAP 消息。
谢谢!
I have a wsdl file here: "obscured"
I was wondering how can I get the SOAP headers from this file? This looks very cryptic to me, so if someone can point me to a tutorial, it would be great. All I want this is soap string that I need to pass into NSURLConnection, I can do the parsing using NSXMLParser.
For example, this tutorial here: http://www.icodeblog.com/2008/11/03/iphone-programming-tutorial-intro-to-soap-web-services/ shows how to to it, but it doesn't show how to get the SOAP message from the wsdl file.
Thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
从 http://www.soapui.org/ 下载 SOAPUI 应用程序(适用于 MAC 和 PC)。我将该 WSDL 提供给 SOAP UI,然后我看到 GetAdvertisers、GetPlans、GetPlansByAdvertiser、GetReportPostBuy、HelloWorld、Login。您希望获取哪一个 SOAP 请求。 SOAP UI 为您构建示例请求。一探究竟。如果您遇到困难,现在我在这里发布所有这些请求:
GetAdvertisers:
GetPlans:
GetPlansByAdvertiser:
GetReportPostBuy:
登录:
Download SOAPUI Application (Available for both MAC and PC) from http://www.soapui.org/. I gave that WSDL to SOAP UI and I see GetAdvertisers, GetPlans, GetPlansByAdvertiser,GetReportPostBuy, HelloWorld,Login. For which one are you looking to get SOAP Request. SOAP UI constructs sample request for you. Check it out. If you are having difficulty, for now I am posting all those requests here:
GetAdvertisers:
GetPlans:
GetPlansByAdvertiser:
GetReportPostBuy:
Login: