This discussion is archived
1 Reply Latest reply: Oct 1, 2012 9:17 AM by user696 RSS

WSDL generator for web-service behind a router/proxy

lunicon Newbie
Currently Being Moderated
I create jax-ws service and deploy it on local network computer (LS:port1)
and set up direct port forward from computer in DMZ ES:port2 to LS:port1.

When I browse for http://ES:port2/sevice/serviceport?wsdl it generate invalid schemaLocation
<xsd:import schemaLocation="http://LS:port1/sevice/serviceport?xsd=1"/>
<service name="hello">
<port name="hello" binding="tns:helloBinding">
<soap:address location="http://LS:port1/sevice/serviceport"/>
I thought the links are generated by request context
jdevstudio11123, wl

Can I forcedly set service location?
  • 1. Re: WSDL generator for web-service behind a router/proxy
    user696 Explorer
    Currently Being Moderated
    yes, you can set ENDPOINT_ADDRESS_PROPERTY on BindingProvider for requestContext

    For complete code please look below link

    Sunil P


  • Correct Answers - 10 points
  • Helpful Answers - 5 points