Send/Receive multiple attachments using SwA (no MTOM)

Hello all,
I would appreciate if someone can put me in the right direction about the following implementation:
- web service method able to receive multiple attachment using weblogic tools (wsdlc, jwsc) without MTOM.
I tried JAXRPC and JAXWS, starting from code and from wsdl, using bytearrayholder, DataHandler array ... without success.
Better solution for my own goal would be using JAXRPC and Array of attachments.
Actually I don't know what I can add again: I've done multiple tests and I cannot add all the used code/wsdl/build/... of course.
I'm using WLS 10.0 (p3)
I'm just a bit confused! So, I will thank if someone can suggest the right road and, in case, I'll post more details about the related test I've done.
Thanks,
Pepe

Hello all,
I would appreciate if someone can put me in the right direction about the following implementation:
- web service method able to receive multiple attachment using weblogic tools (wsdlc, jwsc) without MTOM.
I tried JAXRPC and JAXWS, starting from code and from wsdl, using bytearrayholder, DataHandler array ... without success.
Better solution for my own goal would be using JAXRPC and Array of attachments.
Actually I don't know what I can add again: I've done multiple tests and I cannot add all the used code/wsdl/build/... of course.
I'm using WLS 10.0 (p3)
I'm just a bit confused! So, I will thank if someone can suggest the right road and, in case, I'll post more details about the related test I've done.
Thanks,
Pepe

