Wsdl validation fails for request message payload from custom schema

Hello. I am having a problem which I cannot seem to work around. I have defined a schema to serve as a template for the request message payload of a bpel process. The schema is very simple:
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:logininfo="http://sru/logininfo" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:sru="http://sru/profile" targetNamespace="http://sru/logininfo" elementFormDefault="qualified" attributeFormDefault="unqualified">
     <xs:import namespace="http://sru/profile" schemaLocation="http://sru/profile.xsd"/>
     <xs:element name="logininfo" type="logininfo:logininfoType">
          <xs:annotation>
               <xs:documentation>Needed information for SRU Login</xs:documentation>
          </xs:annotation>
     </xs:element>
     <xs:complexType name="logininfoType">
          <xs:all>
               <xs:element name="email" type="sru:emailType"/>
               <xs:element name="password">
                    <xs:simpleType>
                         <xs:restriction base="xs:string">
                              <xs:maxLength value="32"/>
                         </xs:restriction>
                    </xs:simpleType>
               </xs:element>
               <xs:element name="product" type="xs:string"/>
               <xs:element name="ip" type="sru:ipType"/>
               <xs:element name="timestamp" type="xs:dateTime"/>
               <xs:element name="xpath" type="xs:string"/>
          </xs:all>
     </xs:complexType>
