Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Invoking a web service through a client  RSS feed

 
Raj Kumar Bindal
Ranch Hand
Posts: 418
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
According to examples on e-docs.bea.com , a client is invoking a web service by writing a build.xml for itself and then deploying his code.It seems funny that a client is first deploying his code through ant to generate stubs and then invoking the web service.please let me know if there is any other way to call a web service??
 
Ulf Dittmer
Rancher
Posts: 42972
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ant is not needed. Ot is perfectly possible to wrote a Java client app that connects to a WS and not use Ant at all. The build file may be using the WSDL of the WS to generate the client, and then invoke the client, but that would just be to make it easier for the developer, not because it's necessary.
 
Raj Kumar Bindal
Ranch Hand
Posts: 418
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think if ant is not compulsory,java will be compulsory on client machine.But is java compulsory on client's machine.
 
Ulf Dittmer
Rancher
Posts: 42972
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The whole point of WS is that it doesn't matter what the client is - Java, JavaScript, .Net or something else. Java should not be required to access any well-written WS. It may be that the BEA examples only show Java examples, but that doesn't mean that you can't code your client any way you like.
 
Peer Reynders
Bartender
Posts: 2968
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Raj Kumar Bindal:
But is java compulsory on client's machine.


A lot of the WebLogic extensions make WebLogic quasi-compulsory.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!