Can OSB proxy and business service act as a stub ?

Hi all,
would like to enquire whether I can achieve the following. I have a web service consumer. Can the consumer call a OSB proxy service and within the proxy service, I use XQuery and extract the body and perform some transformation. And the proxy service return variables to the consumer? Without calling any business proxy in the process
Can the proxy service act as a stub? Would I need a dummy business service for it?
Or my objective cannot be achieved in OSB?
Appreciate any thoughts.

Hi,
Assuming the incoming body contains "name: Peter, age: 13". Can the return information contain "name:Peter, age:13, Status: N"Yes, it's possible too, in your Response XQuery Transformation u can add n number of additional fields, and send back to requester.
You can do both Translations and Transformations.
Can I also configure the proxy service not to call any business service?Have you made/generated your proxy service from existing Business Service?
If yes,: then your message flow would have only Route Node ( routing to Business Service).
1. To do transformations on request add a Pipeline Pair in message flow and inside it add stage for doing XQuery transformations.
2. Use Reply Action in stage as last Actions and do reply with Success.( The message flow won't go to Route actions after this ).
IF No : Then either remove the OSB Action which is being used to call Business Service.
It is considered good etiquette to reward answerers with points (as "helpful" - 5 pts - or "correct" - 10pts).
Regards,
Abhinav Gupta
Edited by: Abhinav on Mar 8, 2013 3:27 PM

Similar Messages

  • Need Java API's to create OSB proxy and Business Services

    Hi All,
    I need to create OSB proxy and business services using Java API's. Does any one have reference to the OSB APIs??

    AFAIK it is proprietary.
    What I do in a similar situation is to form XML for the services, package them into JAR the same way as an import JAR is packaged (creating ExportInfo resource, ...) and deploy with standard WSLT script. Works for simplest services only (direct proxies mostly) but I can also form security, alerts, throttling etc etc etc -- all in one shot.
    Out of sheer interest, may I ask you a question? Why do you need to create OSB services from Java?
    Vlad
    http://vladimirdyuzhev.com

  • Dynamic timeout for OSB proxy or business services

    The scenario we got here is that we will have multiple synchronous webservices implemented as OSB proxy services. These proxies will then invoke a common "routing" proxy that will determine which other OSB proxy or business services (JMS Request/Response) to call and does the dynamic routing.
    I understand that you can set a timeout at the business service level how long to wait for a response (at least when using the JMS transport). The problem is we got the requirement that the timeout value would be dependent on the role of the caller invoking the frontend webservice (this is done via some kind of lookup to determine the appropriate timeout setting for the invocation).
    Is this possible? I can't seem to find anything exposed in the transport header that allows me to set a timeout value during runtime. This means that the frontend proxy will be waiting for a response depending on the business service timeout setting. Can we implement a timeout in this frontend proxy somehow?
    Stumped right now over this. Thanks in advance for helping out.

    >
    Are there other reasons why you say it's not the most ideal way of development ?
    >
    Versioning binary files is always a pain. You can't compare them, you can't merge them ... Another point, if you put your jar archive with OSB artifacts under version control, you will most probably face issue related to end of line styles (mac, unix, windows).
    However, the most important point is usability. I want to version .proxy and .biz services to see right in IDE that I changed something and I should check that in for the others. I don't want to risk that I forget something. And I also want to see what other users committed, what sources they work on ... You loose all of that by versioning jar file. I would never go this way.

  • Editing proxy and business service security with WLST

    My customer wants to manage the OSB with WLST as much as possible. I'm wondering if it is possible to handle the security and policies on proxy and business service with WLST.
    Any ideas or links to documenation are welcome.
    Thanks!

    I think you can do this. Please refer - http://docs.oracle.com/cd/E14571_01/core.1111/e10043/wlstcmds.htm#CHDGHDFJ
    But not sure of how much flexibility you will get with WLST. I will recommend using OWSM that is specifically used for similar activities for the soa suite.
    Please refer - http://docs.oracle.com/cd/E21764_01/web.1111/e13713/owsm_appendix.htm & http://docs.oracle.com/cd/E21764_01/doc.1111/e15866/owsm.htm for more details.
    Thanks,
    Patrick

  • Regarding JMS-Queue/Topic in Proxy and Business service in OSB

    Hi
    I have one query regarding to the JMS-Queue/Topic.
    I am published the message to the JMS-Queue/Topic.
    ----My Business-service configuration is---
    General----Any xml
    Tranport--jms://localhost:7001/MyConnectionFactory/RequestQueue
    Response--None
    I call this Business-service in proxy-service of Routing message was published successfully to thee Queue.
    I try to dequeue the message from that queue for this
    --- I take another proxy with---
    General----Any xml
    Tranport--jms://localhost:7001/MyConnectionFactory/RequestQueue
    In meassage flow
    Routing--second busines-service)
    --- Second business-service configuration is---
    General----Any xml
    Tranport-File (C://temp)
    Issue is when I publish the message to Queue,the message is also found in the file  i.e C:temp. I don't now why  this come to the file.*
    Any suggestions
    Thanks
    Mani

    Either I did not get an idea, but in your JMS proxy you are routing to File :)
    If you don't want file, why route to 2nd BS ?

  • Security between Proxy and Business Services

    Dear All
    We are trying to restrict business service access only through proxy services. Will outbound security using service accounts can do this task? I enabled basic authentication at business service level and tried to pass username/password token through soap header in proxy service. I get "The invocation resulted in an error: Unauthorized." error.
    Please suggest if this is the correct approach.
    Thanks,
    Amjad.

    I'm affraid you didn't get the very basic meaning of business service.
    >
    I want BS1 to be accessed only through PS1 and hence need to secure BS1.
    >
    1. You don't need to secure BS because of this reason since every BS can be accessed only through PS. There is no way you can call BS outside of OSB. BS is just a definition of external (business) service.
    2. Authentication set on BS is not meant to restrict access to BS itself. It is set to use credentials to access some service from OSB (WS1 in your case).
    >
    When BS1 is directly accessed through OSB console, I get "The invocation resulted in an error: Unauthorized".
    >
    This is only a testing form. Again, there is no chance you could call BS outside of OSB. On top of that, if you test BS which has pass-through account set, the test fails as there are no credentials to be passed to BS from PS as there was no PS called.
    I suggest you go back to OSB basics:
    http://docs.oracle.com/cd/E13159_01/osb/docs10gr3/tutorial/tutIntro.html#wp1045005
    http://docs.oracle.com/cd/E14571_01/doc.1111/e15020/architecture_overview.htm#i1094753

  • 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

  • Applying configuration on proxy- or business-service

    Hello! When i apply configuration on working proxy- or business-service with a lot of messages, then i can have trouble with http_500 code at ~1 second on OSB's cluster nodes. I just want to know how this work. Is OSB loses some messages from business service, or nothing receiving messages is lose and http_500 is only for new requests (like graceful restart)?

    (My opinion only though based on observation. I did not actually read the design papers on that).
    OSB artifacts are internally compiled into EJB applications. When configuration changes, old applications are unloaded, new ones loaded. In between you get 500 with a message saying something like "Configuration is in transition".
    My understanding the messages that are in-flight within the old applications are trying to complete while the unloading happens. Some will, some won't.
    Incoming messages coming during the unload-load gap get 500.
    Messages after the new EJB is loaded are processed successfully.
    If you must provide message deliver guarantees, you gotta go with persistent storage (JMS) and transactions.

  • Transportation of security through header from proxy to business service

    Hi,
    I have an application in which i have implemented web security at proxy service level. I couldnt transport that to business service.
    I have embedded USERNAME and PASSWORD in the header of the proxy service. This authentication should pass through to the business service, which in turn calls the SOA composite. How can i transport my credentials from proxy to business service.
    Thanks
    Karthick

    Solved

  • Specify filename in OSB File Trasport Business Service

    Hi All,
    Is it possible to specify the complete filename in OSB File Transport Business Service?
    the default behavior allows me to specify the prefix and suffix only, is it possible to override and specify the complete filename?
    Thanks,
    Tal

    Specifying the filename for outbound FTP transport in OSB the thread discusses with FTP BS and same would apply for File BS
    Manoj

  • Business Systems and Business Service - does any difference

    Hi Experts,
                      Could any one please guide me what is the difference between
    Business Systems
    and
    Business Service.
    Which situations we use Business Systems / Business Service.
    Does it have any performance issues?
    Why we are not configuring Business service in SLD?
    Cheers Experts!!
    Sunil

    Hi Sunil,
    Business System: Address a particular business system as the sender or receiver of messages.
    A business system is an actual application system in a system landscape. A business system
    (service) comprises information about the inbound and outbound interfaces and the software
    component versions of the business system. The business system services are used when
    configuring internal company processes.
    Business Systems are Logical Senders or Receivers that exchange messages by using the Integration
    Server and that are entered in the System Landscape Directory.
    The Business Systems in the System Landscape Directory relate to a system landscape.
    The Business Systems of business partners are therefore not entered in the System Landscape
    Directory. To be able to address such business partners logically, use communication components in
    the Integration Directory. A business system is a way of specifying a communication component in the
    Integration Directory more precisely (business system component).
    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.
    In the PCK, the Service is of type Business Service. It represents an abstract, addressable unit.
    Business services are used in cross-company processes, for example, if the parties involved have only
    published their interfaces and not their system landscape, or it is only partly known.
    Using a Business Service,we can define the technical or business subunits of the companies involved
    and then assign them the relevant interfaces.
    It is useful to use Business Services when configuring cross-company processes. Usually, the
    interface descriptions of the business partners involved are made publicly available.
    Also,There is already lot of thread regarding the same discussion, please see it below.
    Business service or Business system??
    Re: Business Service <--> Business System
    Difference between Business service, Business system and Business process
    Business Service vs Business System in Integration Directory.
    Business Service (vs) Business System in Integration Directory.
    What is the difference between Business System and Business Service?
    business system and business service
    Diff b/w Business service & Business System?
    Regards,
    Vinod.

  • Parties, Business Systems and Business Services

    Hi guys,
    I've read a lot about items in subject, but have some doubts about applying them to my scenario. I have to integrate SAP system and web service.
    As far as I understand concepts, this is B2B communication, so I have to use parties. To represent SAP system I use Business System, as it's described ins SLD,  and for Web service I use Business Service... just as we use business services for web services
    --- Am I right here? Will it work ok in reciever determination, agreement?
    Thank you.

    Hi,
    You are doing the usage of business systems and services in proper way.
    The scenario will difinately work with combination of business system and service.
    It will be fine for all other configurations such as Receiver Determination, Sender/receiver agreements and interface determination etc.
    Please see below the importance of Parties, Business Systems and Business Services 
    A communication party
    A communication party (party for short) represents a larger unit, which is involved in a collaborative process. Using a communication party, you generally address a company within a cross-company process. 
    You can assign a communication party one or more services to address it as the sender or receiver of messages.
    A business system
    If you want to address a particular business system as the sender or receiver of messages, choose this service type.
    A business system is an actual application system in a system landscape. A business system (service) comprises information about the inbound and outbound interfaces and the software component versions of the business system.
    You usually use business system services when configuring internal company processes.
    A business service
    If you want to address an abstract business entity as the sender or receiver of messages, choose this service type.
    Using a business service, you can define the technical or business subunits of the companies involved and then assign them the relevant interfaces.
    You usually use business services when configuring cross-company processes. In this case, you only make your interfaces known to the business partners involved and either do not make any details about your own system landscape available, or only specific details. 
    For example, you can define RosettaNet Partner Interface Processes (PIPs) as business services.
    Thanks
    Swarup

  • What is the difference between Business System and Business Service?

    Hi
    Please tell me what is the difference between Business System and Business Service...? In real time at what situation we will use Business System and in what situations we will use Business Service..? Please help me
    Best Regards
    Ravi Shankar B

    HI,
    Business system:
    If you want to address a particular business system as the sender or receiver of messages, choose this service type.
    A business system is an actual application system in a system landscape. A business system (service) comprises information about the inbound and outbound interfaces and the software component versions of the business system.
    You usually use business system services when configuring internal company processes.
    Business Service:
    If you want to address an abstract business entity as the sender or receiver of messages, choose this service type.
    Using a business service, you can define the technical or business subunits of the companies involved and then assign them the relevant interfaces.
    You usually use business services when configuring cross-company processes. In this case, you only make your interfaces known to the business partners involved and either do not make any details about your own system landscape available, or only specific details. 
    For example, you can define RosettaNet Partner Interface Processes (PIPs) as business services.
    Regards,
    Sudheer.

  • Difference between Business system and Business service.

    Hi All,
    Can any one explain in detail difference between Business system and Business service.
    As we commonly say, Business service is for those system which are not in our landscape.
    Can any one explain in which particular scenarios we will go for Business Service.
    Reg
    Bapuraj

    Hi Bapuraj,
    Business System
    Business system is a logical system, and there is an importance on physical existence of the system.Also SLD entry is required.
    It is generally used for SAP applications, this is just a general prinicple followed but not mandatory.
    Business Component(formerly Service)
    You use a Business Component, when you do not have the System details of the the partner system to which you want to communicate. i.e. you have not configured the partner system in SLD.
    Business Service is an Absract Unit with Sender and Receiver Interfaces,In this case you need to explicitly add the message interfaces while doing configuration in ID.
    It is generally used for NON-SAP applications, this is just a general prinicple followed but not mandatory.
    <REMOVED BY MODERATOR>
    <LINKS CAN BE SEARCHED FOR BASIC QUESTIONS>
    -santosh.
    Edited by: Prateek Raj Srivastava on Jan 12, 2012 10:01 PM

  • Regarding Business System and Business Service

    Hello,
    What is the difference between the Business system and Business service. When do we go for what? Which system we will take as business system or business service means either sender system or reciever system.
    Give me with simple example... please
    Thank you

    hi,
    What is the difference between the Business system and Business service.?
    Business System is a logical representation of a Technical System.
    Business System: BS is a conceptual representation of a logical system, such as a specific client on a SAP server or a 3rd party payroll application.
    For defining Business Systems, the four important pieces of data are:
    u2022Business System Name (must be unique in the landscape)
    u2022Associated Technical system name, and if the Business System will be used with IDoc interfaces, a Logical System Name
    u2022The Software Products (and associated SWCVu2019s) that are used by the Business System. The products are brought through from the Technical System definition; but for a particular Technical System, not all products will necessarily be associated with a particular Business System.
    u2022The Related Integration Server.
    A Business System addresses a business system as a sender or receiver of messages. Unlike an abstract service, a business system represents a specific (application) system in the system landscape. A business system (service) comprises information about the inbound and outbound interfaces and the software component versions of the business system.
    Business Service is a abstract representation of a System. For instance, www.google.com have a several system working together and IPs of this machines change eventually. When we use a Business Services like google we reference a computer that we don't know the phisical implementation
    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 companiesinvolved and then assign them the relevant interfaces. The business services are used whenconfiguring cross-company processes.
    Which system we will take as business system or business service means either sender system or reciever system
    Business system and business service can either be a sender or receiver...
    business systesm is an application system which is a real system..business service is an abstract entity...we send requests using webservices for them....
    thanks,
    vijaya

Maybe you are looking for

  • Menu Bar issues on Macbook Pro

    I came across this problem with my mac where after logging in I noticed that the menu bar, specifically the battery and wifi icon takes atleast 5-10 mins to appear and when I hover the cursor anywhere on the right side of the menu bar it shows the sp

  • Want to create sequence at class level  row_number , DENSE_RANK() , rank(),

    Dear All, I want to create serial no at class level please check my query , i have already try , row_number , DENSE_RANK() , rank(), it shows 1 Please guie . Regards SELECT distinct cla.R_Description, cla.N_Description, period.period_name, cla.BRANCH

  • How many pages can Pages actually hold?

    I'm starting to feel a bit nervous about this. Does anybody know?

  • Unable to send video files

    i have Lumia 820.. And I am unable to send video files through gmail as well as WhatsApp.. Please help me out Asap..

  • Unable to Install Sims 2 onto Mac.

    When I go to drag the folder into my HD, it copies but when I open it, it says "You can't open the application, The Sims 2, because PowerPC applications are no longer supported. What does this mean?