• Post Reply Bookmark Topic Watch Topic
  • New Topic

Webservice general question

 
rajendra sonawane
Greenhorn
Posts: 5
Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
Can we have multiple endpoints in single WSDL if it is possible then how can i achive this?
Any example would really be helpfull?


Thanks and Regards,
Rajendra Sonawane

 
Abhay Agarwal
Ranch Hand
Posts: 1376
Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Check this old post - it may answer your question
http://www.coderanch.com/t/498104/Web-Services/java/Web-Service-Multiple-Endpoints
 
rajendra sonawane
Greenhorn
Posts: 5
Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for your quick reply Abhay....
I am new to webservice so if missed anything please guide.
As per my understadning this the WSDL file where we can easily add operations.
But suppose if i create new web application and having two services which i wanted to expose.
So in such case how do i specify two end poins in single WSDL.



The second service is



Here is the web.xml configuration


Thanks and Regards,
Rajendra Sonawane
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Those two classes look identical to me except for the data. What differentiates them?
 
rajendra sonawane
Greenhorn
Posts: 5
Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Ulf Dittmer...
Sorry for the late reply....
Yes i agree with you expect data there is no difference...
But if it is totally a different use case which can return a list of employee then is it possible to have these two endpoint in the single WSDL?
If yes then how do i achive







Regards,
Rajendra Sonawane
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!