OSB business service transforming a date column 1936 to 2036 ( 1950)

Hello, I'v a database view with a normal date column "geburtsdatum".
Data Dictionary:
GEBURTSDATUM DATE
Now with JDeveloper I create a db-adapter. This works fine.
On OSB I do generate a business service on the just created jca file. Also this works fine.
XSD for db adapter:
<xs:element name="geburtsdatum" type="xs:dateTime" minOccurs="0" nillable="true"/>
I can test this business service successfully, everything is fine, but not the date interpretation when birtdate <1950
Sample geburtsdatum (birtdate): 29-JUL-1934
DATABASE: 29.07.1934
OSB Business Service: 29.07.2034
Why or where happends this date conversion?
This is very strange, anyone had the same problem?
Any help would be appreciated.
Thanks
Best regards,
Reto

After all I found the solution. Again the problem has been caused on DB side.
I'm using a view. On this view I had a DATE column with a decode. I think I did a clean TO_DATE casting, but it seems as the OSB DB Adapter did not interpret this correctly.
(on database side with SQL I did not have any problems here)
My solution was:
Using a date returning function (which does my decoding) in my view :
CREATE VIEW xyz AS
SELECT ...
, myPackage.removeMaxDate(n.geburtsdatum) as geburtsdatum
FROM ...
Regards,
Reto

