web services - How to change the wsdl url of cxf endpoint? -


i trying create proxy service using apache camel through camel configuration file.

i have created proxy service version webservice of axis 2 .

the problem , proxy service final wsdl url , address both point same url.

here camel-config.xml file part :

<cxf:cxfendpoint id="securityservice"                    address="https://0.0.0.0:9080/services/version.securityhttpssoap11endpoint"                    endpointname="s:version.securityhttpssoap11endpoint"                                    servicename="s:version"                    wsdlurl="etc/version.wsdl"                    xmlns:s="http://axisversion.sample"/> 

now problem above configuration, if have see wsdl of above service. wsdl url be:

https://0.0.0.0:9080/services/version.securityhttpssoap11endpoint?wsdl 

and soap address location :

soap:address location="https://0.0.0.0:9080/services/version.securityhttpssoap11endpoint" 

now want wsdl url should different soap address location i.e.

the wsdl url should :

https://0.0.0.0:9080/services/version.security?wsdl 

and soap address location should like:

soap:address location="https://0.0.0.0:9080/services/version.securityhttpssoap11endpoint" 

how can above. in advance.

you can define cxfendpoint adding properties setting like

<cxf:cxfendpoint id="securityservice"                    address="https://0.0.0.0:9080/services/version.securityhttpssoap11endpoint"                    endpointname="s:version.securityhttpssoap11endpoint"                                    servicename="s:version"                    wsdlurl="etc/version.wsdl"                    xmlns:s="http://axisversion.sample">    <cxf:properties>         <entry key="publishedendpointurl" value="http://www.simple.com/services/test" />    </cxf:properties>     </cxf:cxfendpoint> </cxf:cxfendpoint> 

Comments

Popular posts from this blog

javascript - Any ideas when Firefox is likely to implement lengthAdjust and textLength? -

matlab - "Contour not rendered for non-finite ZData" -

delphi - Indy UDP Read Contents of Adata -