How to send  attachments as request/response in a webservice.

Hi Team,
I have created a webservice using pb.net.Now I want to pass attachments as input parameter to the webservice. And also i want to send attachments as response.So please anybody help me on this .
Regards
Subrat

Hi Bruce,
Thanks for the info.As i am new to the PB.net webservice, its very difficult for me how to add these things in the code.Can you have any sample application/programs where you have send the attachments as a request and response using pb.net webservice.
Thanks a lot again,
Regards
Subrat

Similar Messages

  • HT4314 How to send a game request to my friends

    How to send a game request to my friends

    Hi,
    How about your issue now? Is it fixed?
    I think you will get progessional support from other network related forum. Because VC++ forum aims to discuss and ask questions about the Visual C++ IDE, libraries, samples, tools, setup, and Windows programming using MFC and ATL.
    Hope you can understand.
    May
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How to send a https request using jsf

    hi
    Can anybody tell a sample how to send a https request using JSF ...
    thanks

    Prefix the request URI with the https protocol.
    The answer is too easy and straightforward that I guess that you mean something else. If you just want to know how to configure an SSL environment for your own webapplication, refer to the Java EE tutorial chapter 28: http://java.sun.com/javaee/5/docs/tutorial/doc/

  • How to send a multicast request to 239.255.255.253, seeking an SLP Directory Agent (DA)?

    Hi,
    How to send a multicast request to 239.255.255.253, seeking an SLP Directory Agent (DA) in C++?
    Thanks in advance.

    Hi,
    How about your issue now? Is it fixed?
    I think you will get progessional support from other network related forum. Because VC++ forum aims to discuss and ask questions about the Visual C++ IDE, libraries, samples, tools, setup, and Windows programming using MFC and ATL.
    Hope you can understand.
    May
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How to send a Meeting Request to Exchange/Outlook using JavaMail

    Hi,
    Can any body help me "How to send a Meeting Request to Exchange/Outlook using JavaMail" which will be added to the calendar items.
    If possible, please provide me with the sample code. Please send the sample code to the following mail id: "[email protected]".
    Thanks in advance,
    Ashok.

    I don't have a homework problem. I have a real business need for this, but haven't been able to get my code to work yet. There are at least two references out there, but either the sample code hasn't been posted or I don't know where to look. Can you help?
    Thanks.

  • How to send attachments using HTTP Binding Adapter?

    How to send attachments using HTTP Binding Adapter in Jdeveloper?
    Requirement: I need to send attachments to a system which can communicate with the middleware using https only.
    Kindly suggest..
    Edited by: Richa Juneja on Jan 28, 2013 4:03 AM

    Hi,
    Following links may help U
    /people/siva.maranani/blog/2005/09/03/invoke-webservices-using-sapxi
    http://help.sap.com/saphelp_nw04/helpdata/en/3c/b4a6490a08cd41a8c91759c3d2f401/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/29/5bd93f130f9215e10000000a155106/frameset.htm
    to know the basics about soap adapter u cn check out this link
    /people/padmankumar.sahoo/blog/2005/02/15/an-overview-of-soap
    to get in detail about the attachments chk out this link
    hi i am unable to attach an attachment in File to mail scenario
    Regards
    Pullarao

  • How to Send Attachments in Workitem?

    Hi all,
    How to send the attachmenst in Workitem from DMS?
    Scanerio is:
    User is creating different request documents and attaching the supporting docu in word ,pdf,img etc format and which are the saved in DMS server.
    I am triggering the WF on Submit for Approval button and WI goes to different approvers.
    Now Approvers want to view this attachments for approval process.
    Can anyone guide me on thi
    Thanks,
    Arpita

    Hello Arpita Churi  ,
                You have to call this function module in the method of your business object and it has to integrated with task.It will do any number of attachments of any Mircosoft office products.
    Regards,
    S.Suresh

  • How to send a packaging request with a multiline description

    If I try to send a package request with this metadata description:
    <dc:description xmlns:dc="http://purl.org/dc/elements/1.1/">First Line
    Second Line</dc:description>
    Notice there is a carriage return between "First Line" and "Second Line".
    Then, the server will return a E_ADEPT_DISTRIBUTOR_AUTH error.
    If I remove the carriage return the packaging is done well.
    I would like to know how to send the multiline description or if it is not posible.
    Thanks in advance.

    Hi,
    It's not the faxformat in ITCPO.
    What I figured out by comparing my program with another program (printout of balance sheets) is that this other program is able to fax or to print but not at the same execution. When you execute the balance sheet program in order to fax, the sapscript formular is created with the printer POSTSCPT (driver: POST) and code page 1117. When you execute it for printouts another printer can be choosen and the code page is 1110.
    Could this be the problem of not beeing able to fax an existing spool (sapscript) request? Or is there a way to convert the OTFDATA from code page 1110 to 1117?
    Cheers,
    Thomas

  • How to send a delete request to Q and P systems

    Hi Gurus,
                    I need to delete a report from production. Can anyone please tell me how I can send a delete request from Dev system inorder to delete the report in production?
    I know we need to use trans code RSZDELETE , but will that prompt me to create a delete request?
    Thanks,
    Nip

    Delete the report in Development get the request and transport it by following the same way as you transport all other requests.
    Sarhan.

  • How to send a soap request trought activeXobject/XMLHttpRequest?

    Hi everyone,
    I am new at Oracle CRM OnDemand and i wanted to make a web applet with javascript that asks for the parent's informations of the current account, but i fail to send the request they say that i do not have the permission
    Connection error: Permission Denied
    I've read some parts of the webservice guide but nothing to show examples of how to construct good SOAP requests.
    If anyone have some links or tips to help, please share them, thank you.

    Hi,
    Enable the below option in your IE browser.
    Go to Tools -> Internet Options -> Security -> Internet -> Custom Level -> Miscellaneous -> Access data sources across domains
    After enabling it should work.

  • How to send concurrent xml request to Soap service.

    Hi
    I am working in a scenario. where i need to send more than 10 concurrent xml request to soap service hosted in IIS.
    and that service directly pools to biztalk recieve location. Presently i am sending a single request through soap ui.
    Is there any tool available to send more than 10 xml request to service. If not then how we send through C#.code

    Hi Anagh,
    Microsoft BizTalk LoadGen 2007 Tool would be the perfect fit for your requirement where you need to send "Concurrent" request to SOAP.
    Using LoadGen you can configure it use to number of concurrent threads to send messages. In its config file, it has a section called
    <NumThreadsPerSection> which can be used to set the number of concurrent threads that LoadGen will use to send messages.
    Read one of my old blogposts where I have talked about using LoadGen for simulating message load for SOAP services.
    http://indway-is.blogspot.co.uk/2009/01/loadgen-testharness-for-soap-transport.html
    If this answers your question please mark it accordingly. If this post is helpful, please vote as helpful by clicking the upward arrow mark next to my reply.

  • Support message - How to send attachments to SAP

    When I create a message and send it to SAP, how can I send the attachment to SAP as well.
    I upload a doc in the Document tab, but when i check the website, the document wasn't sent sucessfully.

    If you do not get any error message I would raise a call.
    According to [Note 569392 - SAP Support Desk: Sending attachments to SAP|https://service.sap.com/sap/support/notes/569392] files with .doc extension are permitted.
    Depending on your SP level you may implement [Note 1080131 - Check on attachments and file types|https://service.sap.com/sap/support/notes/1080131]. This way you can check if the files you attached are permitted by SAP.
    Regards

  • SunLink OSI 8.1 - how to send OSI echo requests programatically (C)

    Since the osi_ping provided by the SUN packages will not give any information about roundtrip times I am about to write an independend implemenation of the protocol.
    Unfortunately neither the TLI nor the APLI documentation give any hints on how to send non DT PDUs (for the echo function ERQ/ERP is required while binding to the local NSAP configured for CLNS and used by the OSI stack).
    Can any body help out with links, hints or even code samples here ?
    Best Regards
    Falk John

    Hi.
    This product EOL. Oracle request support contract for any contacts.
    In case you have support contract you can upgrade OSI to 9.0 + patch. After this you not need additional license key.
    Additional information:
    http://www.oracle.com/us/support/licensecodes/sun/solstice-connectivity-deveoper-tools-274762.html
    You can try submit request from URL above.
    Regards

  • How to send attachments using java application and outlook

    Hi ,
    I created an application in java which is as
    on the Conference Tab i can schedule a conference and with the send command on page it map all the scheduled data to outlook(with all conference details) and using outlook send option the mails are send to appropriate user.
    but now i want to modify this application such as when i use the send command from my jsp page it should attach the file that is in .vcs or .ics format for auto updation of user calender.
    can any one know how to send attachment using java application .

    Last time I checked, SMS was a service between carriers and doing SMS yourself was really tricky. Some services existed to let you do it but as I recall they wanted non-trivial money.
    However, most phone carriers provide an email-to-SMS bridge of some kind.
    So the easiest thing is just to send an email.
    That's sending from a non-phone to a phone. There's a J2ME library to send/receive SMS from/to a phone.
    However, this is from memory, and a little out of date, so I could be entirely wrong. Hope it helps anyway.

  • How to send a HTTP request to servlet in java application

    I'm new in Java. I need to send a HTTP request with parameters to servlet in a java aplication. Here is my code. It can be compiled but always threw an exceptions when I ran it. Can anyone help?
    package coreservlets;
    import java.io.*;
    import java.net.*;
    public class PostHTTP
         public static void main(String args[])
              throws IOException, UnknownHostException {
              try
              // URL and servlet
                   URL myURL = new URL("http://pc076/servlet/coreservlets.OffHold");
                   URLConnection c = myURL.openConnection();
                   c.setUseCaches(false);
                   c.setDoOutput(true);
                   ByteArrayOutputStream byteStream = new ByteArrayOutputStream(512);
                   PrintWriter out = new PrintWriter(byteStream, true);
    //parameters
                   String postData = "REASON_CODE=3B&RSPCODE=JSmith&CASENUM=NA795401&REPLY=123&SOURCE=XYZ&REPLYLINK=http://pc076/servlet/coreservlets.ShowParameters";
                   out.print(postData);
                   out.flush();
                   String lengthString = String.valueOf(byteStream.size());
                   c.setRequestProperty("Content-Length", lengthString);
                   c.setRequestProperty("Content-Type", "application/x-www-form-urlencoded");
                   byteStream.writeTo(c.getOutputStream());
                   BufferedReader in =     new BufferedReader(new InputStreamReader
                                                 (c.getInputStream()));
                   String line;
                   //String linefeed = "\n";
                   //resultsArea.setText("");
                   while((line = in.readLine()) != null) {
                        System.out.println(line);
                        //resultsArea.append(linefeed);
              catch(IOException ioe) {
              // Print debug info in Java Console
              System.out.println("IOException: " + ioe);

    here are some updates to your code I haven't tested it running
    post again if you still have trouble
    URL myURL = new URL("http://pc076/servlet/coreservlets.OffHold");
    HttpURLConnection c = (HttpURLConnection)myURL.openConnection();
    c.setDoInput(true);
    c.setDoOutput(true);
    ByteArrayOutputStream byteStream = new ByteArrayOutputStream(512);
    String lengthString = String.valueOf(byteStream.size());
    c.setRequestProperty("Content-Length", lengthString);
    c.setRequestProperty("Content-Type", "application/x-www-form-urlencoded");
    PrintWriter out = new PrintWriter(byteStream, true);
    //parameters
    String postData = "REASON_CODE=3B&RSPCODE=JSmith&CASENUM=NA795401&REPLY=123&SOURCE=XYZ&REPLYLINK=http://pc076/servlet/coreservlets.ShowParameters";
    out.print(postData);
    out.flush();
    byteStream.writeTo(c.getOutputStream());
    // connect
    c.connect();
    BufferedReader in = new BufferedReader(new InputStreamReader
    (c.getInputStream()));
    String line;
    while((line = in.readLine()) != null)
        System.out.println(line);

Maybe you are looking for