Results 1 to 2 of 2
  1. #1
    sameerk is offline Member
    Join Date
    Aug 2010
    Posts
    19
    Rep Power
    0

    Default Web Service flow

    Hello
    i m creating a sample code for web service.i have created server and client separates now i want to call web service through jsp page for that i have used following flow

    1. i have created one jsp page from where i called one servlate
    2. in servlet i collect all the elements from the jsp page and stored into one object
    3. in servlet i have created PortType object and call the method and pass the object.

    is it the right flow to call web service from browser ?
    if not please tell me how should i call the web service from jsp page .

    thanks
    sameer
    Sameer

  2. #2
    Petr's Avatar
    Petr is offline Senior Member
    Join Date
    Jan 2011
    Location
    Russia
    Posts
    618
    Rep Power
    4

    Default

    I think you can't find the best solve for this task. It depend from your architecture app.
    How you elaborated you want to separate your app on model-view-controls. it is good,
    I would choose this variate too. I.e. in Servlet you invoke remote web service. then you gather all data for jsp and then redirect to JSP.
    Skype: petrarsentev
    http://TrackStudio.com

Similar Threads

  1. Anyone use flow charts?
    By Java_Lover in forum New To Java
    Replies: 4
    Last Post: 04-09-2011, 02:27 PM
  2. How to generate Data Flow Diagram(Work Flow Diagram)
    By stsivaraj in forum AWT / Swing
    Replies: 1
    Last Post: 12-22-2010, 11:21 PM
  3. how to call service method inside another service
    By kirtichopra2003 in forum Web Frameworks
    Replies: 1
    Last Post: 10-24-2009, 02:19 AM
  4. flow from one block to another...tutorial?
    By Java_newcomer in forum New To Java
    Replies: 3
    Last Post: 07-02-2009, 04:20 AM
  5. program flow
    By loktamu in forum AWT / Swing
    Replies: 1
    Last Post: 09-17-2008, 04:52 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •