Unable to access external HTTPS endpoint in BPEL 11g

We where trying to connect from BPEL to a HTTPS service but we ran into SSL problems. After checking all the keystores and it’s locations, it still didn’t seem to pick our keystore up. The error we found in the log looked like this: Caused by: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

Getting rid of Nilled elements in a message from a database adapter

When you create a database poller in the SOA Suite you will encounter that empty values in the database will appear in your request as xsi:nil=”true”. When calling another service with values like: <sch:voorvoegsel xsi:nil="true"/> you will run into validation problems so you want to remove those elements.

From DateTime to Date in XQuery

When you create a database adapter using JDeveloper in the SOA Suite, the Date fields in the database will be modelled as DateTime fields in the xsd. Often you will only want Date fields. A simple way to convert the DateTime fields to Date fields using XQuery is like this: [code]<ns3:Birthdate>{ data(xs:date(substring-before($pollStudentCollection/ns4:Student[1]/ns4:birthdate/text(),’T’))) }</ns3:Birthdate>[/code]