×

Discussion Board

Results 1 to 7 of 7
  1. #1
    Registered User
    Join Date
    Oct 2009
    Location
    Delhi
    Posts
    124

    photo upload using webservice

    hi
    i want to know is it possible to upload a jpg file using web service...??

  2. #2
    Nokia Developer Champion
    Join Date
    Feb 2009
    Location
    Noida, India
    Posts
    3,073

    Re: photo upload using webservice

    Yes, it is possible. But it will depend on the websrivices API that how to encode or pack the image data to send to the server.
    Tell me which web services you want to use ?

    thanks,
    ~Amitabh

  3. #3
    Registered User
    Join Date
    Oct 2009
    Location
    Delhi
    Posts
    124

    Re: photo upload using webservice

    my application is like this..first you have to take the photo using app and it will store the image in the memory card..when you select the upload option it will read the image as bytes and send it to the sever...when it did this in emulator i am getting
    javax.xml.rpc.JAXRPCException and io exception:0-Error in http operation...

  4. #4
    Nokia Developer Champion
    Join Date
    Feb 2009
    Location
    Noida, India
    Posts
    3,073

    Re: photo upload using webservice

    give your codelet where you are packing the bytes in xml for sending to server and your http connection string.
    their looks to be problem in both, something in xml packing and urlencoding issue in connection string.

    thanks,
    ~Amiatbh

  5. #5
    Super Contributor
    Join Date
    Mar 2008
    Location
    The Capital of INDIA
    Posts
    4,328

    Re: photo upload using webservice

    Quote Originally Posted by bejoy_ak View Post
    when it did this in emulator i am getting
    javax.xml.rpc.JAXRPCException and io exception:0-Error in http operation...
    Exactly where and on which line are you getting the same exception?
    Was the image successfully write in the file system?
    Thanks with Regards,

    R a j - The K e r n e l


    Join Delhi-NCR Nokia Developer's Community,

  6. #6
    Registered User
    Join Date
    Oct 2009
    Location
    Delhi
    Posts
    124

    Re: photo upload using webservice

    i didnt know on which line the error occurred but data was transmitted at some point it showed connection truncated...and the error showed was

    javax.xml.rpc.JAXRPCException IO exception:0-Error in http operation...

  7. #7
    Nokia Developer Champion
    Join Date
    Feb 2009
    Location
    Noida, India
    Posts
    3,073

    Re: photo upload using webservice

    Post your code here for debuging...

Similar Threads

  1. Using iframe for photo upload
    By oiva in forum Symbian
    Replies: 2
    Last Post: 2010-03-18, 09:18
  2. tabs in menus
    By Scolpy in forum Symbian
    Replies: 9
    Last Post: 2008-11-08, 21:31
  3. MIDlet upload photo problem
    By Kmcgivern in forum Mobile Java General
    Replies: 3
    Last Post: 2008-09-09, 09:21

Posting Permissions

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