Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我需要能够使用 Apache Axis2 构造一个 SOAP 请求,并将 SOAP 标头中的 IP 地址和用户代理提供给 Web 服务。是否有描述如何执行此操作的代码示例?
在此先感谢您的帮助!
最好的祝愿鲁奇考尔。
最好的方法是获取您尝试调用的服务的 WSDL,然后使用wsdl2java 工具为您生成客户端。
如果您想自己编写代码,可以使用 Axis2 API...可以在此问题中找到示例。
So, here's my situation. I've got a my two classes:
class FromClass { public string[] Foo { get; set; } } class ToClass { public string[