Description
I have the following situation at hand: The goal is to develop a contract-first application with a given WSDL file (changes to the definition/schema/requirements are out of the question, close to impossible I might even say). The WSDL is defining one service with two ports and is structured like this:
<service name="SomeService">
<port name="PortA" binding="ns:ABinding">
<soap12:address location="http://nobodycares" />
</port>
<port name="PortB" binding="ns:BBinding">
<soap12:address location="http://nobodycares" />
</port>
</service>
Generating classes from this definition/schema is all set and working, the problem arises when wanting to start these ports. The requirements make it necessary to only start one port at a time or to start them on different network ports (to make sure that they are reachable only from different parts of the network).
Is that somehow possible with the automatic wiring of cxf-spring or is the easiest way to deactivate the automatic initialization and create the EndpointImpl
instances manually?