Combine 2 Business services having same schema

All,
This is a straight forward case, I am sure this is easy, but since Im a beginner I cant get quick answer.
I am trying to achieve something like A+B=C, where A and B are 2 business services having exact schema, and C is my new Business service that is a combination of A and B.
How do I achieve this in ALSB? please suggest
Thanks

does it mean that C is going to have two portTypes (portType of A and portType of B)?
If that is the case then you can create your business service in ALSB and a proxy service. The proxy service will simply pass the inbound message to your business service.
Hope it helps.

Similar Messages

  • Compare Table Data on 2 different databases having same schema

    I need to compare data in all the tables in 2 different databases having same schema.
    If there is any difference in data in any table on Database1 and Database2 then I need to update/insert/delete the rows in my table in Database2.
    So Database1 is my source database and Database2 is my sync database. I cannot use expdp tables as I am not having sufficient privileges to the database server.
    Also I cannot drop and recreate the tables as they are huge.
    Can anyone please guide me how to compare data and to write a script to comapre the changes in say Database1.Table1 and Database2.Table1 and then accordingly do inserts/updates/deleted on Database2.Table1?
    Thanks

    Karthick_Arp wrote:
    Do you have a DBLink? If youes you can do this.
    1. Login into the Database-2 and run this code.
    begin
    for i in (select table_name from user_tables)
    loop
    execute immediate 'truncate table ' || i.table_name;
    end loop;
    end;This will empty all the tables in your Database-2. Now what you need is to just populate the data from Database-1This might result in error, if any of the tables have referential integrity on them.
    From 10g documentation :
    Restrictions on Truncating Tables
    You cannot individually truncate a table that is part of a cluster. You must either truncate the cluster, delete all rows from the table, or drop and re-create the table.
    You cannot truncate the parent table of an enabled referential integrity constraint. You must disable the constraint before truncating the table. An exception is that you can truncate the table if the integrity constraint is self-referential.
    If a domain index is defined on table, then neither the index nor any index partitions can be marked IN_PROGRESS.I would go for normal MERGE. Also change the cursor to select table names by first modifying the child tables and then the parent table.

  • OSB: Invoking multiple endpoint URIs or business service at same time

    Hi All,
    I want to route the request to two end point URIs or business services using OSB.
    Say for example, I have a BPEL which is deployed in two servers. Using this solution I have to invoke the deployed service in both servers as soon as I receive input.
    Please help.
    Thanks in Advance

    yes you can.
    1. place URIs in a xml. Save XML as a xquery resource say URICollection.xquery.
    2. assign this URICollection.xquery to a variable say URICollectionVariable.
    3. extract desired URIs using a xquery from URICollectionVariable. Two URIs can be stored inside one parent element, which can be output as result.
    4. replace business service URI with desired URI (from result) using "Routing options".
    To propagate request to two different locations, you need to use "for each" action. Run the "for loop" exactly two times, write logic for above item no.4- inside the for loop action.

  • How to enable cache on Business service having protocol other than JCA

    Hi all,
    In my use case I should use cache on my business service which uses Http as its transport protocol.
    when I try to use the cache on http business service I am unable to use the cache functionality.
    When I try to use the cache on JCA business service I am able to use it. Please help me in finding the
    ways in which I can enable cache functionality on the business service which uses the other protocols.
    Thanks,
    Phanindra.

    Caching in Business Service should work fine on HTTP transport as well. What all configurations have you done in your HTTP business service and how are you testing it?

  • Combine multipe tables (with same schema) in one MeasureGroup?

    With tables "FactsHistory" and "FactsToday" in the DWH (identical schema), how would one load a data union into the cube? We were planning to use one partition per table (one MOLAP, one ROLAP) and though it is probably easy to use then
    in one logical table. I know how to speparate data of one table and use separate partitions and I could use a UNION operator to combine the tables in the ds view, but that would be suboptimal since the loading process would always require selecting the union
    (lot of history data and small data from today; would be better to load the current data into the ROLAP partition separately).

    Hi timvdh, 
    You can simply create two partitions in your partition designer for the desired measure group, one (ROLAP) selecting from FactsToday and the other (or many more, since it'll be containing historical data) using MOLAP with the exact same SQL query but pointing
    FactsHistory. 
    This way, in addition to the hot and cold data combination using ROLAP and MOLAP you'll get the option to process them individually. From your explanation I'm assuming that your scenario involves frequent daily data analysis (near real-time) and not-that-frequent
    historical analysis. 
    Besides that, if you are using SQL Server 2012 or even better, 2014, consider the option of using columnar indexes to support your ROLAP queries. 
    Regards. 
    Pau

  • OSB: Call two methods from business service in same session

    I create sequence of service callout but they work separately. How add session maintain on service calls.

    by "session" do you mean "transaction"? There is not a concept of "session" in OSB...

  • Combine output of two business services

    Hi,
    I need a solution for the following problem.
    I have two dataservices(DS1 and DS2) whose return type is C.
    Now I want to combine these data services output at service bus level.
    The return type for final output should also be C, basically a kind of union transformation.
    For dataservice (DS1 and DS2), I have craeted two buisness services (BS1 and BS2)
    I wnat to do the union at proxy service.
    But I donot know how to call two business services at same time and how to combine their output.
    Should I use service callout???
    Please help me, I am pretty new to service bus

    You can use Service callout to invoke DS1 and DS2 and assign the responses to different variables. After the two callouts are made define an xquery transformation that takes these two variables as input and returns desired output. In ALSB pipeline use output of this transformation to replace body.

  • Business Service and logical system naming criteria across environments

    Hi !
    Imagine this scenario: File-XI-IDOC. There is a file server where files are uploaded by a legacy application. XI polls that directory, converts the file to IDOC and sends it to R/3.
    R/3 is a production business system, for example "R3_PROD", the file server is a business SERVICE, because of its abstract nature.
    Is it ok to give that business service a name such as "BS_FileServer" and then create the logical system "LS_FileServer" in R/3, to be able to receive IDOCs from the sender business service?
    If we need to use 3 different file servers, one for development, one for test and another for production...is it ok to create the business service in each integration directory with SAME name, and the 3 logical systems with same name in each R/3 receiver...because creating business services as "BS_FileServer_DEV", "BS_FileServer_TEST" and "BS_FileServer_PROD" we imagine that could give us problems when transporting scenarios from dev to test, and from test to prod...because we will need to recreate the whole scenario using the new object denomination.. e.g. a scenario including BS_FileServer_DEV in development is called BS_FileServer_TEST in test..or worse..we could have the BS object transported and as a result we would have a BS_FileServer_DEV object in integration directory of our test environment...
    Is this the right path?
    Thanks,
    Matias.

    Hey,
    When a technical system is defined  for a product / s/w comp version we also enter the parameter for logical system name. If a buisness system is defined for a technical system then it in turns refers to the technical system with buisness system assigned to it.
    Itz lyk linkage of  <b>PRODUCT -> S/W COM VERSION -> TECHNICAL SYSTEM (LOGICAL SYSTEM) -> BUSINESS SYSTEM</b>
    As per file to idoc scenario where <b>BUSINESS SERVICE</b> is used it doesn't refer to technical landscape so there is no question of Business system. With relevance to transports.
    With File -XI-Idoc scenario the concept of logical system only comes into picture if we have  a integration process also involved in the scenario. Where in adapter specific identifiers we specify the logical system name of the sender file system.
    Integration Repository.
    1)  The Software Component version need to be same in all the landscapes that is a prerequisite else transport will fail.
    Integration Directory:
    2) Assuming that transport is being done for all the objects under a service and the objects has been transported to the test landscape business service with same name will be create in test sys only address and access parameters that have to be entered again and the change list has to be activated.
    I haven't  tried exporting individual object from ID so no clue.
    Please refer the following link<a href="http://help.sap.com/saphelp_nw04/helpdata/en/93/a3a74046033913e10000000a155106/frameset.htm">Transporting XI Objects</a> .
    Hope itz helpfull.
    Cheers,
    *RAJ*
    *REWARD POINTS IF FOUND USEFULL*

  • Payload from Two diff Outbound interfaces and Business Service

    Hi All:
    I created a scenario....where messge is coming from two diff outbound message interface..and have only one inbound inteface...
    Message_One is coming from one OA interface.
    Message_Two is coming from other OA interface.
    I am using only one Inbound interface...
    Message Mapping
    Source Message:
    MessageOne
    MessageTwo
    Target Message:
    Message.
    Now for this I cretaed one IP
    <b>Fork</b> (two receive steps..for message one and mesage two)
    <b>Transformation</b> (Interface Mapping between (Message one, Message Two) and Message
    <b>Send.</b>
    Here is the source from the Test Tab of the IR tool.
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:Messages xmlns:ns0="http://sap.com/xi/XI/SplitAndMerge">
       <ns0:Message1>
          <ns1:MT_Message_One xmlns:ns1="http://t-systems.com/XI/Demo/BPM">
             <CutomerName>Gillette</CutomerName>
             <CutomerID>AA123</CutomerID>
             <ProductName>PN</ProductName>
             <ProductID>1234</ProductID>
          </ns1:MT_Message_One>
       </ns0:Message1>
       <ns0:Message2>
          <ns1:MT_Message_Two xmlns:ns1="http://t-systems.com/XI/Demo/BPM">
             <ProductCost/>
             <ProductManufaturingDate/>
             <ProductExpDate/>
             <ProductID/>
          </ns1:MT_Message_Two>
       </ns0:Message2>
    </ns0:Messages>
    Now below information is coming from first File
           <CutomerName>Gillette</CutomerName>
             <CutomerID>AA123</CutomerID>
             <ProductName>PN</ProductName>
             <ProductID>1234</ProductID>
    This infromation is coming from second file
             <ProductCost/>
             <ProductManufaturingDate/>
             <ProductExpDate/>
             <ProductID/>
    Question how my input message looks for both??
    I am using HTTP client to send the two diff message from two diff Business Service to same BPM.
    Is it like
    <b> <ns1:MT_Message_One xmlns:ns1="http://t-systems.com/XI/Demo/BPM">
             <CutomerName>Gillette</CutomerName>
             <CutomerID>AA123</CutomerID>
             <ProductName>PN</ProductName>
             <ProductID>1234</ProductID>
          </ns1:MT_Message_One></b>
    <b>      <ns1:MT_Message_Two xmlns:ns1="http://t-systems.com/XI/Demo/BPM">
             <ProductCost/>
             <ProductManufaturingDate/>
             <ProductExpDate/>
             <ProductID/>
          </ns1:MT_Message_Two>
       </ns0:Message2></b>
    Thanks & Regards,
    Farooq Farooqui

    Yes now I achived it...
    It like the same as I mentioned
    <ns1:MT_Message_One xmlns:ns1="http://t-systems.com/XI/Demo/BPM">
    <CutomerName>Gillette</CutomerName>
    <CutomerID>AA123</CutomerID>
    <ProductName>PN</ProductName>
    <ProductID>1234</ProductID>
    </ns1:MT_Message_One>
    <ns1:MT_Message_Two xmlns:ns1="http://t-systems.com/XI/Demo/BPM">
    <ProductCost/>
    <ProductManufaturingDate/>
    <ProductExpDate/>
    <ProductID/>
    </ns1:MT_Message_Two>
    </ns0:Message2>

  • OSB call multiple Business Services and combine the responses into one

    Dear All,
    I am new to OSB and I have a use case that I need to solve. I have 3 web services and I imported their WSDLs into OSB and created 3 Business Services that goes with each WSDL. The scenario is like this.
    Business Service 1: takes an input value as [Region] and returns a list of employee names.
    Business Service 2: takes the list of employee names and returns the list of employee names with their job profile
    Business Service 3: takes the list of employee names with their job profile and returns their contact information.
    I need to return the result of Business Service 3 to the consumer. The consumer basically need to call the Proxy service with [Region] as the input value and the result should be the output of above Business service 3.
    As I mentioned, I have WSDL for all the 3 Business Services, but, I do not have the WSDL for the Proxy Service. The Business Service WSDLs are all different and they do not match.
    My question is it possible to achieve the above result without having a concrete WSDL for Proxy Service? Also, how can I go about solving this use case. I have gone through some articles that talk about Split-Join, and am really lost.
    I really appreciate your kind reply on this.
    Thanks in advance.
    Regards,
    Syama

    You have multiple options:
    1. Create a WSDL which has input similar to input of WS1 (only Region as input) and an output similar to output of WS3.
    Create Proxy Service based on this WSDL. Then call all the thee business services one after the other and doing transformations/assigns as needed after each call. Finally map the result of BS3 to the similar output of your new WSDL on which the Proxy service is based.
    2. Create an Any XML type of web service. Create a schema which has two elements, one for input and one for output. Input containing only Region and output containing all the details. All consumers need to send request according to input defined in schema and expect output defined in schema. Its similar to creating the WSDL but can be used in case your consumer do not want to call a Web Service but want to call an XML API over HTTP. Rest will be same as option 1.
    Split join is needed to make calls in parallel, it wont be usable in your use case unless you expect a list og regions in the same request for each of which you need to gather same information by calling three services.

  • Combine response of two business services in OSB

    Scenario:
    I have a proxy service which ahs two business service call outs depending on the system name passed to it(e.g. 'ABC', 'XYZ')
    1. If the request contains 'SysName' = 'ABC', service related to 'ABC' gets called. The response is generated. (This is working.)
    2. If the request contains 'SysName' = 'XYZ', service related to 'XYZ' gets called. The response is generated. (This is working.)
    3. If the request contains 'SysName' = 'ALL', both the services related to 'ABC' and 'XYZ' systems should get call. The generated reponse should contains response of both the services.
    Please note that, the XSDs for reqeust/response of both 'ABC' and 'XYZ' services are same.
    Could you guide on steps to combine response of two business services?
    Thanks-
    Sachin

    Hi Sachin ,
    Yes u can can combine any number of service responses by using service callouts in separate/indivisual stages as it would be better to debug and trace the message flow.
    U can give explicitly user defined response variable names for the service callouts action and used them in ur pipeline (eg.response pipeline)where ever u want.
    U can create an xml structure like this where u r variables $responsebody_1.responsebody_2 are those which u hv defined while configuring the service callout action against the SOAP Response Body/Response Document Variable what ever u r using for calling BS
    <body>
    <response_1>{$responsebody_1}<response_1>
    <response_2>{$responsebody_2}<response_2>
    </body>
    and in the end use replace actionin the last stage of response pipeline to replace the entire body/node contents with the above mentioned xml structure to combiine both responses from BS
    Regards ,
    Abhinav

  • ERROR: MyService.jws:715:There are two or more operations with the same schema-element 'ns0:MyNameSpace' on the input message in a web service file or callback interface.

    I have two web service operations that have the same complex type as their input
    parameter. I want to map this type to an existing schema. I can successfully
    do this with the first operation using XQuery but when I attempt to do this with
    the second operation I get the following error:
    ERROR: MyService.jws:715:There are two or more operations with the same schema-element
    'ns0:MyNamespace' on the input message in a web service file or callback interface.
    ERROR:      SUGGESTION: Use different schema-element values for each of those operations.
    How can I use different schema-element values? The input parameters are to be
    mapped to the same schema and same element since they are the same for both operations....

    I am having the same problem. How did you resolve this..?? could you please tell me the solution??
    Thanks
    Shari

  • Conflict between 2 business services for the same SAP R/3 instance

    Hi,
    We developed a packaged solution that connects to SAP R/3 with RFC Adaptor and idoc Adaptor.
    We deliver design and configuration packages defining the entire integration schema between an external system and SAP.
    The configuration defines a business service BS_SAP_R3 containing RFC and idoc communications channels.
    When we deploy and configure the solution (design and config) on a XI instance we have a conflict.
    As the XI already contains a Business Service connecting to the same SAP instance (other integration) we want to use with our business service BS_SAP_R3, we have an error when configuring the “<i><b>Adapter-Specific Identifiers…</b></i>” properties “R/3 System ID” and “<i><b>Client</b></i>” from the section “<i><b>IDoc Adapter and RFC Adapter</b></i>” with the message, for the BS_SAP_R3
    <i><b>Check Result for Object BS_SAP_R3
    SAP system ID D46 and client 800 already exist in service | BC_TEST_SAP_R3  </b></i>
    Is there a way to solve this conflict problem?
    Thanks for your help.
    Adalbert

    Dzieki za odpowiedz
    Could you give more details about the design issue and what you have on mind?
    I also suspect a design issue but do not know how to solve it...
    If in your Configuration you have 150 Receivers Determinations, Interface Determinations and Receiver Agreements referencing the same BS business service to access SAP, can you make the service configurable in any sort…
    Can you recommend another solution?
    The only solution I see it to regenerate all the configuration by hand using the already exiting SAP BS… But for 150 objects… it is not a real solution...
    Thanks for your help
    Adalbert
    Wojtek

  • Can we use same Business Service for Sender and Receiver

    Can we use same Business Service for Sender and Receiver

    Hi
    In addition to the above infomation explaining about the Business Service..
    Business Service: Address an abstract business entity as the sender or receiver of messages.
    Using a business service, you can define the technical or business subunits of the companies involved and then assign them the relevant interfaces.
    The business services are used when configuring cross-company processes also..
    regards
    Kishore

  • Business Service sign a message with always same certificate

    Hello,
    We  need to call an external web service that require the request be signed by a certificate.
    Our organization has an Oracle Service Bus and our intention is use the bus to facilitate our clients the calls.
    I did the next steps:
    1.- I Have configured the keystore of OSB with the certificated.
    2.- I have made the business service, with the end-point the external ws.
    3.- I Have configured the sign-body ws-policy in business service.
    4.- When i prove it with debug console of OSB, i select the keystore provider and it works.
    The problem is:
    When I make the Proxy Service seems that the Business Service give the requirement to the Proxy for sign the message,  and what I want is publish the Proxy Service without this requirement and sign the message with always the same certificate.
    I would like the message was signed by Proxy Service or Business Service, and not by clients who call the OSB.
    I don't know how configure it on OSB.
    It is possible to configure OSB in that way?
    Thanks
    Miguel

    Hello,
    Can you please confirm the following
    1. You are setting up an expired certificate as the host certificate for your host (or) are you trying to sign an ASPX file with an expired certificate?
    2. The webserver where you are hosting this ASPX (IIS I presume), has only certificate based authentication enabled - is that right?
    3. You are seeing that when the user opens the website they are prompted that the certificate has expired, and even if they chose to move forward, they are not able to - is that the issue?
    4. If (3) is not the issue and you want to be able to get access to the certificate-expiration error as part of the ASPX code, then that wouldn't be possible because the certificate validation would happen as part of the TLS connection negotiation
    If you can please provide some more details, it will help.
    Thank you

Maybe you are looking for