With JAX-WS 2.0,(how) is it possible to map two java classes to WSDL containing single service with multiple ports? Intention is to implement every WSDL service port within a different classes (County.class and City.class). I understand that it is not possible to map WSDL operations from different ports onto methods within a single java class.
<wsdl:service name="GeneralInfo"> <wsdl ort name="CountyPort" binding="gen:CountySOAPBinding"> <soap:address location="http://localhost:8080/Test1/Counties"/> </wsdl ort> <wsdl ort name="CityPort" binding="gen:CitySOAPBinding"> <soap:address location="http://localhost:8080/Test1/Cities"/> </wsdl ort> </wsdl:service>
subject: JAX-WS 2.0 Web service with multiple ports