Discussion Board

Results 1 to 7 of 7
  1. #1
    Registered User bejoy_ak's Avatar
    Join Date
    Oct 2009
    Location
    Delhi
    Posts
    124
    hi
    i want to know is it possible to upload a jpg file using web service...??

  2. #2
    Nokia Developer Champion im2amit's Avatar
    Join Date
    Feb 2009
    Location
    Noida, India
    Posts
    2,903
    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 bejoy_ak's Avatar
    Join Date
    Oct 2009
    Location
    Delhi
    Posts
    124
    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 im2amit's Avatar
    Join Date
    Feb 2009
    Location
    Noida, India
    Posts
    2,903
    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
    Nokia Developer Champion raj_J2ME's Avatar
    Join Date
    Mar 2008
    Location
    The Capital of INDIA
    Posts
    4,314
    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 bejoy_ak's Avatar
    Join Date
    Oct 2009
    Location
    Delhi
    Posts
    124
    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 im2amit's Avatar
    Join Date
    Feb 2009
    Location
    Noida, India
    Posts
    2,903
    Post your code here for debuging...

Similar Threads

  1. Using iframe for photo upload
    By oiva in forum Symbian Web Runtime
    Replies: 2
    Last Post: 2010-03-18, 09:18
  2. tabs in menus
    By Scolpy in forum Python
    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
  4. How to UPLOAD photo from 7650 to WEB Service
    By yurnokia in forum Mobile Web Site Development
    Replies: 3
    Last Post: 2002-12-24, 08:55
  5. Photo Zone upload via 7650
    By soficc in forum Mobile Web Site Development
    Replies: 2
    Last Post: 2002-12-24, 08:54

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved