×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Regular Contributor
    Join Date
    Dec 2005
    Posts
    151

    SOAP + HTTP + File Upload??

    Hi,

    I need to upload the file using HTTP and SOAP framework. I have gone through wiki and could only get the way to upload the file using HTTP POST method. But i need to achieve the same using SOAP framework.

    Any help or pointer to same would be appreciated.

    Regards,

  2. #2
    Registered User
    Join Date
    Aug 2008
    Posts
    3

    Re: SOAP + HTTP + File Upload??


  3. #3
    Regular Contributor
    Join Date
    Dec 2005
    Posts
    151

    Re: SOAP + HTTP + File Upload??

    Hi,

    I am not able to get any clue for file upload. What the situation is that i have to upload the xml file.

    Following is the detail

    URL:
    http://tempuri.org/UploadFile

    Message header:

    POST /browser/service1.asmx HTTP/1.1
    Host: 192.168.0.13
    Content-Type: text/xml; charset=utf-8
    Content-Length: length
    SOAPAction: "http://tempuri.org/FileUpload"

    <?xml version="1.0" encoding="utf-8"?>
    <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <soap:Body>
    <FileUpload xmlns="http://tempuri.org/">
    <F>base64Binary</F>
    <FILENAME>string</FILENAME>
    <USERID>string</USERID>
    <USERPSWD>string</USERPSWD>
    </FileUpload>
    </soap:Body>
    </soap:Envelope>

    XML File

    <?xml version="1.0" ?>
    <knowcarrier>
    <mobile>
    <number>98450,98451,98452</number>
    <serviceprovider>AIRTEL</serviceprovider >
    <location>Karnataka</location>
    </mobile>
    <mobile>
    <number>94450,94451,94452</number>
    <serviceprovider>BSNL</serviceprovider >
    <location>Karnataka</location>
    </mobile>
    <mobile>
    <number>98440,98441,98442</number>
    <serviceprovider>SPICE</serviceprovider >
    <location>Karnataka</location>
    </mobile>


    How can i achieve the same?

    Regards,

Similar Threads

  1. Error : Cannot find file : for DUMMIES
    By PACALA_BA in forum Symbian
    Replies: 7
    Last Post: 2008-07-06, 13:18
  2. Problem with pyobfuscate
    By JOM in forum Symbian
    Replies: 3
    Last Post: 2008-06-20, 22:47
  3. Error with makesis.exe and creating the .pkg file
    By gramya87 in forum Symbian Tools & SDKs
    Replies: 7
    Last Post: 2007-10-10, 13:53
  4. Help needed with a 3gp file...
    By joedoe_1981 in forum Streaming and Video
    Replies: 0
    Last Post: 2007-07-18, 18:58

Posting Permissions

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