On 2011-11-30, at 下午9:30, rickthemick wrote:
I cant see that it works like you describe it.
Adding publishedEndpointUrl in my Spring conf:
<jaxws:endpoint id="MyServiceEndpoint" implementor="#myService"
address="/myservice" >
<jaxws:properties>
<entry key="publishedEndpointUrl" value="myserver" />
</jaxws:properties>
</jaxws:endpoint>
Hi,
You need change the publishedEndpointUrl value to http://myserver/cxf/myservice
Also in the Service List Page, you can find the wsdl URL there is http://myserver/cxf/myservice?wsdl
.
I just tested it with 2.4.4, it works for me.
Freeman
- Does not affect the service listing, I dont get "myserver" as host
for the
services.
- And in the WSDL, it affects the whole service URL, not just the
host/server part:
<wsdl:port binding="tns:ConfigDbServiceImplServiceSoapBinding"
name="ConfigDbServiceImplPort">
<soap:address location="myserver"/>
</wsdl:port>
It should be: http://myserver/cxf/myservice I believe.
- Even if it would work, I dont want to control this in the
"code" (the
spring config in the service bundle).
In my understanding its still base-address that would solve my
problem, but
I dont know how to make it affective and I havent found the
definition of it
either.
--
View this message in context:
http://cxf.547215.n5.nabble.com/base-address-for-CXF-tp5034937p5035493.html
Sent from the cxf-user mailing list archive at Nabble.com.
---------------------------------------------
Freeman Fang
FuseSource
Email:[email protected]
Web: fusesource.com
Twitter: freemanfang
Blog: http://freemanfang.blogspot.com