Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JAX-WS 2.0 Web service with multiple ports

 
Joe Miller
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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>
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic