Overloaded operations in OSB..

Hi,
I have a .net web service. Its WSDL has defined overloaded operations. But when i create business service using the WSDL in OSB, OSB reflects one operation only when i create branching. Is OSB (10.3.1) able to handled overloaded operations?
Thanks,
Kuppusamy.V.,
Edited by: Ichiban_indian on Jun 14, 2010 6:09 PM

Hi Kuppusamy,
I am not able to see the WSDL as my n/w has blocked this site but just wanted to know whether you tested operations using SOAPUI? Are you getting proper response when you post request through SOAPUI?
I am asking this question because web-service overloading has always caused issues (specially with .net web-service on webmethods) and if I am not wrong then it is NOT recommended to use overloading in web-services.
You may consider raising a SR with Oracle Support, in parallel.
Regards,
Anuj

Similar Messages

  • OSB: Retrieve list of proxy service/business service operations via OSB API

    Hi,
    I would like to retrieve the list of proxy service/business service operations using OSB API. I was able to retrieve References to all services on given server using examples from documentation (http://docs.oracle.com/cd/E13159_01/osb/docs10gr3/javadoc/com/bea/wli/sb/management/configuration/ALSBConfigurationMBean.html). I'm also able to retrieve the Reference to any given service I want.
    My problem is - what do I do next? I've read here[http://www.theserverlabs.com/blog/2012/03/14/alsbosb-customization-using-wlst/] , that one can use ServiceConfigurationMBean.
    But when I execute this code:
              ServiceConfigurationMBean servConfMBean = (ServiceConfigurationMBean) domainService
              .findService(
                        ServiceConfigurationMBean.NAME + "." + sessionName,
                        ServiceConfigurationMBean.TYPE,null);
    The servConfMBean object is null.
    I know that there might be some useful info in the statistics, but my proxys are enabled for monitoring, and therefore I'm unable to obtain statistics programatically.
    I've also learned that thereis a TransportManagerHelper.getWsdlDescription(ref) method. But it throws null pointer exception. I dont understand how to use it.
    Any help would be greatly appreciated.
    Veronica
    Edited by: Veronica on Apr 11, 2012 2:33 AM

    There is an API change from the OSB release 11.1.1.3 and later....
    There is a solution, but this is based on Java & JMX:
    See support on this note:
    WLST scripting needed for note [ID 1431254.1]

  • Overload operator new in C++ plugins

    Hi,
    Does it make sense to overload "operator new" in C++ plugins and have it call the Premiere memory allocation routines?
    Thanks!

    Hi Annabella,
    Yes, this could be done, although not necessarily required.  Remember though, when allocating buffers for video frames, to specifically use the PPix Creator Suite in PrSDKPPixCreatorSuite.h.  This will ensure that the created PPixes are stored in the Media Cache.
    Regards,
    Zac

  • Regarding Stateless Operations in OSB Coding

    Hi,
    In my osb coding i have a scenario that that there are three operations. In one case i need the output of second operation(Not fully one some of the outputs) as the input to the third operation. I know that osb operations are stateless. Is there any possibility to get the output and give as input to the third operation in osb coding itself.
    Please help me.
    Regards
    Prabhu

    Is it the service consumer which is doing the orchestration? (first calling the first operation on OSB and getting back a response, then initiating a call to second operation on OSB and getting a response and so on)
    If thats the case then the consumer has the responsibility to send you the data needed to call second operation as well, when he sends the request for the third operation.
    Best possible solution is to have a single service on OSB which will own the orchestration logic and will call all these operations in whatever order as needed. Within an instance of this proxy service you can save the requests and responses of first and second operation which will be available for that instance only. Service consumer can call this service once, with request data for operation1, operation2 and operation3 clubbed together in a single request and from there you can do orchestration in this Proxy Service.

  • Ambiguity in overloaded operator

    Hi All,
    Compiler barfs regards the overloaded operator [] .
    #include <iostream>
    #include <string>
    class String {
      public:
        String() { }
        String(const char* src) : myStr(src) { }
        String(const std::string& src) : myStr(src) { }
        String(const String& src) : myStr(src.myStr) { }
        operator const char*() const         { return myStr.c_str(); }
        char& operator[](size_t index)       { return myStr[index]; }
        char operator[] (size_t index) const { return myStr[index]; }
        size_t length() const { return myStr.length(); }
      private:
        std::string myStr;
    int main() {
        String s("abcd");
        char c = s[1];
        std::cout << c << std::endl;
        return 0;
    $ CC -m32 -g ambiguous.cc
    "ambiguous.cc", line 23: Error: Overloading ambiguity between "String::operator[](unsigned)" and "operator[](const char*, int)".
    1 Error(s) detected.1) I cannot modify all the instances like, c = s[1]. There are hundreds of similar things in code.
    2) operator const char* is required.
    Could someone suggest any work-around, considering the above 2 points.
    Thanks,
    Sreekar

    If you have both an operator char*() and and operator[](), you will have generally have overloading ambiguities. Adding more overloads as you did might cure some of them, but apart from complicating the code and reducing maintainability, can wind up with other ambiguities down the line.
    The standard string class does not have an operator char*(), but a named conversion operator c_str() instead, partly for that reason, but mostly to prevent accidental and unintended conversions from string to char*. As designed, the String class in the example suffers from both defects.
    The best fix is to re-think the design of the String class. If you are under pressure to get something working and out the door now, you could settle for a workaround such as you found. But make the time later to re-design and re-code. Otherwise the problems with the existing design will continue to cause problems, including code that mysteriously fails at run time, in the future.

  • How to overload = operator in Java?

    Like String s = "somestring" or Integer i=10, how to develop a class with '=' operator overloaded?
    For example
    MyClass obj = 12.3f;(similar to Float class)

    I understand the answer. But how are these classes
    like String, Integer and other wrapper classes built
    for = operator overloading? Is this accomplished
    using native code?It's just how the language is defined. [url http://java.sun.com/docs/books/jls/third_edition/html/j3TOC.html]The JLS defines how these operators are required to behave. The compiler interpets them as per the JLS, to generate the proper bytecodes.

  • Built-in overloaded operator

    what is built-in overloading in java.
    explain me with example.

    what is built-in overloading in java.
    explain me with example.I may be responsible for that but it isn't an established term. Java has a number of operators working on primitive types, but Java doesn't have overloading so you can't redefine them and make them work on your own classes. There's an intermediate case though and that's the + opererator working on String, like
    String s = "this" + "that";This could be called "built-in" overloading I'd say. I think BigNumber is a strong candidate to given its own set of operators, maybe in version 1.6.

  • Enum operator overloads not called

    Hi,
    we are faced with a serious problem of the current Forte C++ compiler version (WS6U2 with actual patches). The following test program shows that the compiler does not accept operator overloads for enums. Instead of this all enums are implicitly converted to int.
    The sample compiles and runs fine with three calls to the overloaded operator|() on other compilers such as g++. The funny thing ist that also the unpatched WS6U2 Forte C++ compiler (5.3 2001/05/15) works properly here.
    So, what are the concerns of the newer compiler versions from Sun? From our point the code should be accepted by an ISO C++ compliant compiler.
    $ cat test.cc
    enum BitFlags { BIT0, BIT1 };
    BitFlags operator|(BitFlags lhs, BitFlags rhs)
    return static_cast<BitFlags>(static_cast<unsigned>(lhs) | static_cast<unsigned>(rhs));
    int main(int, char**)
    BitFlags a = BIT0 | BIT1; // Error
    BitFlags b = BitFlags(BIT0 | BIT1); // OK, but operator|() not called
    BitFlags c = ::operator|(BIT0, BIT1); // OK (explicit operator call)
    return 0;
    $ CC test.cc
    "test.cc", line 11: Error: Cannot use int to initialize BitFlags.
    1 Error(s) detected.
    $ CC -V
    CC: Sun WorkShop 6 update 2 C++ 5.3 Patch 111685-07 2002/04/10
    Thanks in advance,
    Michael v. Szombathely

    This regression was not reproducible and works o.k. as of patch 11685-09. So, if you get the current patch 111685-14, this problem is fixed in that patch.

  • OSB. WLST/MBeans .. Runtime Data and Operations

    Hello *,
    I'm having difficulties in gathering runtime statistics as well as invoking operations on OSB MBeans. Actually I can't open/find any OSB Mbeans at all. I'm using WLShell for MBean browsing as well as scripted WLST.
    Could somebody please post an example how to deal with OSB MBeans? Is there anything else to configure which I'm missing at this point?
    I would be happy if I could browse through some Business Service runtime statistics and/or stop and resume an endpoint. Product like MULE and ServiceMix allow the user to do so using standard JMX tools like MC4j or JConsole.
    any help or commente highly appreciated!!!
    \thomas

    Dear,
    I try the exmple at http://download-llnw.oracle.com/docs/cd/E13159_01/osb/docs10gr3/jmx_monitoring/example.html
    Unfortunatelly, I have exception during execution.
    Have you a solution to help me ?
    Failed to retrieve and reset statistics for all monitored proxy service ...
    java.lang.reflect.UndeclaredThrowableException
         at $Proxy0.getPath(Unknown Source)
         at tests.monitoring.ServiceStatisticsRetriever.getAndResetStatsForAllMonitoredProxyServices(ServiceStatisticsRetriever.java:131)
         at tests.monitoring.ServiceStatisticsRetriever.collecteOnceGetAndResetStatisticsTask(ServiceStatisticsRetriever.java:551)
         at tests.monitoring.ServiceStatisticsRetriever.main(ServiceStatisticsRetriever.java:595)
    Caused by: java.io.IOException
         at weblogic.management.remote.common.ClientProviderBase.makeConnection(ClientProviderBase.java:156)
         at weblogic.management.remote.common.ClientProviderBase.newJMXConnector(ClientProviderBase.java:79)
         at javax.management.remote.JMXConnectorFactory.newJMXConnector(JMXConnectorFactory.java:338)
         at javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFactory.java:247)
         at tests.monitoring.ServiceStatisticsRetriever$ServiceDomainMBeanInvocationHandler.initConnection(ServiceStatisticsRetriever.java:422)
         at tests.monitoring.ServiceStatisticsRetriever$ServiceDomainMBeanInvocationHandler.invoke(ServiceStatisticsRetriever.java:438)
         ... 4 more
    Caused by: javax.naming.CommunicationException [Root exception is java.rmi.ConnectIOException: error during JRMP connection establishment; nested exception is:
         java.io.EOFException]
         at weblogic.jrmp.Context.lookup(Context.java:189)
         at weblogic.jrmp.Context.lookup(Context.java:195)
         at javax.naming.InitialContext.lookup(InitialContext.java:392)
         at weblogic.management.remote.common.ClientProviderBase.makeConnection(ClientProviderBase.java:144)
         ... 9 more
    Caused by: java.rmi.ConnectIOException: error during JRMP connection establishment; nested exception is:
         java.io.EOFException
         at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:286)
         at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:184)
         at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:322)
         at weblogic.jrmp.BaseRemoteRef.invoke(BaseRemoteRef.java:221)
         at weblogic.jrmp.RegistryImpl_Stub.lookup(Unknown Source)
         at weblogic.jrmp.Context.lookup(Context.java:185)
         ... 12 more
    Caused by: java.io.EOFException
         at java.io.DataInputStream.readByte(DataInputStream.java:250)
         at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:228)
         ... 17 more
    My version :
    Oracle Service Bus Version: WebLogic Oracle Service Bus 10.3 Sat May 30 06:12:38 EDT 2009 1223943
    Oracle Weblogic Server Version: WebLogic Server 10.3 Fri Jul 25 16:30:05 EDT 2008 1137967
    Edited by: user6460076 on 2 déc. 2009 05:25

  • ABAP OO & Overloading

    Hi,
    I am trying to write a class in ABAP. And I need to overload my constructor. I have tried this overloading operation by SE80 transaction. But ABAP says "There is already a constructor". Is it not possible to overload a method/constructor in ABAP?
    Thanks.

    Hi,
    ABAP does not provide overloading of methods/constructors in a way we know from other OO languages (eg. Java). You cannot write a method with the same name but different signature. You can only override methods  in subclass using REDEFIITION key word but signature must stay the same.
    You can also provide a different constructor in sub class but the first statement in this constructor must be a call to constructor of super-class. But only one constructor can exist.
    Here is an example:
    *& Report  ZCL_OVR                                                     *
    REPORT  zcl_ovr                                                     .
    *       CLASS lcl_a DEFINITION
    CLASS lcl_a DEFINITION.
      PUBLIC SECTION.
        METHODS:
          constructor,
          do_sth IMPORTING iv_a TYPE i
                 RETURNING value(ov_b) TYPE i.
    ENDCLASS.                    "lcl_a DEFINITION
    *       CLASS lcl_a IMPLEMENTATION
    CLASS lcl_a IMPLEMENTATION.
      METHOD constructor.
      ENDMETHOD.                    "constructor
      METHOD do_sth.
        ov_b = 2 * iv_a.
      ENDMETHOD.                    "do_sth
    ENDCLASS.                    "lcl_a IMPLEMENTATION
    *       CLASS lcl_b DEFINITION
    CLASS lcl_b  DEFINITION INHERITING FROM lcl_a.
      PUBLIC SECTION.
        METHODS:
          constructor IMPORTING iv_a TYPE i,
          do_sth REDEFINITION.
      PRIVATE SECTION.
        DATA lv_c TYPE i.
    ENDCLASS.                    "lcl_b DEFINITION
    *       CLASS lcl_b IMPLEMENTATION
    CLASS lcl_b IMPLEMENTATION.
      METHOD constructor.
        CALL METHOD super->constructor.
        me->lv_c = iv_a.
      ENDMETHOD.                    "constructor
      METHOD do_sth.
        ov_b = 2 * iv_a + lv_c.
      ENDMETHOD.                    "do_sth
    ENDCLASS.                    "lcl_b IMPLEMENTATION

  • OSB 10gR3 - Process WS-Security flag not working with PasswordDigest

    Hi,
    By Oracle documentation when you set the "process ws-security header" in security section of a proxy service, the proxy service act as an active intermediary and consume the ws-security header received in inbound messages. This feature works fine when you call the proxy service using WS-Security Username Token Profile PasswordText, but when you send Username Token with PasswordDigest I got the following error: +"weblogic.xml.crypto.wss.WSSecurityException: Unable to validate identity assertions"+
    I am using SoapUi to call the proxy with passwordDigest, WSS-Password Type option set to PasswordDigest.
    Proxy configured with:
    General tab -> WSDL based proxy service, this wsdl doesn't have ws-policy definitions inside.
    Transport tab -> Get all headers = Yes
    HTTP Transport tab -> HTTPS Required = No / Authentication = Basic
    Operation tab -> Enforce WS-I Compliance = not checked / Selection Algorithm = SOAP Body Type
    Message Content tab -> default settings
    Policy -> Added Auth.xml(predefined) policy to request policies.
    Security tab -> Process WS-Security header = Yes / Custom Authentication settings = none
    Error --->
    +<01/12/2009 09h34min55s BRST> <Error> <OSB Security> <BEA-387022> <An error ocurred during web service security inbound request processing [error-code: Fault, message-id: 6198860737666014185--de42214.12549f82d66.-7fdb, proxy: AlphaTests/MyProxy/Proxy/MyLogProxy, operation: null]+
    --- Error message:
    +<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><env:Header/><env:Body><env:Fault xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"><faultcode>wsse:InvalidSecurity</faultcode>*<faultstring>Unable to validate identity assertions.</faultstring>*</env:Fault></env:Body></env:Envelope>+
    weblogic.xml.crypto.wss.WSSecurityException: Unable to validate identity assertions.
    +     at weblogic.wsee.security.wss.SecurityPolicyValidator.processIdentity(SecurityPolicyValidator.java:133)+
    +     at weblogic.wsee.security.wss.SecurityPolicyValidator.processInbound(SecurityPolicyValidator.java:77)+
    +     at weblogic.wsee.security.WssServerPolicyHandler.processInbound(WssServerPolicyHandler.java:54)+
    +     at weblogic.wsee.security.WssServerPolicyHandler.processRequest(WssServerPolicyHandler.java:30)+
    +     at weblogic.wsee.security.WssHandler.handleRequest(WssHandler.java:74)+
    +     at com.bea.wli.sb.security.wss.WssInboundHandler.processRequest(WssInboundHandler.java:155)+
    +     at com.bea.wli.sb.security.wss.WssHandlerImpl.doInboundRequest(WssHandlerImpl.java:201)+
    +     at com.bea.wli.sb.context.BindingLayerImpl.addRequest(BindingLayerImpl.java:257)+
    +     at com.bea.wli.sb.pipeline.MessageProcessor.processRequest(MessageProcessor.java:66)+
    +     at com.bea.wli.sb.pipeline.RouterManager$1.run(RouterManager.java:508)+
    +     at com.bea.wli.sb.pipeline.RouterManager$1.run(RouterManager.java:506)+
    +     at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)+
    +     at weblogic.security.service.SecurityManager.runAs(Unknown Source)+
    +     at com.bea.wli.sb.security.WLSSecurityContextService.runAs(WLSSecurityContextService.java:55)+
    +     at com.bea.wli.sb.pipeline.RouterManager.processMessage(RouterManager.java:505)+
    +     at com.bea.wli.sb.transports.TransportManagerImpl.receiveMessage(TransportManagerImpl.java:371)+
    +     at com.bea.wli.sb.transports.http.HttpTransportServlet$RequestHelper$1.run(HttpTransportServlet.java:279)+
    +     at com.bea.wli.sb.transports.http.HttpTransportServlet$RequestHelper$1.run(HttpTransportServlet.java:277)+
    +     at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)+
    +     at weblogic.security.service.SecurityManager.runAs(Unknown Source)+
    +     at com.bea.wli.sb.transports.http.HttpTransportServlet$RequestHelper.securedInvoke(HttpTransportServlet.java:276)+
    +     at com.bea.wli.sb.transports.http.HttpTransportServlet$RequestHelper.service(HttpTransportServlet.java:237)+
    +     at com.bea.wli.sb.transports.http.HttpTransportServlet.service(HttpTransportServlet.java:133)+
    +     at weblogic.servlet.FutureResponseServlet.service(FutureResponseServlet.java:24)+
    +     at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)+
    +     at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)+
    +     at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)+
    +     at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)+
    +     at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)+
    +     at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3498)+
    +     at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)+
    +     at weblogic.security.service.SecurityManager.runAs(Unknown Source)+
    +     at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2180)+
    +     at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2086)+
    +     at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1406)+
    +     at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)+
    +     at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)+

    Eduardo,
    Yes, but the flag "Process WS-Security header" needs to be set to 'No' and I included a delete node to remove the wsse:Security element from header. Attaching Auth.xml predefined policy to my request operation, causes OSB to include the policy directive in my WSDL, but the PasswordText(see below).
    In Oracle security guide we have steps to configure PasswordDigest in the Oracle Service Bus Security Configuration using the WLS Console http://download.oracle.com/docs/cd/E13159_01/osb/docs10gr3/security/model.html#wp1062542
    My doubt is: Is this a bug? "Process WS-Security header" flag is supposed to work with PasswordDigest?
    My WSDL with WS-Policy statements after Auth.xml policy was configured.
    <?xml version="1.0" encoding="UTF-8"?>
    <s2:definitions targetNamespace="http://alpha.tests.org" xmlns:s0="http://schemas.xmlsoap.org/ws/2004/09/policy" xmlns:s1="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:s2="http://schemas.xmlsoap.org/wsdl/" xmlns:s3="http://alpha.tests.org" xmlns:s4="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy">
    <s0:Policy s1:Id="encrypt-custom-body-element-and-username-token">
    <wssp:Identity xmlns:wssp="http://www.bea.com/wls90/security/policy">
    <wssp:SupportedTokens>
    <wssp:SecurityToken TokenType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#UsernameToken">
    <wssp:UsePassword Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText"/>
    </wssp:SecurityToken>
    </wssp:SupportedTokens>
    </wssp:Identity>
    </s0:Policy>
    <wsp:UsingPolicy s2:Required="true"/>
    <s2:types>
    <xsd:schema elementFormDefault="qualified" targetNamespace="http://alpha.tests.org" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:impl="http://alpha.tests.org" xmlns:s0="http://schemas.xmlsoap.org/wsdl/" xmlns:s1="http://alpha.tests.org" xmlns:s2="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <xsd:element name="EchoRequest">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element name="send" type="xsd:string"/>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    <xsd:element name="EchoResponse">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element name="response" type="xsd:string"/>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    </xsd:schema>
    </s2:types>
    <s2:message name="echoRequest">
    <s2:part element="s3:EchoRequest" name="echoPartReq"/>
    </s2:message>
    <s2:message name="echoResponse">
    <s2:part element="s3:EchoResponse" name="echoPartResp"/>
    </s2:message>
    <s2:portType name="MyAlphaPort">
    <s2:operation name="echo">
    <s2:input message="s3:echoRequest" name="echoRequest"/>
    <s2:output message="s3:echoResponse" name="echoResponse"/>
    </s2:operation>
    </s2:portType>
    <s2:binding name="MyAlphaBinding" type="s3:MyAlphaPort">
    <s4:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
    <s2:operation name="echo">
    <s2:input name="echoRequest">
    <s4:body use="literal"/>
    <wsp:Policy>
    <wsp:PolicyReference URI="#encrypt-custom-body-element-and-username-token"/>
    </wsp:Policy>
    </s2:input>
    <s2:output name="echoResponse">
    <s4:body use="literal"/>
    </s2:output>
    </s2:operation>
    </s2:binding>
    <s2:service name="MyAlphaBindingQSService">
    <s2:port binding="s3:MyAlphaBinding" name="MyAlphaBindingQSPort">
    <s4:address location="http://CLXSP0272:7001/MyAlphaService"/>
    </s2:port>
    </s2:service>
    </s2:definitions>

  • Stubbing data in OSB

    I have a few proxy services that have multiple operations in OSB. My issue is that the services aren't available after 6PM.
    I need assistance on how you stub a business/proxy service that has mock data or sample data that returns after 6PM. I don't need all the data to come back. I just need some sort of data that displays.
    Thanks,
    Bruce

    you could send all the requests to some apache installation and use time in rewrite rules to decide whether you route to the "real" service or to the mock service (you could soapui for this to have a mockservice running on some endpoint)
    basically you need some router to decide whether to retrieve the real data or the mock data
    this could also be build in osb, for example
    you create 1 dispatcher proxy service which could retrieve for example the servicename, operationname, and in this proxy service you could decide to either call the business service with the real endpoint or the mockservice endpoint.
    but..when i'm typing this i'm thinking of the next
    you could add routing options in the routing to the business service
    in there you have the option to overrule the URI.
    either you could try to add a xpath expression in the 'expression' field which some something like "if currenttime > 6pm then use this endpoint else use mock endpoint'
    but since this logic will be re-used for other business service i would create some dispatcher xquery which receives the servicename and operationname, and in there decide whether to return the real endpoint or the mock endpoint
    so if you really want to fix this in the osb itself i think the routing options with some generic dispatcher xquery would be the easiest way
    but since this isn't really logic you want to model in your process flow, taking this out of the osb and implement it for example in the apache with some rewrite rules would be a cleaner solution

  • "Getting started"  for connectivity to OAM from OSB

    I am completely new to OAM IdXml. I need to do POC to make connectivity to OAM for CRUD operations from OSB.
    Where can I start from? Is there any "Getting started" Guide or Any beginer steps to follow to get started?

    I'm very familiar with organizing in iTunes, and I prefer to have iTunes organize my library and COPY any media I add (that way I don't have links to media everywhere).
    iTunes and iPhoto are totally different except that they both start with "i"
    (1) linking to my existing folders and photos
    Advantages:
    Keeping the library file small (so as to keep iPhoto speedy to open/navigate?)
    Preserve folder structure
    Drawbacks:
    Can't remove pics from the hard drive after I've previewed in iPhoto. I would have to preview all the pics in my respective folders, remove the ones I don't want, then import and tag, etc.
    Additional major drawbacks
    In addition to the more difficult import workflow as you note above deleting photo is more difficult (delete in iPhoto and then again from the hard drive outside of iPhoto)
    And upgrading/replacing hardware is much more difficult
    (2) copying the media to the iPhoto Library file. I like this idea because I can "Show package contents" if I want to see my originals, and it keeps everything in a nice, tidy file.
    Drawback (possible): Does this file, when it gets large, take a long time to open, and does iPhoto slow to a crawl? (I have about 80 GBs of photos to import).
    Advantage: I can remove files from the hard drive right from within iPhoto.
    That is a large library - mine has just over 30,000 photos in it which consist of about 50GB of photos (total library is about 72GB) which runs great on a 27" iMac (was getting slow on my old G5 before upgrading to an Intel 3.33 GHz core 2 duo)
    LN

  • Jdeveloper 11g - JAX-RPC 1.1 method is not supported in WLS 8.1 clients.

    Hi,
    I am using Jdeveloper 11g and migrating a web Service Proxy created using jdeveloper 10g.
    I imported all the proxy classes and when I try to run web service client In Jdeveloper 11g I get the following error
    "JAX-RPC 1.1 method is not supported in WLS 8.1 clients. If you are attempting to run an OC4J 10.1.3 JAX-RPC client in WLS, please see the Web Service Migration Guide for instructions."
    Please advise on how to solve this?
    which is the offending jar/library file in Jdeveloper 11g which is causing the above error?.
    Is the above problem there in the WebLogic Server Runtime also?
    Please let me know.
    2) I cannot generate web server proxies also with jdev11g because the wsdl has overloaded methods omitting the name property within the input and output message, ie, they have a null name. therefore Jdeveloper 11g is using the library which
    when called with an overloaded operation that contains null input/output message names, a duplicate error occurs because it sees other operations with the same name. so it is effectively not allowing to create the web service proxies.
    Thanks,
    Appreciate your quick response to the above

    Have you checked the 'Web Service Migration Guide' mentioned in the error message?
    Timo

  • Handling Sequence of Services in Oracle Service Bus 11g

    Hi there,
    I am very new to Oracle Service Bus, I want to achieve the following sequence of operations in OSB, please help me or guide me how to achieve it in sequence manner.
    1) Transfer .txt file from STFP server to local shared folder.
    2) Calling EJB service to process (Read the file) and insert/update in DB.
    3) Once the EJB service operation is over, transfer the file from local folder "Inbox" to local folder "archive" folder.
    4) Sent the success or failure batch job email message to administrator.
    Thanks in Advance.
    Regards,
    Raj

    Hi,
    I've created the 2 Proxy services and related business services, one service is used to move the file from one location to another and another service is used to call the EJB (using JEJB transport). I am using the sequential service call to call one after another (1st Move file then Call JEJB). The following error I am getting, pls help me to resolve this issue.
    <Jun 3, 2013 11:48:47 AM SGT> <Error> <OSB Kernel> *<BEA-380003> <Exception on TransportManagerImpl.sendMessageAsync: unchecked exception:, java.lang.IllegalStat*
    **eException: [JEJBTransport:387313]Colocated call is not supported by JEJB transp ort provider.*java.lang.IllegalStateException: [JEJBTransport:387313]Colocated call is not supported by JEJB transport provider.*
    at com.bea.wli.sb.transports.jejb.JEJBTransportProvider.sendMessageAsync
    (JEJBTransportProvider.java:860)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    Truncated. see log file for complete stacktrace
    >
    Thanks.
    Edited by: 966429 on Jun 3, 2013 2:45 AM

Maybe you are looking for