J2ee Webservices(How i can send Image from java to C sharp)

Dear Everyone
Hi
I am currently working on J2EE base web services project.
I want to transfer some binary data as Images or files to client as (client written in c sharp).
How i can do this exactly because i have no idea
I am usnig sun App Server or JWSDP for this purpose
Is there any one who has some experience with such knowledge.
Kindly give me ur suggestions regarding this.
Kind Regard
kashif

Thanks for the quick reply...i tried that and it works ...but not sure how to release that memory got from " New " and sure....there results memoryleak.this method will be called about 50 lakh plus times...so application suffers due to this memory leak....is any way i can avoid using New with in my Dll.....?

Similar Messages

  • How I can send photo from Nokia phone to my I pad

    How I can send photo from Nokia phone to my I pad

    can you e-mail off your Nokia? then open that mail onyour iPad and save from there

  • How I can load images from Creative Cloud storage in photoshop plugin, created in Extension Builder 3 with use html5/css/js?

    How I can load images from Creative Cloud storage in photoshop plugin, created in Extension Builder 3 with use html5/css/js ?

    At this point there is no API for accessing the cloud storage outside Adobe's own closed loop.
    Mylenium

  • How to download an image from java server

    Hi,
       I have created a program which allows me to upload images to Java Server thru Multipart.
    How can i receive an image from server and download it to iPhone app.Is there any way apart from NSURL i can download the image.
    Base64 Encoding & Decoding  seems to be not working.
    Thanks in advance,
      Haritha

    Hi,
       I have created a program which allows me to upload images to Java Server thru Multipart.
    How can i receive an image from server and download it to iPhone app.Is there any way apart from NSURL i can download the image.
    Base64 Encoding & Decoding  seems to be not working.
    Thanks in advance,
      Haritha

  • How do I send email from Java?

    Is there a class in Java to send email? Is there a third party class to do this? I don't really want to have to implement my own class which connects to the mail server...

    If you want a class to send mail...
    Here's the code :
    import java.util.*;
    import javax.mail.*;
    import javax.mail.internet.*;
    import javax.activation.*;
    public class Mail
    // Attributs
    public String host = null;
    public String to = null;
    public String from = null;
    public String subject = null;
    public String messageText = null;
    public String protocol = null;
    public Mail()
    host = "<your host>";
    public void sendMail()
    String msgRetour = null;
    Properties props = System.getProperties();
    props.put( "mail.smtp.host", host );
    Session sessionMail = Session.getDefaultInstance( props, null );
    try
    Message msg = new MimeMessage( sessionMail );
    msg.setFrom( new InternetAddress( from ) );
    InternetAddress address[] = { new InternetAddress( to ) };
    msg.setRecipients( Message.RecipientType.TO, address );
    msg.setSubject( subject );
    msg.setSentDate( new Date() );
    msg.setText( messageText );
    Thread mailThread = new TransportThread(msg);
    mailThread.start();
    catch( MessagingException e )
    class TransportThread extends Thread
    public Message msgMail;
    public TransportThread(Message msg)
    msgMail = msg;
    public void run()
    send();
    public void send()
    try
    Transport.send(msgMail);
    catch( MessagingException e )

  • Hi, I am using USB 8476s to communicat​e to a slave unit in LIN network using LabVIEW7.1​. Can anyone tell me how i can send a header file plus 1 byte of data to the slave in a LIN network. or how do i use ldf file. i want to read responses from the slave

    Hi,   I am using USB 8476s to communicate to a slave unit in LIN network. Can anyone tell me how i can send a header frame plus 1 byte of data to the slave in a LIN network. or how do I communictae with slave using LabVIEW7.1.
    I want to read responses from the slave. When i tried with labview exapmle programs or even using MAX also, while doing some switching action in my slave, i am getting response as Device inactive with timestamp but there is no data format. 
    And I have Lin Description File. Can you suggest me how to use ldf file.
    I am at customer place and It would be great help from you if you can suggest me at the earliest. Thank you

    you may use the LDF Starter Kit to use LDF informations in your application
    http://joule.ni.com/nidu/cds/view/p/id/665/lang/en

  • How do I set up the fax program so I can send faxes from my mac

    How do I set up the fax program so I can send faxes from my mac

    Do you have a fax machine or fax modem? If not, then you cannot fax over telephone lines, but you can subscribe to one of many eFax services.

  • How do I send pictures from iphoto to a group via email instead of to just one individual? I can't type in more than one name or send the pictures to a group.

    How do I send pictures from iphoto to a group via email instead of to just one individual? I can't type in more than one name or send the pictures to a group.

    I had a similar problem in that my wife's iphone 5 could not send pics with imessage.  Had to set the settings to default to SMS or whatever.  After laboring many hours on the web I coincidentally was on the phone with the internet people to question my internet speed.  They changed the router channel, which is something that I am capable of doing myself.  After that, the pics go over imessage.  My own Iphone didn't have the problem.  We are both latest IOS 7.0.6.

  • How I can export files from CS5.5 to send for further editing in CS6 and no lose quality?

    how I can export files from CS5.5 to send for further editing in CS6 and no lose quality?

    If all you need for further editing is the contents of your Timeline,
    then you should follow Harm's sage advice.
    Lagarith Lossless Video Codec
    http://lags.leetcode.net/codec.html
    Ut Video Codec Suite
    http://www.videohelp.com/tools/Ut-Video-Codec-Suite
    But, if you will need all of your source media files to continue the edit,
    you should consider using the Project Manager.
    Trim or copy your project
    By using the Project Manager, you will be continuing the edit
    with the original media files and there will be no quality loss.
    Be aware that once you have edited the project in CS6,
    it will be problematic (but not impossible) to return to edit in CS5.5.

  • TS3899 How do I get my list of contacts from Gmail to my iPad2 so I can send email from the iPad?

    How do I get my list of contacts from Gmail to my iPad2 so I can send email from the iPad?

    Take a look at this help site that I found by using Google ...
    http://support.google.com/mobile/bin/answer.py?hl=en&answer=138740

  • HT202724 How i can send multiple sms from mac without being a group message ?

    How i can send multiple sms from mac without being a group message ?

    Start new conversations, one for each recipient.

  • How i can send i message from my i phone to my i pad

    how i can send i message from my i phone to my i pad

    Activate iMessage on both your phone and your iPad.  Then send an iMessage to the email address you are using for iMessage on your iPad (which is shown in Settings>Messages>Receive At).

  • How can send video from my computer to apple tv

    How I can send computer' video to apple tv in order to see it on LED TV

    Figured it out!  How cool is this!
    there is an icon at the top of my laptop---a blue rectangle with a triangle pointing up...
    clicked it and was able to "turn on" air play! 
    We are set......

  • HT3529 i have a macbook pro my gf just got the macbook pro and she can send iMessages from there!!! i can't figure out how to do that from my matchbook! I'm running Mac OS X version 10.7.5 HELP!

    i have a macbook pro my gf just got the air and she can send imessages from her laptop why cant i?!?! i have mac OS X version 10.7.5

    Simple.  You need OSX 10.8 or better

  • How to get all images from folder in c#?

    I am trying to get all images from folder. But it is not executing from following:
     string path=@"C:\wamp\www\fileupload\user_data";
                string[] filePaths = Directory.GetFiles(path,".jpg");
                for (int i = 0; i < filePaths.Length; i++)
                    dataGridImage.Controls.Add(filePaths[i]);
    Please give me the correct solution.

    How to display all images from folder in picturebox in c#?
    private void Form1_Load(object sender, EventArgs e)
    string[] files = Directory.GetFiles(Form1.programdir + "\\card_images", "*", SearchOption.TopDirectoryOnly);
    foreach (var filename in files)
    Bitmap bmp = null;
    try
    bmp = new Bitmap(filename);
    catch (Exception e)
    // remove this if you don't want to see the exception message
    MessageBox.Show(e.Message);
    continue;
    var card = new PictureBox();
    card.BackgroundImage = bmp;
    card.Padding = new Padding(0);
    card.BackgroundImageLayout = ImageLayout.Stretch;
    card.MouseDown += new MouseEventHandler(card_click);
    card.Size = new Size((int)(this.ClientSize.Width / 2) - 15, images.Height);
    images.Controls.Add(card);
    Free .NET Barcode Generator & Scanner supporting over 40 kinds of 1D & 2D symbologies.

Maybe you are looking for