That value is a bit misleading, it is indeed what gets published in the WSDL (for clients to reference), but the actual endpoint URL is still calculated based on values in Note #2 here: http://www.jroller.com/gmazza/entry/web_service_tutorial#notes for servlet deployment or Endpoint.publish() for embedded deployment. I.e., what you provide for publishedEndpointURL only affects what is displayed in the WSDL, not the real endpoint URL.

Glen

On 07/22/2011 04:49 PM, lucian.m wrote:
Hello Sir,

Tomcat in my system is behind the firewall and Apache in the DMZ
I built a service that can be consumed from a Tomcat, but I need the access
from Apache

According to the CXF documentation for this I must add the attribute
"publishedEndpointUrl" element in jaxws: endpoint.

In my project "SimpleWebApp" and CxF-servlet.xml I added:
<jaxws: endpoint id = "endPoint1"
         address = "/ p1"
         implementor = "# simpleImpl"
         publishedEndpointUrl = "http://www.myinc.com/ss/services/p1";>

When I call: http://www.myinc.com/ss/services/p1?wsdl I do not get the
expected result.

Do I do something that is not correct.
Please help me to solve this problem.

I've done extensive research on the Internet but without positive result.
Ex :
https://issues.apache.org/jira/browse/CXF-1279?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Thank you!

--
View this message in context: 
http://cxf.547215.n5.nabble.com/How-work-publishedEndpointUrl-tp4624660p4624660.html
Sent from the cxf-user mailing list archive at Nabble.com.


--
Glen Mazza
Application Integration Division
Talend (http://www.talend.com/ai)
blog: http://www.jroller.com/gmazza


Reply via email to