Can I create a "UPSERT" Service which calls 2 services without using BPM ??

Hi all,
I'm on PI 7.10 and have the following problem.
I want to Upsert (Update or Insert) an Account into a 3rd Party System.
The third party system does not have one web service that does this, instead it has
Update -> Will update an existing account (but will not create it if it's not there)
Create -> Will create a new account (but will not update it if it is there).
I have created a generic Service Interface (abstract, synchronous).
I have created two operation mappings (create, update).
I want to
Call the update service
If it succeeds
  respond with success
Else (if it fails)
   Call create service
   If it succeeds
      respond with success
   else
    respond with failure.
I ideally want to do this without using a BPM and was thinking there may be a way to call multiple operations sequentially.
Can you do this by
Mutliple operation in the Service Interface?
Multiple operations in the Operation Mapping?
Is there another way without using a BPM?
Ideally I'm looking for a link to an article or help documentation describing how to do this.
Thanks in advance for your help.
Regards,
John

I think BPM will be required in this case.
Your requirement is to perform Insert OR Update.....insert and update actions depending on result of each other.
first send a Insert request to the target system and get back the response...depending on the response decide if the record was inserted or if there is a record already present and if present then send a Update request from the BPM.
Check how your webservice responds back....you mentioned that SUccess or Failure is to be communicated....from where should this be send...is the WS sending it or should PI send it?
Other way would be to make use SOAP lookup and perform valiudation in Mapping based on response of the lookup.
I am doubtful if Multiple Operations will help you in getting this requirement done.
Regards,
Abhishek.

Similar Messages

  • Can I create a dynamic report in the server without using a report template

    Hi,
    My company just bought a Crystal Report Server XI and it didn't have a report designer.
    I can't start creating report without the designer.
    The question is can  I generate a dynamic report at runtime (on the crystal report server ) without using report template?
    My project requirement is to use a crystal report server to manage the reports.
    Some client web application will just access this report server.
    I  hope the experts can provide me some guidance.
    regards,
    Rulix
    Edited by: Rulix Batistil on Nov 3, 2008 8:08 AM

    Hi Rulix,
    The latest version of CR Server is 2008. Therefore I'm assuming you are using CR Server 2008.
    New in CR 2008 is the .NET report modification software development kit (SDK). The report application server (RAS) SDK is now available for users of Crystal Reports .NET API without the use of a RAS server. Report modification such as changing, adding, or removing database providers, or adding, removing, or creating report objects, parameters, formulas, and sections can be achieved by accessing the RAS SDK through the Crystal Reports .NET SDK.
    Java developers however receive the JRC and Java SDK documentation through the free Crystal Reports for Eclipse download. This product will be updated on a separate schedule from Crystal Reports.
    Further Information and samples are available in our [Developer Library|https://www.sdn.sap.com/irj/sdn/businessobjects?rid=/webcontent/uuid/5001d5de-f867-2b10-00bf-8d27683c85a0]
    Kind regards,
    Tim

  • Can I create a smart playlist on my iPhone without using iTunes first?

    I often find myself on my iPhone, away from my computer, wanting to further refine the currently playing smarlist, say only play tracks with three stars or more. It would be nice to have this, or just iTunes DJ (iPhone DJ?) on my iPhone, with an option to play higher rated songs more often.

    SERIOUSLY!!!  I was pretty shocked when I realized iTunes DJ isn't on my iPhone.  It seems like it should be, seeing as 1) it's one of the main perks/rewards of going through the hassle of rating all your songs, and 2) for many people (including myself) most music listening time is spent on their iDevices (listening in the car, at work, etc.).  So the fact that it's not there to be utilized is pretty weird and slightly upsetting.  Also the DJ mix should sync between iDevice and computer so you can continue listening to the same list going to and from home.

  • How can i add my outlook email to my ipad without useing the Exchange Service?

    Please help me in this, How can i add my outlook email to my ipad without useing the Exchange Service?

    I'm afraid you've posted in the wrong place. This is a technical forum around a particular product called 'SharePoint'. This does talk to Exchange and Outlook in places but we don't specialised in either of those. You should have a look for one of the
    generic Outlook support forums or contact your IT department if it's a work related account.

  • HT5622 How can I create an Apple ID for my child without linking it to a credit card?

    How can I create an Apple ID for my child without linking it to a credit card?

    Hi Kappy..
    that did use to be the case but ios 8 you can create a child's Apple ID which will stay linked to the main Apple ID until they are 13 when they can if you wish take over the Apple ID themselves.
    I Have the same question regarding creating an Apple ID for my son but it insists I have to add a credit card to prove I'm an adult.
    thing is I don't have another card to add to my Apple ID I have been using the same card for all my family's Apple purchases i just update my details when I get issued a new one.
    Any ideas or suggestions greatly accepted.
    cheers

  • How can one create a paint color generated from a photo using Kuler?

    How can one create a paint color generated from a photo using Kuler?

    The best way to remove a pattern is to use a Fast Fourier Transform.  There's a free plugin (as well as examples and instructions) here:
    http://dl.dropboxusercontent.com/u/6795661/4N6site/improc/fftplugin/examples.htm
    Using the plugin requires editing the individual colour channels, which PSE does not natively allow.  You'll need the reasonably-priced Elements+ addin:
    http://elementsplus.net/
    Here's a crop at 100% of the result I got:
    The pattern is much reduced.  With some experimenting, you can probably do a little better.
    Ken

  • HT201209 How can I create an apple ID for my daughter, without adding a credit card to the account?

    How can I create an apple ID for my daughter, without adding a credit card to the account? I have tried to purchase a gift card online, but it just credits it to my account; I cannot use it to credit her new account therefore I cannot create that account.

    There are intructions on this page for how to create a new account without giving credit card details : http://support.apple.com/kb/HT2534
    e.g. log out of your account, find a free a free app in the store, click on its free 'price' :
    click on 'create Apple id' on the popup :
    Agree to the terms and fill in the details, and you should get 'none' on the payments screen.

  • How can I create a full page on Adobe Muse (without side space)?

    How can I create a full page with Adobe Muse (without side space)?

    Muse uses Fixed width Layouts so that is not 100% possible. You can extend images and box elements to full width but not actual content.

  • Can i Create A business object of my own without inheriting

    hi gurus,
                  Can i Create A business object of my own without inheriting from any other business object. i Know how to create sub type.

    yes, u can choose 'create' button in SWO1 and not fill field Supertype.
    or copy your new BO from already exist.

  • To create a web page which application should I use?

    I'm a graphic designer who works with illustrator, indesign and photoshop. To create a web page which application should I use?

    Muse (aimed at novices) or Dreamweaver (aimed at web professionals familiar with web code)

  • Can I acquire data with VB from my DAQCard without using Measurment Studio?

    I have the Measurement and Automation Software on my computer and VisualBasic.NET. Do I need any other software if I am receiving 2 analog signals and outputing 1 analog signal on my NI DAQCard-6024E PCMCIA?

    The short answer is yes, you can acquire data with VB.NET from your DAQCard without using Measurement Studio.
    There are a variety of ways to do it. All of them require that you install either the Traditional DAQ driver or the DAQmx driver in addition to Measurement and Automation Explorer. The DAQ drivers are included on a CD or CDs with your hardware. They are also available on the quarterly National Instruments Device Driver CD.
    1) You can use the Measurement Studio DAQmx .NET API. This is far and away the easiest API to use to program DAQ cards in VB.NET and C#. This API is included in the DAQ installer and does not require you to purchase Measurement Studio. However, without Measurement Studio you do not get the benefit of the DAQ Assistant integrated into Visual Studio .NET. The DAQ Assistant, when integrated into Visual Studio .NET, allows you to graphically configure your DAQ tasks, generates the code you need to configure your tasks, and generates a .NET user control (with user interface) that demonstrates how you use the tasks that you created. The caveat to this approach is that PCMCIA cards are not directly supported under DAQmx 7.0. There is, however, a beta versin of DAQmx PCMCIA support as described in this KB article.
    2) You can use the .NET P/Invoke services to call the Traditional DAQ or DAQmx C API directly. See MSDN for more information about P/Invoke. If you choose the DAQmx API, you will need to install the beta of the PCMCIA support as described in this KB article. National Instruments does not provide any examples, language-specific documentation, or code generation for this method. You'll need to look at the C API documentation to see what to do.
    3) You can use the Measurement Studio Traditional DAQ ActiveX controls. These are included in the DAQ installer and do not require you to purchase Measurement Studio.
    The absolute quickest and easiest way to get started using an NI-DAQ card in VB.NET is through the DAQ Assistant and Measurement Studio Professional or Enterprise edition.
    Your next best approach is to use the native .NET DAQmx API. This API was designed from the ground up to support .NET languages. There are examples written in VB.NET to help you get started.
    If for some reason, you don't want to use the native .NET API (or your hardware is not supported under DAQmx), whether you use P/Invoke or the ActiveX controls is a toss-up. It depends mostly on whether you are already familiar with the C API or the ActiveX API.
    David Rohacek
    National Instruments

  • How to create Users/Roles for ldap in weblogic without using admin console

    Is it possible to create Users/Roles for ldap in weblogic without using admin console? if possible what are the files i need to modify in DefaultDomain?
    or is there any ant script for creating USers/Roles?
    Regards,
    Raghu.
    Edited by: user9942600 on Jul 2, 2009 1:00 AM
    Edited by: user9942600 on Jul 2, 2009 1:58 AM

    Hi..
    You can use wlst or jmx to perform all security config etc.. same as if it were perfomred from the admin console..
    .e.g. wlst create user
    ..after connecting to admin server
    serverConfig()
    cd("/SecurityConfiguration/your_domain_name/Realms/myrealm/AuthenticationProviders/DefaultAuthenticator")
    cmo.createUser("userName","Password","UserDesc")
    ..for adding/configuring a role
    cd("/SecurityConfiguration/your_domain_name/Realms/myrealm/RoleMappers/XACMLRoleMapper")
    cmo.createRole('','roleName', 'userName')
    ...see the mbean docs for all the different attributes, operations etc..
    ..Mark.

  • I lost my iPhone device, how can I get my data back on another one without using an iCloud backup just back up on i Tunes, Please Help.

    I lost my iPhone device, how can I get my data back on another one without using an iCloud backup just back up on i Tunes, Please Help.??

    You can find the backup files and then copy them to a safe place if you are worrying about this.
    iTunes places the backup files in these places:
    Mac: ~/Library/Application Support/MobileSync/Backup/
    The "~" represents your Home folder. If you don't see Library in your Home folder, hold Option and click the Go menu.
    Windows Vista, Windows 7, and Windows 8: \Users\(username)\AppData\Roaming\Apple Computer\MobileSync\Backup\
    To quickly access the AppData folder, click Start. In the search bar, type %appdata%, then press Return.
    Windows XP: \Documents and Settings\(username)\Application Data\Apple Computer\MobileSync\Backup\
    To quickly access the Application Data folder, click Start, then choose Run. In the search bar, type %appdata%, then click OK.

  • How can I transfer contacts from my Iphone to ipad without using a computer?

    How can I transfer contacts from my Iphone to ipad without using a computer?

    The easiest method is to setup an iCloud account, turn on Contacts syncing in Settings > iCloud on both devices, and the Contacts from the iPhone will sync to the iPad.

  • Can i setup a wifi router with my IPad2 without using a computer ?

    Can i setup a wifi router with my IPad2 without using a computer ?

    This is going to depend on what wireless router got get. Some want to do all administration functions via a ethernet cable connection for security reasons.
    Once the router is configured, you will no longer need a computer.
    Try looking for a router that configures through a web browser & allows administration from a wifi connections.
    I think the easiest thing will be to have a friend come over & configure with a laptop.  I believe that you can configure the router without have a broadband connection.  You could configure it at a friends house. Might not want to connect to the friends broadband so not to confuse your friends broadband.  ( this is only a worry if the router also includes the broadband model.  Just a wireless router without a modem is not worry ).
    Robert

  • HT4437 can video from ipad be played to sony hdtv without using apple tv?

    Can video be played from ipad to sony hdtv without using apple tv

    You can use a Apple Digital AV Adapter+HDMI cable.

Maybe you are looking for

  • Data loading from DSO to Cube

    Hi, I have a question, In book TBW10 i read about the data load from DSO to InfoCube " We feed the change log data to the InfoCube, 10, -10, and 30 add to the correct 30 value" My question is cube already have 10 value, if we are sending 10, -10 and

  • 10.7.5 unable to find apps after reboot.

    Lately, after I reboot, Lion seems to "forget" where my apps are. When I try to open a file, I get either a warning that this is the first time I'm opening a new app, or that it can't find the app for the file I've double-clicked on, and asks me to f

  • Blurry titles in QT export

    I am editing a project in which there are words that scroll and go left to right. The font is pretty large and they were created within FCP. They look fine within FCP (admittedly on my computer screen not a proper monitor) but when the project is exp

  • Can i print Storage Unit number as barcode in SAP??

    can i print Storage Unit number as barcode in SAP and also Scan the same number in RF devices.

  • Firefox 4 crashes while chatting in facebook

    my firefox 4 is crash while chatting in facebook chat.. i use to open facebook page in 2 or 3 tabs.. this dont happen on beta