在 SOAPClient 中添加用户名/密码:JBOSS-ESB
我有一个具有安全约束的 WSDL URL。我需要在标题处提供用户名和密码。 提供这些凭据后,我可以发送请求。 如何使用 SOAPClient 添加用户名/密码。我在 SOAPClient 中没有找到为用户名密码定义的任何属性。
谢谢, 马杜CM
I have a WSDL URL which has security constriants. I need to provide username and password at header.
After providing these credentials i can send the request .
how can i add username/password using SOAPClient . I did not find any property defined for username password in SOAPClient.
Thanks,
Madhu CM
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
Jboss-esb 附带两个 SOAPClient,一个基于soapUI,另一个基于Wise(唉,这些家伙似乎不太聪明地为他们的类施洗)。因此,有两种解决方案:
smooksTransform
。custom-handlers
添加SOAPHandler
实现。Jboss-esb comes with two SOAPClients, one based in soapUI and the other based in Wise (alas, it seems these guys are not very smart baptizing their classes). So, there are two solutions:
smooksTransform
of SOAPClient action.SOAPHandler
implementation using propertycustom-handlers
of SOAPClient action.