POST soap data with file to upload

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • gagandeepgupta16
    New Member
    • Feb 2007
    • 56

    POST soap data with file to upload

    hi

    I need to do http post which will send in a soap data, as well as upload a file on the server.

    i have tried using <iframe>, but at same time submitting a soap request and uploading file on form submit seems to be crucial...

    its like :
    Request: HTTP POST (multi-part)
    URL: http://<server> :<port><URI>
    POST Variables: “SOAP”=<soapReq uestXML>; “file”=<file attachment>

    can anyone suggest a better way for this.

    thanks in advance
  • acoder
    Recognized Expert MVP
    • Nov 2006
    • 16032

    #2
    To upload a file without unloading the page, you will need to use an iframe. Why can't you do both at the same time?

    Comment

    • gagandeepgupta16
      New Member
      • Feb 2007
      • 56

      #3
      hey thanks,

      and sorry for delay,

      i have tried that way also but the problem is that i am not able to get the response from the request...
      what can i do for that?

      Originally posted by acoder
      To upload a file without unloading the page, you will need to use an iframe. Why can't you do both at the same time?

      Comment

      • acoder
        Recognized Expert MVP
        • Nov 2006
        • 16032

        #4
        Post your code so we can have a look at it.

        Comment

        Working...