How the Request & Response will be processing in web services?

Posted on 2009-02-22
Last Modified: 2012-05-06
Hello Friends,
       I am a learner. I have created a Sample Web Service successfully. But I dont know in the background originally what is happening. I just wanted  to know, how the Request is going from the client & how the Response is coming back, what is happening in the middle.
      Pls any body can explain me the entire process.....  or pls refer any URLs.
     Thanks in advance.....
Question by:Srinivasu_V
    LVL 12

    Assisted Solution


    Author Comment

    Hi basav,
           I've gone thru the doc, but they've not provided much info about my doubt.
     My doubt is: How the request is going from the clinet & how the request is converting into SOAP & XML formats, how this SOAP request will be processed. At what time WSDL come into the picture. Finally how the Response is getting back to the client via SOAP or XML formats...    The entire process between request & response, I want.
    These r the fundamental things to understand a web service...      Pls any one help me...        Thanks Vasu.
    LVL 12

    Accepted Solution

    Add more Tags & Zones to the above problem, then it will be answered more quickly.

    Just wait until someone posts some useful matter/links.

    Meanwhile check this, may be useful:
    LVL 1

    Assisted Solution

    So, I am not shure about the question, but as far as I understand it:

    You assume there is a browser A connecting to a Webserver C with an odinary HTTP request, this request is processed, and during the processing the Webserver C consumes some WebService D. You question is, how the original HTTP request in processed.

    If that's the question, I have a sad answer: The original HTTP request from your browser has nothing to do with the HTTP Request used to transfer the SOAP message. So these are two completely different HTTP Requests. So if you need any data from the original request in the new one, I think (but I might be falsified for that) you don't have any other option but to modify by hand either the new header or include the data in the SOAP message itself (if the WS Interface allowes it)....

    An other option to understand the problem is that you have some server A issuing a SOAP WS call to a server C which then goes to server D. In that case the message can be created in a way that it is initially clear the message is just passed over D in form of passing the message over so called SOAP intermediaries, here the actor attribute specifies the next recipient of the SOAP message until this value is embtied.

    I hope that helped a little bit!

    Cheers, Jörg

    Author Comment

    Thanks elrond,
               It helped me, but not complete. My doubt is: From a WebService Client i'm sending a request to access a remote service. Finally i'll get the response also. Here is my doubt: during the time of request & response, how the request is converting into SOAP request? &  when its calling WSDL? how we are getting the SOAP response...    In the back end whats happening i just wanted to know for better understanding.


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Threat Intelligence Starter Resources

    Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

    Developer tools in browsers have been around for a while, yet they are still heavily underused by developers. Developers still fix html or CSS then refresh page to see effect, or they put alert or debugger in JavaScript and then try again and again …
    What is Node.js? Node.js is a server side scripting language much like PHP or ASP but is used to implement the complete package of HTTP webserver and application framework. The difference is that Node.js’s execution engine is asynchronous and event…
    The purpose of this video is to demonstrate how to set up the WordPress backend so that each page automatically generates a Mailchimp signup form in the sidebar. This will be demonstrated using a Windows 8 PC. Tools Used are Photoshop, Awesome… provides powerful tools for surveying targeted groups, and utilizing data from completed surveys to find trends, discover areas of demand or customer expectation, and make business decisions on products or services.

    761 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    8 Experts available now in Live!

    Get 1:1 Help Now