You must Sign In to post a response.
  • Category: Webservices

    Web Service Vs Query String

    Hi.,
    I have to pass information from my system to another system. Suggest which one is best either Query String or Web Service


    Thanks in advance..
  • #763937
    How can you transfer values from one machine to another ? Query string is the state management technique in which we can transfer values from one ASPX page to another.
    Either you can use database or some Application state like technique to transfer values

    Thanks
    Koolprasd2003
    Editor, DotNetSpider MVM
    Microsoft MVP 2014 [ASP.NET/IIS]

  • #763939
    Hi Boopathi

    Can you elaborate what actually your requirement is?
    Passing information means what type of information.
    Webservices we use to share piece of logic over http in the network.
    You can't pass in terms of querystring since it has its own limitations like size of url cannot be big and also passing using query string will not be secure.

  • #763945
    Hi,

    It's immposible to transfer one system information to another system using querystring, please elaborate your requirement clearly so that we can help you better.

    --------------------------------------------------------------------------------
    Give respect to your work, Instead of trying to impress your boss.

    N@veen
    Blog : http://naveens-dotnet.blogspot.in/

  • #765980
    Hello,

    Requirement is not clear, please elaborate your scenario in details that what actually you wants.

    As per others, I'm also telling it's not possible to transfer values from one system to other using querystring.

    About WebService, first you have to explain your problem or issue in details.

    Then, depending on the scenario we can provide solution to you that in your case what to use.

    Thanks

  • #766010
    what you mean by one system to another ? you can simply use Query string or any client side or server side state management technique
    you can use following client side state management techniques
    - Query string
    - view state (not use for value transfer)
    - hidden fields (not use for value transfer)
    - session
    - application

    Thanks
    Koolprasd2003
    Editor, DotNetSpider MVM
    Microsoft MVP 2014 [ASP.NET/IIS]

  • #766029
    Hi,

    Web services we use to share piece of logic over http in the network.
    You can't pass in terms of querystring since it has its own limitations like size of url cannot be big and also passing using query string will not be secure.
    Both the things have different meaning and work capability.

  • #766050
    Hai Boopathi,
    In passing information between the systems, query-string will not work so you have to rely on the distributed systems like WebAPI or WebServices or WCF Services or ReST etc.
    Within the same system, you can use the Query-string to pass the information.
    Hope it will be helpful to you.

    Regards,
    Pawan Awasthi(DNS MVM)
    +91 8123489140 (whatsApp), +60 14365 1476(Malaysia)
    pawansoftit@gmail.com

  • #766051
    Web service and Query string, both are different concept.

    Web service is "XML messaging system". It is using the "SOAP" technology. It is used to keep the business logics in separate place. Any of the application can use that web service and consume their business logic. Any application can refer the web service and access the methods available in the web service. Once more type of web service also that that is "REST". In this case consumer do not need to refer the web service. They can make simple HTTP call and get the data from that.

    Query string is one session management. It is used to pass some data from one page to another page. we can send some simple data from one page to another page.

    By Nathan
    Direction is important than speed


Sign In to post your comments