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

Similar Messages

  • 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);

  • 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 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 a sms email with a 5310

    I am trying to figure out how to send a Sms Email with my new 5310 xpress music it only allows me to enter numbers in the to box

    i would guess that you are trying to write the message possibly in the field designed for a contact name or phone number that you would like to send it to, if you go down to the rest of the lines you will be able to type your message. this is just a guess but it sounds like this might be the issue. if not please elaborate so we can assist you better. 
    You know what I love about you the most, the fact that you are not me ! In love with technology and all that it can offer. Join me in discovery....

  • TS3276 how to send a group email with iPhone 5

    how to send a group email with iPhone 5

    I have a new OSX 27" iMac that is running Maverick. 
    RE: group emails, I am trying to omit individual recients and have tried the following options without success.
    1) Mail- Composing- checked "Automatically- Bcc"
    2) Mail- Composing- unchecked "when sending to a group, show all member addresses"
    The result is that all names continue to show up with email addresses for group emails.
    HELP!  HELP!  HELP!
    Lynn 

  • 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 create a transport request with query and only with its structure.

    HI guru,
                how to create a transport request with query and only with its structure.transport request should not  include any other query items like ( variables, conditions...etc)
    thanks in advance.
    venkata

    Hi,
    Goto RSA1 and then Transport Connection -> In SAP Transports select Object Types-> Query Elements -> Then select Query->Give Technical name of the query and then select for transfer. In the right side you can choose the components which you wanted to transport.
    Regards,
    anil

  • 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 SOAP message with attachments

    How to send a SOAP message with attachments thru webservice using axis-1_3 can any one sujjest.............................

    Please refer
    http://www.javaworld.com/javaworld/jw-09-2003/jw-0912-webservices.html
    http://xml.sys-con.com/read/40315.htm

  • How to send an group email with text and photo with  out having google trash it

    how to send a group email with imac 21.5   8.1 Yosemite gmail    without having it trashed automatically

    Check the settings on the machine(s) that are trashing it.

  • 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

  • Sending a SOAP request with binary attachment

    hi all,
    I am sending a SOAP request from a SOAP client SOAP UI  with a binary attachment ( image file as an attachment )  and creating a file on the receiver side with attachment.
    But how do i see this attachment in XI and do i have to specify some additional configuration in my receiver or sender adapter modules.
    Regards ,
    Loveena.

    creating a file on the receiver side with attachment.
    Is this working? Receiver file adapter does not support attachment.
    But how do i see this attachment in XI
    In the pipeline steps, under payload, you will find two entries, one for payload and other for attachment.
    Regards,
    Prateek

  • 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.

  • Tutorial announcement :: How to send a message(s) with attachments ::

    How to send a message with attachments Using Adobe Dreamweaver CS3 and Developer Toolbox...
    - In this tutorial you will use Developer Toolbox features to build a simple contact us form with the advantage to upload file with your message and send this file via e-mail as an attachments.
    Using This application will allow to:
    * insert records into database and then send them via e-mail.
    * upload files to the server.
    * send message with uploaded files as attachments.
    This tutorial contains one part
    1. insert record, and then send it by email with (attachments).
    By following this tutorial section, you will create:
    * Page for inserting records.
    * Page for thank you when the message is sent.
    :: To View the tutorials ::
    :: Online Demo ::
    Brought t you by:
    www.developer-online.com

    Open the photo, assuming it is in Photos, and then in the lower left corner under the photo is a box with an up-pointing arrow.  Tap that box, and then the photo will have a blue circle with a checkmark in its lower right corner and the word Next at the upper right.  Tap Next, then choose how you want to send the photo, by text message, email, and so on.  Simply address the method you have chosen and put in any text you want to include.

Maybe you are looking for

  • How to add a new element in dropdown menu in PA30 screen

    Hi All, In the sreen of PA30, click 'Utilites(M)' on the menu, there are some elements in this dropdown list. In some system, if i set MOL to 22, 'Reports(japan)' will be appended at the end of the list. But some system, even if i set mol to 22, ther

  • Missing layouts when creating new file

    Hi All, I'm using the current CC version of DreamWeaver. When I go File > New > Blank Page > HTML I only see two layouts in the Layout box: 2 column fixed, right sidebar, header and footer 3 column fixed, header and footer DreamWeaver help (http://he

  • Oracle Collaboration Coexistence Gateway and Exchange 2010

    Hi, in the Beehive 2.0 Integration Guide is said that the Collaboration Coexistence Gateway is compatible with MS Exchange 2003 and 2007. Are there any plans to make in compatible to Exchange 2010 or is it even already compatible? Thanks for your hel

  • OIM11gR2:Event handler goes into infinite loop

    Hi Experts, I have created an event handler where i am doing some functionality on execute function, that updates some UDF's when a user modifies value from the user modify form. I am calling the event hanlder on modify action of User entity Now the

  • 2600n not printing

    Printer HP 2600n has ceased to print colour images. When you send on the press on the printer the green light-emitting diode blinks and is written - "There is a press", more occurs nothing. Tried to connect the printer to other personal computer - on