JAXB 2.0 validation when marshalling

Hi,
I'm using JAXB to marshall and unmarshall files. The issue i'm trying to address is that when a file is being marshalled - if a value is mandatory in the schema and if the user provides null value or something then shoulding this be a validation error? I dont get any notification even if I have attached a validationhandler to my marshaller and the file is created with that particular value blank.... so anyone has any idea of how we can validate the documents created by JAXB that they're valid.
thanks
SA

Ok i figured out one way of doing this by using some classes from JAXP...
SchemaFactory sf = SchemaFactory.newInstance(XMLConstants.W3C_XML_SCHEMA_NS_URI);
Schema s = null;
try{
    s = sf.newSchema(new File("Sources/schema/test.xsd"));                    
}catch(Exception e){
    System.err.println("Exception e: " + e.getMessage());
marshaller.setSchema(s);
//MyValidationHandler class implements the ValidationEventHandler interface
MyValidationHandler gv = new MyValidationHandler();
marshaller.setEventHandler(gv);If anyone has something to add let me know!!

Similar Messages

  • Autofilling required attributes with default/fixed value when marshalling

    I'm wondering if there is a way to configure JAXB to set default or fixed values on undefined element attributes when marshalling. For example, if an element is derived from the following schema snippet
    <xs:complexType name="CentimetersLength">
          <xs:simpleContent>
             <xs:extension base="xs:double">
                <xs:attribute name="units" fixed="cm" use="required"/>
             </xs:extension>
          </xs:simpleContent>
       </xs:complexType>then when marshalling, I would think it would be acceptable to do the following
    CentimetersLength length = new CentimetersLength();
    length.setValue(3.0);
    marshaller.marshall(length);If the marshaller is set with the schema, it fails because the "units" attribute is required, even though it has a fixed value. If one looks at the JAXB-generated code produced by xjc, CentimetersLength has a method, getUnits(), that returns "cm" by default, but this doesn't carry over to the marshalled XML document.
    Thanks for the help,
    Josh

    Check this if it helps you?

  • 'ORABPEL-11812 Failed Function Security validation' when invoking EBS webservice

    Hi,
    I got a problem when test web service on EBS R12.1.3.
    I used SYSADMIN to test ISG installation using operation TESTUSERNAME in FND_USER_PACKAGE, but failed. Below is the log
    Can anyone help me with this please? Thanks.
    New Logger Instantiated...
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.SOAProvider.processMessage : Process Message received at : Mon Oct 13 23:27:24 CST 2014
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.SOAProvider.processMessage : Too many principals obtained from LoginModule.  Using first one.
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.SOAProvider.processMessage : Setting Principal Value = SYSADMIN
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.DBConnection.getJDBCConnection : Obtained new Jdbc Connection via Apps DataSource
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.util.IRepAccess.getUserIdFromName : User_id: 0 fetched for name: SYSADMIN
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.SOAProvider.processMessage : User id for the principal = 0
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.util.SOAPUtil.getSOAPBodyElement : SOAP Body Element Found.
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.SOAProvider.processMessage : Body tns : http://xmlns.oracle.com/apps/fnd/soaprovider/plsql/fnd_user_pkg/testusername/
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.util.SOAPUtil.getIRepInfo : Product = fnd
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.util.SOAPUtil.getIRepInfo : IRep Suffix = plsql/fnd_user_pkg/testusername/
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.util.SOAPUtil.getIRepInfo : InterfaceType PLSQL
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.util.SOAPUtil.getIRepInfo : ITYPE CLASS
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.util.SOAPUtil.getIRepInfo : class FND_USER_PKG
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.DBConnection.getJDBCConnection : Obtained new Jdbc Connection via Apps DataSource
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.util.IRepAccess.getClassId : Class Id for irep_name FND_USER_PKG = 2702
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.util.SOAPUtil.getIRepInfo : classId 2702
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.util.SOAPUtil.getIRepInfo : FUNCTION_NAME TESTUSERNAME
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.util.SOAPUtil.getIRepInfo : IRep Function Name PLSQL:FND_USER_PKG:TESTUSERNAME
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.DBConnection.getJDBCConnection : Obtained new Jdbc Connection via Apps DataSource
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.util.IRepAccess.getFunctionId : Function Id for function name PLSQL:FND_USER_PKG:TESTUSERNAME = 43542
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.util.SOAPUtil.getIRepInfo : FUNCTION_ID 43542
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.util.SOAPUtil.extractNameValuePairsFromNode : Property Name = Responsibility
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.util.SOAPUtil.extractNameValuePairsFromNode : Property Name = SYSTEM_ADMINISTRATOR
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.util.SOAPUtil.extractNameValuePairsFromNode : Property Name = RespApplication
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.util.SOAPUtil.extractNameValuePairsFromNode : Property Name = SYSADMIN
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.util.SOAPUtil.extractNameValuePairsFromNode : Property Name = SecurityGroup
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.util.SOAPUtil.extractNameValuePairsFromNode : Property Name = STANDARD
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.util.SOAPUtil.extractNameValuePairsFromNode : Property Name = NLSLanguage
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.util.SOAPUtil.extractNameValuePairsFromNode : Property Name = AMERICAN
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.util.SOAPUtil.extractNameValuePairsFromNode : Property Name = Org_Id
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.util.SOAPUtil.extractNameValuePairsFromNode : Property Name = 82
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.util.SOAPUtil.extractHeaders : Found Header. Name = SOAHeader
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.util.SOAPUtil.extractHeaders : Header Type = SOAHeader
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.util.SOAContext.convertHeaderNamesToId : Username from Header : SYSADMIN
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.util.SOAContext.convertHeaderNamesToId : ResponsibilityName from Header : SYSTEM_ADMINISTRATOR
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.util.SOAContext.convertHeaderNamesToId : ResponsibilityApplName from Header : SYSADMIN
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.util.SOAContext.convertHeaderNamesToId : SecurityGroupName from Header  : STANDARD
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.util.SOAContext.convertHeaderNamesToId : NLSLanguage from Header  : AMERICAN
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.DBConnection.getJDBCConnection : Obtained new Jdbc Connection via Apps DataSource
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.util.SOAContext.convertHeaderNamesToId : statusCode = S
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.util.SOAContext.convertHeaderNamesToId : UserId = 0
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.util.SOAContext.convertHeaderNamesToId : ResponsibilityId = 20420
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.util.SOAContext.convertHeaderNamesToId : ResponsibilityApplId = 1
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.util.SOAContext.convertHeaderNamesToId : SecurityGroupId = 0
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.util.SOAContext.convertHeaderNamesToId : NLSLanguageCode = US
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.DBConnection.getJDBCConnection : Obtained new Jdbc Connection via Apps DataSource
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.util.IRepAccess.getLanguageFromCode : NLS language for code US = AMERICAN
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.util.SOAContext.convertHeaderNamesToId : NLSLanguage = AMERICAN
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.util.SOAContext.convertHeaderNamesToId : Inserting Following ID values into header table
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.util.SOAContext.convertHeaderNamesToId : UserId = 0
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.util.SOAContext.convertHeaderNamesToId : ResponsibilityId = 20420
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.util.SOAContext.convertHeaderNamesToId : ResponsibilityApplId = 1
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.util.SOAContext.convertHeaderNamesToId : SecurityGroupId = 0
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.util.SOAContext.convertHeaderNamesToId : NLSLanguageCode = US
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.util.AuditUtil.auditRequest : In Audit Util.
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.util.AuditUtil.auditRequest : Creating WebAppsContext.
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.util.AuditUtil.auditRequest : Obtained context.
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.util.AuditUtil.auditRequest : Obtained Store.
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.util.AuditUtil.auditRequest : Obtained Profile.
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.util.AuditUtil.auditRequest : Request Date Mon Oct 13 23:27:24 CST 2014
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.util.AuditUtil.auditRequest : Remote Host 10.161.73.55
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.util.AuditUtil.auditRequest : HeaderData created
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.util.AuditUtil.auditRequest : buildversion in auditRequest is 1213
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.util.AuditUtil.auditRequest : HeaderBody created
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.util.AuditUtil.auditRequest : Msg ID 10075
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.SOAProvider.processMessage : MsgId from AuditRequest 10075
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.util.SOAContext.setSecurityContext : Is security context set = true
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.util.SOAContext.setNLSContext : Is nls context set = true
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.DBConnection.getJDBCConnection : Obtained new Jdbc Connection via Apps DataSource
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.util.IRepAccess.isServiceDeployed : Service Deployed Flag : Y
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.util.IRepAccess.isServiceDeployed : Service with Class Id2702 Deployed : true
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.DBConnection.getJDBCConnection : Obtained new Jdbc Connection via Apps DataSource
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.util.IRepAccess.getInterfaceType : Function Name for function id 43542 = PLSQL:FND_USER_PKG:TESTUSERNAME
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.SOAProvider.processMessage : Checking log level for the current user and service combination
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.DBConnection.getJDBCConnection : Obtained new Jdbc Connection via Apps DataSource
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.util.AuditUtil.getInstanceId : Instance id is : 10075
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.DBConnection.getJDBCConnection : Obtained new Jdbc Connection via Apps DataSource
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.DBConnection.getJDBCConnection : Obtained new Jdbc Connection via Apps DataSource
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.SOAProvider.processMessage : Log level for the current operation : 0
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.services.AuthorizationHandler.authorize : Username from Header : SYSADMIN
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.services.AuthorizationHandler.authorize : FunctionName   : PLSQL:FND_USER_PKG:TESTUSERNAME
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.services.AuthorizationHandler.authorize : FunctionId             : 43542
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.services.AuthorizationHandler.authorize : overloadSeq            : 1
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.services.AuthorizationHandler.authorize : Function is not null.
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.services.AuthorizationHandler.authorize : Creating data context.
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.services.AuthorizationHandler.authorize : Is Function Authorized = true
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.SOAProvider.processMessage : Authorization check passed.
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.SOAProvider.processMessage : serviceFactory instance is created
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.services.ServiceFactory.getServiceImplementation : Creating Handler for Interface Type = PLSQL
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.SOAProvider.processMessage : serviceHandler in
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.SOAProvider.processMessage : Request passed to oracle.apps.fnd.soa.provider.services.jca.JCAHandler
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.DBConnection.getJDBCConnection : Obtained new Jdbc Connection via Apps DataSource
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.SOAProvider.constructJCAWSDLLocation : function id to be passed= 43542
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.SOAProvider.constructJCAWSDLLocation : overload count= 1
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.SOAProvider.constructJCAWSDLLocation : Found JCAWSDL Location = /d01/oracle/ECPPROD/inst/apps/ECPPROD_ecpebs/soa//PLSQL/2702/TESTUSERNAME.wsdl
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.services.jca.JCAHandler.handleRequest : JCAWSDLLocation : /d01/oracle/ECPPROD/inst/apps/ECPPROD_ecpebs/soa//PLSQL/2702/TESTUSERNAME.wsdl
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.util.WSDLUtil.getOperationName : Operation Name = TESTUSERNAME
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.util.WSDLUtil.getOperationName : Response Required : true
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.util.SOAPUtil.extractInputMessage : Found Body Element : InputParameters
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.util.SOAPUtil.extractInputMessage : Converting to element : oracle.j2ee.ws.saaj.soap.soap11.BodyElement11
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.services.jca.JCAHandler.createAPIHeader : Setting Username as : SYSADMIN
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.services.jca.JCAHandler.createAPIHeader : Setting Responsibility as : SYSTEM_ADMINISTRATOR
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.services.jca.JCAHandler.createAPIHeader : Setting Responsibility Application Short Name as : SYSADMIN
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.services.jca.JCAHandler.createAPIHeader : Setting Security Group name as : STANDARD
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.services.jca.JCAHandler.createAPIHeader : Setting NLS Language as : US
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.services.jca.JCAHandler.createAPIHeader : Setting ORG_ID as : 82
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.services.jca.JCAHandler.createAPIHeader : Setting isISG as : yes
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.services.jca.JCAHandler.createAPIHeader : Setting IsLoggingEnabled  as : N
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.services.jca.JCAHandler.createAPIHeader : Setting logLevel as 0
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.services.jca.JCAHandler.createAPIHeader : Setting TransactionId  as :39676
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.services.jca.JCAHandler.invoke : JCAClientFactoryCrated.
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.services.jca.JCAHandler.invoke : JCAInterfaceCreated.
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.services.jca.JCAHandler.invoke : JCAOperationCreated.
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.services.jca.JCAHandler.invoke : buildversion in jcahanlder is 1213
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.services.jca.JCAHandler.invoke : found runtime classes
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.services.jca.JCAHandler.invoke : created instance for runtime classes
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.services.jca.JCAHandler.invoke : runtime Methods found [Ljava.lang.reflect.Method;@f61f70
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.services.jca.JCAHandler.invoke : method executeRequestResponseOperation found
    Mon Oct 13 23:27:24 CST 2014 : oracle.apps.fnd.soa.provider.services.jca.JCAHandler.invoke : executing 3 parameter method
    Mon Oct 13 23:27:25 CST 2014 : oracle.apps.fnd.soa.provider.services.jca.JCAHandler.invoke : Exception returned from JCA Service Runtime.java.lang.reflect.InvocationTargetException
    Mon Oct 13 23:27:25 CST 2014 : oracle.apps.fnd.soa.provider.services.jca.JCAHandler.invoke : Exception returned from JCA Service Runtime.oracle.apps.fnd.soa.util.SOAException: ServiceProcessingError: Exception returned from JCA Service Runtime. null
    Mon Oct 13 23:27:25 CST 2014 : oracle.apps.fnd.soa.provider.services.jca.JCAHandler.handleRequest : Exception returned from JCA Service Runtime.oracle.apps.fnd.soa.util.SOAException: ServiceProcessingError: Exception returned from JCA Service Runtime. Exception returned from JCA Service Runtime. null
    Mon Oct 13 23:27:25 CST 2014 : oracle.apps.fnd.soa.provider.SOAProvider.createErrorResponseMessage : Creating Error Response Message.
    Mon Oct 13 23:27:25 CST 2014 : oracle.apps.fnd.soa.provider.SOAProvider.getNLSTranslatedMessage : Error code : FND_SOA_SERVICE_EXECUTION_ERR
    Mon Oct 13 23:27:25 CST 2014 : oracle.apps.fnd.soa.util.SOAContext.setSecurityContext : Is security context set = true
    Mon Oct 13 23:27:25 CST 2014 : oracle.apps.fnd.soa.util.SOAContext.setNLSContext : Is nls context set = true
    Mon Oct 13 23:27:25 CST 2014 : oracle.apps.fnd.soa.provider.SOAProvider.getNLSTranslatedMessage : NLS Compliant Error Msg = FND_SOA_SERVICE_EXECUTION_ERR
    Mon Oct 13 23:27:25 CST 2014 : oracle.apps.fnd.soa.provider.SOAProvider.createErrorResponseMessage : Setting fault string = FND_SOA_SERVICE_EXECUTION_ERR:oracle.apps.fnd.soa.util.SOAException: ServiceExecutionError: Error while executing the service Exception returned from JCA Service Runtime. Exception returned from JCA Service Runtime. null
      :Please see service monitor logs for full error trace
    Mon Oct 13 23:27:25 CST 2014 : oracle.apps.fnd.soa.provider.SOAProvider.createErrorResponseMessage : Error Response Message Created
    Mon Oct 13 23:27:25 CST 2014 : oracle.apps.fnd.soa.provider.SOAProvider.processMessage : oracle.apps.fnd.soa.util.SOAException: ServiceExecutionError: Error while executing the service Exception returned from JCA Service Runtime. Exception returned from JCA Service Runtime. null
      at oracle.apps.fnd.soa.provider.services.jca.JCAHandler.handleRequest(JCAHandler.java:135)
      at oracle.apps.fnd.soa.provider.SOAProvider.processMessage(SOAProvider.java:366)
      at oracle.j2ee.ws.server.provider.ProviderProcessor.doEndpointProcessing(ProviderProcessor.java:958)
      at oracle.j2ee.ws.server.WebServiceProcessor$1.run(WebServiceProcessor.java:388)
      at java.security.AccessController.doPrivileged(Native Method)
      at javax.security.auth.Subject.doAs(Subject.java:396)
      at oracle.j2ee.ws.server.WebServiceProcessor.invokeEndpointImplementation(WebServiceProcessor.java:385)
      at oracle.j2ee.ws.server.provider.ProviderProcessor.doRequestProcessing(ProviderProcessor.java:481)
      at oracle.j2ee.ws.server.WebServiceProcessor.processRequest(WebServiceProcessor.java:114)
      at oracle.j2ee.ws.server.WebServiceProcessor.doService(WebServiceProcessor.java:96)
      at oracle.j2ee.ws.server.WebServiceServlet.doPost(WebServiceServlet.java:200)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
      at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:734)
      at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:391)
      at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:908)
      at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:458)
      at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:313)
      at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
      at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
      at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
      at java.lang.Thread.run(Thread.java:619)
    java.lang.reflect.InvocationTargetException
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at oracle.apps.fnd.soa.provider.services.jca.JCAHandler.invoke(JCAHandler.java:193)
      at oracle.apps.fnd.soa.provider.services.jca.JCAHandler.handleRequest(JCAHandler.java:123)
      at oracle.apps.fnd.soa.provider.SOAProvider.processMessage(SOAProvider.java:366)
      at oracle.j2ee.ws.server.provider.ProviderProcessor.doEndpointProcessing(ProviderProcessor.java:958)
      at oracle.j2ee.ws.server.WebServiceProcessor$1.run(WebServiceProcessor.java:388)
      at java.security.AccessController.doPrivileged(Native Method)
      at javax.security.auth.Subject.doAs(Subject.java:396)
      at oracle.j2ee.ws.server.WebServiceProcessor.invokeEndpointImplementation(WebServiceProcessor.java:385)
      at oracle.j2ee.ws.server.provider.ProviderProcessor.doRequestProcessing(ProviderProcessor.java:481)
      at oracle.j2ee.ws.server.WebServiceProcessor.processRequest(WebServiceProcessor.java:114)
      at oracle.j2ee.ws.server.WebServiceProcessor.doService(WebServiceProcessor.java:96)
      at oracle.j2ee.ws.server.WebServiceServlet.doPost(WebServiceServlet.java:200)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
      at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:734)
      at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:391)
      at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:908)
      at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:458)
      at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:313)
      at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
      at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
      at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
      at java.lang.Thread.run(Thread.java:619)
    Caused by: org.collaxa.thirdparty.apache.wsif.WSIFException: file:/d01/oracle/ECPPROD/inst/apps/ECPPROD_ecpebs/soa/PLSQL/2702/TESTUSERNAME.wsdl [ TESTUSERNAME_ptt::TESTUSERNAME(InputParameters,OutputParameters) ] - WSIF JCA Execute of operation 'TESTUSERNAME' failed due to: Error while processing an API interaction execution.
    An error occurred while processing the interaction for invoking the FND_USER_PKG.TESTUSERNAME API. Cause: oracle.tip.adapter.apps.FunctionSecurityValidationException: Failed Function Security validation for user SYSADMIN with responsibility SYSTEM_ADMINISTRATOR for API PLSQL:FND_USER_PKG:TESTUSERNAME
    ; nested exception is:
      ORABPEL-11812
    Error while processing an API interaction execution.
    An error occurred while processing the interaction for invoking the FND_USER_PKG.TESTUSERNAME API. Cause: oracle.tip.adapter.apps.FunctionSecurityValidationException: Failed Function Security validation for user SYSADMIN with responsibility SYSTEM_ADMINISTRATOR for API PLSQL:FND_USER_PKG:TESTUSERNAME
    Check to ensure that the XML containing parameter data matches the parameter definitions in the XSD. Contact oracle support if error is not fixable.
      at oracle.tip.adapter.fw.wsif.jca.WSIFOperation_JCA.executeRequestResponseOperation(WSIFOperation_JCA.java:642)
      at oracle.tip.adapter.client.JCABindingOperation.invokeWsifProvider(JCABindingOperation.java:275)
      at oracle.tip.adapter.client.JCABindingOperation.executeRequestResponseOperation(JCABindingOperation.java:182)
      ... 27 more
    Caused by: ORABPEL-11812
    Error while processing an API interaction execution.
    An error occurred while processing the interaction for invoking the FND_USER_PKG.TESTUSERNAME API. Cause: oracle.tip.adapter.apps.FunctionSecurityValidationException: Failed Function Security validation for user SYSADMIN with responsibility SYSTEM_ADMINISTRATOR for API PLSQL:FND_USER_PKG:TESTUSERNAME
    Check to ensure that the XML containing parameter data matches the parameter definitions in the XSD. Contact oracle support if error is not fixable.
      at oracle.tip.adapter.db.sp.SPUtil.createResourceException(SPUtil.java:176)
      at oracle.tip.adapter.db.sp.SPInteraction.executeStoredProcedure(SPInteraction.java:154)
      at oracle.tip.adapter.db.DBInteraction.executeStoredProcedure(DBInteraction.java:1037)
      at oracle.tip.adapter.db.DBInteraction.execute(DBInteraction.java:240)
      at oracle.tip.adapter.apps.AppsInteraction.execute(AppsInteraction.java:195)
      at oracle_tip_adapter_apps_AppsInteraction_Proxy.execute()
      at oracle.tip.adapter.fw.wsif.jca.WSIFOperation_JCA.executeRequestResponseOperation(WSIFOperation_JCA.java:486)
      ... 29 more
    Caused by: oracle.tip.adapter.apps.FunctionSecurityValidationException: Failed Function Security validation for user SYSADMIN with responsibility SYSTEM_ADMINISTRATOR for API PLSQL:FND_USER_PKG:TESTUSERNAME
      at oracle.tip.adapter.apps.AppsCciLocalTransaction.beginInternal(AppsCciLocalTransaction.java:200)
      at oracle.tip.adapter.db.sp.SPInteraction.executeStoredProcedure(SPInteraction.java:117)
      ... 34 more
    Mon Oct 13 23:27:25 CST 2014 : oracle.apps.fnd.soa.provider.SOAProvider.processMessage : Auditing error: FND_SOA_SERVICE_EXECUTION_ERR
    Mon Oct 13 23:27:25 CST 2014 : oracle.apps.fnd.soa.provider.DBConnection.getJDBCConnection : Obtained new Jdbc Connection via Apps DataSource
    Mon Oct 13 23:27:25 CST 2014 : oracle.apps.fnd.soa.provider.SOAProvider.constructJCAWSDLLocation : function id to be passed= 43542
    Mon Oct 13 23:27:25 CST 2014 : oracle.apps.fnd.soa.provider.SOAProvider.constructJCAWSDLLocation : overload count= 1
    Mon Oct 13 23:27:25 CST 2014 : oracle.apps.fnd.soa.provider.SOAProvider.constructJCAWSDLLocation : Found JCAWSDL Location = /d01/oracle/ECPPROD/inst/apps/ECPPROD_ecpebs/soa//PLSQL/2702/TESTUSERNAME.wsdl
    Mon Oct 13 23:27:25 CST 2014 : oracle.apps.fnd.soa.provider.util.WSDLUtil.getOperationName : Operation Name = TESTUSERNAME
    Mon Oct 13 23:27:25 CST 2014 : oracle.apps.fnd.soa.provider.util.WSDLUtil.getOperationName : Response Required : true
    Mon Oct 13 23:27:25 CST 2014 : oracle.apps.fnd.soa.provider.util.AuditUtil.auditResponse : Response Date Mon Oct 13 23:27:25 CST 2014
    Mon Oct 13 23:27:25 CST 2014 : oracle.apps.fnd.soa.provider.util.AuditUtil.auditResponse : buildversion in auditResponse is 1213
    Mon Oct 13 23:27:25 CST 2014 : oracle.apps.fnd.soa.provider.util.AuditUtil.auditResponse : Response Body : <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><env:Header/><env:Body><env:Fault xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><faultcode xmlns="">SOAP-ENV:Server</faultcode><faultstring xmlns="">FND_SOA_SERVICE_EXECUTION_ERR:oracle.apps.fnd.soa.util.SOAException: ServiceExecutionError: Error while executing the service Exception returned from JCA Service Runtime. Exception returned from JCA Service Runtime. null
      :Please see service monitor logs for full error trace</faultstring></env:Fault></env:Body></env:Envelope>
    Mon Oct 13 23:27:25 CST 2014 : oracle.apps.fnd.soa.provider.util.AuditUtil.auditResponse : msgId : 10075
    Mon Oct 13 23:27:25 CST 2014 : oracle.apps.fnd.soa.provider.util.AuditUtil.auditResponse : operationName : TESTUSERNAME
    Mon Oct 13 23:27:25 CST 2014 : oracle.apps.fnd.soa.provider.util.AuditUtil.auditResponse : responseDate : Mon Oct 13 23:27:25 CST 2014
    Mon Oct 13 23:27:25 CST 2014 : oracle.apps.fnd.soa.provider.util.AuditUtil.auditResponse : errorCode : FND_SOA_SERVICE_EXECUTION_ERR
    Mon Oct 13 23:27:25 CST 2014 : oracle.apps.fnd.soa.provider.util.AuditUtil.auditResponse : errorTrace: oracle.apps.fnd.soa.util.SOAException: ServiceExecutionError: Error while executing the service Exception returned from JCA Service Runtime. Exception returned from JCA Service Runtime. null
      at oracle.apps.fnd.soa.provider.services.jca.JCAHandler.handleRequest(JCAHandler.java:135)
      at oracle.apps.fnd.soa.provider.SOAProvider.processMessage(SOAProvider.java:366)
      at oracle.j2ee.ws.server.provider.ProviderProcessor.doEndpointProcessing(ProviderProcessor.java:958)
      at oracle.j2ee.ws.server.WebServiceProcessor$1.run(WebServiceProcessor.java:388)
      at java.security.AccessController.doPrivileged(Native Method)
      at javax.security.auth.Subject.doAs(Subject.java:396)
      at oracle.j2ee.ws.server.WebServiceProcessor.invokeEndpointImplementation(WebServiceProcessor.java:385)
      at oracle.j2ee.ws.server.provider.ProviderProcessor.doRequestProcessing(ProviderProcessor.java:481)
      at oracle.j2ee.ws.server.WebServiceProcessor.processRequest(WebServiceProcessor.java:114)
      at oracle.j2ee.ws.server.WebServiceProcessor.doService(WebServiceProcessor.java:96)
      at oracle.j2ee.ws.server.WebServiceServlet.doPost(WebServiceServlet.java:200)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
      at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:734)
      at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:391)
      at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:908)
      at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:458)
      at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:313)
      at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
      at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
      at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
      at java.lang.Thread.run(Thread.java:619)
    java.lang.reflect.InvocationTargetException
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at oracle.apps.fnd.soa.provider.services.jca.JCAHandler.invoke(JCAHandler.java:193)
      at oracle.apps.fnd.soa.provider.services.jca.JCAHandler.handleRequest(JCAHandler.java:123)
      at oracle.apps.fnd.soa.provider.SOAProvider.processMessage(SOAProvider.java:366)
      at oracle.j2ee.ws.server.provider.ProviderProcessor.doEndpointProcessing(ProviderProcessor.java:958)
      at oracle.j2ee.ws.server.WebServiceProcessor$1.run(WebServiceProcessor.java:388)
      at java.security.AccessController.doPrivileged(Native Method)

    Pl do not post duplicates - 'ORABPEL-11812 Failed Function Security validation' when invoking EBS webservice

  • Error ORA-00980: synonym translation is no longer valid when i issue

    i accidentally drop one of my table. To bring it back i used Imp tool. But it gives an error ORA-00980: synonym translation is no longer valid when i issue
    Select * from ship_sched_fact_notice_det
    Action taken using Imp
    Username: erpdada
    Password:
    Connected to: Oracle Database 10g Release 10.1.0.2.0 - Production
    Import file: EXPDAT.DMP > e:\erpdada_august13.dmp
    Enter insert buffer size (minimum is 8192) 30720> 30720
    Export file created by EXPORT:V10.01.00 via conventional path
    Warning: the objects were exported by SYSTEM, not by you
    import done in WE8MSWIN1252 character set and AL16UTF16 NCHAR character set
    import server uses AL32UTF8 character set (possible charset conversion)
    List contents of import file only (yes/no): no > y
    Import entire export file (yes/no): no > n
    Username: erpdada
    Enter table(T) or partition(T:P) names. Null list means all tables for user
    Enter table(T) or partition(T:P) name or . if done: ship_sched_fact_notice_det
    Enter table(T) or partition(T:P) name or . if done: .
    "CREATE PUBLIC SYNONYM "XMLTYPE" FOR "SYS"."XMLTYPE""
    "CREATE TABLE "SHIP_SCHED_FACT_NOTICE_DET" ("SSFND_ITEM_NOT_DET_ID" NUMBER, "
    ""SSFN_FACTORY_ID" VARCHAR2(40) NOT NULL ENABLE, "SSFN_FAC_NOTICE_ID" NUMBER"
    " NOT NULL ENABLE, "SSD_SHIP_ITEM_ID" NUMBER NOT NULL ENABLE, "OI_ITEM_ID" N"
    "UMBER NOT NULL ENABLE, "ORDER_TYPE" VARCHAR2(1), "SSFND_ITEM_CODE" VARCHAR2"
    "(300), "SSFND_QTY" NUMBER, "SSFND_CTN" NUMBER, "SSFND_TOT_CBM" NUMBER, "SSF"
    "ND_REM1" VARCHAR2(256), "SSFND_REM2" VARCHAR2(256), "SSFND_UNIT_ID" VARCHAR"
    "2(40), "SSFND_IS_EXCL_SUMMARY" VARCHAR2(1))  PCTFREE 10 PCTUSED 40 INITRANS"
    " 1 MAXTRANS 255 STORAGE(INITIAL 81920 FREELISTS 1 FREELIST GROUPS 1 BUFFER_"
    "POOL DEFAULT) TABLESPACE "ORDER_DATA01" LOGGING NOCOMPRESS"
    . . skipping table "SHIP_SCHED_FACT_NOTICE_DET"
    "GRANT DELETE ON "SHIP_SCHED_FACT_NOTICE_DET" TO "SHIPMENT_NOTICE""
    "GRANT INSERT ON "SHIP_SCHED_FACT_NOTICE_DET" TO "SHIPMENT_NOTICE""
    "GRANT SELECT ON "SHIP_SCHED_FACT_NOTICE_DET" TO "SHIPMENT_NOTICE""
    "GRANT UPDATE ON "SHIP_SCHED_FACT_NOTICE_DET" TO "SHIPMENT_NOTICE""
    "CREATE UNIQUE INDEX "PK_SHIP_SCHED_FACT_NOTICE_DET" ON "SHIP_SCHED_FACT_NOT"
    "ICE_DET" ("SSFND_ITEM_NOT_DET_ID" )  PCTFREE 10 INITRANS 2 MAXTRANS 255 STO"
    "RAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLE"
    "SPACE "ORDER_DATA01" LOGGING"
    "ALTER TABLE "SHIP_SCHED_FACT_NOTICE_DET" ADD  CONSTRAINT "PK_SHIP_SCHED_FAC"
    "T_NOTICE_DET" PRIMARY KEY ("SSFND_ITEM_NOT_DET_ID") USING INDEX PCTFREE 10 "
    "INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1"
    " BUFFER_POOL DEFAULT) TABLESPACE "ORDER_DATA01" LOGGING ENABLE "
    "ALTER TABLE "SHIP_SCHED_FACT_NOTICE_DET" ADD CONSTRAINT "SHIP_SCHED_FACT_NO"
    "TICE_DE_FK1" FOREIGN KEY ("SSD_SHIP_ITEM_ID") REFERENCES "SHIPPING_SCHEDULE"
    "_DETAILS" ("SSD_SHIP_ITEM_ID") ENABLE NOVALIDATE"
    "ALTER TABLE "SHIP_SCHED_FACT_NOTICE_DET" ADD CONSTRAINT "SHIP_SCHED_FACT_NO"
    "TICE_DE_FK2" FOREIGN KEY ("SSFN_FAC_NOTICE_ID") REFERENCES "SHIP_SCHED_FACT"
    "ORY_NOTICE" ("SSFN_FAC_NOTICE_ID") ENABLE NOVALIDATE"
    "ALTER TABLE "SHIP_SCHED_FACT_NOTICE_DET" ENABLE CONSTRAINT "SHIP_SCHED_FACT"
    "_NOTICE_DE_FK1""
    "ALTER TABLE "SHIP_SCHED_FACT_NOTICE_DET" ENABLE CONSTRAINT "SHIP_SCHED_FACT"
    "_NOTICE_DE_FK2""
    Import terminated successfully with warnings.
    I drop the old synonym and re-create it but still it gives the same error...

    Since you are on 10g did you try flashback table feature - http://tonguc.wordpress.com/2007/01/01/oracle-10g-flashback-versions-query-drop-table-and-recyclebin-management/
    FLASHBACK TABLE <tabname> TO BEFORE DROP;
    If you didnt use purge option, the dropped object is on your recyclebin - http://download-uk.oracle.com/docs/cd/B19306_01/server.102/b14200/statements_9018.htm#sthref9593
    Best regards.

  • How to avoid Entity Object validations when comiting a DB transaction

    Hello,
    I have a screen that have three sections:
    1. Header
    2. First tab that contains rows, lets call it User Details  - only the ability to add records and update existing
    3. Second tab that contains rows, lets call it Roles  - ability to create, modify and delete
    -- I have a Save and Cancel button
    I have an Entity Object that covers the whole page UserDetailsEO and it has its validation methods on the implementation UserDetailsEOImpl.java.
    On the second tab when deleting the record, the delete binding method its called and it has a row to commit the transaction. By doing so the validations for the EO are called.
    However I want to avoid performing validation at this point. I can delete rows without any validation, I just want to do the validation when clicking Save.
    Is there any way to accomplish this?
    Thank you,

    Hello Timo,
    Thanks for your answer, the delete action comes from an applicationTable, here is my code:
    The deleteImmediate is set to true.
    <fnd:applicationsTable tableId="t2" id="AT1"
                                             deleteEnabled="true"
                                             createPatternType="inline"
                                             createImmediate="true"
                                             createText="#{applcoreBundle.ADD_ROW}"
                                             deleteActionListener="#{ParticipantDetailPageBean.invokeConfirmationDelete}"
                                             deleteImmediate="true"
                                             styleClass="AFStretchWidth"
                                             deleteMsg="#{applcoreBundle.DELETE_CONFIRM}"
                                             deletePartialTriggers="_ATp:t2"
                                             duplicateEnabled="false">
    The popup does not have buttons itself. Here is the code
    <af:popup id="confirmDeletePopup"
                                      binding="#{ParticipantDetailPageBean.deleteYesNoPopup}"
                                      childCreation="deferred">
                              <af:dialog id="d1" type="okCancel"
                                         dialogListener="#{ParticipantDetailPageBean.handleConfirmDeleteDialog}"
                                         title="#{IcCnSrpTopGenBundle['Header.RoleAssignmentDeleteWarning']}">
                                <af:panelGroupLayout id="pgl4">
                                  <af:panelFormLayout id="pfl2">
                                    <f:facet name="footer"/>
                                    <af:activeOutputText value="#{applcoreBundle.DELETE_CONFIRM}"
                                                         id="aot1"/>
                                  </af:panelFormLayout>
                                </af:panelGroupLayout>
                              </af:dialog>
                            </af:popup>

  • How to avoid JMS validation when starting weblogic server

    Hi All,
    When starting up WebLogic server, it will validate JMS destinations one by one for deployed applications.
    If I don't connect the VPN, then these JMS destinations are not reachable, and WebLogic Server will spend a lot of time to try connecting to these JMS destinations.
    Thus it will take a lot of time to startup the WebLogic Server.
    How can I disable JMS validation when starting weblogic server?
    Thanks and Regards!

    Hi Daniel,
    By blank do you mean that the screen is black? Is it gray? Is it blue? The word "blank" is vague when trying to determine and isolate startup issues.

  • The page contains markup that is not valid when attached to master page

    Hi,
    I have create an web application in VS 2005 and convert into VS2008. now i am facing a problem that a single page is not open in design mode which is inherit from master page.
    and a message comes.
    Error: The page contains markup that is not valid when attached to master page
    please give me the suggestion that how can i open this page in design mode.
    Thanks
    Gaurav Anand

    Neither worked for me.  Here is my code.
    <
    asp:Content ID="Content1" ContentPlaceHolderID="fkhead" Runat="Server">
    <script runat="server">
    Public Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
    If Not Page.IsPostBack Then
    Dim a As String = "This is other data"
    pqriminadpaylbl.Text = a
    pqrimincustlbl.Text = a
    pqriminadpaylbl.Text = a
    pqriminpcdevlbl.Text = a
    pqriminpctoollbl.Text = a
    pqriminsaleslbl.Text = a
    pqriminspadeslbl.Text = a
    pqriminspamatlbl.Text = a
    pqrimintdamortlbl.Text = a
    pqrimintdcclbl.Text = a
    pqrimintddtlbl.Text = a
    pqrimintdfclbl.Text = a
    pqrimintucdeslbl.Text = a
    pqrimintucdollarlbl.Text = a
    pqrimintucmatlbl.Text = a
    pqriminvolaslbl1.Text = a
    pqriminvolaslbl2.Text = a
    pqriminvolasyear1lbl1.Text = a
    pqriminvolasyear1lbl2.Text = a
    pqriminvolasyear1lbl3.Text = a
    pqriminvolasyear1lbl4.Text = a
    pqriminvolasyear1lbl5.Text = a
    pqrimindislbl.Visible =
    False
    pqriminprevbtn.Visible =
    False
    pqriminnextbtn.Visible =
    False
    End If
    End Sub
    </script>
    <style type="text/css">
    .trest
    .newStyle1
    text-align: right;
    .table
    width: 100%;
    .newStyle2
    font-size: 20pt;
    font-weight: bold;
    text-decoration: underline;
    text-align: center;
    .tdparts2
    font-size: 16pt;
    font-weight: bold;
    .tb25
    width: 25%;
    font-size: 9pt;
    .tb20
    width: 20%;
    font-size: 9pt;
    .tb40
    width: 40%;
    font-size: 9pt;
    .tb30
    width: 30%;
    font-size: 9pt;
    </style>
    </
    asp:Content>
    It works fin, but the designer keeps craping out.  This was not happening until recently.  Not sure what is up with it.

  • Bypass Required Field Validation when needed in PDF Dynamic Form

    I faced a tricky situation, where some fields are required, but we need to allow bypass required (mandatory) validation rule when saving the form, and require to fill such fields when submitting the form. In other words, provide flexible control when to turn On / Off this feature.
    I wanted to implement a flexible solution, and I will post my findings here. Appreciate your feedback for improvements.
    Steps:
    1. Mark rquired fields as required.
    2. Specify "Empty Message" as "This field cannot be left blank", or similar.
    3. Specify "Validation Script Message" as "This field must have a proper value before submit", or similar.
    4. Create a Global Form Level Variable something like "StopTotalValidation" and default as "1" means by default, Turn Off Validation for some cases.
    5. For the fields which require this type of control, add the script (to be defined later) on the "validate" event:
    myTools.validateForRequiredField(this);
    6. Create a Script Object "myTools" and add the following script:
    function initStringFunc() {
    //call this function on Document Initialize
    String.prototype.trim = function() {
        return this.replace(/^\s+|\s+$/g,"");
    String.prototype.ltrim = function() {
        return this.replace(/^\s+/,"");
    String.prototype.rtrim = function() {
        return this.replace(/\s+$/,"");
    String.prototype.isEmpty = function() {
        return (this == null) || this.trim() == "";
    function setNodeProperty(theNode, theProperty, newValue) {
       if (theNode[theProperty] != newValue) {
            theNode[theProperty] = newValue; 
    function isNodePropertyEmpty(theNode, theProperty) {
        var result;
        if (theNode == null || theNode[theProperty] == null) {
            result = true;
        } else {
            result = theNode[theProperty].isEmpty();
        return result;
    function disableTotalValidation() {
        StopTotalValidation.value = "1";
    function enableTotalValidation() {
        StopTotalValidation.value = "0";
    function isTotalValidationOn() {
        return StopTotalValidation.value != "1";
    function isTotalValidationOff() {
        return StopTotalValidation.value == "1";
    const conRequired = "(required)";
    function validateForRequiredField(theFld) {
        // Bypass Required Field Validation when Global Validation is Off.
        var result=false;
        if (theFld) {
            if (theFld.mandatory && theFld.mandatory == "error") {
                if (myTools.isNodePropertyEmpty(theFld, "rawValue")) {
                    myTools.setNodeProperty(theFld, "rawValue", conRequired);
                if (isTotalValidationOn()) {
                    if (isNodePropertyEmpty(theFld, "rawValue") || theFld.rawValue.toLowerCase() == conRequired.toLowerCase()) {
                        result = false;
                    } else {
                        result = true;
                } else {
                    result = true;             
        } else {
            result = false;
        return result;
    7. Now, on the click of "Save" button call the function "disableTotalValidation()" and on the click of "Submit" button call the function "enableTotalValidation()".
    I have just finished implementing the above solution, and as per my initial testing, it is working fine.
    I will post this to my Google Docs workspace, and provide updates their.
    Tarek.

    Hi Tarek,
    I see what you mean in relation to clarity if you used the form variable approach. It was only a suggestion. Like so many things in LC, there is more than one way to finding a solution to a problem.
    The triple equal sign (===) is testing if the condition is equal, but to a higher standard. It is testing if the values are identical to each other. For example if you were testing if a textfield was empty, with Equality (==) you might have this:
    if (this.rawValue == null || this.rawValue == "") {
         // Some script
    If you use Identity (===) you can do the same thing with less script:
    if (this.rawValue === null) {
         // Some script
    It is also useful when testing the value of an object, but also the type (eg string, number, Boolean).
    Lastly, it can be used for non-identity (!==).
    In relation to createNode() etc, apart from John's blog, it is covered in the LC documents: http://www.adobe.com/support/documentation/en/livecycle/documentation.html. Look for the scripting guides and the guide to the XML Form Object Model.
    Good luck,
    Niall

  • How to handle the unique primary key validation when is a multipart key !

    I dont know how to handle the primary key validation when the primary key is a multipart key.
    Besides would like to know how to catch the TooManyObjectsException in order to custom the default exception message.
    thank u.
    regards,
    Orlando Acosta

    Are you using EJB's, Toplink, or BC4J?
    Thanks,
    Rob
    Team JDev

  • How to Do Validations When Approval Hits Reject Button?

    The transaction has been initiated and now it routes to the next approval.  The approval opens up the work item and it brings the form with the details transaction initiated.  The approval hit "Reject" button to reject the transaction.
    Is there a way / BADI that I can put a validations so that it'll throw a message whenever user hit "Reject" button?

    Hi Shreya,
    I saw that this question has been marked answered.
    Do you mind to share the solution as I am also having the same problem here.
    What i need to do is to add validation when approvers hit on Approve button or Back to Author button.
    The validation will be checking whether comment is entered, error msg will be prompted if no comment entered.
    Please advice.
    Thanks
    Regards,
    Justin

  • Serial number not valid when upgrading from LR4 to LR5 [was:leewayphotography]

    J’ai acheté LR 4 il y a 1 an avec le n° de série sur la boite. J’ai acheté l’upgrade pour LR 5 et je n’ai jamais pu installer la version définitive avec ce n° de série.Ce n° de série n'est pas valide. La durée version d’essai est terminée et donc je dois retourner à LR 4 pour continuer à travailler ? Pourquoi cela ne fonctionne pas?

    Bonjour.
    J'ai bien compris votre réponse qu'il fallait utiliser un nouveau n° de série. J'ai bien téléchargé LR5 le 18 mars 2014, j'ai bien reçu une facture
    n° IEE2014000174985 mais je n'ai pas de trace d'un nouveau n° de série. Il n'est pas sur la facture, ni dans le logiciel?
    Que faut-il faire
    Leewayphotography
    From: John Waller
    Sent: Monday, April 21, 2014 10:14 PM
    To: leewayphotography
    Subject: Serial number not valid when upgrading from LR4 to LR5 was:leewayphotography
          Re: Serial number not valid when upgrading from LR4 to LR5 was:leewayphotography
          created by John Waller in Photoshop Lightroom - View the full discussion

  • Disable validation when changing showdetailitem in showonetab

    Hello,
    i have a creation page for a table and since the table contains lots of columns i use showdetailitems to limit the size of the displayed page.
    But every time i change of showdetailitem, the validation of the fields is executed and i always get error messages saying that some fields are mandatory and must be set.
    so my question is, how can i disable validation when changing the selected showdetailitem (and still have it when committing) ?
    thanks
    -regards.

    Hello Peter,
    A little correction to Chris' suggestion, it should be:
    <af:inputText value="#{bindings.<your field name>.inputValue}"
                        label="#{bindings.<your field name>.hints.label}"
                        required="#{!bindings.<your iterator name>Iterator.findMode && bindings.<your field name>.hints.mandatory}">
    ...etc...The only difference is the removal of the ? : operator since it isn't required and represents both an additional parsing and processing effort. Go micro-optimization!
    ~ Simon

  • How to turn off validation when compiling Packages...!

    Hello,
    How do I turn off the validation when compiling Packages in SQLPLus?
    Thanks
    Rao

    I'm guessing at what you're after here, but maybe this?
    ME_XE?create or replace procedure one
      2  as
      3  begin
      4     null;
      5  end;
      6  /
    Procedure created.
    Elapsed: 00:00:00.73
    ME_XE?set feedback off
    ME_XE?create or replace procedure one
      2  as
      3  begin
      4     null;
      5  end;
      6  /
    Elapsed: 00:00:00.61

  • Skip validation when clicking cancel button in Applications panel

    Validation skipping can be done by making 'immediete' property to 'true'. But in fnd ApplicationsPanel, cancel button don't have an 'immediete' property. Only revert button has that property. So how can I skip validation when the cancel button is pressed?

    Hi Shaik,
    <li> You need to set Function type E to Application toolbar button.
    <li> Go to PF Status of the screen -> Click on application toolbar->Double click on button->It takes you to Function attributes Popup->There , u will see Function code after that Function type. Select or give type to E.
    <li> Write this piece of code in PAI.
    PROCESS BEFORE OUTPUT.
      MODULE status_2200.
    PROCESS AFTER INPUT.
      MODULE skip_mandatory AT EXIT-COMMAND.
    *&      Module  SKIP_MANDATORY  INPUT
    MODULE skip_mandatory INPUT.
      IF sy-ucomm = 'TEST'.
        LEAVE TO SCREEN 2000.
      ENDIF.
    ENDMODULE.                 " SKIP_MANDATORY  INPUT
    I hope that it solves your problem.
    Thanks
    Venkat.O

  • On my iphone 4 i tried to enter my $25 itunes card and it says its not valid when i bought it yesterday... whats the problem?

    On my iphone 4 i tried to enter my $25 itunes card and it says its not valid when i bought it yesterday... whats the problem?

    http://support.apple.com/kb/ts1292Try this link...
    Message was edited by: all the answers

Maybe you are looking for