Similar Messages

  • OSB Business Service Work Manager Doesnt Throttle

    Hi,
    I have a requrirement to throlle the number of concurrent requests going to an end point.
    So i have used OSB business service where in i am calling an end point webservice, and configured a work manager in console and selected it in the dispatch policy
    I deployed the workmanager on managed server. i specified max concurrent threads as 3.
    I tried to test it and see that throttling doesnt really work.. All the requests sent are being sent at once not 3 at a time.
    The expected behavior is first 3 sdhud go and then onc ethey complete next 3 similary next 3. But i dont see that behavior. Please let me know if i am doing any worng
    below is my work manager configuration
    Service Type Any XML Service
    Transport Configuration
    Protocol http
    Load Balancing Algorithm round-robin
    Endpoint URI <Specified the end point URI>
    Retry Count 0
    Retry Iteration Interval 0
    Retry Application Errors Yes
    HTTP Transport Configuration
    Read Timeout 0
    Connection Timeout 0
    HTTP Request Method POST
    Authentication None
    Proxy Server
    Follow HTTP redirects Disabled
    Use Chunked Streaming Mode Enabled
    Dispatch Policy WorkManagerTest
    Message Handling Configuration
    XOP/MTOM Support Disabled
    Page Attachments to Disk No
    Result Caching Not Supported
    Any suggestions on this?
    Edited by: 791951 on Mar 17, 2011 7:51 AM

    If you need to throttle the Business service, then you should configure the throttling parameters in the Business Service -> Operational Settings tab
    Choose your Business Service in the OSB Console -> Operational Settings
    Throttling -Check this box to enable the throttling. Maximum Concurrency to 3, and Throttling Queue to x number of messages you wish to hold in the throttling queue

  • JSSE causes OSB business services to receive Socket Closed

    Using WL 10.3.3 & OSB 11gR1 on jrockit 1.6.0_45  Redhat:
    After enabling the "Use JSSE SSL" option in the managed servers's SSL tab ( because web service clients want to use SHA256 certificates ), OSB business services ( outbound to service providers ) fail with
    Exception - Body: <s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
    <soap-env:Fault xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/">
    <faultcode>BEA-380000</faultcode>
    <faultstring>General runtime error: socket closed</faultstring>
    After a lot of debugging, I've found that the Connection Timeout option within the OSB HTTP transport is involved.
    OSB business services which use https AND have a non-zero value for HTTP transport's Connection timeout cause the Socket Closed error.
    Business services which do not use HTTPS or do not have a Connection Timeout do not receive the error.
    While setting the Connection Timeout to 0 allows the transaction to succeed, that leaves the OSB server vulnerable when the service provider host is not available.
    So I've reset the Connection Timeout values to 0, and added this JVM parameter to each OSB managed server
    -Dweblogic.http.client.defaultConnectTimeout=5000

    There are few BUGs reported for similar issues.
    OSB Server Showing "java.io.IOException: SSLEngine is closed" When Attempting to Connect to an External Web Service Using Two-Way SSL (Doc ID 1465618.1)

  • OSB business service and NTLM authentication

    Hi,
    Is there a solution to use OSB business service with http transport and this bs authenticates itself with NTLM
    thanks Edwin

    Hi Manoj,
    We want to connect our production esb to the ERP ( IFS) system and we want to do this with the OSB. The ERP system has a lot http services and they are all running on jboss. On this app server they have enabled ntlm so users can their account to fill in there project hours /administration.
    I got this working with a authenticator in a jdeveloper 11g web service proxy client. ( http://biemond.blogspot.com/2009/04/jax-ws-web-service-proxy-client-and.html )
    thanks Edwin

  • Using UDDI key in OSB business service

    Hi All,
    I want to know how to invoke a service published in Oracle service registry through dynamic lookup in OSB. I tried importing service published in OSR as a OSB business service through sb console. In that the business created had the actual service end point reference rather than the UDDI service key. Hence the changes done to the service endpoint in OSR wont get automatically propagated to the osb business service as there is no actual dynamic look up.

    You will need to setup the Target system's server certificate as trusted in Weblogic's keystore or the Root CA certificate which certified target system's server certificate as trusted CA in weblogic.
    Check this thread for more details:
    Callling an external service through HTTPS

  • How to Define MQ message expire time in OSB Business service.

    Hi,
    Please let me know the option in OSB business service to set the expiration time for MQ messages. Is it possible?
    Thanks,
    karthik.

    http://download.oracle.com/docs/cd/E13159_01/osb/docs10gr3/mqtransport/transport.html
    transport header "Expiry"
    i hope it works :o)

  • OSB DB-Adapter and a date column: JCA exception ISO 8601 date format?

    Hello
    I work with Oracle Service Bus (eclipse oepe and jdev)
    On database side I've a view with a date column (datatype=date!)
    With JDev I create a DB Adapter with a select operation on that view. This db adapter can be successfully generated.
    Now I import the generated artefacts (xsd, wsdl, jca) into my eclipse service-bus-project. Then I generate a business service based on the jca. Also this works fine.
    Then I deploy the project to my developement osb. Also this works fine.
    When I test my business service (osb test console), I get a runtime error:
    Exception: com.bea.wli.sb.transports.jca.JCATransportException: oracle.tip.adapter.sa.api.JCABindingException:
    Exception Description: The object [03.07.70], of class [class java.lang.String], from mapping [org.eclipse.persistence.mappings.DirectToFieldMapping[geburtsdatum-->XYZ_VIW.GEBURTSDATUM]] with descriptor [ObjectRelationalDataTypeDescriptor(DB_Adabper_XZY.XZY--> [DatabaseTable(XYZ_XYZ_VIE)])], could not be converted to [class java.sql.Timestamp].
    Zeichenfolgenwert im XML-Code kann nicht in java.sql.Date konvertiert werden.
    Datenbanken akzeptieren zwar Zeichenfolgen, die Datumsangaben in verschiedenen Formaten darstellen, jedoch akzeptiert der Adapter nur Zeichenfolgen, die Datumsangaben im ISO-XML-Datumsformat darstellen.
    Der Eingabewert muss das ISO 8601-Datumsformat YYYY-MM-DD aufweisen.
    ==> so this seems to be a date format problem. but why?
    I've checked the view ---> it's a date!
    After that I do not have any influence to change it - and actually I don't want to change it. It still should be a datatype of DATE.
    Why does JDEV not correctly convert it?
    Anyone had the same problem?
    Any help would be appreciated.
    Thanks
    Best regards,
    Reto

    OS is winXP
    database is Oracle9i Enterprise Edition Release 9.2.0.8.0 - 64bit Production
    Yes it is a datetime:
    <xs:element name="geburtsdatum" type="xs:dateTime" minOccurs="0" nillable="true"/>
    This is absolutelly correct. But on runtime, I'll get the date convertion error as mentionend above. It seems as the date cannot be converted from database date column to a osb date.
    Strange, I didn't expect to have date format problems here.
    I use
    1.) Oracle Database (view) with a DATE column
    2.) Oracle JDeveloper database adapter (generated db adapter based on view, point 1)
    3.) Oracle Service Bus using the jca of generated database adapter, point 2)
    So I think I don't have to set any date format, everything shoult be a DATE and therefore no formating has to be done by me, or am I wrong?
    Best regards
    Reto

  • Is it possible to call a Web Application from OSB Business Service

    Hi,
    Is it possible to call a Web Application that has URL - http://host:port/parse.php using a business service in OSB?
    What I have seen is it is able to call the service but the data we are sending that is the string in the form of the URL encoded data is not going there. Any help would be appreciated.
    Regards,
    Anuj

    What I have seen is it is able to call the service but the data we are sending that is the string in the form of the URL encoded data is not going there. Any help would be appreciated.How did you configure your BS. My guess is some thing to do with what your BS is configured and what the Back-end is expecting? HTTP Get Vs HTTP Post
    Manoj

  • OSB Business service not returning error payload

    Hello,
    I have some RESTful services in the OSB 10.3. On an HTTP error, the business service reads the error code (for example http error code 500) and it returns it to the proxy service. But the message of the error seems not to be read at all. How can I do that?
    Thanks!

    I don't get any error message. I'l rephrase:
    I work with REST (Any XML service). My BusinessService calls an external RESTful webservice, and this external webservice returns an HTTP packet like this (more or less):
    PACKET BEGIN:
    HTTP/1.1 500 Internal Server Error
    Date: Wed, 29 Sep 2010 13:37:50 GMT
    Content-Length: 0
    Content-Type: text/xml; charset=UTF-8
    <?xml version="1.0" encoding="UTF-8"?><Error><Message>There was a blablabla error on our side. Sorry.</Message></Error>
    PACKET END.
    I am able to propagate such an HTTP error code by using an insert in the ErrorHandler, but I am not able to propagate the XML message that is being returned to me. It is not found anywhere, I checked all he variables $body, $fault, etc.
    Does the OSB BusinessService read this payload at all or should I implement a custom callout procedure because of this?
    Edited by: user4507278 on Sep 30, 2010 5:35 AM

  • OSB Business Service is not timing out on Connection/Read timeout

    I have a weird problem with my business service in OSB. I have set the read timeout value as 1 sec and Connection timeout value as 1 sec. The response from backend is taking more than 2 seconds or even 3 seconds but still my business service is not timing out..! My service is still listening to the response from backend even if it comes after 3 seconds. I expect it to timeout after 2 seconds. Any ideas?
    Business Service Configurations:
    Service Type: Any type
    Protocol: http
    Retry count : 0
    Retry Application Errors: No
    Read Timeout: 0
    Connection Timeout: 0
    HTTP Request Method: POST
    Result Caching: No
    Let me know if you need any more information. Thanks in Advance.
    Regards
    Kaleem

    AbhishekJ wrote:
    Maximum possible successful response time of the service will be less than Read TO + Connection TO.
    Alas, this is not true.
    Maximum possible response time is infinity.
    There are two reasons for that.
    1. Read timeout is not counted as time from the successful connection establishing to the current moment. It is measured as time from the last received byte to now. Imagine a backend service that sends a single byte in a data packet every 500ms. Despite you have read timeout set to 1, the receiving of 3K message will take 25 minutes, and yet your Biz service will not timeout.
    2. In HTTPS, handshake is handled by a separate library which has its own quirks. Specifically, if the key exchange is broken at particular point of handshake, the library re-establishes the connection and does it few times; in my experiements, the largest I could delay the eventual fault was about 3 minutes.
    Having said that, in the OP message the configuration is Read=0, Connect=0, so I wonder why the timeout is expected.

  • Issue while attaching OWSM policy to OSB Business Service

    How to configure OWSM policy to NON WSDL based Business service.
    We are not able to encrypt the data for NON WSDL based Business service.
    Please help.
    Thanks,
    Mihir

    I presume you already did a fresh restart of the managed servers?Yeap, I've restarted the OSB server.
    Looking at the logs I can find this message:
    +####<Jul 27, 2011 1:25:52 PM CEST> <Info> <Common> <mydomain.com> <osb_server1> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <> <0000J5fLsXLFw0WFLzNM8A1EBzMW000001> <1311765952760> <BEA-000628> <Created "1" resources for pool "mds-owsm", out of which "1" are available and "0" are unavailable.>+
    So I understand that the pool is created correctly, isn't it?

  • OSB - Business Service Import Problem

    Hi,
    When I import my OSB project (from an Oracle Service Bus Configuration .jar) for the first time, it imports my business service perfectly. However, in the second half when the project already exists on the workspace, new tags are added to the xml even though I have not made any changes in the business service.
    Thats my problem:
    First Import:
    <ser:coreEntry isProxy="false" isEnabled="true">
    After Second Import:
    <ser:coreEntry isProxy="false" isEnabled="true" isTracingEnabled="false">
    and a few other tags are added to the file:
    <ser:throttling enabled="false">
    <ser:capacity>0</ser:capacity>
    <ser:maxQueueLength>0</ser:maxQueueLength>
    <ser:timeToLive>0</ser:timeToLive>
    </ser:throttling>
    <tran:delay-interval-configuration isEnabled="false">
    <tran:delay-interval>0</tran:delay-interval>
    </tran:delay-interval-configuration>
    Any help on how to import the project without these new tags in my business service will be very welcome.
    Regards,
    Ricardo Azevedo

    you can influence the amount of info actually imported choosing to override operational settings, environment setting etc (I can't remember by heart and I am too lazy to start my server now and verify)
    Anyway unless this impacts your operations I would not be too worried that some defaults are explicitly stated in the xml. Surely if you import in Production a BS with "message tracing" on, this can affect seriously your performance.

  • OSB business service on jdev 11g generated db adapter

    Is it still possible to generate the db-adapter in jdev and import the resources in osb and create a business service with jca transport based on this wsdl?
    the documentation is only describing how to it should work based on a 10.1.3 generated db adapter.
    In the 11g the resources of the db-adapter are different (external jca property file etc).
    So..whats the way to go for this when using the 11g stack ?

    So..whats the way to go for this when using the 11g stack ?Current version of OSB (OSB 10.3.1) does not support 11g adapter stack. The next release of OSB will support 11g Adapters.
    Manoj

  • How to get specific OSB business service HTTP endpoint failover?

    I am trying to get the following behavior in an HTTP Business Service in OSB, and I'm not finding the answer (if it exists) in the docs.
    I have two backend endpoints, "production" and "backup." I want all request to go to the "production" endpoint unless it becomes unavailable. At which time all requests should go to the backup endpoint - without manual intervention. Automatic failback would be nice but not absolutely necessary. This is what the service provider is recommending for their operational concerns.
    Is there some way to accomplish this?
    The backup is available at most times, so we can't use round-robin load balancing to get this behavior.
    Is this what having a load balancing algorithm of "none" accomplishes? The docs state the order in this case is significant, but not why?
    Random-weighted does not work, as it does not allow a zero weight, which means some requests (even if small in proportion) may go to that backup even if the primary is available.

    I'm now seeing this in real operation, and I'm seeing something that puzzles me based on the discussion above, and also a behavior I'd like to change if I can.....
    First, the puzzlement - of about 6700 invocations over the space of a few hours, I see in the console 9 errors in the primary as configured above, and 9 messages handled successfully by the secondary. So, since the messages are coming on a fairly regular basis (a few per minute, spread over 3 OSB instances), and I have a 10 min retry interval, I would have expected to see a lot more messages handled by the secondary endpoint while OSB instance was waiting 10 min to retry the primary. What's going on here? Does this class of "failure" not take an endpoint "offline?"
    Second, behavior I want to change: the errors are apparently intermittent SSL HANDSHAKE_FAILUREs reported by the backend. Is there anyway to get the primary retried first, since we only want traffic to go to the backup if the primary is really offline?
    /Steve Elkind
    ####<Dec 22, 2009 10:45:14 PM EST> <Warning> <Security> <njxymh0099> <SS_ESB_mgd2> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <> <> <1261539914730> <BEA-090497> <HANDSHAKE_FAILURE alert received from fobar-web02.inex.com - 207.235.231.231. Check both sides of the SSL configuration for mismatches in supported ciphers, supported protocol versions, trusted CAs, and hostname verification settings.>

  • How to set username/password in OSB Business Service

    Hi
    I need to call thirt party http service that utilizes Http Basic authentication i.e. username / password. If I call the same service through Oracle SOA I can either
    put the username/password inside composite.xml but that way the password is visible. So have set the usrname/password insid the console.
    Now want to use OSB to call the sam service. Created business service but where do I add the username/password. Is there a plac inside sbconsole I can set the username password.
    Thanks

    You must a "Service Account" available in OSB and assosciate it with the Business service you invoke.

Maybe you are looking for

  • Unable to function canon usb scan-print mp550

    usblp allowed and is the only way to detect the device drivers tryed gutenprint,foomatic,and some aur mp550 gutenprint says printing 1.7% done, but nothing happens foomatic says: unable to copy ppd file (while installing) (Maybe there is more to do a

  • Garble code in debug mode

    hi, i downloaded a txt file from 3rd party software and upload to sap. all country are ok except 1 country. in 1 of the line, there is a character at the begining of the line : 锘?20:070511 it should actually be :20:070511. this character only can be

  • Will you please help in confirming my apple account without credit card number

    will you please help in confirming my apple account without credit card number

  • IPhoto is damaged because of iLife.

    I installed iLife '11, and it said the upload was successful, after i installed it, my iPhoto says, "you can't open the application iPhoto because it  may be damaged or incomplete" and i can't open it at all. i tried pressing that command and option

  • Debugging of a subroutine pool.

    Hi there, Does anyone knows if is posible to debug a subroutine pool? I'm trying to print a smartform of a RFQ using the function ME_READ_PO_FOR_PRINTING, but the program prints a different requisition a not the one selected. I want to capture the RF