API hr_person_record fails

declare
Type srch_criteria_record is RECORD
(p_person_id per_all_people_f.person_id%type default null,
p_start_person_id per_all_people_f.person_id%type default null,
p_end_person_id per_all_people_f.person_id%type default null,
p_assignment_id per_all_assignments_f.assignment_id%type default null,
p_first_name per_all_people_f.first_name%type default null,
p_last_name per_all_people_f.last_name%type default null,
p_bgrp_name hr_all_organization_units.name%type default null,
p_bgrp_id hr_all_organization_units.business_group_id%type default null,
p_effective_date date,
p_employee_no per_all_people_f.employee_number%type default null,
p_applicant_no per_all_people_f.applicant_number%type default null,
p_cwk_no per_all_people_f.npw_number%type default null,
p_person_type PER_PERSON_TYPES_TL.user_person_type%TYPE default null,
p_employee_category hr_lookups.meaning%type default null,
p_employment_category hr_lookups.meaning%type default null,
p_phone_id per_phones.phone_id%type default null,
p_qualification_id per_qualifications.qualification_id%type default null,
p_delivery_method_id per_person_dlvry_methods.delivery_method_id%type default null,
p_address_id per_addresses.address_id%type default null);
Type srch_criteria is table of srch_criteria_record INDEX BY BINARY_INTEGER;
srch_criteria_flt srch_criteria ;
-- Person Record as table type
TYPE person_record is table of person_record_details index by binary_integer;
person_record_out person_record ;
v_error_out VARCHAR2(1000);
begin
hr_person_record.GET_PERSON_DETAILS(srch_criteria_flt(1).p_effective_date=>'12-JAN-1996',
p_entity=>'ASSIGNMENT',
p_person=>person_record_out,
p_error=>v_error_out);
end;
Above API call fails with following error. Can anybody help me how can I execute API hr_person_record.GET_PERSON_DETAILS to get all employees details?
Thanks

1. What error message?
2. What version of EBS are you using?
3. I can't find any reference to an 'API' or any publicly available package called HR_PERSON_RECORD on my 11.5.10.2 instance.
Please clarify,
Clive

