This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

web services help  RSS feed

 
shawn kennedy
Ranch Hand
Posts: 67
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
If i have written a web service in java using Castor and Axis E.g Say an Address Match Service that takes a house no. and postcode and returns the entire address.And i want people from a .Net application to call this Wweb Service passing in the required details and then they are sent the requisite response.I dont understand how .net users will call this web service and how do they pass the input to the web service(do they call a url and pass a xml document or soap request if yes how does this get passed with the url and what exactly happens with the axis bit) and how the response is sent back to them for them to retreive it.
Please can someone help .I need to know this its very urgent.
 
Ulf Dittmer
Rancher
Posts: 42972
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Generally you don't need to worry about these details. If you send the client developer the WSDL file of your service (or point him to the URL where the WSDL can be found), he should be able to build a client that handles request and response.
 
shawn kennedy
Ranch Hand
Posts: 67
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Ulf,
Thanks for the reply but i needed to know say someone using a Java were calling this web service,in that case how is the client built ,what is passed in the request and how does one obtain the information sent in the response.How exactly is the xml/soap request/document passed in when calling the web service.This is one thin that i failed to understand
 
Ulf Dittmer
Rancher
Posts: 42972
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The WS engine generally publishes a WSDL description of all deployed WS, from which tools can create client access code. Axis includes a tool called wsdl2java that does this.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!