Web Service with input xml filepath and display it

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • MATTXtwo
    New Member
    • Sep 2006
    • 83

    Web Service with input xml filepath and display it

    Hi guys,
    I've tried google up the answer and found none..
    I just want to load an xml file from anywhere to my webservice and display it..
    I just know this method:
    Copy xml file sctructure,
    Loadxml
    Return as XmlDocument
  • ThatThatGuy
    Recognized Expert Contributor
    • Jul 2009
    • 453

    #2
    For this you need to create a aspx page..

    put up a File Upload control from the toolbox and upload the file to the server..

    FileUpload tutorial
    Now the file is saved in the server...

    Load the file from the server into XmlDocument and write it to the page..


    delete the xml file from the server.. once xml is loaded

    Comment

    • MATTXtwo
      New Member
      • Sep 2006
      • 83

      #3
      how about directly save xml in server with web service?

      Comment

      • Frinavale
        Recognized Expert Expert
        • Oct 2006
        • 9749

        #4
        Webservices don't display data...they offer services to applications that consume them. It is the application that consumes the webservice that should be displaying data.

        I'm not sure what you're trying to do.
        Could you please provide more details?

        -Frinny

        Comment

        Working...