Similar Messages

  • XI AF API call failed. Module exception: Java Mapping

    Hi Experts,
    I have faced a typical error for one of my interface. The Scenario is SOAP to SOAP and we are performing SOAP Lookup  before sending the data to Target web service. We are using one Java Mapping  'FileIns_lookupLoad.java --- com/fi/' and performing the SOAP Lookup from within the code. In the Lookup Communication channel we are using 'Axis' as message protocol and passing couple of values through Module Key parameters. We have same ESR and ID objects in Development, Quality and Production (as per Version ID and History).
    Now the problem is Lookup is failing only in Development but Quality and Production is working fine. I have replaced Quality CC URL with the development WSDL URL, but that worked fine. That means Development Web Service is good. We are getting the below error in Dev:
    <SAP:Stack>StreamTransformationException triggered by application mapping program com/fi/FileIns_lookupLoad; Look Up Failed</SAP:Stack>
    Trace : *
    <Trace level="1"
    type="T"> Some Thing Wrong in LookUpError when calling an adapter by using the communication channel CC_IN_SOAP_GEInsuranceLoadLookup1 (Party: , Service: BusService_GE, Object ID: 4214805c52893ef9b0b3f0ef0902fe9e) XI AF API call failed. Module exception: 'while trying to invoke the method org.apache.axis.types.URI.toString() of an object returned from com.sap.xi.XI.Message._30.QualifiedName.getNamespace()'. Cause Exception: 'while trying to invoke the method org.apache.axis.types.URI.toString() of an object returned from com.sap.xi.XI.Message._30.QualifiedName.getNamespace()'. </Trace>
      <Trace level="1" type="T">*** END APPLICATION TRACE ***</Trace>
      <Trace level="1" type="T">Java mapping com/fi/FileIns_lookupLoad has thrown a StreamTransformationException. Thrown: com.sap.aii.mapping.api.StreamTransformationException: Look Up Failed at com.fi.FileIns_lookupLoad.execute(FileIns_lookupLoad.java:282) at com.fi.FileIns_lookupLoad.transform(FileIns_lookupLoad.java:74) at com.sap.aii.ib.server.mapping.execution.JavaMapping.executeStep(JavaMapping.java:92) at com.sap.aii.ib.server.mapping.execution.Mapping.execute(Mapping.java:60) at com.sap.aii.ib.server.mapping.execution.SequenceMapping.executeStep.................................................
    ................................................................................<Trace level="1" type="T">Application mapping program com/fi/FileIns_lookupLoad throws a stream transformation exception: Look Up Failed Thrown: com.sap.aii.ib.core.mapping.execution.ApplicationException: Application mapping program com/fi/FileIns_lookupLoad throws a stream transformation exception: Look Up Failed at com.sap.aii.ib.server.mapping.execution.JavaMapping.executeStep(JavaMapping.java:95) at com.sap.aii.ib.server.mapping.execution.Mapping.execute(Mapping.java:60) at com.sap.aii.ib.server.mapping.execution.SequenceMapping.executeStep(SequenceMapping.java:40) at com.sap.aii.ib.server.mapping.execution.Mapping.execute
    I have already checked with Basis and as per them JDK and Java versions are identical in Dev, QAS and Prod. It seems something is wrong with 'XI AF API' which we are calling from the channel. If we totally ignore Lookup process and send direct data, it is working fine. Target CC is also using Axis.
    Sequence in CC: afreq ->xireq ->wssec2 ->xires ->afres
    For any more information please let me know.
    Thanks,
    Nabendu.

    Hi Anupam,
    The Java Mapping code is same in Dev , QAS and Prod. Also the versions of the JAR is same.
    Please find the code below.
    package com.fi;
    import java.util.HashMap;
    import com.sap.aii.mapping.api.AbstractTrace;
    import com.sap.aii.mapping.api.AbstractTransformation;
    import com.sap.aii.mapping.api.StreamTransformation;
    import com.sap.aii.mapping.api.StreamTransformationConstants;
    import com.sap.aii.mapping.api.MappingTrace;
    import com.sap.aii.mapping.api.StreamTransformationException;
    import com.sap.aii.mapping.api.DynamicConfiguration;
    import com.sap.aii.mapping.api.DynamicConfigurationKey;
    import com.sap.aii.mapping.api.TransformationInput;
    import com.sap.aii.mapping.api.TransformationOutput;
    import java.io.File;
    import java.io.FileInputStream;
    import java.io.FileOutputStream;
    import java.io.IOException;
    import java.io.InputStream;
    import java.io.OutputStream;
    import java.util.*;
    import javax.xml.parsers.DocumentBuilder;
    import javax.xml.parsers.DocumentBuilderFactory;
    import javax.xml.parsers.ParserConfigurationException;
    import javax.xml.transform.Result;
    import javax.xml.transform.Source;
    import javax.xml.transform.Transformer;
    import javax.xml.transform.TransformerConfigurationException;
    import javax.xml.transform.TransformerException;
    import javax.xml.transform.TransformerFactory;
    import javax.xml.transform.dom.DOMSource;
    import javax.xml.transform.OutputKeys;
    import javax.xml.transform.stream.StreamResult;
    import org.w3c.dom.*;
    import org.w3c.dom.views.AbstractView;
    import org.xml.sax.SAXException;
    import java.io.ByteArrayInputStream;
    import com.sap.aii.mapping.lookup.*;
    /*import com.sap.aii.utilxi.hmis.server.HmisEnvironment.Accessor;
    //import com.sap.aii.utilxi.lock.api.LockServiceException;
    //import com.pmintl.pppimes.RFCLookup.javamapping.*;
    //import java.io.FileInputStream;
    //import java.io.FileOutputStream;*/
    import java.text.DateFormat;
    import java.text.SimpleDateFormat;
    //import java.text.ParseException;
    import java.util.Date;
    import java.io.*;
    public class FileIns_lookupLoad extends AbstractTransformation{
            private Map param = null;
            private AbstractTrace trace = getTrace();
            String senderService = null;
           String inParamChannel = null;
           String inParamBusService = null;
              //3. Each JAVA Mapping using program 7.1 API must implement the method
              // transform(TransformationInput in, TransformationOutput out)
              // as oppose to execute Method in earlier version.
               public void transform(TransformationInput arg0, TransformationOutput arg1) throws StreamTransformationException {
              // TODO Auto-generated method stub
              //4. An info message is added to trace. An instance of trace of object is obtained by calling
              // the getTrace method of class AbstractTransformation
                    inParamChannel = arg0.getInputParameters().getString("COMM_CHANNEL");
                    inParamBusService = arg0.getInputParameters().getString("BUS_SERVICE");
                    getTrace().addInfo("Input Parameter: " + inParamChannel);
                    getTrace().addInfo("Input Parameter: " + inParamBusService);
                    this.execute(arg0.getInputPayload().getInputStream(),
                          arg1.getOutputPayload().getOutputStream());
              //5. Input payload is obtained by using arg0.getInputPayload().getInputStream()
          * @param args
         public static void main(String[] args) {
                // TODO Auto-generated method stub
         public void execute(InputStream in, OutputStream out)
                   throws StreamTransformationException {
              // TODO Auto-generated method stub
              try
                   //Get The Trace
    //               trace = (AbstractTrace)param.get(StreamTransformationConstants.MAPPING_TRACE );
                   trace = getTrace();
                  getTrace().addInfo("Java Mapping Started");
                   DocumentBuilderFactory ifactory = DocumentBuilderFactory.newInstance();
                   DocumentBuilder ibuilder = ifactory.newDocumentBuilder();
                   Document IDoc  = ibuilder.parse(in);
                   Document TDoc = ibuilder.newDocument();
                   String mrnVal = "";
                   trace.addInfo("Preparing Target Doc");
                   Element message = TDoc.createElementNS("urn:Medtronic.com:CATS_Patient_Transactions","n1:Mt_Insurance");
                   Node tRoot = TDoc.appendChild(message);
                   //trace.addInfo(tRoot.getNodeName());
                   Element sRoot = (Element)IDoc.getFirstChild();
                   //trace.addInfo(sRoot.getNodeName());
                   NodeList nl = sRoot.getChildNodes();
               // trace.addInfo("Len"+nl.getLength());
    ////               for(int i=0;i<nl.getLength();i++)
    //                    Node n1 = TDoc.importNode(nl.item(i), true);
    //                    trace.addInfo("Adding Child Nodes");
    //                    trace.addInfo(nl.item(i).getNodeName());
    //                    tRoot.appendChild(n1);
                   NodeList lmrn = sRoot.getElementsByTagName("Mrn");
                   if(lmrn != null)
                        Node n1 = TDoc.importNode(lmrn.item(0), true);
                        Element e1 = (Element)lmrn.item(0);
                        //trace.addInfo(e1.getNodeName());
                        mrnVal = e1.getTextContent();
                        tRoot.appendChild(n1);
                   NodeList lfsc = sRoot.getElementsByTagName("Fsc");
                   if(lfsc != null)
                        for(int i=0;i<lfsc.getLength();i++){
                             Element n1=TDoc.createElement(lfsc.item(i).getNodeName());
                             tRoot.appendChild(n1);
                             Node fieldch = TDoc.createElement("Fields");
                             n1.appendChild(fieldch);
                             NodeList chl = lfsc.item(i).getChildNodes();
                             trace.addInfo("len11"+chl.getLength());
                             for(int j=0;j<chl.getLength();j++){
                                  if(!chl.item(j).getNodeName().equals("FscNumber")&&!chl.item(j).getNodeName().equals("Priority")){
                                       if(chl.item(j).hasChildNodes()){
                                            trace.addInfo(chl.item(j).getNodeName());
                                       Element fscfield = TDoc.createElement("FSCField");
                                       fieldch.appendChild(fscfield);
                                       NodeList FUQl = chl.item(j).getChildNodes();
                                       for(int p =0;p<FUQl.getLength();p++){
                                            //trace.addInfo(" i: "+i+" J: "+j+" P: "+p);
                                            if(FUQl.item(p).getNodeName().equals("FUQNumber")){
                                                 //Node tFUQ = TDoc.createElement("FUQNumber");
                                                 //tFUQ.setTextContent(FUQl.item(p).getTextContent());
                                                 fscfield.setAttribute("FUQNumber", FUQl.item(p).getTextContent());
                                            if(FUQl.item(p).getNodeName().equals("Value")){
                                                 Node tVal = TDoc.createElement("Value");
                                                 tVal.setTextContent(FUQl.item(p).getTextContent());
                                                 fscfield.appendChild(tVal);
                                                 //Node tName = TDoc.createElement("Field");
                                                 //tName.setTextContent(chl.item(j).getNodeName());
                                                 fscfield.setAttribute("Field", chl.item(j).getNodeName());
    //                                   Node fuqch = chl.item(j).getFirstChild();
    //                                   Node valch = fuqch.getNextSibling();
    //                                   if(fuqch!=null){
    //                                        Node tFUQ = TDoc.createElement("FUQNumber");
    //                                        tFUQ.setTextContent(fuqch.getTextContent());
    //                                        fscfield.appendChild(tFUQ);
    //                                   if(valch!=null){
    //                                        Node tVal = TDoc.createElement("Value");
    //                                        tVal.setTextContent(valch.getTextContent());
    //                                        fscfield.appendChild(tVal);
    //                                        Node tName = TDoc.createElement("Filed");
    //                                        tName.setTextContent(chl.item(j).getNodeName());
    //                                        fscfield.appendChild(tName);
                                  else{
                                       //Node numch =TDoc.importNode(chl.item(j), true);
                                       //Element e1 =(Element)n1;
                                       if(chl.item(j).getNodeName().equals("FscNumber")){
                                            n1.setAttribute("Number", chl.item(j).getTextContent());
                                       if(chl.item(j).getNodeName().equals("Priority")){
                                            n1.setAttribute("Priority", chl.item(j).getTextContent());
                             //tRoot.appendChild(lfsc.item(0));
    //                         Element e1 = (Element)lfsc.item(0);
    //                         trace.addInfo(e1.getNodeName());
    //                         mrnVal = e1.getNodeValue();
    /////Start of Look Up Code////
                   //Preparing Input String
                   String lookUpRequest = "<LoadPatientFullInsuranceDetail><Mrn>"+mrnVal+"</Mrn></LoadPatientFullInsuranceDetail>";
                   trace.addInfo("Request");
                   trace.addInfo(lookUpRequest);
                        SystemAccessor acc;
                        Channel channel;
                        Payload lookupResult;     
                        try
                             channel = LookupService.getChannel(inParamBusService, inParamChannel);
                             trace.addInfo("Got the channel");
                             acc = LookupService.getSystemAccessor(channel);
                             trace.addInfo("Got The Channel and Accessor");
                             InputStream ist = new ByteArrayInputStream(lookUpRequest.getBytes());
                             XmlPayload payload = LookupService.getXmlPayload(ist);
                             if(acc != null){
                                  trace.addInfo("Got The Channel and Accessor");
                                  trace.addInfo("Executing The Webservice");
                                  lookupResult = acc.call(payload);
                                  trace.addInfo("End of Executing The Webservice");
                                  trace.addInfo(lookupResult.toString());
                             if(lookUpRequest!=null){
                                  trace.addInfo("Responce is not null");
                                  InputStream rist = lookupResult.getContent();
                                  Document lresDoc = ibuilder.parse(rist);
                                  Node n1 = lresDoc.getFirstChild();
                                  trace.addInfo(n1.getNodeName());
                                  if(n1.getNodeName().endsWith("LoadPatientFullInsuranceDetailResponse"))
                                       Node ch1 = n1.getFirstChild();
                                       trace.addInfo(ch1.getNodeName());
                                       NodeList lookupnl = ch1.getChildNodes();
                                       //trace.add
                                       for(int i=0;i<lookupnl.getLength();i++)
                                            Node n2 = TDoc.importNode(lookupnl.item(i), true);
                                            trace.addInfo("Adding Child Nodes");
                                            trace.addInfo(lookupnl.item(i).getNodeName());
                                            tRoot.appendChild(n2);
                                  else{
                                  throw new StreamTransformationException("Error in Look Up"+n1.getTextContent());
                                   //while(ch1.hasChildNodes() && !ch1.getNodeName().equals("FSCS")){
                             else{
                                  trace.addWarning("Responce is null");
                                 throw new LookupException();
                        catch(LookupException le)
                             trace.addWarning("Some Thing Wrong in LookUp"+le.getMessage());
                             throw new StreamTransformationException("Look Up Failed");                         
                           Transformer transformer = TransformerFactory.newInstance().newTransformer();
    //                       StreamResult reqResult = new StreamResult(new StringWriter());
                           DOMSource source = new DOMSource(TDoc);
                           Result result = new StreamResult(out);
                           transformer.transform(source,result);
              catch(StreamTransformationException ste)
               throw new StreamTransformationException(ste.getMessage());
              catch(Exception e){
                   trace.addInfo(e.getMessage());
              finally{

  • 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

  • XML API Authentication Fails

    Trying to set up the XML API on an ASR 9K and find myself unable to authenticate with the XML API using Netcat.
    I've configured the box as below:
    Building configuration...
    !! IOS XR Configuration 5.1.2
    !! Last configuration change at Wed Apr 15 07:19:42 2015 by root
    username xml
    group sysadmin
    secret 5 $1$LY8B$39t3eTXf/ajMGWnX99.ux0
    password 7 07182E414C080D1657
    aaa authorization exec default group tacacs+ local
    interface MgmtEth0/RSP0/CPU0/0
    ipv4 address 10.2.100.1 255.255.0.0
    interface MgmtEth0/RSP0/CPU0/1
    shutdown
    interface TenGigE0/0/2/0
    shutdown
    interface TenGigE0/0/2/1
    shutdown
    interface TenGigE0/0/2/2
    shutdown
    interface TenGigE0/0/2/3
    shutdown
    router static
    address-family ipv4 unicast
    0.0.0.0/0 10.2.0.1
    ssh server v2
    xml agent ssl
    xml agent tty
    xml agent
    iteration on size 100
    end
    and RP/0/RSP0/CPU0:ios# xml echo Wed Apr 15 07:27:10.765 UTC XML>
    I've got two test users, root:root and xml, both of which I can connect to using SSH though the XML interface seems to reject them - using nc:
    alexanderturner@Alexanders-MacBook-Pro~/Downloads> nc -v 10.2.100.1 38751
    found 0 associations
    found 1 connections:
    1: flags=82<CONNECTED,PREFERRED>
    outif en0
    src 10.0.1.40 port 61066
    dst 10.2.100.1 port 38751
    rank info not available
    TCP aux info available
    Connection to 10.2.100.1 port 38751 [tcp/*] succeeded!
    User Access Verification
    Username: root
    Password: root
    User Access Verification
    Is this not authing against local?
    Thanks,
    Alex

    hey alex,
    it is likely failing tacacs author because of this line:
    aaa authorization exec default group tacacs+ local
    as long as the tacacs server is available, it will try against him and if that user doesnt exist in tacacs, it will fail that shell author.
    revise config to:
    aaa authentication login default local
    aaa authorization exec default local
    have a local username available that has cisco-support/root-system
    or you can also do a debug aaa author and debug tacacs and see what service is requested so taht the user profile can be updated providing that author if you like to leave the existing tacacs author in place.
    cheers!
    xander

  • Force use of deprecated API to fail compilation

    Ok, short question that I hope you can help me with. Is it possible to force the compilation to fail if I a deprecated API is used. Why? Well, we are a large number of developers and sometimes people use a method or class that has been deprecated because they are either lazy or can't find the new class/method.

    This isn't possible with the default compiler. You would have to write a special compiler wrapper that calls the java compiler (sun.tools.javac.Main in tools.jar)
    Can't you just hang a rubber chicken over the desk of the person who checked in bad code - that was what happened at my last job :)
    Need Java help? Want to help people who do? Sit down with a cup of Java at the hotjoe forums.
    Sure they're new - come get them started!

  • Task Creation API is failing in Oracle Projects, Error: A structure version is required.

    Hi,
    Can anyone seen the below error as we are trying to create the WBS using API. We are using the shared structure.
    And can any one have a list of setups need to done in Projects for integrating Primavera using WEB services or SOA.
    Thanks in advance.
    regards,
    Kumar

    Hi Kumar,
    Please check the link,"docs.oracle.com/cd/E21374_01/doc.31/e20507.pdf " (Page 23)
    Regards
    Raghavender K
      https://www.google.co.in/search?biw=1280&bih=797&q=related:docs.oracle.com/cd/E21374_01/doc.31/e20507.pdf+Oracle+Project+set+up+to+implement+integration+with+P6&tbo=1&sa=X&ei=5HahUozUA8HUrQfd1YH4DA&ved=0CCwQHzAA

  • API Initialization failed for Essbase 11.1.1.3.0 – 64 bit

    Hi,
    When I try to initialize the Essbase API and message database, the EssInit() is returning the error code 1008156.But I didnt find any 1008156 error code in Essbase-Error-Message-Reference.
    Kindly help me on this.

    How about looking into the certification matrix:
    http://www.oracle.com/technetwork/es/middleware/docs/oracle-forms-111220certmatrix-2087910.xls?ssSourceSiteId=otnen

  • More problems with java query API - getExcerpt fails

    If I write my code this way, everything works:
    mySearchRequest.setQuery(new oracle.ultrasearch.query.Contains(searchString, metadata));
    But if I do this, Document.getExcerpt() starts returning null for the same search hits:
    mySearchRequest.setQuery(
    new oracle.ultrasearch.query.And(
    new oracle.ultrasearch.query.Contains(searchString, metadata),
    new oracle.ultrasearch.query.From(metadata.getGroup(groupToSearch))
    Does anybody know how to make this work? I need to limit my searches by groups so that I don't have to create a new UltraSearch Instance for every single web site that has to be crawled (I have several).
    Troy

    Well, I finally discovered he solution on my own, by reverse-engineering Oracle's own search.jsp (which does not use Oracle's custom tag library, btw) (probably because same doesn't really work, or at least it doesn't what's in the documentation doesn't work) (which isn't surprising).
    You have to do the "From" part of the query as an "attribute filter".
    oracle.ultrasearch.query.Query searchQuery=
    new oracle.ultrasearch.query.Contains(searchString, metadata);
    oracle.ultrasearch.query.Query attrQuery=
    new oracle.ultrasearch.query.From(metadata.getGroup(groupToSearch));
    oracle.ultrasearch.query.Request searchRequest=new oracle.ultrasearch.query.Request();
    searchRequest.setQuery(searchQuery);
    searchRequest.setFilter (attrQuery);
    Maybe that will do somebody some good somewhere...
    Troy

  • Acrobat plug-ins PPKLite.api, HTML2PDF.api fail to initialize & file reducing plug-in not available

    Trying to figure out why in last 2 wks I've been getting error messages when I open a PDF doc with Acrobat 7.0.9 professional. Initially 2 pop-ups saying error loading plug-ins PPKLite.api and HTML2PDF.api & they "failed to initialize. I can click OK & clear those error messages & proceed with what I'm doing, so they have just been an annoyance. Today I tried to reduce the size of a file, & got an error saying some of he required plug-ins are "not available. Some functions features may be disabled" - and it didn't reduce the file size. I need to be able to reduce PDF files on a regular basis. What can I do to fix both these annoyances & my file reducing plug-in problem?

    Had the same problem with Acrobat 6.0 Pro.
    Start with a test, Hold down the Shift key while starting Acrobat (from the time you double-click the icon, until it is initalized and ready to go).
    This starts Acrobat without ANY plug-ins.
    If this works without errors, go to this link and install all the updates, starting with the lowest. Select repair, if prompted, in the event the patch is already installed, or just cancel and continue working your way from lowest to highest revision, until your version is current.
    http://www.adobe.com/support/downloads/product.jsp?platform=Windows&product=1
    For 6.0.0 I used (in order):
    Ac60PrP1.exe
    Acro-Reader_6.0.2_Update.exe
    Acro-Reader_6.0.3_Update.exe
    Acro-Reader_6.0.4_Update.exe
    Acro-Reader_6.0.5_Update.exe
    Acro-Reader_6.0.6_Update.exe

  • Clarity on HR_PERSON_RECORD.GET_PERSON_DETAILS API

    I tried to find out the details of API HR_PERSON_RECORD.GET_PERSON_DETAILS on Integrated SOA Gateway, but could not find there.
    1)I want to fetch all the Employees from the EBS system using the GET_PERSON_DETAILS API in the chucks, so that response does not time out and I get all the persons from all Business Groups, considering I don't know the business groups as well as the person_id's. Since wild card search does not work with this API, I am struck. Please suggest how can I use this or any other Oracle provided API to achieve my target?
    2) Is there some oracle provided API available which can return me all the business groups available in Oracle EBS system?
    3) Is there any oracle provided API which return the maximum or minimum person_id available in Oracle EBS System?
    4) Is there any Oracle provided API which can return me the person object_version_number on some effective_date for a person?
    5) Is there any Oracle provided API which can return me the person assignment object_version_number on some effective_date for a person?

    Hi;
    All APIs are listed in Oracle Integration Repository
    http://irep.oracle.com/index.html
    API User Notes - HTML Format [ID 236937.1]
    R12.0.[3-4] : Oracle Install Base Api / Open Interface Setup Test [ID 427566.1]
    Oracle Trading Community Architecture API User Notes, June 2003 [ID 241320.1]
    Technical Uses of Customer Interface and TCA-API [ID 269121.1]
    Pelase also check below:
    Api's in EBS
    Re: Api's in EBS
    http://sairamgoudmalla.blogspot.com/2009/05/script-to-find-oracle-apis-for-any.html
    API
    Fixed Asset API
    List of API
    Re: List of APIs
    Oracle Common Application Components API Reference Guide
    download.oracle.com/docs/cd/B25284_01/current/acrobat/jta115api.pdf
    List of APIs and open interface R12
    Re: List of APIs and open interface R12
    Regard
    Helios

  • Please remove remaining 255 character API limitations

    I develop a library for creating .xll add-ins using the Excel C API (as described in the Excel SDK:
    http://msdn.microsoft.com/en-us/library/office/bb687883(v=office.15).aspx ). However, this discussion also applies to the COM Automation interfaces, as used from VBA or VSTO.
    Since Excel 2007, the 255 character limitation for strings in Excel C APIs have been lifted. In particular, the C API supports long Unicode strings up to 32767 characters in most places. However, there are
    a number of C API calls where the 255 character string limitation remains. Typically, the corresponding COM Automation call has the same limitation, so these seem to be inherent in Excel at some level.
    I highlight two cases:
    * the C API call xlcFormulaConvert is used to convert formulas between A1 and R1C1-style references. If the resulting converted formula would be longer than 255 characters, the API call fails. Likewise, the corresponding
    COM call is Application.ConvertFormula, and has the same limitation of 255 character strings and returns Error 2105 for strings that would be longer than 255 characters. see the Remark in the documentation here: http://msdn.microsoft.com/en-us/library/office/ff822751(v=office.15).aspx
    * the C API call xlcFormulaArray has a similar limitation, as does the COM Automation equivalent,Range.FormulaArray, as documented here: http://support.microsoft.com/kb/213181
    (first noted in Excel 2000, but still present in Excel 2013) and here:
    http://msdn.microsoft.com/en-us/library/office/ff837104(v=office.15).aspx. Workarounds for this bug are very hard to implement, an example is this extensive discussion from 2005: http://dailydoseofexcel.com/archives/2005/01/10/entering-long-array-formulas-in-vba/
    Various other function have similar limitations, e.g. Match
    and Replace, RTD topic strings.
    I am posting here, in hopes that there is some way for this issue to make its way to the Excel team. These limitations still remaining from previous versions cause ongoing pain, and I would like to plead that they get some attention for future Excel
    releases.
    -Govert
    Excel-DNA - Free and easy .NET for Excel

    Another place where this limitation is present (still in Excel 2013), is in the strings passed with a C API call to
    xlfRegister, used to register a UDF. While the C API has supported long Unicode strings since Excel 2007, calls to xlfRegister will fail if any of the strings are longer than 255 characters.
    The limitation is particularly inconvenient in this call, since one of the strings represents the concatenation of parameter names displayed in the Insert Function dialog. So the total length of parameter names (including separator characters between parameters)
    cannot be more than 255 characters - a limit that is quite easily bumped into.
    This affects any add-in based on the C API, whether developed in C/C++ or a managed helper library like Excel-DNA.
    -Govert
    Excel-DNA - Free and easy .NET for Excel

  • Fail to add Mailbox server to DAG

    I'm Setting up Exchange Server 2013 Mailing system, the schema that i'm deploying includes two CAS servers : 3S-CAS1 and 3S-CAS2 for load balancing access authentication;
    and two mailbox servers 3S-MBX1 and 3S-MBX2. A File share server 3S-FW is used as a witness for the DAG . the Exchange Trusted Subsystems AD Group is added as member ofthe File witness  local administrators. A computer account EDAG is created on AD and
    then disabled as recommended.
    my Network configuration is the following :
    3S-CAS1 : 172.16.192.7
    3S-CAS2 : 172.16.192.8
    3S-MBX1: 172.16.192.9 (prod trafic)
                        10.0.0.1 (replication interface)
    3S-MBX2: 172.16.192.10 (prod interface)
                        10.0.0.2 (replication interface)
    EGAG : 172.16.192.20
    the issue is when i try to create a DAG (Database Availability Group) i'm getting the following error message
    <small>[PS] C:\Windows\system32>New-DatabaseAvailabilityGroup -Name EDAG -WitnessServer 3S-FW -WitnessDirectory c:\shares\fws_dag -DatabaseAvailabilityGroupIpAddresses 172.16.192.20
    WARNING: Unable to access file shares on witness server '3S-FW.3s.com.tn'. Until this problem is corrected, the database availability group may be more vulnerable to failures. You can use the Set-DatabaseAvailabilityGroup cmdlet to try the operation again.
    Error: The network path was not found</small>
    After that i'm giving up using witness server since creating a DAG without specifying a witness server would elect one from CAS servers that do not contain the mailbox role.
    <small>[PS] C:\Windows\system32>New-DatabaseAvailabilityGroup -Name EDAG  -DatabaseAvailabilityGroupIpAddresses 172.16.192.20
    Name             Member Servers                                                         
    Operational Servers
    EDAG             {}</small>
    and all things seems to be ok. but when adding the first Mailbox server (3S-MBX1) to the DAG i get the following error :
    <small>
    [PS] C:\Windows\system32>Add-DatabaseAvailabilityGroupServer -Identity EDAG -MailboxServer 3S-MBX1
     WARNING: The operation wasn't successful because an error was encountered. You may find more details in log file "C:\ExchangeSetupLogs\DagTasks\dagtask_2014-02-11_14-35-14.226_add-databaseavailabiltygroupserver.log".
    A server-side database availability group administrative operation failed. Error The operation failed. CreateCluster errors may result from incorrectly configured static addresses. Error: An error occurred while attempting a cluster
    operation. Error: Cluster API '"CreateCluster() failed with 0x57. Error: The parameter is incorrect"' failed.. [Server: 3S-MBX1.3s.com.tn]
        + CategoryInfo          : InvalidArgument: (:) [Add-DatabaseAvailabilityGroupServer], DagTaskOperationFailedException
        + FullyQualifiedErrorId : [Server=3S-MBX1,RequestId=d774dd8b-0d03-41a1-a3d9-5d2a09432e58,TimeStamp=11/02/2014 14:35:22] E84D00B4,Microsoft.Exchange.Management.SystemConfigurationTasks.AddDatabaseAvailabilityGroupServer
        + PSComputerName        : 3s-mbx1.3s.com.tn</small>
    The error  indicates that erors may result from incorrectly configured static addresses.  i joined the log file related to the DAG tasks and the first mailbox server ip configuration.
    <fieldset class="mimeAttachmentHeader"><legend class="mimeAttachmentHeaderName">dagtask_2014-02-11_14-35-14.226_add-databaseavailabiltygroupserver.log</legend></fieldset>
    add-databaseavailabiltygroupserver started on machine 3S-MBX1.
    [2014-02-11T14:35:14] add-dagserver started
    [2014-02-11T14:35:14] commandline: $scriptCmd = {& $wrappedCmd @PSBoundParameters }
    [2014-02-11T14:35:14] Option 'Identity' = 'EDAG'.
    [2014-02-11T14:35:14] Option 'MailboxServer' = '3S-MBX1'.
    [2014-02-11T14:35:14] Option 'DatabaseAvailabilityGroupIpAddresses' = ''.
    [2014-02-11T14:35:14] Option 'WhatIf' = ''.
    [2014-02-11T14:35:14] Process: w3wp w3wp.exe:612.
    [2014-02-11T14:35:14] User context = 'NT AUTHORITY\SYSTEM'.
    [2014-02-11T14:35:14] Member of group 'Everyone'.
    [2014-02-11T14:35:14] Member of group 'BUILTIN\Users'.
    [2014-02-11T14:35:14] Member of group 'NT AUTHORITY\SERVICE'.
    [2014-02-11T14:35:14] Member of group 'CONSOLE LOGON'.
    [2014-02-11T14:35:14] Member of group 'NT AUTHORITY\Authenticated Users'.
    [2014-02-11T14:35:14] Member of group 'NT AUTHORITY\This Organization'.
    [2014-02-11T14:35:14] Member of group 'BUILTIN\IIS_IUSRS'.
    [2014-02-11T14:35:14] Member of group 'LOCAL'.
    [2014-02-11T14:35:14] Member of group 'IIS APPPOOL\MSExchangePowerShellFrontEndAppPool'.
    [2014-02-11T14:35:14] Member of group 'BUILTIN\Administrators'.
    [2014-02-11T14:35:14] Updated Progress 'Validating the parameters.' 2%.
    [2014-02-11T14:35:14] Working
    [2014-02-11T14:35:14] Mailbox server: value passed in = 3S-MBX1, mailboxServer.Name = 3S-MBX1, mailboxServer.Fqdn = 3S-MBX1.3s.com.tn
    [2014-02-11T14:35:14] LogClussvcState: clussvc is Stopped on 3S-MBX1.3s.com.tn. Exception (if any) = none
    [2014-02-11T14:35:14] The IP addresses for the DAG are (blank means DHCP): 172.16.192.20
    [2014-02-11T14:35:14] Looking up IP addresses for EDAG.
    [2014-02-11T14:35:14] EDAG = [ 172.16.192.20 ].
    [2014-02-11T14:35:14] Looking up IP addresses for 3s-mbx1.
    [2014-02-11T14:35:14] 3s-mbx1 = [ ::1, 172.16.192.9, 10.0.0.1 ].
    [2014-02-11T14:35:14] Looking up IP addresses for 3S-MBX1.3s.com.tn.
    [2014-02-11T14:35:14] 3S-MBX1.3s.com.tn = [ ::1, 172.16.192.9, 10.0.0.1 ].
    [2014-02-11T14:35:14] DAG EDAG has 0 servers:
    [2014-02-11T14:35:14] Updated Progress 'Checking if Mailbox server '3S-MBX1' is in a database availability group.' 4%.
    [2014-02-11T14:35:14] Working
    [2014-02-11T14:35:14] GetRemoteCluster() for the mailbox server failed with exception = An Active Manager operation failed. Error: An error occurred while attempting a cluster operation. Error: Cluster API '"OpenCluster(3S-MBX1.3s.com.tn) failed with 0x6d9. Error: There are no more endpoints available from the endpoint mapper"' failed.. This is OK.
    [2014-02-11T14:35:14] Ignoring previous error, as it is acceptable if the cluster does not exist yet.
    [2014-02-11T14:35:14] DumpClusterTopology: Opening remote cluster EDAG.
    [2014-02-11T14:35:14] DumpClusterTopology: Failed opening with Microsoft.Exchange.Cluster.Replay.AmGetFqdnFailedNotFoundException: An Active Manager operation failed with a transient error. Please retry the operation. Error: The fully qualified domain name for node 'EDAG' could not be found.
    at Microsoft.Exchange.Cluster.ActiveManagerServer.AmServerNameCache.<>c__DisplayClass1.<ResolveFqdn>b__0(Object param0, EventArgs param1)
    at Microsoft.Exchange.Cluster.ActiveManagerServer.AmHelper.RunADOperationEx(EventHandler ev)
    at Microsoft.Exchange.Cluster.ActiveManagerServer.AmServerNameCache.ResolveFqdn(String shortNodeName, Boolean throwException)
    at Microsoft.Exchange.Cluster.ActiveManagerServer.AmServerNameCache.GetFqdn(String shortNodeName, Boolean throwException)
    at Microsoft.Exchange.Cluster.ActiveManagerServer.AmServerName..ctor(String serverName, Boolean throwOnFqdnError)
    at Microsoft.Exchange.Management.SystemConfigurationTasks.DumpClusterTopology..ctor(String nameCluster, ITaskOutputHelper output)
    [2014-02-11T14:35:14] Dumping the cluster by connecting to: EDAG.
    [2014-02-11T14:35:14] DumpClusterTopology: Not dumping, since the cluster could not be contacted.
    [2014-02-11T14:35:14] The new server (3S-MBX1) is not a member of a cluster, nor are the other servers (if there are any other servers).
    [2014-02-11T14:35:14] The computer account EDAG does not exist.
    [2014-02-11T14:35:14] According to GetNodeClusterState(), the server 3S-MBX1 is NotConfigured.
    [2014-02-11T14:35:14] InternalValidate() done.
    [2014-02-11T14:35:14] Updated Progress 'Adding server '3S-MBX1' to database availability group 'EDAG'.' 6%.
    [2014-02-11T14:35:14] Working
    [2014-02-11T14:35:14] Connecting to server '3S-MBX1.3s.com.tn' via WMI...
    [2014-02-11T14:35:14] Fetching the network adapters and including the ones without default gateways.
    [2014-02-11T14:35:14] 3S-MBX1.3s.com.tn has an address: 10.0.0.1/24 default gateway(s)=<none> [valid]
    [2014-02-11T14:35:14] IP address derived that's suitable for clustering DHCP/IPv6: 10.0.0.0/24.
    [2014-02-11T14:35:14] 3S-MBX1.3s.com.tn has an address: 172.16.192.9/24 default gateway(s)=172.16.192.254 [valid]
    [2014-02-11T14:35:14] IP address derived that's suitable for clustering DHCP/IPv6: 172.16.192.0/24.
    [2014-02-11T14:35:14] The address 172.16.192.20 falls under the network (172.16.192.0/24).
    [2014-02-11T14:35:14] Updated Progress 'Forming cluster named 'EDAG' on server '3S-MBX1'.' 8%.
    [2014-02-11T14:35:14] Working
    [2014-02-11T14:35:14] Forming cluster named 'EDAG' on server '3S-MBX1'. The cluster address is/are [172.16.192.20], and the cluster network prefix length is/are [24].
    [2014-02-11T14:35:22] The following log entry comes from a different process that's running on machine '3S-MBX1'. BEGIN
    [2014-02-11T14:35:22] [2014-02-11T14:35:14] Updated Progress 'Forming cluster named 'EDAG' on server '3s-mbx1'.' 2%.
    [2014-02-11T14:35:14] Working
    [2014-02-11T14:35:14] ClusterSetupProgressCallback( eSetupPhase = ClusterSetupPhaseInitialize, ePhaseType = ClusterSetupPhaseStart, ePhaseSeverity = ClusterSetupPhaseInformational, dwPercentComplete = 5, szObjectName = EDAG, dwStatus = 0x0 )
    [2014-02-11T14:35:14] ClusterSetupProgressCallback( eSetupPhase = ClusterSetupPhaseInitialize, ePhaseType = ClusterSetupPhaseEnd, ePhaseSeverity = ClusterSetupPhaseInformational, dwPercentComplete = 5, szObjectName = , dwStatus = 0x0 )
    [2014-02-11T14:35:14] ClusterSetupProgressCallback( eSetupPhase = ClusterSetupPhaseValidateNodeState, ePhaseType = ClusterSetupPhaseStart, ePhaseSeverity = ClusterSetupPhaseInformational, dwPercentComplete = 10, szObjectName = 3S-MBX1.3s.com.tn, dwStatus = 0x0 )
    [2014-02-11T14:35:14] ClusterSetupProgressCallback( eSetupPhase = ClusterSetupPhaseValidateNodeState, ePhaseType = ClusterSetupPhaseEnd, ePhaseSeverity = ClusterSetupPhaseInformational, dwPercentComplete = 10, szObjectName = , dwStatus = 0x0 )
    [2014-02-11T14:35:14] ClusterSetupProgressCallback( eSetupPhase = ClusterSetupPhaseQueryClusterNameAccount, ePhaseType = ClusterSetupPhaseStart, ePhaseSeverity = ClusterSetupPhaseInformational, dwPercentComplete = 15, szObjectName = EDAG, dwStatus = 0x0 )
    [2014-02-11T14:35:14] ClusterSetupProgressCallback( eSetupPhase = ClusterSetupPhaseQueryClusterNameAccount, ePhaseType = ClusterSetupPhaseEnd, ePhaseSeverity = ClusterSetupPhaseInformational, dwPercentComplete = 15, szObjectName = , dwStatus = 0x0 )
    [2014-02-11T14:35:14] ClusterSetupProgressCallback( eSetupPhase = ClusterSetupPhaseValidateClusterNameAccount, ePhaseType = ClusterSetupPhaseStart, ePhaseSeverity = ClusterSetupPhaseInformational, dwPercentComplete = 21, szObjectName = EDAG, dwStatus = 0x0 )
    [2014-02-11T14:35:14] ClusterSetupProgressCallback( eSetupPhase = ClusterSetupPhaseValidateClusterNameAccount, ePhaseType = ClusterSetupPhaseEnd, ePhaseSeverity = ClusterSetupPhaseInformational, dwPercentComplete = 21, szObjectName = , dwStatus = 0x0 )
    [2014-02-11T14:35:14] ClusterSetupProgressCallback( eSetupPhase = ClusterSetupPhaseConfigureClusterAccount, ePhaseType = ClusterSetupPhaseStart, ePhaseSeverity = ClusterSetupPhaseInformational, dwPercentComplete = 26, szObjectName = EDAG in organizational unit CN=Computers,DC=3s,DC=com,DC=tn, dwStatus = 0x0 )
    [2014-02-11T14:35:14] ClusterSetupProgressCallback( eSetupPhase = ClusterSetupPhaseConfigureClusterAccount, ePhaseType = ClusterSetupPhaseEnd, ePhaseSeverity = ClusterSetupPhaseInformational, dwPercentComplete = 26, szObjectName = , dwStatus = 0x0 )
    [2014-02-11T14:35:14] ClusterSetupProgressCallback( eSetupPhase = ClusterSetupPhaseValidateNetft, ePhaseType = ClusterSetupPhaseStart, ePhaseSeverity = ClusterSetupPhaseInformational, dwPercentComplete = 31, szObjectName = 3S-MBX1.3s.com.tn, dwStatus = 0x0 )
    [2014-02-11T14:35:14] ClusterSetupProgressCallback( eSetupPhase = ClusterSetupPhaseValidateNetft, ePhaseType = ClusterSetupPhaseEnd, ePhaseSeverity = ClusterSetupPhaseInformational, dwPercentComplete = 31, szObjectName = , dwStatus = 0x0 )
    [2014-02-11T14:35:14] ClusterSetupProgressCallback( eSetupPhase = ClusterSetupPhaseValidateClusDisk, ePhaseType = ClusterSetupPhaseStart, ePhaseSeverity = ClusterSetupPhaseInformational, dwPercentComplete = 36, szObjectName = 3S-MBX1.3s.com.tn, dwStatus = 0x0 )
    [2014-02-11T14:35:14] ClusterSetupProgressCallback( eSetupPhase = ClusterSetupPhaseValidateClusDisk, ePhaseType = ClusterSetupPhaseEnd, ePhaseSeverity = ClusterSetupPhaseInformational, dwPercentComplete = 36, szObjectName = , dwStatus = 0x0 )
    [2014-02-11T14:35:14] ClusterSetupProgressCallback( eSetupPhase = ClusterSetupPhaseConfigureClusSvc, ePhaseType = ClusterSetupPhaseStart, ePhaseSeverity = ClusterSetupPhaseInformational, dwPercentComplete = 42, szObjectName = 3S-MBX1.3s.com.tn, dwStatus = 0x0 )
    [2014-02-11T14:35:15] ClusterSetupProgressCallback( eSetupPhase = ClusterSetupPhaseConfigureClusSvc, ePhaseType = ClusterSetupPhaseEnd, ePhaseSeverity = ClusterSetupPhaseInformational, dwPercentComplete = 42, szObjectName = , dwStatus = 0x0 )
    [2014-02-11T14:35:15] ClusterSetupProgressCallback( eSetupPhase = ClusterSetupPhaseStartingClusSvc, ePhaseType = ClusterSetupPhaseStart, ePhaseSeverity = ClusterSetupPhaseInformational, dwPercentComplete = 47, szObjectName = 3S-MBX1.3s.com.tn, dwStatus = 0x0 )
    [2014-02-11T14:35:15] ClusterSetupProgressCallback( eSetupPhase = ClusterSetupPhaseStartingClusSvc, ePhaseType = ClusterSetupPhaseEnd, ePhaseSeverity = ClusterSetupPhaseInformational, dwPercentComplete = 47, szObjectName = , dwStatus = 0x0 )
    [2014-02-11T14:35:15] ClusterSetupProgressCallback( eSetupPhase = ClusterSetupPhaseFormingCluster, ePhaseType = ClusterSetupPhaseStart, ePhaseSeverity = ClusterSetupPhaseInformational, dwPercentComplete = 52, szObjectName = EDAG, dwStatus = 0x0 )
    [2014-02-11T14:35:17] ClusterSetupProgressCallback( eSetupPhase = ClusterSetupPhaseFormingCluster, ePhaseType = ClusterSetupPhaseEnd, ePhaseSeverity = ClusterSetupPhaseInformational, dwPercentComplete = 52, szObjectName = , dwStatus = 0x0 )
    [2014-02-11T14:35:17] ClusterSetupProgressCallback( eSetupPhase = ClusterSetupPhaseAddClusterProperties, ePhaseType = ClusterSetupPhaseStart, ePhaseSeverity = ClusterSetupPhaseInformational, dwPercentComplete = 57, szObjectName = EDAG, dwStatus = 0x0 )
    [2014-02-11T14:35:17] ClusterSetupProgressCallback( eSetupPhase = ClusterSetupPhaseAddClusterProperties, ePhaseType = ClusterSetupPhaseEnd, ePhaseSeverity = ClusterSetupPhaseInformational, dwPercentComplete = 57, szObjectName = , dwStatus = 0x0 )
    [2014-02-11T14:35:17] ClusterSetupProgressCallback( eSetupPhase = ClusterSetupPhaseCreateResourceTypes, ePhaseType = ClusterSetupPhaseStart, ePhaseSeverity = ClusterSetupPhaseInformational, dwPercentComplete = 63, szObjectName = EDAG, dwStatus = 0x0 )
    [2014-02-11T14:35:17] ClusterSetupProgressCallback( eSetupPhase = ClusterSetupPhaseCreateResourceTypes, ePhaseType = ClusterSetupPhaseEnd, ePhaseSeverity = ClusterSetupPhaseInformational, dwPercentComplete = 63, szObjectName = , dwStatus = 0x0 )
    [2014-02-11T14:35:17] ClusterSetupProgressCallback( eSetupPhase = ClusterSetupPhaseCreateGroups, ePhaseType = ClusterSetupPhaseStart, ePhaseSeverity = ClusterSetupPhaseInformational, dwPercentComplete = 68, szObjectName = Cluster Group, dwStatus = 0x0 )
    [2014-02-11T14:35:17] ClusterSetupProgressCallback( eSetupPhase = ClusterSetupPhaseCreateGroups, ePhaseType = ClusterSetupPhaseContinue, ePhaseSeverity = ClusterSetupPhaseInformational, dwPercentComplete = 68, szObjectName = Available Storage, dwStatus = 0x0 )
    [2014-02-11T14:35:17] ClusterSetupProgressCallback( eSetupPhase = ClusterSetupPhaseCreateGroups, ePhaseType = ClusterSetupPhaseEnd, ePhaseSeverity = ClusterSetupPhaseInformational, dwPercentComplete = 68, szObjectName = , dwStatus = 0x0 )
    [2014-02-11T14:35:17] ClusterSetupProgressCallback( eSetupPhase = ClusterSetupPhaseCreateIPAddressResources, ePhaseType = ClusterSetupPhaseStart, ePhaseSeverity = ClusterSetupPhaseInformational, dwPercentComplete = 73, szObjectName = Cluster IP Address, dwStatus = 0x0 )
    [2014-02-11T14:35:19] ClusterSetupProgressCallback( eSetupPhase = ClusterSetupPhaseCreateIPAddressResources, ePhaseType = ClusterSetupPhaseEnd, ePhaseSeverity = ClusterSetupPhaseInformational, dwPercentComplete = 73, szObjectName = , dwStatus = 0x0 )
    [2014-02-11T14:35:19] ClusterSetupProgressCallback( eSetupPhase = ClusterSetupPhaseCreateNetworkName, ePhaseType = ClusterSetupPhaseStart, ePhaseSeverity = ClusterSetupPhaseInformational, dwPercentComplete = 78, szObjectName = EDAG, dwStatus = 0x0 )
    [2014-02-11T14:35:19] ClusterSetupProgressCallback( eSetupPhase = ClusterSetupPhaseCreateNetworkName, ePhaseType = ClusterSetupPhaseEnd, ePhaseSeverity = ClusterSetupPhaseInformational, dwPercentComplete = 78, szObjectName = , dwStatus = 0x0 )
    [2014-02-11T14:35:19] ClusterSetupProgressCallback( eSetupPhase = ClusterSetupPhaseQueryClusterNameAccount, ePhaseType = ClusterSetupPhaseStart, ePhaseSeverity = ClusterSetupPhaseInformational, dwPercentComplete = 84, szObjectName = EDAG, dwStatus = 0x0 )
    [2014-02-11T14:35:19] ClusterSetupProgressCallback( eSetupPhase = ClusterSetupPhaseQueryClusterNameAccount, ePhaseType = ClusterSetupPhaseEnd, ePhaseSeverity = ClusterSetupPhaseInformational, dwPercentComplete = 84, szObjectName = , dwStatus = 0x0 )
    [2014-02-11T14:35:19] ClusterSetupProgressCallback( eSetupPhase = ClusterSetupPhaseValidateClusterNameAccount, ePhaseType = ClusterSetupPhaseStart, ePhaseSeverity = ClusterSetupPhaseInformational, dwPercentComplete = 89, szObjectName = EDAG, dwStatus = 0x0 )
    [2014-02-11T14:35:19] ClusterSetupProgressCallback( eSetupPhase = ClusterSetupPhaseValidateClusterNameAccount, ePhaseType = ClusterSetupPhaseEnd, ePhaseSeverity = ClusterSetupPhaseInformational, dwPercentComplete = 89, szObjectName = , dwStatus = 0x0 )
    [2014-02-11T14:35:19] ClusterSetupProgressCallback( eSetupPhase = ClusterSetupPhaseConfigureClusterAccount, ePhaseType = ClusterSetupPhaseStart, ePhaseSeverity = ClusterSetupPhaseInformational, dwPercentComplete = 94, szObjectName = EDAG in organizational unit CN=Computers,DC=3s,DC=com,DC=tn, dwStatus = 0x0 )
    [2014-02-11T14:35:19] ClusterSetupProgressCallback( eSetupPhase = ClusterSetupPhaseConfigureClusterAccount, ePhaseType = ClusterSetupPhaseEnd, ePhaseSeverity = ClusterSetupPhaseFatal, dwPercentComplete = 94, szObjectName = EDAG in organizational unit CN=Computers,DC=3s,DC=com,DC=tn, dwStatus = 0x57 )
    [2014-02-11T14:35:19] ClusterSetupProgressCallback( eSetupPhase = ClusterSetupPhaseConfigureClusterAccount, ePhaseType = ClusterSetupPhaseEnd, ePhaseSeverity = ClusterSetupPhaseFatal, dwPercentComplete = 94, szObjectName = å° ÅŠ, dwStatus = 0x57 )
    [2014-02-11T14:35:19] ClusterSetupProgressCallback( eSetupPhase = ClusterSetupPhaseFailureCleanup, ePhaseType = ClusterSetupPhaseStart, ePhaseSeverity = ClusterSetupPhaseInformational, dwPercentComplete = 94, szObjectName = Cluster Group, dwStatus = 0x0 )
    [2014-02-11T14:35:19] ClusterSetupProgressCallback( eSetupPhase = ClusterSetupPhaseFailureCleanup, ePhaseType = ClusterSetupPhaseContinue, ePhaseSeverity = ClusterSetupPhaseInformational, dwPercentComplete = 94, szObjectName = Cluster IP Address, dwStatus = 0x0 )
    [2014-02-11T14:35:19] ClusterSetupProgressCallback( eSetupPhase = ClusterSetupPhaseFailureCleanup, ePhaseType = ClusterSetupPhaseContinue, ePhaseSeverity = ClusterSetupPhaseInformational, dwPercentComplete = 94, szObjectName = 3S-MBX1.3s.com.tn, dwStatus = 0x0 )
    [2014-02-11T14:35:22] ClusterSetupProgressCallback( eSetupPhase = ClusterSetupPhaseFailureCleanup, ePhaseType = ClusterSetupPhaseContinue, ePhaseSeverity = ClusterSetupPhaseInformational, dwPercentComplete = 94, szObjectName = EDAG, dwStatus = 0x0 )
    [2014-02-11T14:35:22] ClusterSetupProgressCallback( eSetupPhase = ClusterSetupPhaseFailureCleanup, ePhaseType = ClusterSetupPhaseEnd, ePhaseSeverity = ClusterSetupPhaseInformational, dwPercentComplete = 94, szObjectName = , dwStatus = 0x0 )
    [2014-02-11T14:35:22] The operation wasn't successful because an error was encountered. You may find more details in log file "C:\ExchangeSetupLogs\DagTasks\dagtask_2014-02-11_14-35-14.226_add-databaseavailabiltygroupserver.log".
    [2014-02-11T14:35:22] WriteError! Exception = Microsoft.Exchange.Cluster.Replay.DagTaskOperationFailedException: A server-side database availability group administrative operation failed. Error The operation failed. CreateCluster errors may result from incorrectly configured static addresses. Error: An error occurred while attempting a cluster operation. Error: Cluster API '"CreateCluster() failed with 0x57. Error: The parameter is incorrect"' failed.. ---> Microsoft.Exchange.Cluster.Replay.AmClusterApiException: An Active Manager operation failed. Error: An error occurred while attempting a cluster operation. Error: Cluster API '"CreateCluster() failed with 0x57. Error: The parameter is incorrect"' failed. ---> System.ComponentModel.Win32Exception: The parameter is incorrect
    --- End of inner exception stack trace ---
    at Microsoft.Exchange.Cluster.ClusApi.AmCluster.CreateExchangeCluster(String clusterName, AmServerName firstNodeName, String[] ipAddress, UInt32[] ipPrefixLength, IClusterSetupProgress setupProgress, IntPtr context, Exception& failureException, Boolean throwExceptionOnFailure)
    at Microsoft.Exchange.Cluster.ClusApi.ClusterFactory.CreateExchangeCluster(String clusterName, AmServerName firstNodeName, String[] ipAddress, UInt32[] ipPrefixLength, IClusterSetupProgress setupProgress, IntPtr context, Exception& failureException, Boolean throwExceptionOnFailure)
    at Microsoft.Exchange.Cluster.Replay.DagHelper.CreateDagCluster(String clusterName, AmServerName firstNodeName, String[] ipAddresses, UInt32[] netmasks, String& verboseLog)
    --- End of inner exception stack trace (Microsoft.Exchange.Cluster.Replay.AmClusterApiException) ---
    at Microsoft.Exchange.Cluster.Replay.DagHelper.ThrowDagTaskOperationWrapper(Exception exception)
    at Microsoft.Exchange.Cluster.Replay.DagHelper.CreateDagCluster(String clusterName, AmServerName firstNodeName, String[] ipAddresses, UInt32[] netmasks, String& verboseLog)
    at Microsoft.Exchange.Cluster.ReplayService.ReplayRpcServer.<>c__DisplayClass40.<RpcsCreateCluster>b__3f()
    at Microsoft.Exchange.Data.Storage.Cluster.HaRpcExceptionWrapperBase`2.RunRpcServerOperation(String databaseName, RpcServerOperation rpcOperation)
    --- End of stack trace on server (3S-MBX1.3s.com.tn) ---
    at Microsoft.Exchange.Data.Storage.Cluster.HaRpcExceptionWrapperBase`2.ClientRethrowIfFailed(String databaseName, String serverName, RpcErrorExceptionInfo errorInfo)
    at Microsoft.Exchange.Cluster.Replay.ReplayRpcClientWrapper.RunCreateCluster(AmServerName rpcServerName, String clusterName, AmServerName firstNode, String[] ipaddrs, UInt32[] netmasks, String& verboseLog)
    at Microsoft.Exchange.Management.SystemConfigurationTasks.AddDatabaseAvailabilityGroupServer.FormCluster()
    [2014-02-11T14:35:22] Updated Progress 'Done!' 100%.
    [2014-02-11T14:35:22] COMPLETED
    add-databaseavailabiltygroupserver explicitly called CloseTempLogFile().
    <fieldset class="mimeAttachmentHeader"><legend class="mimeAttachmentHeaderName">ip-config.txt</legend></fieldset>
    C:\Windows\system32>ipconfig /all
    Windows IP Configuration
    Host Name . . . . . . . . . . . . : 3S-MBX1
    Primary Dns Suffix . . . . . . . : 3s.com.tn
    Node Type . . . . . . . . . . . . : Hybrid
    IP Routing Enabled. . . . . . . . : No
    WINS Proxy Enabled. . . . . . . . : No
    DNS Suffix Search List. . . . . . : 3s.com.tn
    Ethernet adapter Ethernet:
    Connection-specific DNS Suffix . :
    Description . . . . . . . . . . . : Intel(R) 82574L Gigabit Network Connection
    Physical Address. . . . . . . . . : 00-50-56-83-21-13
    DHCP Enabled. . . . . . . . . . . : No
    Autoconfiguration Enabled . . . . : Yes
    IPv4 Address. . . . . . . . . . . : 172.16.192.9(Preferred)
    Subnet Mask . . . . . . . . . . . : 255.255.255.0
    Default Gateway . . . . . . . . . : 172.16.192.254
    DNS Servers . . . . . . . . . . . : 172.16.192.6
    172.20.10.21
    NetBIOS over Tcpip. . . . . . . . : Enabled
    Ethernet adapter Ethernet 2:
    Connection-specific DNS Suffix . :
    Description . . . . . . . . . . . : Intel(R) 82574L Gigabit Network Connection #3
    Physical Address. . . . . . . . . : 00-50-56-83-22-C9
    DHCP Enabled. . . . . . . . . . . : No
    Autoconfiguration Enabled . . . . : Yes
    IPv4 Address. . . . . . . . . . . : 10.0.0.1(Preferred)
    Subnet Mask . . . . . . . . . . . : 255.255.255.0
    Default Gateway . . . . . . . . . :
    NetBIOS over Tcpip. . . . . . . . : Disabled
    Tunnel adapter Local Area Connection* 11:
    Media State . . . . . . . . . . . : Media disconnected
    Connection-specific DNS Suffix . :
    Description . . . . . . . . . . . : Microsoft Failover Cluster Virtual Adapter
    Physical Address. . . . . . . . . : 02-3D-2A-2B-56-56
    DHCP Enabled. . . . . . . . . . . : No
    Autoconfiguration Enabled . . . . : Yes
    Tunnel adapter isatap.{E3787791-A3D8-43D2-97F5-C941B8532445}:
    Media State . . . . . . . . . . . : Media disconnected
    Connection-specific DNS Suffix . :
    Description . . . . . . . . . . . : Microsoft ISATAP Adapter
    Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
    DHCP Enabled. . . . . . . . . . . : No
    Autoconfiguration Enabled . . . . : Yes
    Tunnel adapter Teredo Tunneling Pseudo-Interface:
    Media State . . . . . . . . . . . : Media disconnected
    Connection-specific DNS Suffix . :
    Description . . . . . . . . . . . : Teredo Tunneling Pseudo-Interface
    Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
    DHCP Enabled. . . . . . . . . . . : No
    Autoconfiguration Enabled . . . . : Yes
    Tunnel adapter isatap.{C041FA54-1E89-40DA-B8AE-ABE8DF80208E}:
    Media State . . . . . . . . . . . : Media disconnected
    Connection-specific DNS Suffix . :
    Description . . . . . . . . . . . : Microsoft ISATAP Adapter #2
    Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
    DHCP Enabled. . . . . . . . . . . : No
    Autoconfiguration Enabled . . . . : Yes

    Hi,
    Please check if cluster name object (CNO) setting is correct. Make sure you have pre-staged the CNO object if you are running Windows Server 2012 for the DAG members. When you add the first node to DAG, you should assign Full Control permissions to the CNO.
    For more details about this, you can refer to the following article.
    Pre-Stage the Cluster Name Object for a Database Availability Group
    http://technet.microsoft.com/en-us/library/ff367878(v=exchg.150).aspx
    Best regards,
    Belinda
    Belinda Ma
    TechNet Community Support

  • SOAP Adapter XI 3.0 - HTTP 200 response fails

    We have a scenario where a request message is sent successfully to a URL by the SOAP Adapter.
    However, the response message has an HTTP response of 200 (meaning ok) which is not handled correctly by the
    SOAP Adapter.
    The error text shown in SXMB_MONI is:
    com.sap.aii.af.ra.ms.api.DeliveryException: Failed to call the endpoint HTTP 200 OK
    Is there something I am missing in the configuration to allow HTTP responses in the SOAP Adapter ? It is very odd that the SOAP Request works fine, but the SOAP Response does not.
    Any ideas anyone ?
    Kind regards
    Colin.

    Hi Bill
    1. synchronous out / in
    2. yes
    3. working fine
    following the way out to the elocateserver system is working fine.
    The soap is working and the responce from the elocteserver is fine . But when the message is pick put the Timeout show up.
    below is the Responce from elocateserver to xi
    Hope this will help you
    thanks olaf
    Help
    !http://sapnt09:50200/sap/public/icman/img/theme.jpg|alt=SAP|width=122 height=61 border=0 |src=http://sapnt09:50200/sap/public/icman/img/theme.jpg!
    500 Connection timed out
    Connection timed out (-5)
    Error:
    -5
    Version:
    6040
    Component:
    ICM
    Date/Time:
    Sat Oct 16 06:13:25 2004
    Module:
    icxxthr.c
    Line:
    2556
    Server:
    sapnt09_M64_02
    Detail:
    Connection to partner timed out
    © 2001-2003, SAP AG

  • Oracle Java Mail API exception in Jdev 11.1.15

    we are using java mail api to send out emails. and wrap it in java embedding with in our webservice.
    we are using jdeveloper 11.1.1.5 for this and the Java API is failing with the below error, we have included all the java libraries. As code is working fine in Jdeveloper 11.1.2
    we tried different version of jdeveloper ( 11.1.1.5, 11.1.1.7 ) but its still the same. Can some one please suggest
    Exception in thread "main" java.lang.RuntimeException: javax.mail.MessagingException: Can't send command to SMTP host;
      nested exception is:
        javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
        at bts.mail.SendMailTLS.main(SendMailTLS.java:50)
    Caused by: javax.mail.MessagingException: Can't send command to SMTP host;
      nested exception is:
        javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
        at com.sun.mail.smtp.SMTPTransport.sendCommand(SMTPTransport.java:1420)
        at com.sun.mail.smtp.SMTPTransport.sendCommand(SMTPTransport.java:1408)
        at com.sun.mail.smtp.SMTPTransport.ehlo(SMTPTransport.java:847)
        at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:384)
        at javax.mail.Service.connect(Service.java:297)
        at javax.mail.Service.connect(Service.java:156)
        at javax.mail.Service.connect(Service.java:105)
        at javax.mail.Transport.send0(Transport.java:168)
        at javax.mail.Transport.send(Transport.java:98)
        at bts.mail.SendMailTLS.main(SendMailTLS.java:45)

    Can Some body help me with this please

  • MS CRM 2015 :DB locking issues while calling a web API inside an asynchronous Plugin.

    Hi,
    We have a SharePoint Integration where a Web API is deployed on SharePoint Server.We are calling this Web API in asynchronous plugin. Although the Plugin works fine. But  its causing DB issues .other custom applications like schedulers are breaking
    and showing time-out issues. 
    I analysed it and found that Web API sometime failed to instantiate the Proxy object ( Exception ::System.Net.WebException: The operation has timed out ).
    This results into the exception in  plugin OR cause of DB locking. 
    Kindly suggest how to resolve this issue.
    Thanks,
    If you find this post helpful then please "Vote as Helpful" and "Mark As Answer". Thanks and Regards, Mohammad Yusuf Ansari
    http://microxrm.blogspot.in

    ianp123,
    It appears that in the past few days you have not received a response to your
    posting. That concerns us, and has triggered this automated reply.
    Has your problem been resolved? If not, you might try one of the following options:
    - Visit http://support.novell.com and search the knowledgebase and/or check all
    the other self support options and support programs available.
    - You could also try posting your message again. Make sure it is posted in the
    correct newsgroup. (http://forums.novell.com)
    Be sure to read the forum FAQ about what to expect in the way of responses:
    http://forums.novell.com/faq.php
    If this is a reply to a duplicate posting, please ignore and accept our apologies
    and rest assured we will issue a stern reprimand to our posting bot.
    Good luck!
    Your Novell Product Support Forums Team
    http://forums.novell.com/

Maybe you are looking for

  • Windows 8.1 won't install Iphone 5 driver

    Hello. I tried two methods listed below and nothing. My Windows 8.1 N Pro won`t install Ipone 5 driver (Apple Mobile Device USB Driver isn't listed). What should I do ?? Please help. iPhone, iPad, or iPod not recognized in iTunes for Windows - Apple

  • Sync problems with my old iPod

    I have an older iPod.  I physically sync it with my MacBook Calendar  through iTunes because it is a version that is too old to automatically sync with iCloud.  I have iCloud on my MacBook and the iCloud calendar shows up when I have it clicked. Howe

  • NoClassDefFoundError- HttpServlet

    I have deployed my application and am now trying to access it from the browser but get this error message in the kjs console. error: Exception: SERVLET-execution_failed: Error in executing servlet mainservlet: java.lang.NoClassDefFoundError: javax/se

  • Where can you buy the Touch in a sto

    I see that even Walmart and Target are selling the Zen Touch (GREAT!!!!) but where can you walk into a store and purchase one?

  • There is no serial number on the box!

    I have bought a new computer and am trying to install a less than two years old Photoshop Elements 11 on my new computer. There is no serial number on the box. I didn't register it when I bought it, even if I have an Adobe account. I can't register w