cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Helge Waastad <>
Subject codegen binding and renaming port
Date Sun, 24 Aug 2014 08:10:41 GMT
I got a question regarding renaming service ports.

I have several services defining the same port name so I have to change
the binding.

the wsdl's looks like this and all define the same 'ServiceSoap' port:
<wsdl:service name="Service_UpdateCustomer">
     <wsdl:port name="ServiceSoap" binding="sncns:ServiceSoap">
        <soap:address location="<service?wsdl>"/>

<wsdl:service name="Service_DeleteCustomer">
     <wsdl:port name="ServiceSoap" binding="sncns:ServiceSoap">
        <soap:address location="<service_delete?wsdl>"/>

using a separate binding file for each wsdl and changing class name is

    <jaxws:bindings node="wsdl:definitions/wsdl:portType">
        <jaxws:class name="RenamedClassName"/>        

But I've not been able to define add multiple bindings in one file:
    <class name="RenamedClassName"/>
    <class name="RenamedOtherClassName"/>

Im I barking up the wrong tree?

btw, using 2.7.12...

br hw

View raw message