删除 Axis 中的 client-config.wsdd
我正在设置我的测试环境,我需要以编程方式注册我的处理程序/传输,而不是使用 client-config.wsdd:
<?xml version="1.0" encoding="UTF-8"?>
<deployment xmlns="http://xml.apache.org/axis/wsdd/" xmlns:java="http://xml.apache.org/axis/wsdd/providers/java">
<handler name="MyClient" type="java:foo.bar.MyClient"/>
<transport name="MyTransport" pivot="MyClient"/>
</deployment>
您知道这是否可能吗?
提前致谢。
I am setting up my test environment and I need to programmatically register my handler/transport instead of using a client-config.wsdd:
<?xml version="1.0" encoding="UTF-8"?>
<deployment xmlns="http://xml.apache.org/axis/wsdd/" xmlns:java="http://xml.apache.org/axis/wsdd/providers/java">
<handler name="MyClient" type="java:foo.bar.MyClient"/>
<transport name="MyTransport" pivot="MyClient"/>
</deployment>
Would you know if it's possible?
Thanks in advance.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
好的,我已经检查了 Axis 源代码,以下代码解决了我的问题:
...
就是这样。我希望它能帮助某人。
OK, I've checked Axis sources and the following code solved my problem:
...
That's it. I hope it helps someone.
另一方面,您可以将新的 client-config.wsdd 文件添加到资源目录中。
in the other hand, you can add a new client-config.wsdd file to resource directory.