[英]Set the SOAP:Location in WSDL
I have a simple Spring/JAX-WS that is annotated simply with the @WebService. 我有一个简单的Spring / JAX-WS,它使用@WebService进行了简单注释。
My bean definition looks like this: 我的bean定义如下所示:
<jaxws:endpoint id="secureTest"
implementor="com.xxx.SessionServiceImpl"
address="/SessionService">
....
<jaxws:properties>
....
</jaxws:properties>
</jaxws:endpoint>
The problem is that the WSDL generated has soap:address beginning with http:// and I need it to be https:// 问题是生成的WSDL具有以http://开头的soap:address,我需要将其设为https://
Now the kicker is that I do not have access to the code at all. 现在最重要的是,我根本无法访问该代码。 This MUST be done in the bean definition xml file. 这必须在bean定义xml文件中完成。
Is there a jaxws property that I can set to accomplish this? 我可以设置一个jaxws属性来完成此操作吗?
Please try this: 请尝试以下方法:
Comment this line in: 在以下位置注释此行:
server/{instance}/deployers/jbossws.deployer/META-INF/jboss-beans.xml 服务器/{instance}/deployers/jbossws.deployer/META-INF/jboss-beans.xml
<property name="webServiceHost">${jboss.bind.address}</property>
This way the soap:address is modified. 这样修改soap:address。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.