</xs:schema>
(The schema depends on another, which I have placed at the end of this message).
I import it into the bpel process designer with no problems.
Upon defining the payload of the request message type to be the {http://sru/logininfo}logininfoType, the WSDL file does not validate anymore:
Validating WSDL...
Validating E:\OraBPELPM_1\integration\jdev\jdev\mywork\SRU\BPELProcess5\BPELProcess5.wsdl
Schema type not found: QName(http://sru/logininfo, logininfoType)
Validate WSDL: has errors.
Any ideas?
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns="http://sru/profile" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:sru="http://sru" xmlns:xdb="http://xmlns.oracle.com/xdb" targetNamespace="http://sru/profile" elementFormDefault="qualified" attributeFormDefault="unqualified" xdb:schemaURL="http://sru/profile.xsd">
     <xs:annotation>
          <xs:documentation>Joel Salmerón Viver</xs:documentation>
          <xs:documentation xml:lang="en">General purpose internet profile schema</xs:documentation>
     </xs:annotation>
     <xs:simpleType name="emailType">
          <xs:restriction base="xs:string">
               <xs:maxLength value="255"/>
               <xs:pattern value="[a-z0-9]([a-z0-9\._][a-z0-9]+)*@[a-z0-9]([a-z0-9\.\-][a-z0-9]+)*\.[a-z]{2,6}"/>
          </xs:restriction>
     </xs:simpleType>
     <xs:simpleType name="ipType">
          <xs:restriction base="xs:string">
               <xs:pattern value="((\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.){3}(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])"/>
          </xs:restriction>
     </xs:simpleType>
     <xs:simpleType name="labelType">
          <xs:restriction base="xs:string">
               <xs:maxLength value="32"/>
          </xs:restriction>
     </xs:simpleType>
     <xs:complexType name="addressType" xdb:SQLType="ADDRESSTYPE" xdb:SQLSchema="SRU">
          <xs:all>
               <xs:element name="lines" type="linesType" minOccurs="0" xdb:SQLName="lines" xdb:SQLType="LINESTYPE" xdb:SQLSchema="SRU" xdb:SQLInline="true">
                    <xs:key name="linesKey">
                         <xs:selector xpath="line"/>
                         <xs:field xpath="@num"/>
                    </xs:key>
               </xs:element>
               <xs:element name="city" xdb:SQLName="city" xdb:SQLType="VARCHAR2" xdb:SQLInline="true">
                    <xs:simpleType>
                         <xs:restriction base="xs:string">
                              <xs:maxLength value="64"/>
                         </xs:restriction>
                    </xs:simpleType>
               </xs:element>
               <xs:element name="postalcode" xdb:SQLName="postalcode" xdb:SQLType="VARCHAR2" xdb:SQLInline="true">
                    <xs:simpleType>
                         <xs:restriction base="xs:string">
                              <xs:maxLength value="16"/>
                         </xs:restriction>
                    </xs:simpleType>
               </xs:element>
               <xs:element name="countrycode" xdb:SQLName="countrycode" xdb:SQLType="VARCHAR2" xdb:SQLInline="true">
                    <xs:simpleType>
                         <xs:restriction base="xs:string">
                              <xs:length value="2"/>
                         </xs:restriction>
                    </xs:simpleType>
               </xs:element>
          </xs:all>
          <xs:attribute name="label" type="labelType" use="required" xdb:SQLName="label" xdb:SQLType="VARCHAR2"/>
          <xs:attribute name="verified" type="xs:boolean" use="required" xdb:SQLName="verified" xdb:SQLType="RAW"/>
     </xs:complexType>
     <xs:complexType name="lineType" xdb:SQLType="LINETYPE" xdb:SQLSchema="SRU">
          <xs:simpleContent>
               <xs:extension base="xs:string">
                    <xs:attribute name="num" type="xs:positiveInteger" use="required" xdb:SQLName="num" xdb:SQLType="NUMBER"/>
               </xs:extension>
          </xs:simpleContent>
     </xs:complexType>
     <xs:complexType name="loginType" xdb:SQLType="LOGINTYPE" xdb:SQLSchema="SRU">
          <xs:all>
               <xs:element name="registered_date" type="xs:dateTime" xdb:SQLType="TIMESTAMP WITH TIME ZONE" xdb:SQLName="registered_date" xdb:SQLInline="true"/>
               <xs:element name="lastlogin_date" type="xs:dateTime" xdb:SQLType="TIMESTAMP WITH TIME ZONE" xdb:SQLName="lastlogin_date" xdb:SQLInline="true"/>
               <xs:element name="lastlogin_ip" type="ipType" minOccurs="0" xdb:SQLName="lastlogin_ip" xdb:SQLType="VARCHAR2" xdb:SQLInline="true"/>
               <xs:element name="lastlogin_time" type="xs:time" minOccurs="0" xdb:SQLType="TIMESTAMP WITH TIME ZONE" xdb:SQLName="lastlogin_time" xdb:SQLInline="true"/>
          </xs:all>
          <xs:attribute name="product" use="required" xdb:SQLName="product" xdb:SQLType="VARCHAR2">
               <xs:simpleType>
                    <xs:restriction base="xs:string">
                         <xs:maxLength value="32"/>
                    </xs:restriction>
               </xs:simpleType>
          </xs:attribute>
          <xs:attribute name="status" type="xs:integer" use="required" xdb:SQLName="status" xdb:SQLType="NUMBER"/>
     </xs:complexType>
     <xs:complexType name="addressesType" xdb:SQLType="ADDRESSESTYPE" xdb:SQLSchema="SRU">
          <xs:sequence>
               <xs:element name="address" maxOccurs="unbounded" xdb:defaultTable="PROFILE_ADDRESSES" xdb:SQLName="address" xdb:SQLSchema="SRU" xdb:SQLInline="true" xdb:defaultTableSchema="SRU" xdb:SQLCollType="address360_COLL" xdb:SQLCollSchema="SRU" xdb:maintainOrder="false">
                    <xs:complexType xdb:SQLType="address358_T" xdb:SQLSchema="SRU">
                         <xs:complexContent>
                              <xs:extension base="addressType"/>
                         </xs:complexContent>
                    </xs:complexType>
               </xs:element>
          </xs:sequence>
          <xs:attribute name="main" type="labelType" use="required" xdb:SQLName="main" xdb:SQLType="VARCHAR2"/>
     </xs:complexType>
     <xs:complexType name="phonesType" xdb:SQLType="PHONESTYPE" xdb:SQLSchema="SRU">
          <xs:sequence>
               <xs:element name="phone" type="phoneType" maxOccurs="unbounded" xdb:SQLName="phone" xdb:SQLType="PHONETYPE" xdb:SQLSchema="SRU" xdb:SQLInline="true" xdb:SQLCollType="phone363_COLL" xdb:SQLCollSchema="SRU" xdb:maintainOrder="false"/>
          </xs:sequence>
          <xs:attribute name="main" type="labelType" use="required" xdb:SQLName="main" xdb:SQLType="VARCHAR2"/>
     </xs:complexType>
     <xs:complexType name="loginsType" xdb:SQLType="LOGINSTYPE" xdb:SQLSchema="SRU">
          <xs:sequence>
               <xs:element name="login" type="loginType" maxOccurs="unbounded" xdb:SQLName="login" xdb:SQLType="LOGINTYPE" xdb:SQLSchema="SRU" xdb:SQLInline="true" xdb:SQLCollType="login366_COLL" xdb:SQLCollSchema="SRU" xdb:maintainOrder="false">
                    <xs:key name="loginKey">
                         <xs:selector xpath="."/>
                         <xs:field xpath="@product"/>
                    </xs:key>
               </xs:element>
          </xs:sequence>
     </xs:complexType>
     <xs:complexType name="phoneType" xdb:SQLType="PHONETYPE" xdb:SQLSchema="SRU">
          <xs:simpleContent>
               <xs:extension base="phonenumberType"/>
          </xs:simpleContent>
     </xs:complexType>
     <xs:complexType name="profileType" xdb:SQLType="PROFILETYPE" xdb:SQLSchema="SRU">
          <xs:all>
               <xs:element name="firstname" xdb:SQLName="firstname" xdb:SQLType="VARCHAR2" xdb:SQLInline="true">
                    <xs:simpleType>
                         <xs:restriction base="xs:string">
                              <xs:maxLength value="64"/>
                         </xs:restriction>
                    </xs:simpleType>
               </xs:element>
               <xs:element name="surname1" xdb:SQLName="surname1" xdb:SQLType="VARCHAR2" xdb:SQLInline="true">
                    <xs:simpleType>
                         <xs:restriction base="xs:string">
                              <xs:maxLength value="64"/>
                         </xs:restriction>
                    </xs:simpleType>
               </xs:element>
               <xs:element name="surname2" minOccurs="0" xdb:SQLName="surname2" xdb:SQLType="VARCHAR2" xdb:SQLInline="true">
                    <xs:simpleType>
                         <xs:restriction base="xs:string">
                              <xs:maxLength value="64"/>
                         </xs:restriction>
                    </xs:simpleType>
               </xs:element>
               <xs:element name="gender">
                    <xs:simpleType>
                         <xs:restriction base="xs:string">
                              <xs:length value="1"/>
                              <xs:enumeration value="M"/>
                              <xs:enumeration value="F"/>
                         </xs:restriction>
                    </xs:simpleType>
               </xs:element>
               <xs:element name="alt_email" type="emailType" minOccurs="0" xdb:SQLName="alt_email" xdb:SQLType="VARCHAR2" xdb:SQLInline="true"/>
               <xs:element name="addresses" type="addressesType" minOccurs="0" xdb:SQLName="addresses" xdb:SQLType="ADDRESSESTYPE" xdb:SQLSchema="SRU" xdb:SQLInline="true">
                    <xs:key name="addressesKey">
                         <xs:selector xpath="address"/>
                         <xs:field xpath="@label"/>
                    </xs:key>
                    <xs:keyref name="addressRef" refer="addressesKey">
                         <xs:selector xpath="."/>
                         <xs:field xpath="@main"/>
                    </xs:keyref>
               </xs:element>
               <xs:element name="phones" type="phonesType" minOccurs="0" xdb:SQLName="phones" xdb:SQLType="PHONESTYPE" xdb:SQLSchema="SRU" xdb:SQLInline="true">
                    <xs:key name="phoneKey">
                         <xs:selector xpath="phone"/>
                         <xs:field xpath="@label"/>
                    </xs:key>
                    <xs:keyref name="phoneRef" refer="phoneKey">
                         <xs:selector xpath="."/>
                         <xs:field xpath="@main"/>
                    </xs:keyref>
               </xs:element>
               <xs:element name="language" type="xs:language" xdb:SQLName="language" xdb:SQLType="VARCHAR2" xdb:SQLInline="true"/>
               <xs:element name="logins" type="loginsType" minOccurs="0" xdb:SQLName="logins" xdb:SQLType="LOGINSTYPE" xdb:SQLSchema="SRU" xdb:SQLInline="true">
                    <xs:key name="loginsKey">
                         <xs:selector xpath="login"/>
                         <xs:field xpath="@product"/>
                    </xs:key>
               </xs:element>
               <xs:element name="origin" minOccurs="0" xdb:SQLName="origin" xdb:SQLType="VARCHAR2" xdb:SQLInline="true">
                    <xs:annotation>
                         <xs:documentation>iso3166 a2 country code</xs:documentation>
                    </xs:annotation>
                    <xs:simpleType>
                         <xs:restriction base="xs:string">
                              <xs:length value="2"/>
                         </xs:restriction>
                    </xs:simpleType>
               </xs:element>
               <xs:element name="creation_date" type="xs:dateTime" xdb:SQLType="TIMESTAMP WITH TIME ZONE" xdb:SQLName="creation_date" xdb:SQLInline="true"/>
               <xs:element name="modified_date" type="xs:dateTime" xdb:SQLType="TIMESTAMP WITH TIME ZONE" xdb:SQLName="modified_date" xdb:SQLInline="true"/>
               <xs:element name="password" xdb:SQLName="password" xdb:SQLType="VARCHAR2" xdb:SQLInline="true">
                    <xs:simpleType>
                         <xs:restriction base="xs:string">
                              <xs:maxLength value="32"/>
                              <xs:pattern value="[a-zA-Z0-9]+"/>
                         </xs:restriction>
                    </xs:simpleType>
               </xs:element>
               <xs:element name="hint" minOccurs="0" xdb:SQLName="hint" xdb:SQLType="VARCHAR2" xdb:SQLInline="true">
                    <xs:simpleType>
                         <xs:restriction base="xs:string">
                              <xs:maxLength value="32"/>
                         </xs:restriction>
                    </xs:simpleType>
               </xs:element>
               <xs:element name="additional" type="xs:anyType" minOccurs="0">
                    <xs:annotation>
                         <xs:documentation>future expansion</xs:documentation>
                    </xs:annotation>
               </xs:element>
          </xs:all>
          <xs:attribute name="email" type="emailType" use="required" xdb:SQLName="email" xdb:SQLType="VARCHAR2"/>
          <xs:attribute name="active" type="xs:boolean" use="required"/>
     </xs:complexType>
     <xs:complexType name="phonenumberType" xdb:SQLType="PHONENUMBERTYPE" xdb:SQLSchema="SRU">
          <xs:simpleContent>
               <xs:extension base="xs:string">
                    <xs:attribute name="label" type="labelType" use="required" xdb:SQLName="label" xdb:SQLType="VARCHAR2"/>
               </xs:extension>
          </xs:simpleContent>
     </xs:complexType>
     <xs:element name="profile" type="profileType" xdb:defaultTable="PROFILES" xdb:SQLName="profile" xdb:SQLType="PROFILETYPE" xdb:SQLSchema="SRU" xdb:defaultTableSchema="SRU"/>
     <xs:complexType name="linesType" xdb:SQLType="LINESTYPE" xdb:SQLSchema="SRU">
          <xs:sequence>
               <xs:element name="line" type="lineType" maxOccurs="unbounded" xdb:SQLName="line" xdb:SQLType="LINETYPE" xdb:SQLSchema="SRU" xdb:SQLInline="true" xdb:SQLCollType="line354_COLL" xdb:SQLCollSchema="SRU" xdb:maintainOrder="false"/>
          </xs:sequence>
     </xs:complexType>
</xs:schema>

IT would help if the people that are working this issue would post the resolve of their problems. Every post I see with this problem someone from oracle replies with needing the source project to replicate the issue and the thread dies....

Similar Messages

  • Validation failed for ArchiveClassLoaderDerivedType- Java callouts from OSB

    Even though jar file for java classes are present, I am receiving the following error sometimes:
    com.bea.wli.config.component.NotFoundException: Validation failed for ArchiveClassLoaderDerivedType ..Referenced component (ArchiveClassLoaderDerivedType ../../Java/.._ArchiveClassLoaderDerivedType) not found.
    When I bounce the server then it works, but I can't bounce the server in production. Do anybody know why this is happening?

    Unfortunately ALSB/OSB does not seem to honour JAR files packaged in your JAR and referenced by the manifest Class-Path attribute. As well, the JAR files deployed into a project cannot reference each other. As such, you either have to open the library JAR and stick it into the one you are deploying or to put it on the server classpath via the domain lib (you do not need to edit the start scripts). This is definitely a hole in the capabilities of OSB.

  • Payload Validation failing for EBM

    Hi,
    I have a composite which takes input based on a simple XSD.
    Inside the composite the input is mapped to Sales Order EBM and this EBM is sent as input to other composite.
    For data validation purpose, I switched on Payload Validation for this composite in Weblogic EM.
    The input data validation works fine but it's throwing follwing error while invoking composite which accepts EBM as input.
    <fault>
    <bpelFault>
    <faultType>0</faultType>
    <remoteFault>
    <part name="summary">
    <summary>oracle.fabric.common.FabricInvocationException: Schema validation failed for message part payload. Please ensure at the message sender level that the data sent is schema compliant.</summary>
    </part>
    <part name="detail">
    <detail>Element 'ProcessSalesOrderFulfillment' not expected.</detail>
    </part>
    <part name="code">
    <code>null</code>
    </part>
    </remoteFault>
    </bpelFault>
    </fault>
    The payload validation error is occuring for all composites which accepts EBM as input. It picks the attribute name just after the header and says element not expected.
    Any help is greatly appreciated.
    Thanks,
    Ravi

    Please ensure that you have created EBS properly, verify all the datatypes of the elements in input XSD & EBO schema. And also verify whether EBM header is reflecting properly.
    One more thing you should able to navigate from EBS to EBM, EBM to EBO then only you can assume you have done all things correctly. If not reconstruct EBS, EBM & EBO with valid request & response messages.

  • Save validation failed for message

    Hi !
    I am trying to save a workflow to the database however I am getting an error saying 'Save validation failed for message 'WFTEST/COMPLAINT_REJECTED'
    underthis i got
    401: Could not find token 'NOTE' among message attributes
    401: Could not find token 'FORWARD_TO_USERNAME' among message attributes'
    What must I do to stop getting this error message.

    Hi,
    I've answered your duplicate post on the [WorkflowFAQ forum|http://smforum.workflowfaq.com/index.php?topic=998.0].
    HTH,
    Matt
    WorkflowFAQ.com - the ONLY independent resource for Oracle Workflow development
    Alpha review chapters from my book "Developing With Oracle Workflow" are available via my website http://www.workflowfaq.com
    Have you read the blog at http://www.workflowfaq.com/blog ?
    WorkflowFAQ support forum: http://forum.workflowfaq.com

  • Error message:  .Mac account credentials validation failed for account...

    I have published via iWeb for some time, but after I created a new webpage, I have been unable to publish again. This is the latest error message...
    ".Mac account credentials validation failed for account “account name."
    I have tried publishing via wireless internet and direct connect to router, with the same results. The apple support site recommendation is to upgrade to iWeb 1.1.1 or higher, but I'm already running 1.1.2.
    Thanks!
    Craig

    I have this same problem SUDDENLY. I never have had issues before.I have not tried to publish since 10/04 so I don't know when this started...? what is the answer. My .mac account is fine and working.

  • WSDL Validation Failed (Web Services)

    I want to create a Web Service-Based Application in LabVIEW and I'm
    trying to go through the steps in the tutorial
    http://zone.ni.com/devzone/cda/tut/p/id/4728.
    I tried the following web services, but I always get the same error.
    http://coeservice.en.kku.ac.th:8080/TemperatureConvertor/TemperatureConvertorService?WSDL
    http://www.ecubicle.net/iptocountry.asmx?wsdl
    Error:
    WSDL Validation Failed.
    Validation failed. The URL is not formatted correctly and should be in the folowing form: http://localhost/test/good.asmx?WSDL
    I defined a proxy server with authentication. Without doing, that I get another error:
    Validation Failed.
    Possible Reasons are:
    1. The URL does not exist or the WSDL is bad.
    2. Authentication is not correct.
    3. Proxy information is not correct.
    So it seems that the proxy information is ok. But the web service I want to access isn't located on the localhost - I want to access a service in the internet. Can somebody give me a hint? I already tried to change some settings of the LabVIEW webserver. But it didn't help anything.
    David
    Solved!
    Go to Solution.

    In my browser I don't need to define a proxy (the proxy is detected automatically). But I still tried to define a proxy for the webservice - I got the informations from our IT department.
    I attached 3 screenshots of the webservice wizard with the error message...
    Attachments:
    ImportWebService1.gif ‏19 KB
    ImportWebService2.gif ‏22 KB
    ImportWebService3.gif ‏6 KB

  • WSDL validation failed, can't generate WS stub

    I've searched this forum for this and could not find anything relevant.
    I'm new to JDeveloper, and just installed 10.1.2. I have the Oracle Press book, "Oracle JDeveloper 10g handbook". In the book, chapter 14 contains a "Hands-on Practice" of creating an application that uses a web service. The example uses the Google Web APIs.
    When I get to the step to generate a web service stub from the GoogleSearch.wsdl, JDeveloper produces the following error:
    "WSDL validation failed with the following exception: The WSDL document is ill defined or incomplete and cannot be used to generate a stub."
    I've also tried the google wsdl that is available at the URL, http://api.google.com/GoogleSearch.wsdl
    It too yields the same error.
    I'm going to proceed with other WSDL files and see what happens. If anyone has any info to share on this, I would appreciate it.
    Thanks
    Morgan

    Ok, I found the problem.
    I was also getting a "can not find main class" error on startup. This thread
    Could not find the main class. Program will fail
    pointed out that you should not install JDeveloper into a folder with an embedded space. I had it subordinate to Program Files. So, I moved it from there and now it gets past the WSDL error when generating a stub from the WSDL.
    Onward!

  • ORA-19563:  header validation failed for file

    hai all ,
    i faced problem when restore database from tape backup ,
    my current database 11.1.0.7.0 , with AIX OS
    im running RMAN to restore with set new name to change poiting to new lun.
    but when end of restore show this :
    channel c05: restore complete, elapsed time: 01:00:34
    channel c06: piece handle=PRFN_DB_bk_31518_1_831778821 tag=HOT_DB_BK_LEVEL0
    channel c06: restored backup piece 1
    channel c06: restore complete, elapsed time: 01:01:39
    Finished restore at 22-NOV-13
    released channel: c01
    released channel: c02
    released channel: c03
    released channel: c04
    released channel: c05
    released channel: c06
    released channel: c07
    released channel: c08
    released channel: c09
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of switch command at 11/22/2013 15:13:04
    ORA-19563:  header validation failed for file
    im open alert.log and see the error
    Errors in file /oracle/PROD/db/tech_st/11.1.0/admin/PROD_smjkt-prfn01/diag/rdbms/prod/PROD/trace/PROD_m000_5243492.trc:
    ORA-51106: check failed to complete due to an error.  See error below
    ORA-48251: Failed to open relation due to following error
    ORA-48122: error with opening the ADR block file [/oracle/PROD/db/tech_st/11.1.0/admin/PROD_smjkt-prfn01/diag/rdbms/prod/PROD/metadata/HM_FINDING.ams] [0]
    ORA-27041: unable to open file
    IBM AIX RISC System/6000 Error: 22: Invalid argument
    Additional information: 2
    ORA-01122: database file 30 failed verification check
    ORA-01110: data file 30: '/oradata51/PROD/data/ctxd01.dbf'
    ORA-01565: error in identifying file '/oradata51/PROD/data/ctxd01.dbf'
    ORA-27037: unable to obtain file status
    IBM AIX RISC System/6000 Error: 2: No such file or directory
    Additional information: 3
    Fri Nov 22 15:11:58 2013
    Errors in file /oracle/PROD/db/tech_st/11.1.0/admin/PROD_smjkt-prfn01/diag/rdbms/prod/PROD/trace/PROD_m000_5243494.trc:
    ORA-51106: check failed to complete due to an error.  See error below
    ORA-48251: Failed to open relation due to following error
    ORA-48122: error with opening the ADR block file [/oracle/PROD/db/tech_st/11.1.0/admin/PROD_smjkt-prfn01/diag/rdbms/prod/PROD/metadata/HM_INFO.ams] [0]
    ORA-27041: unable to open file
    IBM AIX RISC System/6000 Error: 22: Invalid argument
    Additional information: 2
    ORA-01122: database file 221 failed verification check
    ORA-01110: data file 221: '/oradata51/PROD/data/a_txn_data86.dbf'
    ORA-01565: error in identifying file '/oradata51/PROD/data/a_txn_data86.dbf'
    ORA-27037: unable to obtain file status
    IBM AIX RISC System/6000 Error: 2: No such file or directory
    Additional information: 3
    info
    '/oradata51/PROD/data/a_txn_data86.dbf' --> path original from production
    SET NEWNAME FOR DATAFILE 221 TO '/oracle/PROD/db/apps_st/data/a_txn_data86.dbf' --> path in Testing that do full restore
    this file already exist a_txn_data86.dbf
    someone can help me ?
    Imron

    Hi Imron,
    Ensure the file is available at the OS level, if yes then follow the below link and see if it helps you
    https://forums.oracle.com/thread/2544292
    https://forums.oracle.com/message/1237966
    https://forums.oracle.com/message/
    Thanks &
    Best Regards,

  • Process_order api - Validation Failed for Field Bill To

    I am relatively new to the EBS world and I'm having some issues with calling the OE_Order_Pub.Process_order API. When I call this API I am getting a return error of "Validation failed for field - Bill To".
    For a background...I have an APEX application where users can choose parts from a small part master list to add to an existing order. The existing order will not have a status of Closed or Cancelled and there will be atleast 1 line in the order before the new parts are added. The parts will be added as new lines to the order with some of the new line data defaulting to the same information as the first line. I am using EBS version 12.1.3 with a multi-org setup. It seems that the orders under one org (id=3) are working fine, but another org(id=569) they never work and keep getting the error. I am setting the context to the org of the order and initializing the apps user information with the responsibility "Order Management Super User".
    Do you have any idea what could be wrong or how I can debug the error to get a little more detail?
    Here is the procedure I have.
    PROCEDURE TEK_ORD_PROCESS_ORDER(p_order_id IN NUMBER, p_return_code OUT NOCOPY VARCHAR2, p_status OUT NOCOPY VARCHAR2) IS
        CURSOR c_order_parts IS
          SELECT *
            FROM TEK_APEX.TEK_ORD_ORDER_PARTS
           WHERE ORDER_ID = p_order_id;
        TYPE t_parts IS TABLE OF TEK_APEX.TEK_ORD_ORDER_PARTS%ROWTYPE;
        v_order_parts t_parts;
        --Setup variables
        H_Op_Code      VARCHAR2(25) DEFAULT OE_GLOBALS.G_OPR_UPDATE;
        L_Op_Code      VARCHAR2(25) DEFAULT OE_GLOBALS.G_OPR_CREATE;
        v_install_type VARCHAR2(25) := 'PTO';
        v_source_id    NUMBER;
        v_user_id      NUMBER;
        v_resp_id      NUMBER;
        v_app_id       NUMBER;
        v_debug        VARCHAR2(32767);
        v_oracle_order OE_ORDER_HEADERS_ALL%ROWTYPE;
        v_apex_order   TEK_APEX.TEK_ORD_SALES_ORDERS%ROWTYPE;
        p_header_rec                    OE_Order_Pub.Header_Rec_Type;
        p_header_val_rec                OE_Order_Pub.Header_Val_Rec_Type;
        p_Header_Adj_tab                OE_Order_Pub.Header_Adj_Tbl_Type;
        p_Header_Adj_val_tab            OE_Order_Pub.Header_Adj_Val_Tbl_Type;
        p_Header_price_Att_tab          OE_Order_Pub.Header_Price_Att_Tbl_Type;
        p_Header_Adj_Att_tab            OE_Order_Pub.Header_Adj_Att_Tbl_Type;
        p_Header_Adj_Assoc_tab          OE_Order_Pub.Header_Adj_Assoc_Tbl_Type;
        p_Header_Scredit_tab            OE_Order_Pub.Header_Scredit_Tbl_Type;
        p_Header_Scredit_val_tab        OE_Order_Pub.Header_Scredit_Val_Tbl_Type;
        p_line_tab                      OE_Order_Pub.Line_Tbl_Type;
        p_line_val_tab                  OE_Order_Pub.Line_Val_Tbl_Type;
        p_Line_Adj_tab                  OE_Order_Pub.Line_Adj_Tbl_Type;
        p_Line_Adj_val_tab              OE_Order_Pub.Line_Adj_Val_Tbl_Type;
        p_Line_price_Att_tab            OE_Order_Pub.Line_Price_Att_Tbl_Type;
        p_Line_Adj_Att_tab              OE_Order_Pub.Line_Adj_Att_Tbl_Type;
        p_Line_Adj_Assoc_tab            OE_Order_Pub.Line_Adj_Assoc_Tbl_Type;
        p_Line_Scredit_tab              OE_Order_Pub.Line_Scredit_Tbl_Type;
        p_Line_Scredit_val_tab          OE_Order_Pub.Line_Scredit_Val_Tbl_Type;
        p_Lot_Serial_tab                OE_Order_Pub.Lot_Serial_Tbl_Type;
        p_Lot_Serial_val_tab            OE_Order_Pub.Lot_Serial_Val_Tbl_Type;
        p_action_request_tab            OE_Order_pub.Request_Tbl_Type;
        l_header_rec                    OE_Order_Pub.Header_Rec_Type;
        l_header_val_rec                OE_Order_Pub.Header_Val_Rec_Type;
        l_Header_Adj_tab                OE_Order_Pub.Header_Adj_Tbl_Type;
        l_Header_Adj_val_tab            OE_Order_Pub.Header_Adj_Val_Tbl_Type;
        l_Header_price_Att_tab          OE_Order_Pub.Header_Price_Att_Tbl_Type;
        l_Header_Adj_Att_tab            OE_Order_Pub.Header_Adj_Att_Tbl_Type;
        l_Header_Adj_Assoc_tab          OE_Order_Pub.Header_Adj_Assoc_Tbl_Type;
        l_Header_Scredit_tab            OE_Order_Pub.Header_Scredit_Tbl_Type;
        l_Header_Scredit_val_tab        OE_Order_Pub.Header_Scredit_Val_Tbl_Type;
        l_line_tab                      OE_Order_Pub.Line_Tbl_Type;
        l_line_val_tab                  OE_Order_Pub.Line_Val_Tbl_Type;
        l_Line_Adj_tab                  OE_Order_Pub.Line_Adj_Tbl_Type;
        l_Line_Adj_val_tab              OE_Order_Pub.Line_Adj_Val_Tbl_Type;
        l_Line_price_Att_tab            OE_Order_Pub.Line_Price_Att_Tbl_Type;
        l_Line_Adj_Att_tab              OE_Order_Pub.Line_Adj_Att_Tbl_Type;
        l_Line_Adj_Assoc_tab            OE_Order_Pub.Line_Adj_Assoc_Tbl_Type;
        l_Line_Scredit_tab              OE_Order_Pub.Line_Scredit_Tbl_Type;
        l_Line_Scredit_val_tab          OE_Order_Pub.Line_Scredit_Val_Tbl_Type;
        l_Lot_Serial_tab                OE_Order_Pub.Lot_Serial_Tbl_Type;
        l_Lot_Serial_val_tab            OE_Order_Pub.Lot_Serial_Val_Tbl_Type;
        l_ret_status                    VARCHAR2(200);
        l_msg_count                     NUMBER;
        l_msg_data                      VARCHAR2(200);
           --Email information
        v_email_address           varchar2(100);
           v_msg_text                varchar(1000);
           v_subject_text            varchar(1000);
           --Default line information
        v_item_id           NUMBER;
        v_contact_id        NUMBER;
        v_invoice_to_org_id oe_order_lines_all.INVOICE_TO_ORG_ID%TYPE;
        v_ship_to_org_id    oe_order_lines_all.SHIP_TO_ORG_ID%TYPE;
        v_sold_to_org_id    oe_order_lines_all.SOLD_TO_ORG_ID%TYPE;
        v_flow_status_code  oe_order_lines_all.FLOW_STATUS_CODE%TYPE;
        FUNCTION GET_ORACLE_ORDER(p_order_number IN OE_ORDER_HEADERS_ALL.ORDER_NUMBER%TYPE)
          RETURN OE_ORDER_HEADERS_ALL%ROWTYPE IS
          v_order OE_ORDER_HEADERS_ALL%ROWTYPE;
        BEGIN
          SELECT *
            INTO v_order
            FROM APPS.OE_ORDER_HEADERS_ALL
           WHERE ORDER_NUMBER = p_order_number;
          RETURN v_order;
        EXCEPTION
          WHEN OTHERS THEN
            RETURN NULL;
        END GET_ORACLE_ORDER;
        FUNCTION GET_APEX_ORDER(p_order_id IN TEK_APEX.TEK_ORD_SALES_ORDERS.ORDER_ID%TYPE)
          RETURN TEK_APEX.TEK_ORD_SALES_ORDERS%ROWTYPE IS
          v_order TEK_APEX.TEK_ORD_SALES_ORDERS%ROWTYPE;
        BEGIN
          SELECT *
            INTO v_order
            FROM TEK_APEX.TEK_ORD_SALES_ORDERS
           WHERE ORDER_ID = p_order_id;
          RETURN v_order;
        EXCEPTION
          WHEN OTHERS THEN
            RETURN NULL;
        END GET_APEX_ORDER;
        FUNCTION GET_SOURCE_ID(p_source_name IN VARCHAR2)
          RETURN OE_ORDER_SOURCES.ORDER_SOURCE_ID%TYPE IS
          v_source_id OE_ORDER_SOURCES.ORDER_SOURCE_ID%TYPE;
        BEGIN
          SELECT ORDER_SOURCE_ID
            INTO v_source_id
            FROM APPS.OE_ORDER_SOURCES
           WHERE NAME = p_source_name;
          RETURN v_source_id;
        EXCEPTION
          WHEN OTHERS THEN
            RETURN NULL;
        END GET_SOURCE_ID;
        FUNCTION GET_ITEM_ID(p_part_number IN VARCHAR2, p_org_id IN NUMBER)
          RETURN MTL_SYSTEM_ITEMS.INVENTORY_ITEM_ID%TYPE IS
          v_item_id MTL_SYSTEM_ITEMS.INVENTORY_ITEM_ID%TYPE;
        BEGIN
          SELECT INVENTORY_ITEM_ID
            INTO v_item_id
            FROM APPS.MTL_SYSTEM_ITEMS
           WHERE SEGMENT1 = p_part_number
             AND ORGANIZATION_ID = p_org_id;
          RETURN v_item_id;
        EXCEPTION
          WHEN OTHERS THEN
            RETURN NULL;
        END GET_ITEM_ID;
      BEGIN
        apps.mo_global.set_policy_context('S',3);
        apps.mo_global.init('XXTEK');
        BEGIN
          SELECT USER_ID
            INTO v_user_id
            FROM APPS.FND_USER
           WHERE USER_NAME = 'SYSADMIN';
        EXCEPTION
          WHEN OTHERS THEN
            RAISE_APPLICATION_ERROR(-20001, 'Error selecting user');
        END;
        BEGIN
          SELECT RESPONSIBILITY_ID, APPLICATION_ID
            INTO v_resp_id, v_app_id
            FROM TEK_APEX.TEK_RR_ACTIVE_RESP_VW
           WHERE UPPER(RESPONSIBILITY_NAME) = 'ORDER MANAGEMENT SUPER USER';
          --Set current user information
          fnd_global.apps_initialize (user_id      => v_user_id
                                     ,resp_id      => v_resp_id
                                     ,resp_appl_id => v_app_id);
        EXCEPTION
          WHEN OTHERS THEN
            RAISE_APPLICATION_ERROR(-20001, 'Error selecting responsibility');
        END;
        --Get the order information from Oracle and APEX
        v_apex_order := GET_APEX_ORDER(p_order_id);
        IF v_apex_order.ORDER_ID IS NULL THEN
          RAISE_APPLICATION_ERROR(-20001, 'APEX Order ID is invalid: ' || p_order_id);
        END IF;
        v_oracle_order := GET_ORACLE_ORDER(TO_NUMBER(v_apex_order.ORDER_NUMBER));
        IF v_oracle_order.ORDER_NUMBER IS NULL THEN
          RAISE_APPLICATION_ERROR(-20001, 'Order Number not found in Oracle: ' || v_apex_order.ORDER_NUMBER);
        END IF;
        apps.mo_global.set_policy_context('S', v_oracle_order.ORG_ID);
        v_source_id := GET_SOURCE_ID('IMPORT');
        IF v_source_id IS NULL THEN
          RAISE_APPLICATION_ERROR(-20001, 'Source ID not found for IMPORT');
        END IF;
        /* ********** Gather Order Header********** */
        /* ********** Info.              ********** */
        OE_Order_Pub.Get_Order(p_api_version_number    =>      1.0,
                               p_init_msg_list         =>      FND_API.G_TRUE,
                               p_return_values         =>      FND_API.G_TRUE,
                               x_return_status         =>      l_ret_status,
                               x_msg_count             =>      l_msg_count,
                               x_msg_data              =>      l_msg_data,
                               p_header_id             =>      v_oracle_order.HEADER_ID,
                               p_header                =>      NULL,
                               x_header_rec            =>      l_header_rec,
                               x_header_val_rec        =>      l_header_val_rec,
                               x_Header_Adj_tbl        =>      l_Header_Adj_tab,
                               x_Header_Adj_val_tbl    =>      l_Header_Adj_val_tab,
                               x_Header_price_Att_tbl  =>      l_Header_price_Att_tab,
                               x_Header_Adj_Att_tbl    =>      l_Header_Adj_Att_tab,
                               x_Header_Adj_Assoc_tbl  =>      l_Header_Adj_Assoc_tab,
                               x_Header_Scredit_tbl    =>      l_Header_Scredit_tab,
                               x_Header_Scredit_val_tbl=>      l_Header_Scredit_val_tab,
                               x_line_tbl              =>      l_line_tab,
                               x_line_val_tbl          =>      l_line_val_tab,
                               x_Line_Adj_tbl          =>      l_Line_Adj_tab,
                               x_Line_Adj_val_tbl      =>      l_Line_Adj_val_tab,
                               x_Line_price_Att_tbl    =>      l_Line_price_Att_tab,
                               x_Line_Adj_Att_tbl      =>      l_Line_Adj_Att_tab,
                               x_Line_Adj_Assoc_tbl    =>      l_Line_Adj_Assoc_tab,
                               x_Line_Scredit_tbl      =>      l_Line_Scredit_tab,
                               x_Line_Scredit_val_tbl  =>      l_Line_Scredit_val_tab,
                               x_Lot_Serial_tbl        =>      l_Lot_Serial_tab,
                               x_Lot_Serial_val_tbl    =>      l_Lot_Serial_val_tab);
        --Save defaults from first line
        IF l_line_tab.EXISTS(1) THEN
          v_contact_id        := l_line_tab(1).SHIP_TO_CONTACT_ID;
          v_invoice_to_org_id := l_line_tab(1).INVOICE_TO_ORG_ID;
          v_ship_to_org_id    := l_line_tab(1).SHIP_TO_ORG_ID;
          v_sold_to_org_id    := l_line_tab(1).SOLD_TO_ORG_ID;
          v_flow_status_code  := l_line_tab(1).FLOW_STATUS_CODE;
        END IF;
        --Clear out the line array before adding any new parts
        FOR i IN l_line_tab.FIRST..l_line_tab.LAST LOOP
          l_line_tab.DELETE(i);
          l_line_val_tab.DELETE(i);
          l_line_adj_tab.DELETE(i);
          l_line_adj_val_tab.DELETE(i);
          l_line_price_att_tab.DELETE(i);
          l_line_adj_att_tab.DELETE(i);
          l_line_adj_assoc_tab.DELETE(i);
          l_line_scredit_tab.DELETE(i);
          l_line_scredit_val_tab.DELETE(i);
          l_lot_serial_tab.DELETE(i);
          l_lot_serial_val_tab.DELETE(i);
        END LOOP;
        /* ********** Gather Order Lines ********** */
        OPEN c_order_parts;
        FETCH c_order_parts BULK COLLECT INTO v_order_parts;
        CLOSE c_order_parts;
        FOR i IN v_order_parts.FIRST..v_order_parts.LAST LOOP
          v_item_id := GET_ITEM_ID(v_order_parts(i).PART_NUMBER, v_oracle_order.SHIP_FROM_ORG_ID);
          IF v_item_id IS NULL THEN
            RAISE_APPLICATION_ERROR(-20001, 'Error selecting part number ' || v_order_parts(i).PART_NUMBER);
          END IF;
          --Clear line first
          l_line_tab(i)             := OE_Order_Pub.G_Miss_Line_Rec;
             l_line_val_tab(i)         := OE_ORDER_PUB.G_MISS_LINE_VAL_REC;
          l_line_adj_tab(i)             := OE_ORDER_PUB.G_MISS_LINE_ADJ_REC;
          l_line_adj_val_tab(i)     := OE_ORDER_PUB.G_MISS_LINE_ADJ_VAL_REC;
          l_line_price_att_tab(i)      := OE_ORDER_PUB.G_MISS_LINE_PRICE_ATT_REC ;
          l_line_adj_att_tab(i)     := OE_ORDER_PUB.G_MISS_LINE_ADJ_ATT_REC;
          l_line_adj_assoc_tab(i)   := OE_ORDER_PUB.G_MISS_LINE_ADJ_ASSOC_REC;
          l_line_scredit_tab(i)     := OE_ORDER_PUB.G_MISS_LINE_SCREDIT_REC;
          l_line_scredit_val_tab(i) := OE_ORDER_PUB.G_MISS_LINE_SCREDIT_VAL_REC;
          l_lot_serial_tab(i)       := OE_ORDER_PUB.G_MISS_LOT_SERIAL_REC;
          l_lot_serial_val_tab(i)   := OE_ORDER_PUB.G_MISS_LOT_SERIAL_VAL_REC;
          --Set line information
             l_line_tab(i).PRICE_LIST_ID          := v_oracle_order.PRICE_LIST_ID;
          l_line_tab(i).header_id              := v_oracle_order.header_id;
          l_line_tab(i).inventory_item_id      := v_item_id;
          l_line_tab(i).ordered_quantity       := v_order_parts(i).QUANTITY;
          l_line_tab(i).operation              := l_op_code;
          l_line_tab(i).unit_list_price        := 0;
          l_line_tab(i).ship_from_org_id       := v_oracle_order.ship_from_org_id;
          l_line_tab(i).program_id             := fnd_global.conc_program_id ;
          l_line_tab(i).program_application_id := fnd_global.PROG_APPL_ID;
          l_line_tab(i).order_source_id        := v_source_id;
          l_line_tab(i).calculate_price_flag   := 'N' ;
          l_line_tab(i).unit_selling_price     := 0.00 ;
             l_line_tab(i).request_date           := v_apex_order.onsite_date;
             l_line_tab(i).Schedule_ship_date     := v_apex_order.onsite_date;
             l_line_tab(i).promise_date           := null;
          l_line_tab(i).invoice_to_org_id      := v_invoice_to_org_id;
          l_line_tab(i).ship_to_org_id         := v_ship_to_org_id;
          l_line_tab(i).sold_to_org_id         := v_sold_to_org_id;
          l_line_tab(i).ship_to_contact_id     := v_contact_id;
        END LOOP;
    --OE_DEBUG_PUB.DEBUG_ON;
    --OE_DEBUG_PUB.Initialize;
    --OE_DEBUG_PUB.SetDebugLevel(5);
        --Add lines to order
        OE_Order_Pub.Process_order(p_api_version_number            =>      1.0,
                                   p_init_msg_list                 =>      FND_API.G_TRUE,
                                   p_return_values                 =>      FND_API.G_TRUE,
                                   p_action_commit                 =>      FND_API.G_FALSE,
                                   x_return_status                 =>      l_ret_status,
                                   x_msg_count                     =>      l_msg_count,
                                   x_msg_data                      =>      l_msg_data,
                                   p_header_rec                    =>  l_header_rec,
                                   p_old_header_rec                =>  l_header_rec,
                                   p_header_val_rec                =>  l_header_val_rec,
                                   p_old_header_val_rec            =>  l_header_val_rec,
                                   p_Header_Adj_tbl                =>  l_Header_Adj_tab,
                                   p_old_Header_Adj_tbl            =>  l_Header_Adj_tab,
                                   p_Header_Adj_val_tbl            =>  l_Header_Adj_val_tab,
                                   p_old_Header_Adj_val_tbl        =>  l_Header_Adj_val_tab,
                                   p_Header_price_Att_tbl          =>  l_Header_price_Att_tab,
                                   p_old_Header_Price_Att_tbl      =>  l_Header_price_Att_tab,
                                   p_Header_Adj_Att_tbl            =>  l_Header_Adj_Att_tab,
                                   p_old_Header_Adj_Att_tbl        =>  l_Header_Adj_Att_tab,
                                   p_Header_Adj_Assoc_tbl          =>  l_Header_Adj_Assoc_tab,
                                   p_old_Header_Adj_Assoc_tbl      =>  l_Header_Adj_Assoc_tab,
                                   p_Header_Scredit_tbl            =>  l_Header_Scredit_tab,
                                   p_old_Header_Scredit_tbl        =>  l_Header_Scredit_tab,
                                   p_Header_Scredit_val_tbl        =>  l_Header_Scredit_val_tab,
                                   p_old_Header_Scredit_val_tbl    =>  l_Header_Scredit_val_tab,
                                   p_line_tbl                      =>  l_line_tab,
                                   p_line_val_tbl                  =>  l_line_val_tab,
                                   p_Line_Adj_tbl                  =>  l_line_adj_tab,
                                   p_Line_Adj_val_tbl              =>  l_line_adj_val_tab,
                                   p_Line_price_Att_tbl            =>  l_line_price_att_tab,
                                   p_Line_Adj_Att_tbl              =>  l_line_adj_att_tab,
                                   p_Line_Adj_Assoc_tbl            =>  l_line_adj_assoc_tab,
                                   p_Line_Scredit_tbl              =>  l_line_scredit_tab,
                                   p_Line_Scredit_val_tbl          =>  l_line_scredit_val_tab,
                                   p_Lot_Serial_tbl                =>  l_lot_serial_tab,
                                   p_Lot_Serial_val_tbl            =>  l_lot_serial_val_tab,
                                   p_action_request_tbl            =>  OE_ORDER_PUB.G_MISS_REQUEST_TBL,
                                   x_header_rec                    =>      p_header_rec,
                                   x_header_val_rec                =>      p_header_val_rec,
                                   x_Header_Adj_tbl                =>      p_Header_Adj_tab,
                                   x_Header_Adj_val_tbl            =>      p_Header_Adj_val_tab,
                                   x_Header_price_Att_tbl          =>      p_Header_price_Att_tab,
                                   x_Header_Adj_Att_tbl            =>      p_Header_Adj_Att_tab,
                                   x_Header_Adj_Assoc_tbl          =>      p_Header_Adj_Assoc_tab,
                                   x_Header_Scredit_tbl            =>      p_Header_Scredit_tab,
                                   x_Header_Scredit_val_tbl        =>      p_Header_Scredit_val_tab,
                                   x_line_tbl                      =>      p_line_tab,
                                   x_line_val_tbl                  =>      p_line_val_tab,
                                   x_line_adj_tbl                  =>      p_line_adj_tab,
                                   x_line_adj_val_tbl              =>      p_line_adj_val_tab,
                                   x_line_price_att_tbl            =>      p_line_price_att_tab,
                                   x_line_adj_att_tbl              =>      p_line_adj_att_tab,
                                   x_line_adj_assoc_tbl            =>      p_line_adj_assoc_tab,
                                   x_line_scredit_tbl              =>      p_line_scredit_tab,
                                   x_line_scredit_val_tbl          =>      p_line_scredit_val_tab,
                                   x_lot_serial_tbl                =>      p_lot_serial_tab,
                                   x_lot_serial_val_tbl            =>      p_lot_serial_val_tab,
                                   x_action_request_tbl            =>      p_action_request_tab);
    --  OE_DEBUG_PUB.DEBUG_OFF;
        p_return_code := l_ret_status;
        IF l_ret_status != 'S' THEN
          DBMS_OUTPUT.PUT_LINE(l_msg_data);
          IF l_msg_count = 1 THEN
            p_status := OE_Msg_Pub.Get(1,'F');
          ELSE
            FOR i IN 1..l_msg_count LOOP
              p_status := OE_Msg_Pub.Get(i,'F') || '<br />';
            END LOOP;
          END IF;
          p_status := 'Error loading lines<br>' || p_status;
        ELSE
          p_status := 'Order Processed Successfully<br>' || v_order_parts.COUNT || ' Line(s) Loaded';
        END IF;
    --    WHILE OE_DEBUG_PUB.G_DEBUG_INDEX < OE_DEBUG_PUB.CountDebug LOOP
    --      OE_DEBUG_PUB.GetNext(v_debug);
    --      DBMS_OUTPUT.PUT_LINE(v_debug);
    --    END LOOP;
      EXCEPTION
        WHEN OTHERS THEN
          ROLLBACK;
          RAISE;
      END TEK_ORD_PROCESS_ORDER;Thanks!
    Jonathan Hart

    Hello,
    Try the following
    1) Check if any processing constraints are applied to customer/location
    2) Try to create a new customer and associate internal location.
    Create a new order to reproduce the issue
    Thanks
    -Arif

  • Query another message payload from graph mapping program

    Hi all,
    I have the following scenario
    Third Party Business System -> XI -> ECC 5.0
    Third Party sends ORDER to ECC and ECC answers with ORDRSP
    When mapping ORDRSP.ORDERS05 to Third Pty format, I need to use info that the Third Party provided us on the ORDERS.
    So... I have to query the ORDERS message payload from ORDRSP message mapping program.
    Any ideas?
    My first idea deal with doing an RFC lookup to search the ABAP Database for this info (my ABAP background raises ) but I'd like to know if there is a more elegant and efficent way of doing this.
    regards,
    David R.

    Hi,
    Let's try again to explain myself with my poor english!
    Time frame
    A) TPart system sends order. XI maps to ORDERS.ORDER05 idoc and is forwarded to ECC.
    B) In ECC users modify Sales order and then triggers the outbound ORDRSP.ORDERS05.
    C) XI has to map ORDRSP.ORDERS05 and include some info (in fact the original message) that was sent in step B).
    The xmls from TPart could be (simplified version):
    Orders (step A)
    <?xml version="1.0" encoding="iso-8859-1">
    <document>
      <header>
      </header>
      <Items>
      </Items>
      <Items>
      </Items>
      </Header>
    </Document>
    The received XML on step C) could be something like this:
    <?xml version="1.0" encoding="iso-8859-1">
    <Document>
      <PurchaseOrder_from_vendor>
      <i>Here I have to include the whole xml sent in step A</i>
      </PurchaseOrder_from_vendor>
      <SalesOrder_from_customer>
      <i>Here the ORDRSP.ORDERS05 mapping stuff</i>
      </SalesOrder_from_customer>
    </Document>
    All the communication will be always async.
    Any ideas?
    regards,
    David R.

  • Validation Failed for C:\winnt\system32\vsinit.dll

    I am running VPN Client 4.6.00.0045 on Windows 2000 and when I reboot I get the an error that reads "Validation Failed for C:\winnt\system32\vsinit.dll"
    It seems the VPN Service is not starting. A reinstall will not fix it. I do not have ZoneAlarm or any other personal firewall installed. Any help would be appreciated.

    I'm not sure if the steps described at this URL will help your issue or not. There is quite a bit of information in the post that may be of some help.
    http://forum.zonelabs.org/zonelabs/board/message?board.id=Off-Topic&message.id=5155
    On my system, I do not have ZoneAlarm and installed at all and I have the vsinit.dll file on my system. I suspect that it is installed with the Cisco VPN Client. There is reference to this file in bug CSCec41278 that leads me to this conclusion. The version of the VPN client that I have installed is 4.6.00.0049.
    HTH
    Steve

  • Order Import Failed in OM : Log Validation failed for the field - Ship To

    Problem in Order Management
    When i tried to do Order import in Source Org logfiles shows the Message :Validation failed for the field - Ship To, Please if anyone have a solution of this.
    Thanks in advance.
    Regards,
    Rajesh Verma
    Senior Consultant- Oracle Apps.
    COLT

    perhaps you might want to try populating customer_id instead of name to make sure that there is no error on typing customer name.
    primary ship-to and bill-to must exist under this customer. During order import, if ship-to is not specified then import will fetch primary ST of customer.
    This is what we use to populate interface table -with mininum of data.
    INSERT INTO oe_headers_iface_all
    (orig_sys_document_ref,order_source_id,org_id
    ,order_type_id,payment_term_id, shipping_method_code, freight_terms_code
    ,customer_po_number,salesrep_id
    ,sold_to_org_id, ship_to_org_id,invoice_to_org_id,sold_to_contact_id
    ,booked_flag
    ,created_by, creation_date, last_updated_by, last_update_date,last_update_login
    ,operation_code, order_category
    ,attribute5,tp_attribute4,xml_message_id,xml_transaction_type_code
    ,request_id, error_flag)
    INSERT INTO oe_lines_iface_all
    (order_source_id, orig_sys_document_ref, orig_sys_line_ref,orig_sys_shipment_ref
    ,inventory_item,item_type_code,line_type_id
    ,top_model_line_ref,link_to_line_ref,component_sequence_id,component_code,option_flag
    ,ordered_quantity
    ,order_quantity_uom,salesrep_id
    ,created_by, creation_date, last_updated_by, last_update_date,last_update_login
    ,operation_code,cust_model_serial_number,line_category_code
    ,context,attribute6
    ,reference_type, reference_line_id, reference_header_id
    ,return_context, return_attribute1, return_attribute2
    ,return_reason_code
    ,tp_attribute1,tp_attribute2,tp_attribute3,tp_attribute4,tp_attribute5
    ,request_id,error_flag)

  • Validation failed for the field - Bill To Contact, Ship To Contact

    Hi,
    When I am trying to Import / enter order for a specific customer, i am getting the error.
    VALIDATION FAILED FOR THE FIELD - BILL TO CONTACT
    VALIDATION FAILED FOR THE FIELD - SHIP TO CONTACT
    Has anyone got this error earlier? If you know the resolution, please update me on this.

    Hi,
    I am getting following error when I an adding one customer address to another customer through Order Import Program. By populating 3 table values
    1. OE_CUSTOMER_INFO_IFACE_ALL
    2. OE_HEADERS_IFACE_ALL
    3. OE_LINES_IFACE_ALL
    Error Message:
    Duplicate SHIP_TO ADDRESS found for IC_804810. Please correct the data.
    Duplicate BILL_TO ADDRESS found for IC_804810. Please correct the data.
    But its working fine when I am giving New address for existing customer.
    Please help me on this....
    Thanks,
    Oracle Support.

  • Catalog object privilege validation failed for user.

    Hi,
    I'm getting following error after adding the HTML tags in dashboard 11g.
    How to set the privileges?..Kindly let me know.Thank you.
    Error Massage:
    Catalog object privilege validation failed for user to path /users/User1/_portal/page 1.
    You do not currently have sufficient privileges to save a report or dashboard page that contains HTML markup. Dashboard contains custom HTML tags as part of static text.

    Hi User,
    Go to Settings -> Administrators -> Manage Privileges -> 'Answers'
    Here you can view - "Save Content with HTML Markup" next to it you will see 'Presentation Server Administrators'
    Click it and Change for 'Everyone'
    And, Save changes. Restart BI Services now you can add the contents and it will not popup any error messages.
    Thank you.
    Award Points and Close the Post as Answered to help others with same issue :)

  • Parts Requirement Create Order Error:Validation Failed for the field - Shipping Method DHL

    Trying to create Parts Requirement.
    Error message on clicking "Create Order" button: "Validation Failed for the field - Shipping Method DHL"
    Please suggest the Setup that needs to be done for this.

    Kinck
    The same script worked for me in vision (R12.1). You may have issues with your defaulting of a number of attributes that you are not passing in the API (like price list, line type and so on). You may want to check them.
    Thanks
    Nagamohan

Maybe you are looking for

  • File 2 soap problem

    hi i am configuring file to soap scenario. on reciever side (soap) shuold i create communication channel in business service or business system plz help me thanks & regards viju

  • Outlook Web Access doesn't display when in a Page

    Hi guys, I have set up an IView to access Outlook Webmail, as per the normal help documents, and the IView works perfectly - displays my Inbox and everything. If I add the IView into a workset, users are able to view their Inbox too. However, If I cr

  • Why is it still so hard to get into safe mode?

    One of the worst features in Windows 8 is the many, many steps it takes to boot into safe mode... and it doesn't always get you there. And sadly, Microsoft has brought that into the Windows 10 preview. Let's be real for a second. Safe mode is a valua

  • How to restore a table from a backup table

    I used this sql to backup my fnd_table: create table fnd_concurrent_queues_backup as (select * from fnd_concurrent_queues); I modified some things in this table for diagnostic purposes with my concurrent managers, now I need to restore back to my ori

  • Not able to access local path for script file

    Hi All, I am integration my application (built in Asp.Net/Vb.Net) with InDesign Server CS4. InDesignServer is installed on separte machine other than the machine on which application is running. All of the scripts and indd files are placed on the mac