Similar Messages

  • Send email with multiple attachments using MS outlook

    Hi,
    Is it possible to send an email with multiple attachments using MS outlook. (Using activex)
    Regards,
    Neha

    nehrnul wrote:
    Hey thanks for the reply. I'll try that way also.
    but currently my requirement is to send email using MS Outlook. And I found 1 solution using invoke node
    Regards,
    Neha
    That' "requirement" sounds like it was written by someone who is trying to drive the design of the application.  Without knowing your personal situation it's hard for me to say, but if I had to guess I would say the real requirement is to send an email with multiple attachements, and the person giving that requirement thought sending it through Outlook would be the best way.  You should get clairification on what the real intend of that requirement is.
    Unofficial Forum Rules and Guidelines - Hooovahh - LabVIEW Overlord
    If 10 out of 10 experts in any field say something is bad, you should probably take their opinion seriously.

  • Sending mails with attachments using oracle 8i

    Hi,
    Could anybody please send a sample code for sending mails
    with attachments using oracle 8i.
    Thanks in advance

    For oracle8i there is an example package from OTN:
    http://www.oracle.com/technology/sample_code/tech/pl_sql/htdocs/Utl_Smtp_Sample.html
    You have to re-write the package a bit to work it with BLOBs instead of RAW attachments, but that should be no problem
    Hop this helps,
    Michiel

  • How can I send multiple attachments using SO_DYNP_OBJECT_SEND?

    Hi,
    I hope someone can offer advice on my problem.
    My requirement is to allow users to select one or more documents from an ALV grid.  I am then required to send these documents to multiple users via email using function module SO_DYNP_OBJECT_SEND.
    I can successfully send one document as an attachment.  However, I can't seem to figure out how to send multiple documents as attachments using SO_DYNP_OBJECT_SEND.  Is this done in the packing list?
    Is there some way to tell the program where the 1st attachment ends and the 2nd attachment starts?
    My attachment content is in i_att_cont.
      CALL FUNCTION 'SO_DYNP_OBJECT_SEND'
        EXPORTING
          object_hd_change = l_title
          object_type      = 'RAW'
          raw_editor       = abap_true
          starting_at_x    = '5'
          starting_at_y    = '1'
          ending_at_x      = '120'
          ending_at_y      = '20'
          edit_title       = 'X'
          external_commit  = abap_true
        TABLES
          objcont          = i_objcont
          rec_tab          = i_rec_tab
          packing_list     = i_packing_list
          att_cont         = i_att_cont
          exclude_fcode    = i_exclude_fcode
        EXCEPTIONS
          object_not_sent  = 1
          owner_not_exist  = 2
          parameter_error  = 3
          OTHERS           = 4.
    If you require more information, please let me know.  I will be happy to provide it.
    Thanks.

    I finally found the solution.
    The trick is to ensure you put the correct values in the body_start, body_num and objlen fields of the packing list.
    Each additional attachment should start (body_start) at the end of the last attachment + 1.
    The value for body_num is equal to the number of lines in the attachment being added.
    And the objlen field is calculated by multiplying the number of lines in the attachent * 255.
    Static data
       gs_packing_list-file_ext = lv_ext.
       gs_packing_list-transf_bin = 'X'.
       gs_packing_list-objla = sy-langu.
       gs_packing_list-objtp = 'EXT'.
       gs_packing_list-objdes = lv_filename.
       gs_packing_list-objnam = 'Attachment'.
       gs_packing_list-head_start = 1.
       gs_packing_list-head_num = 1.
    Body Start
       CLEAR lv_count.
       DESCRIBE TABLE gt_temp_att_cont LINES lv_count.
       gs_packing_list-body_start = lv_count + 1.
    Body Num + Object Length
       CLEAR lv_count.
       DESCRIBE TABLE gt_att_cont LINES lv_count.
       gs_packing_list-body_num = lv_count.
       gs_packing_list-objlen = lv_count * 255.
       APPEND gs_packing_list TO gt_packing_list.
    Hopefully this helps some desperate soul in the future.

  • URGENT : Multiple Attachments using JavaMail

    Hello ,
    I'm trying to send multiple attachments to a single mailid. I have 3 text boxes in my JSP page which holds the file name that is selected . in the next page i retrieving the values of those filenames and sending it as attachment .
    But when i do so , i'm getting NullPointeException when one of 2 file is choose . but when i choose 3 files to send , it is working fine . Can any one help pls,
    Here is the code
    public class Attachservlet extends HttpServlet{
         public void doPost(HttpServletRequest req,HttpServletResponse res) throws ServletException,IOException{
         String host="172.30.1.35";
         String full[]=new String[3];
         String part[]=new String[3];
         String fname[]=new String[3];
         String pname[]=new String[3];
         String ss[]=new String[3];
         String name[]=new String[3],conc="";
         int j,jj;
         String sender_email=req.getParameter("senderemail");
         String sender_name=req.getParameter("sendername");
         String receiver_email=req.getParameter("receiveremail");
         String receiver_name=req.getParameter("receivername");
         String sent_message=req.getParameter("area");
         PrintWriter out=res.getWriter();
         Properties props=System.getProperties();
         props.put("mail.smtp.host",host);
         Session session=Session.getDefaultInstance(props,null);
         MimeMessage message=new MimeMessage(session);
         try{
         for ( jj=0;jj<3;jj++){
         j=jj+1;
         name[jj]="filename"+j;
         pname[jj]="pname"+j;
         ss[jj]=req.getParameter(name[jj]);
         part[jj]=req.getParameter(pname[jj]);
         if(ss[jj].length()!=0){
         System.out.println("values is "+ss[jj] +"\n"+part[jj]);
         System.out.println("values is "+ss[jj] +"\n"+part[jj]);
         conc=conc+ss[jj]+",";
         System.out.println(conc);     
         message.setFrom(new InternetAddress(sender_email,"Sumathi"));
         message.addRecipient(Message.RecipientType.TO,new InternetAddress(receiver_email));
         message.setSubject(receiver_name);
         BodyPart bodypart=new MimeBodyPart();
         bodypart.setText(sent_message);
         Multipart multi=new MimeMultipart();
         multi.addBodyPart(bodypart);
         bodypart = new MimeBodyPart();
         DataSource source=new FileDataSource("test.jsp");
         bodypart.setDataHandler(new DataHandler(source));
         bodypart.setFileName(part[jj]);
         multi.addBodyPart(bodypart);
         message.setContent(multi);
         Transport.send(message);
         res.sendRedirect("http://sumathi/Mail/Success.jsp");
         System.out.println("Message Sent");
         }catch(Exception e){
         System.err.println("An Exception has Arrised \t"+e);
         public void doGet(HttpServletRequest req,HttpServletResponse res)throws ServletException,IOException{
         doPost(req,res);
    Any Help pls ,
    Thanks in Advance !

    OK,
    Although you didn't post the stack trace from your NullPointer, my guess is that it's being thrown at this line:
    if(ss[jj].length()!=0){
    your ss[jj] variable is being assigned the value: req.getParameter(name[jj]); This value is null in the case when you have anything less that 3 parameters in your form.
    You need to check for a null value at this point.

  • Sateillite A200-1A9: Issue with sending/receiving E-mail using Windows Mail

    Using Windows mail I have to close/open the programme to be able to send mails, they get stuck in the Outbox. By closing and reopening the programme the mail gets sent. Also the Blue figure 1 in brackets showning 1 unread mail in the Outbox is there all the time although there is no mails read or unread in the Outbox
    Not a server problem as all mails are going/receiving fine on my desktop.
    Pressing send and receive button does not help. although some of the time it will receive mails when pressing send/receive but will not send them
    I do have Norton Internet security 2007 and am getting fed up with the continuing problems that this seems to cause over the period 2004-7.
    Is there an issue with the Windows mail programme running with Vista that is known

    I think I have found a solution
    Please check this:
    Windows Mail will not Send or Receive mails
    http://support.toshiba-tro.de/kb0/TSB7701X30005R01.htm
    It seems that the update of Software Desktop SMS to the newest version will help to sort out this problem.

  • Cant send/receive calendar invites using gmail

    Im having trouble sending/receiving invitation in my iPhone cal. I notice it only seems to do this with gmail accts. I read some old posts on this being a problem with iCloud and gmail addresses for apple ID. Trying to see if there is a more updated fix before contacting Apple?

    OK. This seems to be a problem, at least more so, with a google secondary calendar. If I send/receive invited on my default Google cal at least some of them are working. When I try to send with the secondary cal selected (a calendar added under my default calendar that is shared with others) nothing happens? I do have gmail set up through exchange and have deleted it and reinstalled once with no help.

  • Solution for sending/receiving multiple accounts via Mail and web Gmail

    I don't know why I haven't seen this before, especially since I've posted about this with no solutions, but I just discovered I can now do the following:
    I have multiple email accounts from multiple domain names, and can send and receive from all accounts through Apple Mail as well as only one Gmail web client.
    At the gmail.com web client, I go to Settings: Accounts and Import and click on Send mail from another address. I fill in the obvious info for each email account I want to add, choose 'Send through Gmail', and follow instructions to verify.
    At the Apple Mail client, after configuring my Gmail account (instructions on how to do this are all over the web), I go to Preferences: choose the Gmail account: Account Information: Email Address and add in all the email addresses I want to use separated by commas (ie [email protected], [email protected], [email protected])
    Now when I send to or from any of these emails, it sends and receives with the correct From: and To: emails, as well as replies to the correct emails.
    As for the iPhone, I just add accounts for each of the emails I want to send from and put in wrong info for the incoming mail (ignoring the initial 'can't connect' pop-ups). I receive all mail just fine and can send.
    Again, this didn't work a few months ago, but it does now. Maybe I'm missing something without realizing it yet.

    godaddy accounts sometimes like port 80 vs 587 as well.    just to piggy back on your thread.

  • Redwood Cronacle: multiple attachments using rwmail

    How can I get my script to send multiple files as attachments to a single email using rwmail, or is it even possible? If possible, what is the syntax?

    I had tried that, but it looks like I just had the script formatted wrong for Windows. It works now. Thanks!

  • Sending FAX with attachments using in RightFax

    Hi,
    We are in CRM 7. and sending Fax using  RightFax - Rightfax through SMTP/SAP Connect configured.
    In case the outgoing Email in format html – attachment not sending through RightFax
    (Mail document class is MHT)
    I can see the mail with the attachment in SOST
    In case the outgoing Email in format text – attachment sent correcty.
    )Mail document class is RAW)
    It’s probably related to mail document class,
    But I didn’t  figure it out.
    Thanks,
    Liat

    For oracle8i there is an example package from OTN:
    http://www.oracle.com/technology/sample_code/tech/pl_sql/htdocs/Utl_Smtp_Sample.html
    You have to re-write the package a bit to work it with BLOBs instead of RAW attachments, but that should be no problem
    Hop this helps,
    Michiel

  • Multiple attachments using UTL_MAIL?

    Hi all,
    Does anyone know if its possible to attach multiple documents to an email and send them using the UTL_MAIL package. I am able to send one attachment stored in the server but would like to attach multiple files if possible. Any help would be greatly appreciated.
    Regards,
    Ray

    Hi all,
    Does anyone know if its possible to attach multiple documents to an email and send them using the UTL_MAIL package. I am able to send one attachment stored in the server but would like to attach multiple files if possible. Any help would be greatly appreciated.
    Regards,
    Ray

  • How to send to multiple people using same port?

    I am trying to have one person send TWO audio sources to 10 others using same port- lets say 12345. I get "Can't open local data port:" error. The first audio is fine since I just use .addTarget(). Is there a way i can do the same for the 2nd audio source still using the same port? thanks!

    As far as I know, you should transmit using even-numbered ports, eg. 22222 and 22224.
    I think a port numbered 22223 and 22225 are opened respectively to handle control information.
    Could be wrong, but try it anyway!
    StHogan

  • Sending long filename attachments using Messenger Express

    Every time I send a long filename attachment using messenger express (iMS5.1) the file gets truncated when opening via Eudora 5.1. Qualcomm say it is a server problem, but I can't find any documentation that suggests how to check this.
    For example I send, The file name ThisIsALongFileNameText File.doc
    Eudora Returns:
    Content-Type: application/octet-stream
    Content-Disposition: attachment; filename="ThisIsALongFileNameText"
    File.doc"

    Here is the information!
    Date: Tue, 16 Apr 2002 15:31:27 -0700
    X-Mailer: iPlanet Webmail
    MIME-Version: 1.0
    Content-Language: en
    Subject: test
    X-Accept-Language: en
    Content-Type: multipart/mixed; boundary="--414d6f1d7eaa2985"
    This is a multi-part message in MIME format.
    ----414d6f1d7eaa2985
    Content-Type: text/plain
    Content-Transfer-Encoding: base64
    Content-Disposition: attachment; filename="ThisIsALongFileName
    TextFileThisIsALong FileNameTextFile.txt"
    bGFkZg==
    ----414d6f1d7eaa2985--

  • Sending emails with attachments  , using Automator

    I am new to Automator , which seems an amazing programme .
    I have set up a workflow so I can send images embedded into emails and send .
    However I am finding the apple mail takes ages to send emails out .
    Is there a way I could send them via another mail programme ?.
    Any genius out there ¿ .
    thank you

    Which antivirus software do you run on your computer? Are there any errors posting?  Have you shut off any email firewalls temporarily to attempt to isolate your issue?  Do you have outlook 2003 on more than 1 pc in your home?  Have your tried to attach a small text file and send it to see if that goes thru successfully?
    Joe D
    Verizon Telecom
    Fiber Solution Center
    Notice: Content posted by Verizon employees is meant to be informational and does not supercede or change the Verizon Forums User Guidelines or Terms or Service, or your Customer Agreement Terms and Conditions or Plan.Follow us on Twitter™!

  • Sending notifications with attachments using RSWUWFML2

    Hi,
    I need to send a notification for a Workitem that has been forwarded. The workitem includes an attachment object type SOFM in element attachobjects. The report is creating the Email text but does not include the attachment. Does anybody have any ideas how I can create the Email with the attachment included for forwarded items.
    Regards
    Kevin Peyton

    Hi,
    In this program RSWUWFML2 you have to select the Radio Button ' One Message per Work Item' then select the below Check boxes
    Workflow Entry
    Work Item Display
    Work Item Execution
    Then execute it, then in the email link to workitem object will come as an attachment. Once you click, it will ask for the user name and password, after entering those you can execute the workitem. Check this [link|https://wiki.sdn.sap.com/wiki/x/moH8B].
    Regards,
    Surjith

Maybe you are looking for

  • Error while Device Installation creation in Emigall

    Hi Utility Gurus, When creating full installation through EG31, i am able to create Installation successfully. But while creating Full Device installation through Emigall (object INST_MGMT) I am getting error 'Enter Rate Type'. I am entering the corr

  • BEX web designer 7.0, update roll time update with check box?

    guys this is what i am trying to do? i have few reports on some cubes, i have created some queries on the cubes, created a web template and in item i have placed each query with data load time, so i get the last time the data was updated. now what i

  • Website slow loading

    So I am having a problem with one website that I frequent. It it much slower loading than other websites I visit. The progress bar seems to freeze for several seconds. Sometimes if I hit the x then the reload symbol the page loads right away. I have

  • Java in oracle 8.1.7

    Hello, How can I check if java is installed (available) on database? I have 2 oracle 817 and in dba studio in one is "JServer" in second not - this means on first I have installed java on second not ? and how to install java on oracle ? I have jre 1.

  • ThumbnailPhoto Attribute Active Directory Users & Computers

    Hi, I have successfully imported user pictures within the AD in respect of the thumbnailphoto attribute and this is being replicated as part of the GC.  Does anyone know of any extensions for Active Directory Users & Computers so that an administrato