Attachment in custom model

Hi ,
How to create attachments in XI using custom module.can anyone suggest on this?
Thanks
Dinesh

Hi Stefan,
Thanks for your quick response..
This is the first time am handling Webservice scenario..
Actually I spend some time for research activities on how to implement this scenario..
And we will talk with our client about what you have posted...
But I have heard SOAP sender and receiver adapters can support attachments..
My concern here is
1. Without custom module can we create an attachment? If so send us the links.
2. In most of the links I have found that attachments are created for Mail receiver adapter..Can I use the same logic to create attachment for SOAP receiver adapter?
3. I have heard using ABAP mapping or Java proxy we can create attachments. Can I use that attachmnent to send it to webservice
4. Can I use Java mapping to create SOAP attachments?
5. Finally which is the better solution to create an attachment..a)ABAP mapping b)Custom module c)Java proxy d)Java mapping
Please advice on this as I am new to this concept...
Thanks
Dinesh

Similar Messages

  • Error while invoking webservice attached with custom policy

    I created a webservice in SOA 11g and attached a custom policy which is doing encryption(message protection) to its exposed service endpoint .This web service runs fine if i run it independently. Then i created a simple SOA process and call this web service.Then i am getting Fabric Invocation Exception.Can anyone tell me what can be the problem?

    I want to do the encyrpton only in secured webservice. I just want to invoke that web service from another process. In this case which policy can i attach in the reference of the SOA process which is calling secured web service?

  • How to implement custom Model Class in Oracle ADF?

    I am using Oracle ADF for one of my project and i am using Query component of ADF. For given tables the query component creates view objects and maps the relations. ADF uses its own custom model class for this component and it should understand the DB tables. But for my project i have no access to database. All i can do is pass a string or object/query to the existing (custom) Java class/object, and this model class formulates query and queries the database and returns the value to my Java class. I have to display these results using ADF to the front end. Is There a way to achieve this? Can i replace/override the existing Model class of ADF. If so how?
    Thanks in advance for your help.

    Hi, there:
    Best thing to do is to start with the default login.html page, and then modify it. The login screen is fairly complex and it's easy to just miss a JS function you need to call. To get to default page, you would need to do one deploy (to simulator or whatever), and then look for login.html page in the temporary Xcode or Android project generated from the deployment. It should be under the "deploy" directory in your JDev workspace.
    You can also see all the framework JS files and CSS files that way as well.
    We have had customers implementing custom login screen so we know it can work, but they all had to start with the default login screen and then modify it.
    Thanks,
    Joe Huang

  • JTable column names with custom model

    I'm having problems with column names in a JTable which uses a custom model. For some reason, the colums are being shown as A, B, C etc. The data, however, displays fine.
    This is the code which constructs the table.
    MyTableModel tableModel = new MyTableModel(myArrayList);
      myTable = new JTable(tableModel);
      myTable.setSelectionMode(ListSelectionModel.SINGLE_SELECTION);
      myTable.setFillsViewportHeight(true);This is the class, MyTableModel
    class MyTableModel extends AbstractTableModel {
            private ArrayList<Account> data;
            private String[] colNames = {"", "Name","Type","Group","Created","Modified"};
            public MyTableModel(ArrayList<Account> data) {
                this.data = data;
            public int getRowCount() {
                return data.size();
            public int getColumnCount() {
                return 6;
            public Object getValueAt(int row, int col) {
                Account account = (Account)data.get(row);
                switch(col) {
                    case 0:
                        return account.getIcon();
                    case 1:
                        return account.getName();
                    case 2:
                        return account.getType();
                    case 3:
                        return account.getGroup();
                    case 4:
                        return account.getDateCreated();
                    case 5:
                        return account.getDateModified();
                    default:
                        return "";
            public String getColumName(int index) {
             System.out.println("N:"+colNames[index]);
                return colNames[index];
        }When the table is displayed, nothing's displayed to the console, but I'd have thought getColumnName would print the current column name. Am I missing something obvious?

    Oh great. I'll go back under my rock.
    Thanks =)

  • Need to attach my custom find form to the torch found in the EBS

    I have a custom find form
    AS found in for example "human resources vision operations -------> people------> enter & maintain"
    it shows find screen then when i finish the find screen it send me to the main form , then while i'm in the main form there is torch found in the application under the menu word on the upper left where it brings the find screen again
    wht i want that i need to attach my custom find screen to this torch

    Hi , thx alot i went through it & applied it as i wrote this following code "APP_FIND.QUERY_FIND('MAIN_WIN','PARAM_WIN','PARMS_BLOCK');" in the QUERY_FIND trigger & it works fine , but i face a problem that if i make insert or any action on the master form then i press the torch , i get an error first (the error that it shows it when no forms attached to it ) then it displays the find form ..... so how can i fix this error?
    Edited by: miro_feps on Jan 12, 2010 12:33 AM

  • Need to attach my custom search form to the tourch in the application

    Hi all ,
    plz will you guide me in the case i've customized search form & i need to attach it to the search torch found in the application ,
    where when the user press this tourch my search form appears

    yes in the application for example
    human resources vision operations -------> people------> enter & maintain
    it shows find screen then when i finish the find screen it send me to the main form , then while i'm in the main form there is torch found in the application under the menu word on the upper left where it brings the find screen again
    wht i want that i need to attach my custom find screen to this torch
    will you tell me is wht i need related to here or else where can i post my question ???

  • Do I need custom Model?

    I am a TestStand beginner working on a 10-year-old test system for discrete power transistors.  These parts are very simple and are tested one at a time by an operator.  Ten years ago, another engineer built a system using TestStand and several instruments connected by GPIB.  Now the software needs to be rewritten since the old system is not compliant with test software version control requirements.  The original designer made a complete custom Model file, and modified the snacmodelsupport2.dll with LabWindows CVI.
    I am under cost and time constraints to finish this upgrade, and it appears to be a very large learning curve to understand this custom Model.  I do not want to reinvent the wheel, but it seems to me that the stock sequential model is fine for this project.  What is the rule of thumb as to when a custom model file is requred?
    Solved!
    Go to Solution.

    In my opinion you should try to avoid customizing the Process Model.  It makes it easier to maintain.  It's even worse when you "need" to change modelsupport2.dll.  UGH!!
    The current sequential model has a whole bunch of callbacks which make it really easy to get desired behavior from your client sequence file.
    Here's what I use for my rule of thumb for customizing the Process Model:
    - Will this modification be useful to multiple projects?
    - Does this modification make it easier all around in the long run. (i.e. less support, less maintenance, less work when creating new tests, etc..)
    - Is my modification strong linked to 1 client sequence file?  A process model should be something that can handle pretty much any sequence file.  If you customize it such that it's linked to a single sequence file then you are probably doing something wrong.
    - Does this modification make sense?  In all reality what am I truly gaining by this modification?
    A couple instances when I've changed the process model:
    - Configuration Entry Sequences to change settings for a test.  This just had a simple callback in it that I always overrode with my client sequence.  It just put a menu item in the user interface so users could get to it.
    - A callback/Configuration Entry which allowed users to link to a document describing what the test did.  Again overridden by my test.  Just used for the menu item.
    - Disabling/Deleting an entry point.  Test UUTs and Single Pass are the default for the sequential model.  I only wanted users to select one.
    Sounds like a crazy project.  I hope it goes well for you.
    Cheers,
    jigg
    CTA, CLA
    teststandhelp.com
    ~Will work for kudos and/or BBQ~

  • How to include interactive components in custom models?

    Hello guys,
    How can I include interactive components like switches and indicator in my custom models.
    I'm experienced working with new SPICE models and footprints, now I'm planning design custom indicators and keyboard based on switches but firts I would like to make sure it's possible.
    Thanks,
    Roosvelt
    Solved!
    Go to Solution.

    Hi Roosvelt,
    Unfortunately, interactive components can only be created internally, and you cannot modify existing interactive components. We have heard this request before, and I hope to see this in a future release, but we have time frame for when this might be possible.
    Garret
    Senior Software Developer
    National Instruments
    Circuit Design Community and Blog
    If someone helped you, let them know. Mark as solved or give a kudo.

  • Attach a custom content type and set as default for picture library using client object model

    Hi,
    How to associate custom content type to a picture libraray and set it as default using the client object model?
    Thanks

    Hello,
    Here you go:
    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/b1de0697-0006-4f89-8909-1b94aa18ad89/how-to-reorder-content-types-in-list-with-client-context
    http://www.niteenbadgujar.com/2013/05/change-default-content-type.html
    Hope it could help
    Hemendra:Yesterday is just a memory,Tomorrow we may never see
    Please remember to mark the replies as answers if they help and unmark them if they provide no help

  • Exception adding attachment from custom worklist client

    I am building a custom Human Task Editor for BPEL. This is a java standalone (at the moment) and runs on my local Mac machine. The SOA Suite 11g is installed on Linux hosted box.
    A BPEL process is already deployed and an instance created. The instance has reached the 'human task' activity. I can also verify this from <host:port/integration/worklistapp>. However, we plan to build our own worklist app.
    In this custom worklist app (which is configured through REMOTE protocol ), I make use of the taskQueryService to fetch a list of all human tasks assigned to a particular user. This returns me with a list. All works well.
    However, when I try to add an attachment to one of the tasks, I get an exception.
    -------------------CODE:----------------------------------
    import oracle.bpel.services.workflow.task.model.AttachmentTypeImpl;
    In my main class :
    AttachmentTypeImpl at = new AttachmentTypeImpl() {
    public InputStream getInputStream() {
    throw new UnsupportedOperationException("Not supported yet.");
    public void setInputStream(InputStream arg0) {
    throw new UnsupportedOperationException("Not supported yet.");
    public void setBoundary(String arg0) {
    throw new UnsupportedOperationException("Not supported yet.");
    public String getBoundary() {
    throw new UnsupportedOperationException("Not supported yet.");
    at.setContent("THIS IS ATTACH CONTENT");
    at.setMimeType("application/msword");
    at.setName("MyAttach.doc");
    task.addAttachment(at);
    try {
    taskSrvc.addAttachment(ctx, task.getSystemAttributes().getTaskId(), at);
    } catch (StaleObjectException ex) {
    } catch (WorkflowException ex) {
    --------- EXCEPTION --------------------
    Exception in thread "main" java.lang.NullPointerException
    at oracle.xml.jaxb.JaxbNode.getOwnerDocument(JaxbNode.java:237)
    at oracle.xml.jaxb.JaxbNode.setJaxbElement(JaxbNode.java:782)
    at oracle.bpel.services.workflow.task.model.AttachmentTypeImpl.setContent(AttachmentTypeImpl.java:50)
    at customworklistclilent.Main.addAttachment(Main.java:224)
    at customworklistclilent.Main.queryTasks(Main.java:156)
    at customworklistclilent.Main.main(Main.java:70)
    Has anyone tried adding an attachment from the custom worklist client using remote ejb interface

    Have you tried working with the addAttachment() method of the Message interface (http://help.sap.com/javadocs/pi/SP3/xpi/com/sap/engine/interfaces/messaging/api/Message.html#addAttachment%28com.sap.engine.interfaces.messaging.api.Payload%29) ... It may require some (major) redesign of your JAVA mapping (I'm still on XI, so I can't validate this assumption)
    Chris

  • Create a PDF as attachment in custom module in mail receiver adapter

    I'm trying to create a PDF attachment to an email using a custom module with the following codes. The attachment was created and sent, but when I tried to open it, I got the following error message: the file cannot be read either because a invalid encoding or the file is damaged.
    Anybody knew if I did anything wrong in the way I'm opening and creating the PDF attachment below?
    // add a new pdf attachment to the message
    FileInputStream fi = new FileInputStream("c:/ftmailxi.pdf");
    byte[] attachmentContent = new byte[fi.available()];
    Payload attachmentPDF = msg.createPayload();
    attachmentPDF.setName("ftmailxi.pdf");
    attachmentPDF.setContentType("application/pdf");
    attachmentPDF.setContent(attachmentContent);
    //adding our this pdf as an attachment
    msg.addAttachment(attachmentPDF);
    //provide the XI message for returning
    inputModuleData.setPrincipalData(msg);

    This will surly help u
    /people/sravya.talanki2/blog/2006/11/28/e-mail-xml-messages-in-pdf-format-from-sap-xi
    Check this out
    Mail with attachment.
    Regards,
    Prateek

  • How to get payment terms attached to customer/Billto/agreement frm tables?

    Hi All,
    Could you please help me how to pull the payment terms attached to a particular Invoice, customer and agreement.
    Thanks for your help,
    Prathima

    import com.frictionless.api.common.types.TypeFactory;
    paymentHome=IBeanHomeLocator.lookup(session,doc.getPayTermsRef());
    paymentBean=paymentHome.find(doc.getPayTermsRef());
    resourceID=paymentBean.getDocumentDescriptionId();
    rRef=TypeFactory.createResourceReference(resourceID);
    paymentDescription=rRef.getValue(session);
    Hope this helps.
    Regards,
    Immanuel

  • How to pull payment terms attached to customer, Invoice, Agreement

    Hi All,
    Could you please help me how to pull the payment terms attached to a particular Invoice, customer and agreement.
    Thanks for your help,
    Prathima

    How do make the sales order pull from the Sold-Tos record instead of the Payer's record.
    As you already indicated system copy the payment terms from the customer master payer, next priority is SP.
    in the sales order manually you can change it to SP payment term.
    or one more thing you may consider that if you want all the time determine the payment term from the SP then don't maintain the payment term in Payer customer.
    We have 2 Sold-Tos with the same Payer.  The Payer gets a discount with will apply to both Sold-tos since the payment terms are getting pulled from the Payer.  When sales order is created, payment terms get pulled from Payer and both Sold-Tos gets a discount.   But we only want to offer discount to only one of the Sold-Tos but the other sold to doesn't get a discount.
    Are you really sure about the above statement? i have never seen in one sales order two Sold to party's, confirm your statement once again.

  • Document attachment to custom tables / records

    Good morning,
    do you know if it is possible to attach external documents to custom tables / records, in the same way as it is possible for standard transactions (Services for Object)?
    If yes, can you please advise me on some reference documetns about how to customize this functionality?
    Thanks in advance
    AS

    Hi ,
    Displaying attachments is not available in the Interaction record view.You need custom development to enable the attachemnts there.
    usually the process would be to create a followup activity from the interaction record and attch documents there.
    Thanks,
    Rajiv.

  • How to attach a custom to special menu

    Hi All
    I am using oracle Apps R12
    I have created a custom Form and registered the form in PO and created a form function.
    Now how to attach a form to the special menu, can any one provide the steps would be useful.
    regards
    Srikkanth

    Find the file screen shots for the same
    https://docs.google.com/viewer?a=v&pid=explorer&chrome=true&srcid=0BxunA4-pnNcqMGUyYThlMTktNmQzZS00OTRiLTlhMjItMjZlOTI4YjAzMmQz&hl=en_US
    Thanks,
    Neil

Maybe you are looking for

  • Indesign CC for Mac and PC are not the same?

    I have creative cloud on a Mac and a PC. I cannot open the Mac Indesign files on the PC and it's frustrating. The whole point of getting Adobe CC was to be able to work on both platforms. The Mac version of Indesign is showing as 9.2.1 and the PC ver

  • DUPLICATE CONTACTS IN ADDRESS BOOK ON iPHONE

    I have duplicate contacts for every name in my address book on my iPhone. This morning, I opened my address book in my AppleBook and erased all duplicates. I synced my iPhone again, and still have duplicate addresses. Can anyone explain the problem a

  • ITunew 5.0 re-syncs everything every time

    Hi everyone. This is probably a stupid question but...I've done a search through the forums and haven't seen this listed anywhere. When using iTunes 4.9 this wasn't a problem. Here's the deal: Usually, I get updated podcasts when opening up iTunes, a

  • Not able to add tasks in previous Transport Request

    Hello all,                   After upgrade of EHP1 SP6 to our ECC 6.0 system our developers can create a Transport request but not able to add the request for new tasks in its previous request created.He can create a new request but not able to add t

  • How do I remove podcasts fom my phone, now that I have the Podcasts app?

    Since "upgrading" to the new OS, my podcasts have moved into their own app. Now for some reason old podcasts appear with ones I currently listen to. I didn't put them on there and I don't know how to get them off. Any suggestions?