Range of strings as a case element is not inclusive

I was using the following bit of code to translate some string characters into a Base36 but I discovered that the case element with a string range is not inclusive.  For example the following code executes the default case for a "Z" character.  Why is the string range element "A".."Z" not inclusive of its last element but a numeric range 1..10 would be?  Is this a bug?
Solved!
Go to Solution.
Attachments:
String Range in Case.png ‏12 KB

Darin.K wrote:
Perhaps you should post this little tidbit to the micro-nugget thread.
Certainly! Another thread is LabVIEW Minutiae (that may bite you someday), which specifically focuses on potential "gotchas" such as this.
a.lia-user-name-link[href="/t5/user/viewprofilepage/user-id/88938"] {color: black;} a.lia-user-name-link[href="/t5/user/viewprofilepage/user-id/88938"]:after {content: '';} .jrd-sig {height: 80px; overflow: visible;} .jrd-sig-deploy {float:left; opacity:0.2;} .jrd-sig-img {float:right; opacity:0.2;} .jrd-sig-img:hover {opacity:0.8;} .jrd-sig-deploy:hover {opacity:0.8;}

Similar Messages

  • Char. strings w/o text elements will not be translated:

    Hi ,
    I have a few constants in my program.
    But when i declare them as
    text(12) type c value ' hello world',
    In the code inspector i encounter "Char. strings w/o text elements will not be translated:" error.
    Can somebody h

    Hi,
    Text elements are required for Translating purpose. You have declared a free string but haven't declared the corresponding text element for that string. Thus the error. Please double click on the string and create the text element to get rid of the error in code inspector. This is not a mandatory thing but should be done.
    Hope it helps.
    Regards,
    R

  • Looking for a simple way to convert a string to title case

    New to LiveCycle and Javascript.  Looking for a simple way to convert a string to title case, except acronyms.  Currently using the the following, it converts acronyms to lower case:
    var str  =  this.rawValue;
    var upCase = str.split(" ");
    for(i=0; i < upCase.length; i++) {
    upCase[i] = upCase[i].substr(0,1).toUpperCase() + upCase[i].substr(1).toLowerCase();
    this.rawValue = upCase.join(' ');

    Thanks for the reply.
    Found the following script in a forum, which works fine as a "custom validation script" in the.pdf version of my form.  However, it will not work in LiveCycle?  The problem seems to be with
    "return str.replace(/[A-Za-z0-9\u00C0-\u00FF]+[^\s-]*/g"
    function toTitleCase(str) {
    var smallWords = /^(a|an|and|as|at|but|by|en|for|if|in|nor|of|on|or|per|the|to|vs?\.?|via)$/i;
        return str.replace(/[A-Za-z0-9\u00C0-\u00FF]+[^\s-]*/g, function(match, index, title){
    if (index > 0 && index + match.length !== title.length &&
      match.search(smallWords) > -1 && title.charAt(index - 2) !== ":" &&
    (title.charAt(index + match.length) !== '-' || title.charAt(index - 1) === '-') &&
    title.charAt(index - 1).search(/[^\s-]/) < 0) {
    return match.toLowerCase();
    if (match.substr(1).search(/[A-Z]|\../) > -1) {
      return match;
      return match.charAt(0).toUpperCase() + match.substr(1);
    event.value = toTitleCase(event.value);

  • Part of a string contained in one element list's strings

    Hi evebody,
    I have process that use this sql request :
    SELECT $code
    FROM DUAL
    WHERE $code IN ('BMW','MERCEDES','TOYOTA','PEUGEOT');
    Actually, the code is a string which value is car brand. for example 'BMW'.
    I want to change my process and have the possibility to put in $code multiples car brand separated by '||' . For example, 'BMW||RENAULT'.
    In this way, howa could I change my sql request?
    ie I want to check if a part of string exists in a element list's string.
    PLEASE HELP ME
    THANKS

    One way is to use regular expressions:
    SQL> variable code varchar2(100);
    SQL> exec :code := 'TOYOTA';
    PL/SQL procedure successfully completed.
    SQL> SELECT  :code
      2    FROM  DUAL
      3    WHERE REGEXP_LIKE('||' || :code || '||','\|\|BMW\|\||\|\|MERCEDES\|\||\|\|TOYOTA\|\||\|\|PEUGEOT\|\|')
      4  /
    :CODE
    TOYOTA
    SQL> exec :code := 'BMW||RENAULT';
    PL/SQL procedure successfully completed.
    SQL> SELECT  :code
      2    FROM  DUAL
      3    WHERE REGEXP_LIKE('||' || :code || '||','\|\|BMW\|\||\|\|MERCEDES\|\||\|\|TOYOTA\|\||\|\|PEUGEOT\|\|')
      4  /
    :CODE
    BMW||RENAULT
    SQL> SY.

  • How to convert a string from upper case to lower case in FOX formula

    Hi Experts,
    How to convert a string from upper case to lower case in FOX formula?
    Thanks,
    Cheers!!!
    PANKAJ

    The last result.append( c ) should be:
    result.append( Character.toLowerCase(c) );

  • How to convert a string from lower case to upper case withour using transla

    Hi all,
    how to convert a string from lower case to upper case withour using translate,
    Thanks in Advance,
    Reddy

    Refer to this related thread
    Re: hi guys this very urgent please help

  • Method invokeMethod(java.lang.String, org.w3c.dom.Element) not found

    I am calling a Web Service that returns an XML-file. The XML-file should be passed to a method that puts the xml into a table in my database.
    I will upload the 3 files that are being used for this.
    When I rebuild my files I get the following error in CustomerCO.java:
    Error(78,38): method invokeMethod(java.lang.String, org.w3c.dom.Element) not found in interface oracle.apps.fnd.framework.OAApplicationModule
    Line 78 reads as follows:
    String Status = (String)am.invokeMethod("initSaveXml", wsXml);
    Any suggestions?
    PS: I am a newbie to java and framework :-(
    Here are my files:
    CustomerCO.java:
    /*===========================================================================+
    | Copyright (c) 2001, 2005 Oracle Corporation, Redwood Shores, CA, USA |
    | All rights reserved. |
    +===========================================================================+
    | HISTORY |
    +===========================================================================*/
    package xxcu.oracle.apps.ar.customer.server.webui;
    import java.io.Serializable;
    import java.lang.Exception;
    import oracle.apps.fnd.common.VersionInfo;
    import oracle.apps.fnd.framework.OAApplicationModule;
    import oracle.apps.fnd.framework.webui.OAControllerImpl;
    import oracle.apps.fnd.framework.webui.OAPageContext;
    import oracle.apps.fnd.framework.webui.beans.OAWebBean;
    import org.w3c.dom.Element;
    import xxcu.oracle.apps.ar.customer.ws.LindorffWS;
    * Controller for ...
    public class CustomerCO extends OAControllerImpl implements Serializable
    public static final String RCS_ID="$Header$";
    public static final boolean RCS_ID_RECORDED =
    VersionInfo.recordClassVersion(RCS_ID, "%packagename%");
    * Layout and page setup logic for a region.
    * @param pageContext the current OA page context
    * @param webBean the web bean corresponding to the region
    public void processRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processRequest(pageContext, webBean);
    * Procedure to handle form submissions for form elements in
    * a region.
    * @param pageContext the current OA page context
    * @param webBean the web bean corresponding to the region
    public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processFormRequest(pageContext, webBean);
    * 2009.07.09, Roy Feirud, lagt til for å utføre spørring
    if (pageContext.getParameter("Search") != null)
    OAApplicationModule am = pageContext.getApplicationModule(webBean);
    //Setter søkekriteriene til LindorffWS
    String Name = pageContext.getParameter("SearchName");
    String Address = pageContext.getParameter("SearchAddress");
    String Zip = pageContext.getParameter("SearchZipCode");
    String City = pageContext.getParameter("SearchCity");
    String Born = pageContext.getParameter("SearchBorn");
    String Phone = pageContext.getParameter("SearchPhoneNo");
    Serializable[] param = { Name, Address, Zip, City, Born, Phone };
    //Bygger søkestrengen
    String SearchString = (String)am.invokeMethod("initBuildString", param );
    //Initialiserer LindorffWS
    LindorffWS WsConnection = new LindorffWS();
    try
    //Kaller Web Sevice fra Lindorff
    Element wsXml = (Element)WsConnection.XmlFulltextOperator(SearchString);
    String Status = (String)am.invokeMethod("initSaveXml", wsXml);
    catch(Exception WsExp)
    // WsConnection = new LindorffWS();
    System.out.println("Kall til LindorffWS feilet!");
    am.invokeMethod("initQueryCustomer");
    CustomerAMImpl.java:
    package xxcu.oracle.apps.ar.customer.server;
    import java.io.Serializable;
    import java.sql.CallableStatement;
    import java.sql.SQLException;
    import java.sql.Types;
    import oracle.apps.fnd.common.MessageToken;
    import oracle.apps.fnd.framework.OAException;
    import oracle.apps.fnd.framework.server.OAApplicationModuleImpl;
    import oracle.apps.fnd.framework.server.OADBTransaction;
    import oracle.apps.fnd.framework.server.OAExceptionUtils;
    import org.w3c.dom.Element;
    // --- File generated by Oracle Business Components for Java.
    public class CustomerAMImpl extends OAApplicationModuleImpl implements Serializable
    * This is the default constructor (do not remove)
    public CustomerAMImpl()
    * Sample main for debugging Business Components code using the tester.
    public static void main(String[] args)
    launchTester("xxcu.oracle.apps.ar.customer.server", "CustomerAMLocal");
    * Container's getter for CustomerVO1
    public CustomerVOImpl getCustomerVO1()
    return (CustomerVOImpl)findViewObject("CustomerVO1");
    * 2009.07.09, Roy Feirud, Lagt til for å utføre spørring.
    public void initQueryCustomer()
    CustomerVOImpl vo = getCustomerVO1();
    if (vo!=null)
    vo.initQuery();
    * 2009.08.31, Roy Feirud, Lagt til for å bygge opp input til WebService hos Lindorff.
    public String initBuildString(String Name
    ,String Address
    ,String Zip
    ,String City
    ,String Born
    ,String Phone)
    String ws_string = null;
    CallableStatement cs = null;
    try
    String sql= "BEGIN ISS_WS_LINDORFF_PKG.BUILD_STRING (?,?,?,?,?,?,?); END;";
    OADBTransaction txn = getOADBTransaction();
    cs = txn.createCallableStatement(sql,1);
    cs.setString(1,Name);
    cs.setString(2,Address);
    cs.setString(3,Zip);
    cs.setString(4,City);
    cs.setString(5,Born);
    cs.setString(6,Phone);
    cs.registerOutParameter(7,Types.VARCHAR);
    cs.execute();
    OAExceptionUtils.checkErrors (txn);
    ws_string = cs.getString(7);
    cs.close();
    catch (SQLException sqle)
    String Prosedyre = "ISS_WS_LINDORFF_PKG.BUILD_STRING";
    String Errmsg = sqle.toString();
    MessageToken[] tokens = {new MessageToken("PROSEDYRE", Prosedyre), new MessageToken("ERRMSG", Errmsg)};
    throw new OAException("ISS", "ISS_PLSQL_ERROR",tokens,OAException.ERROR, null);
    return ws_string;
    public String initSaveXml(Element WsXml)
    String Status = "Error";
    CallableStatement cs = null;
    try
    String sql= "BEGIN ISS_XML2TABLE_PKG.ISS_AR_CUSTOMERS_TMP (?,?); END;";
    OADBTransaction txn = getOADBTransaction();
    cs = txn.createCallableStatement(sql,1);
    cs.setObject(1,WsXml);
    cs.registerOutParameter(2,Types.VARCHAR);
    cs.execute();
    OAExceptionUtils.checkErrors (txn);
    Status = cs.getString(2);
    cs.close();
    catch (SQLException sqle)
    String Prosedyre = "ISS_XML2TABLE_PKG.ISS_AR_CUSTOMERS_TMP";
    String Errmsg = sqle.toString();
    MessageToken[] tokens = {new MessageToken("PROSEDYRE", Prosedyre), new MessageToken("ERRMSG", Errmsg)};
    throw new OAException("ISS", "ISS_PLSQL_ERROR",tokens,OAException.ERROR, null);
    return Status;
    LindorffWS.java:
    package xxcu.oracle.apps.ar.customer.ws;
    import oracle.soap.transport.http.OracleSOAPHTTPConnection;
    //import org.apache.soap.encoding.soapenc.BeanSerializer;
    import org.apache.soap.encoding.SOAPMappingRegistry;
    //import org.apache.soap.util.xml.QName;
    import java.util.Vector;
    import org.w3c.dom.Element;
    import java.net.URL;
    import org.apache.soap.Body;
    import org.apache.soap.Envelope;
    import org.apache.soap.messaging.Message;
    import oracle.jdeveloper.webservices.runtime.WrappedDocLiteralStub;
    * Generated by the Oracle9i JDeveloper Web Services Stub/Skeleton Generator.
    * Date Created: Fri Jul 10 10:37:21 CEST 2009
    * WSDL URL: http://services.lindorffmatch.com/Search/Search.asmx?WSDL
    public class LindorffWS extends WrappedDocLiteralStub
    public LindorffWS()
    m_httpConnection = new OracleSOAPHTTPConnection();
    public String endpoint = "http://services.lindorffmatch.com/Search/Search.asmx";
    private OracleSOAPHTTPConnection m_httpConnection = null;
    private SOAPMappingRegistry m_smr = null;
    public Element XmlFulltextOperator(String xmlString) throws Exception
    URL endpointURL = new URL(endpoint);
    Envelope requestEnv = new Envelope();
    Body requestBody = new Body();
    Vector requestBodyEntries = new Vector();
    String wrappingName = "XmlFulltextOperator";
    String targetNamespace = "http://services.lindorffmatch.com/search";
    Vector requestData = new Vector();
    requestData.add(new Object[] {"xmlString", xmlString});
    requestBodyEntries.addElement(toElement(wrappingName, targetNamespace, requestData));
    requestBody.setBodyEntries(requestBodyEntries);
    requestEnv.setBody(requestBody);
    Message msg = new Message();
    msg.setSOAPTransport(m_httpConnection);
    msg.send(endpointURL, "http://services.lindorffmatch.com/search/XmlFulltextOperator", requestEnv);
    Envelope responseEnv = msg.receiveEnvelope();
    Body responseBody = responseEnv.getBody();
    Vector responseData = responseBody.getBodyEntries();
    return (Element)fromElement((Element)responseData.elementAt(0), org.w3c.dom.Element.class);
    _______________________________________________________________________________________________________________________________

    Hi,
    Create an Interface to your application Module then from interface call your method,
    refer http://www.oraclearea51.com/oracle-technical-articles/oa-framework/oa-framework-beginners-guide/213-how-to-call-am-methods-from-controller-without-using-invokemethod.html for creating Interface for AM and calling it in controller.
    Regards,
    Reetesh Sharma

  • Jdev: method invokeMethod(java.lang.String, org.w3c.dom.Element) not found

    I am calling a Web Service that returns an XML-file. The XML-file should be passed to a method that puts the xml into a table in my database.
    I will upload the 3 files that are being used for this.
    When I rebuild my files I get the following error in CustomerCO.java:
    Error(78,38): method invokeMethod(java.lang.String, org.w3c.dom.Element) not found in interface oracle.apps.fnd.framework.OAApplicationModule
    Line 78 reads as follows:
    String Status = (String)am.invokeMethod("initSaveXml", wsXml);
    Any suggestions?
    PS: I am a newbie to java and framework
    Here are my files:
    CustomerCO.java:
    /*===========================================================================+
    Copyright (c) 2001, 2005 Oracle Corporation, Redwood Shores, CA, USA
    All rights reserved.
    ===========================================================================
    HISTORY
    +===========================================================================*/
    package xxcu.oracle.apps.ar.customer.server.webui;
    import java.io.Serializable;
    import java.lang.Exception;
    import oracle.apps.fnd.common.VersionInfo;
    import oracle.apps.fnd.framework.OAApplicationModule;
    import oracle.apps.fnd.framework.webui.OAControllerImpl;
    import oracle.apps.fnd.framework.webui.OAPageContext;
    import oracle.apps.fnd.framework.webui.beans.OAWebBean;
    import org.w3c.dom.Element;
    import xxcu.oracle.apps.ar.customer.ws.LindorffWS;
    * Controller for ...
    public class CustomerCO extends OAControllerImpl implements Serializable
    public static final String RCS_ID="$Header$";
    public static final boolean RCS_ID_RECORDED =
    VersionInfo.recordClassVersion(RCS_ID, "%packagename%");
    * Layout and page setup logic for a region.
    * @param pageContext the current OA page context
    * @param webBean the web bean corresponding to the region
    public void processRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processRequest(pageContext, webBean);
    * Procedure to handle form submissions for form elements in
    * a region.
    * @param pageContext the current OA page context
    * @param webBean the web bean corresponding to the region
    public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processFormRequest(pageContext, webBean);
    * 2009.07.09, Roy Feirud, lagt til for å utføre spørring
    if (pageContext.getParameter("Search") != null)
    OAApplicationModule am = pageContext.getApplicationModule(webBean);
    //Setter søkekriteriene til LindorffWS
    String Name = pageContext.getParameter("SearchName");
    String Address = pageContext.getParameter("SearchAddress");
    String Zip = pageContext.getParameter("SearchZipCode");
    String City = pageContext.getParameter("SearchCity");
    String Born = pageContext.getParameter("SearchBorn");
    String Phone = pageContext.getParameter("SearchPhoneNo");
    Serializable[] param = { Name, Address, Zip, City, Born, Phone };
    //Bygger søkestrengen
    String SearchString = (String)am.invokeMethod("initBuildString", param );
    //Initialiserer LindorffWS
    LindorffWS WsConnection = new LindorffWS();
    try
    //Kaller Web Sevice fra Lindorff
    Element wsXml = (Element)WsConnection.XmlFulltextOperator(SearchString);
    String Status = (String)am.invokeMethod("initSaveXml", wsXml);
    catch(Exception WsExp)
    // WsConnection = new LindorffWS();
    System.out.println("Kall til LindorffWS feilet!");
    am.invokeMethod("initQueryCustomer");
    CustomerAMImpl.java:
    package xxcu.oracle.apps.ar.customer.server;
    import java.io.Serializable;
    import java.sql.CallableStatement;
    import java.sql.SQLException;
    import java.sql.Types;
    import oracle.apps.fnd.common.MessageToken;
    import oracle.apps.fnd.framework.OAException;
    import oracle.apps.fnd.framework.server.OAApplicationModuleImpl;
    import oracle.apps.fnd.framework.server.OADBTransaction;
    import oracle.apps.fnd.framework.server.OAExceptionUtils;
    import org.w3c.dom.Element;
    // --- File generated by Oracle Business Components for Java.
    public class CustomerAMImpl extends OAApplicationModuleImpl implements Serializable
    * This is the default constructor (do not remove)
    public CustomerAMImpl()
    * Sample main for debugging Business Components code using the tester.
    public static void main(String[] args)
    launchTester("xxcu.oracle.apps.ar.customer.server", "CustomerAMLocal");
    * Container's getter for CustomerVO1
    public CustomerVOImpl getCustomerVO1()
    return (CustomerVOImpl)findViewObject("CustomerVO1");
    * 2009.07.09, Roy Feirud, Lagt til for å utføre spørring.
    public void initQueryCustomer()
    CustomerVOImpl vo = getCustomerVO1();
    if (vo!=null)
    vo.initQuery();
    * 2009.08.31, Roy Feirud, Lagt til for å bygge opp input til WebService hos Lindorff.
    public String initBuildString(String Name
    ,String Address
    ,String Zip
    ,String City
    ,String Born
    ,String Phone)
    String ws_string = null;
    CallableStatement cs = null;
    try
    String sql= "BEGIN ISS_WS_LINDORFF_PKG.BUILD_STRING (?,?,?,?,?,?,?); END;";
    OADBTransaction txn = getOADBTransaction();
    cs = txn.createCallableStatement(sql,1);
    cs.setString(1,Name);
    cs.setString(2,Address);
    cs.setString(3,Zip);
    cs.setString(4,City);
    cs.setString(5,Born);
    cs.setString(6,Phone);
    cs.registerOutParameter(7,Types.VARCHAR);
    cs.execute();
    OAExceptionUtils.checkErrors (txn);
    ws_string = cs.getString(7);
    cs.close();
    catch (SQLException sqle)
    String Prosedyre = "ISS_WS_LINDORFF_PKG.BUILD_STRING";
    String Errmsg = sqle.toString();
    MessageToken[] tokens = {new MessageToken("PROSEDYRE", Prosedyre), new MessageToken("ERRMSG", Errmsg)};
    throw new OAException("ISS", "ISS_PLSQL_ERROR",tokens,OAException.ERROR, null);
    return ws_string;
    public String initSaveXml(Element WsXml)
    String Status = "Error";
    CallableStatement cs = null;
    try
    String sql= "BEGIN ISS_XML2TABLE_PKG.ISS_AR_CUSTOMERS_TMP (?,?); END;";
    OADBTransaction txn = getOADBTransaction();
    cs = txn.createCallableStatement(sql,1);
    cs.setObject(1,WsXml);
    cs.registerOutParameter(2,Types.VARCHAR);
    cs.execute();
    OAExceptionUtils.checkErrors (txn);
    Status = cs.getString(2);
    cs.close();
    catch (SQLException sqle)
    String Prosedyre = "ISS_XML2TABLE_PKG.ISS_AR_CUSTOMERS_TMP";
    String Errmsg = sqle.toString();
    MessageToken[] tokens = {new MessageToken("PROSEDYRE", Prosedyre), new MessageToken("ERRMSG", Errmsg)};
    throw new OAException("ISS", "ISS_PLSQL_ERROR",tokens,OAException.ERROR, null);
    return Status;
    LindorffWS.java:
    package xxcu.oracle.apps.ar.customer.ws;
    import oracle.soap.transport.http.OracleSOAPHTTPConnection;
    //import org.apache.soap.encoding.soapenc.BeanSerializer;
    import org.apache.soap.encoding.SOAPMappingRegistry;
    //import org.apache.soap.util.xml.QName;
    import java.util.Vector;
    import org.w3c.dom.Element;
    import java.net.URL;
    import org.apache.soap.Body;
    import org.apache.soap.Envelope;
    import org.apache.soap.messaging.Message;
    import oracle.jdeveloper.webservices.runtime.WrappedDocLiteralStub;
    * Generated by the Oracle9i JDeveloper Web Services Stub/Skeleton Generator.
    * Date Created: Fri Jul 10 10:37:21 CEST 2009
    * WSDL URL: http://services.lindorffmatch.com/Search/Search.asmx?WSDL
    public class LindorffWS extends WrappedDocLiteralStub
    public LindorffWS()
    m_httpConnection = new OracleSOAPHTTPConnection();
    public String endpoint = "http://services.lindorffmatch.com/Search/Search.asmx";
    private OracleSOAPHTTPConnection m_httpConnection = null;
    private SOAPMappingRegistry m_smr = null;
    public Element XmlFulltextOperator(String xmlString) throws Exception
    URL endpointURL = new URL(endpoint);
    Envelope requestEnv = new Envelope();
    Body requestBody = new Body();
    Vector requestBodyEntries = new Vector();
    String wrappingName = "XmlFulltextOperator";
    String targetNamespace = "http://services.lindorffmatch.com/search";
    Vector requestData = new Vector();
    requestData.add(new Object[] {"xmlString", xmlString});
    requestBodyEntries.addElement(toElement(wrappingName, targetNamespace, requestData));
    requestBody.setBodyEntries(requestBodyEntries);
    requestEnv.setBody(requestBody);
    Message msg = new Message();
    msg.setSOAPTransport(m_httpConnection);
    msg.send(endpointURL, "http://services.lindorffmatch.com/search/XmlFulltextOperator", requestEnv);
    Envelope responseEnv = msg.receiveEnvelope();
    Body responseBody = responseEnv.getBody();
    Vector responseData = responseBody.getBodyEntries();
    return (Element)fromElement((Element)responseData.elementAt(0), org.w3c.dom.Element.class);
    _______________________________________________________________________________________________________________________________

    Hi,
    wrong forum. If this is a problem related to the use of OA framework, please use the OA framework forum here on OTN
    Frank

  • Error SQL70015: Error validating element [dbo].[GetDocument]: Deprecated feature 'String literals as column aliases' is not supported

    Using MS SQL Management Studio 2012 attempting to export (from GoDaddy) a .bacpac database for import to Azure and get the error message listed in the Title (String literals as column aliases is not supported on SQL Azure). There was a discussion of this
    problem in mid-2013, but it ended with saying that this was a bug with Azure validation, but had been fixed and did not require rewriting of databases. Anyone with a clue how to successfully export/import around this?

    Hello,
    A string enclosed in quotation marks used as a column alias for an expression in a SELECT list is not support in Windows Azure SQL database. Please use "expression [AS] column_alias" instead of " 'string_alias' = expression ".
    In your case, you can try to create an application with in SSDT and use Schema Compare to filter out and fixed incompatible objects, and then deploy the database to Windows Azure SQL database.
    Reference:
    Use SQL Server Data Tools to Migrate a Database to Azure SQL Database
    Migrating a Database to SQL Azure using SSDT
    Regards,
    Fanny Liu
    Fanny Liu
    TechNet Community Support

  • Trouble sending messages to Dynamics AX: Element is not declared.

    I'm having problems getting Dynamics AX to accept a message from BizTalk.
    Here's my setup:
    AX 2012:
    A table, BTAIF_test, with two fields ("Name" and "Phone").
    A query, BTAIFQuery, with BTAIF_test as datasource.
    A service, BTAIFQueryService, autogenerated by the AX AIF Wizard, registered and deployed on
    An inbound port, BTAIF, using net.tcp.
    BizTalk:
    An incoming schema, generated from a simple XML file containing a name and a phone number.
    An outgoing schema, generated by the Consume WCF Service wizard.
    A map, mapping the two value fields from the incoming to the outgoing schema.
    A receive port, using a receive location with FILE transport to pick up the incoming message, and using XMLReceive pipeline
    A send port, using the previously mentioned map, and WCF-NetTcp configured with my AX service address and a simple soap header pointing at the create method of the service. It uses the XMLTransmit pipeline.
    When I drop a message in the receive location I get the following message in the Exception log of AX:
    "Invalid document schema. The following error was returned:  
    The 'http://schemas.microsoft.com/dynamics/2008/01/documents/BTAIFQuery:BTAIFtest_1' element is not declared."
    The send port has a backup FILE transport, and this is what the message looks like when it dumps it there:
    <?xml version="1.0" encoding="utf-8"?>
    <ns0:BTAIFQuery xmlns:ns0="http://schemas.microsoft.com/dynamics/2008/01/documents/BTAIFQuery"
    xmlns:st="http://schemas.microsoft.com/dynamics/2008/01/sharedtypes">
    <ns0:BTAIFtest_1 class="entity">
    <ns0:Name>John Hancock</ns0:Name>
    <ns0:Phone>555-123-4567</ns0:Phone>
    </ns0:BTAIFtest_1>
    </ns0:BTAIFQuery>
    Any pointers as to what I'm doing wrong here? I've been searching for information on the net and either nobody's doing this or it's so easy nobody cares to write about it. I'm hoping it's the latter and I'm just making some stupid mistake.

    From the above output I think the AxdExtType_Name, AxdExtType_Phone and AxdEnum_AxdEntityAction are defined as simple type in BTAIF_schemas_microsoft_com_dynamics_2008_01_sharedtypes.xsd, so the above output is correct as per this schema. Recheck if the
    format of schema is correct so that AX can accept it.
    Yes, they're defined as simple types, here's the relevant definitions from sharedtypes.xsd:
    <xs:simpleType name="AxdExtType_Name">
    <xs:annotation>
    <xs:documentation xml:lang="EN-US">Name:Name.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
    <xs:minLength value="0" />
    <xs:maxLength value="60" />
    </xs:restriction>
    </xs:simpleType>
    <xs:simpleType name="AxdExtType_Phone">
    <xs:annotation>
    <xs:documentation xml:lang="EN-US">Telephone:Telephone number.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
    <xs:minLength value="0" />
    <xs:maxLength value="20" />
    </xs:restriction>
    </xs:simpleType>
    <xs:simpleType name="AxdEnum_AxdEntityAction">
    <xs:annotation>
    <xs:documentation xml:lang="EN-US">AxdEntityAction:AxdEntityAction</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
    <xs:enumeration value="create" />
    <xs:enumeration value="update" />
    <xs:enumeration value="replace" />
    <xs:enumeration value="delete" />
    </xs:restriction>
    </xs:simpleType>
    This schema and the destination schemas are auto-generated by BizTalk's Consume WCF Service
    wizard.

  • How to accept xml even when elements are not defined in its schema

    Hi,
    I got this requirement where i need to accept xmls even though its schema definition is not available note that i am storing the xmls into obejection-relational mode in oracle xmltype column table.
    How can i register schamas which has a perticular element defined conditionally to refer to two schemas based on its elementname (pct:CompanyName and CompanyName), please go through the below given scenario for further clarity on the same
    Oracle Version
    Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
    PL/SQL Release 11.2.0.3.0 - Production
    CORE 11.2.0.3.0 Production
    *Sample XML
    * <CabInfo>
         <pct:CabName>Yellow Cab</pct:CabName>
         <CompanyName>Taxi4You<CompanyName>
    </CabInfo>
    Schema Definition
    Cab.xsd
    <xsd:All minOccur="0">
    <xsd:element name="CabInfo" type="pct:Cabs" minOccurs="0"/>
    </xsd:All>
    pct points to a commontype.xsd file
    <xsd:complexType name="Cabs">
    <xsd:all minOccurs="0">
    <xsd:element name="CabName" type="xsd:string" minOccurs="0"/>
    <xsd:element name="CompanyName" type="xsd:string" minOccurs="0"/>
    </xsd:all>
    </xsd:complexType>
    Now when a xml comes with both the tags pct:CabName and pct:CompanyName then its not an issue however i need to accept xmls which can come as pct:CabName and only CompanyName without the pct namespace referrence.
    I was considering choice tags a method to acheive this but i read it cannot be used with ALL i cant remove ALL either from my schema.
    Please suggest if this can be acheived.

    Hello,
    You can use module pool to design the screen, all the fields will then remain fixed in the position defined.
    CALL SCREEN 100. " 3 fields declared P_NAME p_ROL and P_SUBJECT
    *&      Module  STATUS_0100  OUTPUT
    *       text
    MODULE status_0100 OUTPUT.
    *  SET PF-STATUS 'xxxxxxxx'.
    *  SET TITLEBAR 'xxx'.
      LOOP AT SCREEN.
        IF screen-name = 'P_ROL'.
          screen-active = '0'.
          screen-invisible = '1'.
        ENDIF.
        MODIFY SCREEN.
      ENDLOOP.
    Regards,
    Mansi.
    Edited by: SAP USER on Apr 22, 2009 1:02 PM

  • Htmlb elements do not render anymore

    Just upgraded my miniWAS to SP38; all of a sudden, my htmlb elements do not render anymore, neither in Firefox nor IE6... I have basically a table within a form, with a range of buttons; these now just show as underlined "links", with no action taken when I try to click... Seems all the conversion from htmlb to the corresponding javascript is missing in the page source. How come?
    Trond

    We have the same problem. We also found out that when you delete the cache it works again. Furthermore we discovered that you only have to delete the jscript file event.js.
    We investigated further and found out that our configuration script is causing this problem (it automatically sets proxy settings and stuff like that). When I deactivate our script everything works fine. Trond, Richard does your IE also use a config script or is the checkbox "automatically detect settings" marked (you find it under connections->lan settings)? Unfortunately I can't tell my users to deactivate these automatic settings because that's how we make sure that every user in our company is using the same IE settings.

  • Photoshop elements does not open, says "gathering user info...."

    photoshop elements does not open, says "gathering user info...."

    Hi,
    Please try couple of probable solutions as mentioned below:
    Solution 1:
    1. Close Elements.
    2. Launch the Photoshop Elements Welcome Screen and hold down ctrl + alt + shift as you click Editor.
    3. Continue to hold the keys until you see a message box asking if you want to delete Photoshop Elements settings file; click Yes. Elements will open with default preferences.
    Solution 2: In case any network printer is attached try to launch without network or printer uninstall or make different printer as default.
    Solution 3: Try launching with anti-virus off or removing PSE from conflicting list.
    Solution 4:
    On the drive on which you have installed PSE,on my machine it is on C:
    Go  to C:\Program Files\Adobe\Photoshop Elements  9\Locales\<locale>\Plug-Ins\Import-Exportand you will find twain  plug-in. Remove that plug-in from that location and copy it somewhere  else.
    Now launch PSE and check if it works.
    Solution 5: Try with admin account or right click and select run as admin. or try directly from .exe
    For related post for Twain please see this:http://forums.adobe.com/message/2954743#2954743
    Thanks,
    Garry

  • Elements does not recognise prel file

    I saved a project to DVD (photos with background music) Elements does not recognise "prel" file when trying to reload project. How do i open file in Premiere Elements 10

    Chris (Herbie53)
    There was no Premiere Elements 5 and 6. The version numbers went 1, 2, 3, 4, 7, 8, 9, 10, 11, 12 (latest) So you probably use Premiere Elements 4 or maybe 7 on probably Windows 32 bit XP or Vista.
    Case 1. (Here we assume that you have the project.prel file (project) saved to a DVD disc as data disc.)
    Even if you had saved that older Premiere Elements project file (project.prel) along with copies of the media that went into it, it is still questionable whether that old project.prel could be opened in Premiere Elements 12. But, assuming that the media was still connected to it (which it probably is not), you could try by right clicking the project.prel file and selecting Open With Premiere Elements 12. Have you gone that route, and the project would not open or you were greeted by "Where is the file...?" messages.
    Case 2. (Here we assume that, when you were using the the older program, you took the project Timeline to DVD-VIDEO on DVD disc...this is not the project.prel file, but an export of it.)
    In this situation, if you put your DVD disc in the burner tray and explored it, you would see two folders, one named OpenDVD and another named VIDEO_TS. This is your best case scenario. If this is the case.....
    a. Put your DVD disc in the burner tray.
    b. Open Premiere Elements 12 Expert workspace. Go to File Menu/New/Project and Change Settings.
    In Change Settings, set the project preset for either NTSC DV Standard or NTSC DV Widescreen. For now, we will assume NTSC DV Standard. Then, before you exit that area, in the last dialog that you see (new project dialog), make sure you have a check mark next to "Force Selected Project Setting on This Project".
    c. Next, back in the Premiere Elements 12 Expert workspace, use Add Media/DVD Camera or Computer Drive/Video Importer where you will select video files from the VIDEO_TS Folder to bring into the Premiere Elements 12 project. You will have to redo the menu in 12. The video files that you want from the VIDEO_TS Folder typically start with VTS_01_1.VOB and continue in series which can be detailed later.
    Goal right now is to sort through the details so that we are in sync on what you have in order to enable us to be confident about the troubleshooting strategy.
    We will be watching for your comments and results.
    Thanks.
    ATR
    Add On.....The classical recommendation has always been to complete a project in the program in which it was created. But let us see what can be done here.

  • Element.setTextContent() not found

    Hi,
    I've been repeatedly getting these in my xdo.log for a long-running report:
    [020613_052315666][oracle.apps.xdo.template.rtf.XSLTFunctions$NumberNodeList][STATEMENT] key = 118697953010030
    [020613_052315666][oracle.apps.xdo.template.rtf.XSLTFunctions$NumberNodeList][STATEMENT] oracle.xdo.parser.v2.XMLText.setNodeValue() - 2
    [020613_052315666][oracle.apps.xdo.template.rtf.XSLTFunctions$NumberNodeList][STATEMENT] XSLTFunctions.NumberNodeList.item
    [020613_052315667][oracle.apps.xdo.template.rtf.XSLTFunctions$NumberNodeList][STATEMENT] Element Pkg Name = oracle.xdo.parser.v2
    [020613_052315667][oracle.apps.xdo.template.rtf.XSLTFunctions$NumberNodeList][STATEMENT] Element.setTextContent() not found, switching to prev version. org.w3c.dom.Element.setTextContent(Ljava/lang/String;)V
    Any idea what this means? Our environment recently had issues which impacted BIP. Although it's now up, I'm not sure if this message is related to what happened.
    Appreciate your response.

    Hi, do you guys have any input on this?

Maybe you are looking for

  • Vendor Schema Group missing

    Dear Experts... In my system, while Iam doing pricing, Schema Group for Vendor is MISSING....then how can I assign the Calculation Schemas for Domestic and Import Purchases to the Domestic & Import Vendors? Why this option is missing in my system IMG

  • Lost PSE 4.0 when computer crashed, anyway to get this onto a Windows 7 computer?

    Hullo there-- I registered an account here because I had a question regarding Photoshop Elements 4.0 I recieved a wacom tablet for christmas back in 2006 I believe it was, and with it came Adobe Photoshop 4.0 and other programs... But recently, the c

  • ITunes won't open when I'm trying to restore iPhone?

    I receieved my new iPhone and I'm trying to restore it. I backed up the old one and then once I plugged in the new iPhone, it didn't automatically open itunes. It said that the the device was detected but not recognized. I reinstalled iTunes and I st

  • Route org model

    Hi Friend’s What is Route org model where we are main ting this route org model Plz give me the solution Regard’s Mahesh Kumar My mail id is [email protected]

  • ESS Benefit Plan Decimals Issue

    Hello , We are on EP7.0 ECC6.0 and have an Open Enrollment Application which lets employees enroll for various Benefit Plans ....and when they try to Edit the Plan the cost shows up as 9.51 if the value is 9.51 in R/3.The Cost shows up as 9.5 even if