简体   繁体   中英

Set the SOAP:Location in WSDL

I have a simple Spring/JAX-WS that is annotated simply with the @WebService.

My bean definition looks like this:

  <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://

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.

Is there a jaxws property that I can set to accomplish this?

Please try this:

Comment this line in:

server/{instance}/deployers/jbossws.deployer/META-INF/jboss-beans.xml

<property name="webServiceHost">${jboss.bind.address}</property> 

This way the soap:address is modified.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM