Query Page Service

Hi All,
I have some issue while using the QueryPage service(Java based).
I have created a QueryPage service in java, and override the protected PageHeader add(DataElement element) throws ApplicationError_ method. From the Schema editor i can able to call the add method and in the add method i can able to get the values from the DataElement object. But I am not able to get the returned values in the schema editor as part of the response if i return the values by using PageHeader.
Can you pls let me knw wht s the issue behind. or how to return the value?
The schema definition every thing are fine.
Kindly help me to solve this issue.

Schema file
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="http://splwg.com/CmSimpleQueryPageService.xsd" xmlns:SOAP-ENV="urn:schemas-xmlsoap-org:envelope" xmlns:XAI="http://splwg.com" xmlns="http://splwg.com/CmSimpleQueryPageService.xsd" elementFormDefault="qualified">
     <xsd:element name="CmSimpleQueryPageService">
          <xsd:complexType>
               <xsd:annotation>
                    <xsd:appinfo>
                         <xsd:has-property name="Created By" value="cisadm141"/>
                         <xsd:has-property name="Created On" value="1/9/2003 10:29:11 AM"/>
                         <xsd:has-property name="adapter" value="Base"/>
                         <xsd:has-property name="transactionType" value="ADD"/>
                         <xsd:has-property name="cisServiceName" value="CMSMPQRYSRC"/>
                         <xsd:has-property name="uniqueId" value="CmSimpleQueryPageService"/>
                    </xsd:appinfo>
               </xsd:annotation>
               <xsd:sequence>
                    <xsd:element ref="CmSimpleQueryPage" maxOccurs="1" minOccurs="1"/>
               </xsd:sequence>
               <xsd:attribute name="searchType">
                    <xsd:annotation>
                         <xsd:appinfo>
                              <xsd:has-property name="uniqueId" value="searchType"/>
                         </xsd:appinfo>
                    </xsd:annotation>
                    <xsd:simpleType>
                         <xsd:restriction base="xsd:string">
                         </xsd:restriction>
                    </xsd:simpleType>
               </xsd:attribute>
          </xsd:complexType>
     </xsd:element>
     <xsd:element name="CmSimpleQueryPage">
          <xsd:complexType>
               <xsd:annotation>
                    <xsd:appinfo>
                         <xsd:has-property name="internalElementType" value="page"/>
                         <xsd:has-property name="size" value="300"/>
                    </xsd:appinfo>
               </xsd:annotation>
               <xsd:sequence>
                    <xsd:element ref="CmSimpleQueryRow" maxOccurs="1" minOccurs="1"/>
                    <xsd:element ref="CmSimpleQueryHeader" maxOccurs="1" minOccurs="1"/>
               </xsd:sequence>
          </xsd:complexType>
     </xsd:element>
     <xsd:element name="CmSimpleQueryRow">
          <xsd:complexType>
               <xsd:annotation>
                    <xsd:appinfo>
                         <xsd:has-property name="internalElementType" value="pageBody"/>
                         <xsd:has-property name="uniqueId" value="CmSimpleQueryRow"/>
                    </xsd:appinfo>
               </xsd:annotation>
               <xsd:attribute name="PersonId">
                    <xsd:annotation>
                         <xsd:appinfo>
                              <xsd:has-property name="dataType" value="string"/>
                              <xsd:has-property name="uniqueId" value="PER_ID"/>
                         </xsd:appinfo>
                    </xsd:annotation>
                    <xsd:simpleType>
                         <xsd:restriction base="xsd:string">
                              <xsd:maxLength value="15"/>
                         </xsd:restriction>
                    </xsd:simpleType>
               </xsd:attribute>
               <xsd:attribute name="PersonName">
                    <xsd:annotation>
                         <xsd:appinfo>
                              <xsd:has-property name="dataType" value="string"/>
                              <xsd:has-property name="uniqueId" value="ENTITY_NAME"/>
                         </xsd:appinfo>
                    </xsd:annotation>
                    <xsd:simpleType>
                         <xsd:restriction base="xsd:string">
                              <xsd:maxLength value="150"/>
                         </xsd:restriction>
                    </xsd:simpleType>
               </xsd:attribute>
          </xsd:complexType>
     </xsd:element>
     <xsd:element name="CmSimpleQueryHeader">
          <xsd:complexType>
               <xsd:annotation>
                    <xsd:appinfo>
                         <xsd:has-property name="internalElementType" value="pageHeader"/>
                         <xsd:has-property name="uniqueId" value="CmSimpleQueryHeader"/>
                    </xsd:appinfo>
               </xsd:annotation>
               <xsd:attribute name="PersonId">
                    <xsd:annotation>
                         <xsd:appinfo>
                              <xsd:has-property name="dataType" value="string"/>
                              <xsd:has-property name="uniqueId" value="PER_ID"/>
                         </xsd:appinfo>
                    </xsd:annotation>
                    <xsd:simpleType>
                         <xsd:restriction base="xsd:string">
                              <xsd:maxLength value="15"/>
                         </xsd:restriction>
                    </xsd:simpleType>
               </xsd:attribute>
               <xsd:attribute name="perName">
                    <xsd:annotation>
                         <xsd:appinfo>
                              <xsd:has-property name="dataType" value="string"/>
                              <xsd:has-property name="uniqueId" value="ENTITY_NAME"/>
                         </xsd:appinfo>
                    </xsd:annotation>
                    <xsd:simpleType>
                         <xsd:restriction base="xsd:string">
                              <xsd:maxLength value="150"/>
                         </xsd:restriction>
                    </xsd:simpleType>
               </xsd:attribute>
          </xsd:complexType>
     </xsd:element>
</xsd:schema>

Similar Messages

  • Device Page Service Error after updating from 2.8.0 to 2.8.2

    Hi all,
    today, I updated my demo server ZENworks MDM from the version 2.8.0 to the version 2.8.2. After this update i cannot display users and devices in dashboard. When i click on the Users tab, i`m getting the error: "Device Page Service Error. Unable to complete operation. If this error persists, please contact ZENworks Technical Support." But I`m able to login as user to the self service portal and also i see my user and his device in the Activity Monitor.
    Please, how can i solve this issue?
    Thanks
    Milan

    Strange... i rebooted server and it does not help. I wait few minutes and now it`s working
    Any self-correcting error?

  • Need to know how to iterate a list of field from the req xml in page servic

    Hi All,
    Please help me out with java code in which i am able to iterate a list of field coming in the request xml to my page service class under read(Pageheader header) method of mine queryPagemaintenace class.
    package com.splwg.cm.domain.pageService;
    import java.util.ArrayList;
    import java.util.Collection;
    import java.util.Iterator;
    import java.util.List;
    import com.ibm.icu.math.BigDecimal;
    import com.splwg.base.api.businessObject.BusinessObjectDispatcher;
    import com.splwg.base.api.businessObject.BusinessObjectInstance;
    import com.splwg.base.api.businessObject.COTSInstanceListNode;
    import com.splwg.base.api.datatypes.Date;
    import com.splwg.base.api.lookup.BusinessObjectActionLookup;
    import com.splwg.base.api.service.DataElement;
    import com.splwg.base.api.service.ItemList;
    import com.splwg.base.api.service.PageHeader;
    import com.splwg.shared.common.ApplicationError;
    import com.splwg.shared.environ.FieldDefinition;
    import com.splwg.shared.environ.ListDefinition;
    import com.splwg.shared.logging.Logger;
    import com.splwg.shared.logging.LoggerFactory;
    * @author
    @QueryPage (program = CMUSER, service = CMUSER,
    * body = @DataElement (contents = { @ListField (name = USER_GROUP_LIST)
    * , @ListDataField (name = USR_GRP_ID)
    * , @DataField (name = MESSAGE_TEXT)
    * , @DataField (name = USER_ID)
    * , @DataField (name = PASSWORD)
    * , @DataField (name = LAST_NAME)
    * , @DataField (name = FIRST_NAME)
    * , @DataField (name = USER_TYPE_FLG)
    * , @DataField (name = EMAILID)}),
    * actions = { "add"
    * ,"read"
    * , "delete"
    * , "change"},
    * header = { @DataField (name = USER_TYPE_FLG)
    * , @DataField (name = EMAILID)
    * , @DataField (name = LAST_NAME)
    * , @DataField (name = FIRST_NAME)
    * , @DataField (name = PASSWORD)
    * , @DataField (name = USER_ID)},
    * headerFields = { @DataField (name = USER_TYPE_FLG)
    * , @DataField (name = USR_GRP_ID)
    * , @DataField (name = EMAILID)
    * , @DataField (name = LAST_NAME)
    * , @DataField (name = FIRST_NAME)
    * , @DataField (name = PASSWORD)
    * , @DataField (name = USER_ID)},
    * lists = { @List (name = USER_GROUP_LIST, size = 100, includeLCopybook = false,
    * body = @DataElement (contents = { @DataField (name = USR_GRP_ID)}))},modules = {})
    public class CMUSER extends CMUSER_Gen {
    public static final Logger logger = LoggerFactory.getLogger(CMUSER.class);
         DataElement root = new DataElement();
         PageHeader page = new PageHeader();
         protected DataElement read(PageHeader header) throws ApplicationError{
    I want to know how can i iterate this USER_GROUP_LIST in my read method and get the USR_GRP_ID field data from it.
    A Prompt reply from your end will help me to resolve this issue

    Guru Sir,
    i tried to override the add() method of the framework in that i was able to iterate the field from the list. But now the i am facing there is that i am not able to send back the response to the external system in XML format. I am getting a blank response in my SOAP UI Tool while testing here is the code:
    import java.util.ArrayList;
    import java.util.Collection;
    import java.util.Iterator;
    import java.util.List;
    import com.ibm.icu.math.BigDecimal;
    import com.splwg.base.api.businessObject.BusinessObjectDispatcher;
    import com.splwg.base.api.businessObject.BusinessObjectInstance;
    import com.splwg.base.api.businessObject.COTSInstanceListNode;
    import com.splwg.base.api.datatypes.Date;
    import com.splwg.base.api.lookup.BusinessObjectActionLookup;
    import com.splwg.base.api.service.DataElement;
    import com.splwg.base.api.service.ItemList;
    import com.splwg.base.api.service.PageHeader;
    import com.splwg.shared.common.ApplicationError;
    import com.splwg.shared.logging.Logger;
    import com.splwg.shared.logging.LoggerFactory;
    * @author
    @QueryPage (program = CMUSER4, service = CMUSER4,
    * body = @DataElement (contents = { @DataField (name = MESSAGE_TEXT)
    * , @DataField (name = PASSWORD)
    * , @DataField (name = USER_ID)
    * , @DataField (name = LAST_NAME)
    * , @DataField (name = FIRST_NAME)
    * , @DataField (name = USER_TYPE_FLG)
    * , @DataField (name = EMAILID)
    * , @ListDataField (name = USR_GRP_ID)
    * , @ListField (name = USER_GROUP_LIST)}),
    * actions = { "add"
    * , "delete"
    * , "change"
    * , "read"},
    * header = { @DataField (name = USER_ID)
    * , @DataField (name = MESSAGE_TEXT)},
    * headerFields = { @DataField (name = USER_ID)
    * , @DataField (name = MESSAGE_TEXT)},
    * lists = { @List (name = USER_GROUP_LIST, size = 100,
    * body = @DataElement (contents = { @DataField (name = USR_GRP_ID)}))}, modules = {})
    public class CMUSER4 extends CMUSER4_Gen {
         public static final Logger logger = LoggerFactory.getLogger(CMUSER4.class);
         DataElement root = new DataElement();
         PageHeader page = new PageHeader();
         protected PageHeader add(DataElement item) throws ApplicationError{
              BusinessObjectInstance boInstance = BusinessObjectInstance.create("CM-USER");
              String USR_GRP_ID = null;
              try{
              logger.info("Data coming from the Service into the Application is :"+item.get(STRUCTURE.USER_ID));
              logger.info("Data coming from the Service into the Application is :"+item.get(STRUCTURE.FIRST_NAME));
              logger.info("Data coming from the Service into the Application is :"+item.get(STRUCTURE.LAST_NAME));
              logger.info("Data coming from the Service into the Application is :"+item.get(STRUCTURE.EMAILID));
              // logger.info("Data coming from the Service into the Application is :"+getInputHeader().getString(STRUCTURE.list_USER_GROUP_LIST.USR_GRP_ID));
              // Iterator it = STRUCTURE.
              ItemList sourceList = item.getList(STRUCTURE.list_USER_GROUP_LIST.name);
              List userGrpID = new ArrayList();
              logger.info("The Size of the User Group List here is :"+sourceList.size());
              Iterator iter;
              if ((sourceList != null) &&
              (sourceList.size() > 0)) {
              for (iter = sourceList.iterator(); iter.hasNext(); ) {
              DataElement myItem = (DataElement)iter.next();
              USR_GRP_ID = myItem.get(STRUCTURE.list_USER_GROUP_LIST.USR_GRP_ID);
              logger.info("The User Group Id coming in the List here is :"+USR_GRP_ID);
              logger.info("Data coming from the Service into the Application is :"+item.get(STRUCTURE.PASSWORD));
              boInstance.set("user", item.get(STRUCTURE.USER_ID));
              boInstance.set("firstName", item.get(STRUCTURE.FIRST_NAME));
              boInstance.set("lastName", item.get(STRUCTURE.LAST_NAME));
              boInstance.set("emailAddress", item.get(STRUCTURE.EMAILID));
              // COTSInstanceList userGrpList = boInstance.getList("userGroupUser");
              // COTSInstanceListNode userGroupList = userGrpList.newChild();
              COTSInstanceListNode userGroupList = boInstance.getList("userGroupUser").newChild();
              userGroupList.set("userGroup", USR_GRP_ID);
              logger.info("Data coming from the Service into the Application is :"+userGroupList.toString());
              /*boInstance.set
              boInstance.set("userGroup", getInputHeader().getString(STRUCTURE.HEADER.USR_GRP_ID));*/
              // UserTypeLookup.constants.TEMPLATE_USER
              //if(element.get(STRUCTURE.USER_TYPE_FLG))
              //boInstance.set("user", element.get(STRUCTURE.));
              boInstance.set("dashboardWidth","200");
              boInstance.set("homeNavigationOption","CI0000000574");
              boInstance.set("language","ENG");
              boInstance.set("toDoEntriesAge1", new BigDecimal(50));
              boInstance.set("toDoEntriesAge2",new BigDecimal(100));
              boInstance.set("displayProfileCode", "NORTHAM");
              String expirationDate = "2100-12-31";
              String[] array = expirationDate.split("-");
              userGroupList.set("expirationDate",new Date(Integer
                             .parseInt(array[0]), Integer
                             .parseInt(array[1]), Integer
                             .parseInt(array[2])));
              //boInstance.set("userGroupUser", userGroupList);
              COTSInstanceListNode roleUserList = boInstance.getList("roleUser").newChild();
              roleUserList.set("toDoRole","F1_DFLT");
              COTSInstanceListNode dataAccessList = boInstance.getList("dataAccessUser").newChild();
              dataAccessList.set("dataAccessRole","***");
              String expiryDate = "2100-01-01";
              String[] array1 = expiryDate.split("-");
              dataAccessList.set("expireDate",new Date(Integer
                             .parseInt(array1[0]), Integer
                             .parseInt(array1[1]), Integer
                             .parseInt(array1[2])));
              BusinessObjectDispatcher.execute(boInstance,
                             BusinessObjectActionLookup.constants.FAST_ADD);
              page.put(STRUCTURE.HEADER.MESSAGE_TEXT, "User Added Successfully");
              page.put(STRUCTURE.HEADER.USER_ID,item.get(STRUCTURE.USER_ID));
              }catch(Exception e){
                   e.printStackTrace();
                   page.put(STRUCTURE.HEADER.MESSAGE_TEXT, "Caught Exception in the ORMB System. Please reach out to the Admin"+e.getMessage());
                   page.put(STRUCTURE.HEADER.USER_ID,item.get(STRUCTURE.USER_ID));
              return page;
    If you can help me to find out what went wrong here while sending the response back it can close my issue.

  • ABAPwebdynpro iview in EP7.0 , ESS Home Page Service is not showing up

    Hi Experts ,
    There is a problem with my abap webdynpro iview when i assign to page and give PCD path in ESS Area page service using IMG .clicking on the service which is there in ESS homepage the iview is not loading when we refresh the iview using the options provided by that iview it is showing up .
    we are using EP7.0 , created sap webdynpro abap iview
    passing name space : sap and mentioned correct Application parameters ...
    and hided worksets on the ESS Home Page  ESS .
    when i assign the iview to page and to workset -> role -> user it is showing up
    only when i assign to Area page in IMG and hiding the workset in home page , iview is not loading (Refreshing).
    may be if any one knows how to refresh the iview automatically using any iview properties?
    please any one help me on this , how to solve this issue
    points will be awarded for sure ...:)
    Thank You very much in Advance ...
    Neeru .

    Thanks a lot for ur fast response ....i tried with all options , and found the solution
    that is in ESS 1.0 with EP7.0 , to create an icon with a service in ESS home page there should be a webdynpro java page , it will not accept portal page , so i created webdynpro java application and gave the pcd path  of abap webdynpro iview in that ,  created an webdynpro iview and page along with that  now it is working perfectly .
    this is what i came to know after a good research ....please experts correct me if i am wrong ?
    I Appreciate the sdn and who are all helped me for this
    Regards
    Neeru .

  • Webcenter page service add content api

    WebCenter has native page service api to create or modify page by programming. But I can not find the adding page content api.
    this url "http://docs.oracle.com/cd/E14571_01/webcenter.1111/e10149/pages_content.htm" is about page content, but there aren't api about page content.
    how to use page content api by programming?
    Thanks a lot.

    I am unclear on the usecase to programatically use an API to create a page this way.
    Can you explain why you cannot interact with the UI to develop pages?

  • Issue using Page Service APIs

    Hi
    Based on instruction provided in the document below I have created a simple java class to pull back all pages created through the Page Service API.
    http://download.oracle.com/docs/cd/E14571_01/webcenter.1111/e10148/jpsdg_page_service.htm#BABFEDAH
    Unfortunatelly the code keeps coming back with nothing even though I can confirm that there are few pages previously created for scope "s8bba98ff_4cbb_40b8_beee_296c916a23ed".
    I need help how I can sort this issue out.
    Thanks in advance
    package project1;
    import java.util.Iterator;
    import java.util.List;
    import oracle.adf.share.ADFContext;
    import java.util.Map;
    import oracle.mds.core.MDSInstance;
    import oracle.mds.core.MDSSession;
    import oracle.webcenter.page.model.PageDef;
    import oracle.webcenter.page.model.PageService;
    import oracle.webcenter.page.model.PageServiceFactory;
    import oracle.webcenter.framework.service.Scope;
    import oracle.webcenter.page.model.config.PageServiceConfig;
    import oracle.webcenter.page.internal.model.PageTreeNode;
    import oracle.webcenter.page.internal.model.PageServiceDC;
    import oracle.webcenter.framework.service.ServiceContext;
    public class Class1 {
    public Class1() {
    super();
    public List<PageDef> getPages()
    List<PageDef> pages;
    List<PageTreeNode> listPageTreeNode;
    String DEFAULT_SCOPE = "s8bba98ff_4cbb_40b8_beee_296c916a23ed";
    PageServiceConfig config = new PageServiceConfig(mdsSess, DEFAULT_SCOPE);
    PageService mPageService = PageServiceFactory.createInstance(config);
    pages = mPageService.getPageList();
    System.out.println("Size " + pages.size());
    System.out.println("Pages 0 Name = " + pages.get(0).getName());
    return pages;
    public static void main(String[] args) {
    Class1 class1 = new Class1();
    class1.getPages();
    }

    I am able to create new pages using the button added by dragging dropping the Page - Create New task flow.
    I can confirm that since the table shows all the pages created using the Page service.
    This SR is raised to request for some example java code that is needed to redended the new pages created using the PAge service as Tabs.
    I've added the followind lines to the jspx page source
    Rendering Pages as Tabs Using af:navigationPane
    <af:navigationPane id="tabs">
    <af:forEach var="tab" items="#{MyPageServiceBean.pages}">
    <af:commandNavigationItem text="#{tab.title}" id="cni1"/>
    </af:forEach>
    </af:navigationPane>
    This relies on a Managed Bean and the POJO associated to it that uses the getPages() method available in the Page Service API to pull back all pages.

  • PeopleSoft Query Access Services security problems, in other words does QAS

    PeopleSoft Query Access Services security problems, in other words does QAS bypass PeopleSoft?

    Rod,
    Can you please post the entire contents of the dataserver summary screen...thanks.
    Typically the "No suitable driver exists" error is due to trying to connect to an unsupported DB version with the driver.  For example using the MSSQL 2000 driver to connect to MSSQL 2005, be sure that you have downloaded both the MSSQL 2000 (una2000.jar) and 2005 jars and have the proper classpaths specified.
    Sam

  • Access to Yellow Pages service from IP phone

    Hi,
    Does anyone know of a Yellow Pages service that can be accessed from the XML browser on a 7941/7961 IP phone.
    I have a customer that wants to be able to find taxis, pizzas etc. from their phones.
    Any advice on how to do this is most welcome. I am based in England but would be interested if anyone anywhere has tried this.
    thanks

    Sounds like answer supervision problem. The far end pbx/switch doesn't send back answer supervision.
    Try configuring " voice rtp send-rece " to cut through the
    rtp stream ealier.

  • Cannot locate policy manager query/update service

    Hi,
    I installed soa_server 11.1.1.4.0 on windows server 2003 machine, I got a weird issue while accessing the weblogic policy manager through em. I logged into em console, weblogic domain, domain, webservvice, policy throw this erro below
    "*Cannot locate policy manager query/update service. Policy manager service look up did not find a valid service, due to: Unable to connect to WS Policy Manager. <- oracle.wsm.policymanager.PolicyManagerException: WSM-02118 : The query service cannot be created. <- javax.naming.NameNotFoundException: While trying to lookup 'QueryService#oracle.wsm.policymanager.ejb.IStringQueryServiceRemote' didn't find subcontext 'QueryService#oracle'. Resolved ''; remaining name 'QueryService#oracle/wsm/policymanager/ejb/IStringQueryServiceRemote'*"
    even my wls-m is running , I can access the http://host/wls-pm.
    Last three days I have spend for this issue but no clue.I disabled SSL, enable with SSL host validation false but also get this error.Please sort out this issue.
    Thanks
    Govindan

    Problem solved.
    Soln:
    Given ip address in the Listen Address field of weblogic Admin and SOA server. :)
    Thanks
    Govindan P

  • SQL Query ( PL/SQL function body returning query ) page

    Hello Friends,
    I have a page with type SQL Query ( PL/SQL function body returning query ).
    I have written a pl/sql block that returns a sql query - select statment.
    Some times i am getting no data found error - does it got to do with the variable that stores the query .
    =======================
    ORA-06502: PL/SQL: numeric or value error: character string buffer too small
    Error ERR-1101 Unable to process function body returning query.
    OK
    =====================
    When the query is returned with records where exactly the records are stored is it in the variable declared in pl/sql block or with the Oracle Apex implicit cursor.
    Here's the pl/sql block ..
    The query is generated while the user is navigating through pages ..
    ====================
    declare
    l_return_stmt varchar2(32767);
    l_select varchar2(32000);
    l_from varchar2(32000);
    l_where varchar2(32000);
    l_order_by varchar2(32000);
    l_stmt_recordcount varchar2(32000);
    l_recordcount number ;
    begin
    l_select := 'select '||:P10_VARLIST1||:P10_VARLIST2||:P10_VARLIST3
    ||:P10_VARLIST4||:P10_VARLIST5;
    l_from := ' from '||:P10_RELATION;
    if length(:P10_WHERE) > 0 then
    l_where := ' where '||:P10_WHERE;
    else
    l_where := '';
    end if;
    if length(:P10_ORDER_BY) > 0 then
    l_order_by := ' order by '||:P10_ORDER_BY;
    else
    l_order_by := '';
    end if;
    l_return_stmt := l_select||l_from||l_where||l_order_by;
    :P10_STMT := l_return_stmt;
    return l_return_stmt;
    end;
    =============================
    Appreciate your help in this regard.
    thanks/kumar
    Edited by: kumar73 on Apr 22, 2010 6:38 AM

    It looks like the query string you are trying to pass back exceeds the 32K limit for a varchar. Where this is happening is kind of difficult to tell as it could be any number of points, and also depends on what you are passing into the process via page items.
    I would first try to establish what combination of page items causes this error to occur. Then, starting from the bottom and working your way backwards, I would start 'switching off' some of the items you use to build your query until it breaks again, thus establishing which part is leading to the error.
    Also, I'm not sure what :P10_STMT is doing (are you maybe using this for visiblity of the query created)?
    It looks like the query string you are trying to pass back exceeds the 32K limit for a varchar. Where this is happening is kind of difficult to tell as it could be any number of points, and also depends on what you are passing into the process via page items.
    I would first try to establish what combination of page items causes this error to occur. then, starting from the bottom and working your way backwards, I would start 'switching off' some of the items you use to build your query until it breaks again, thus establishing which part is leading to the error.
    Also, I'm not sure what :P10_STMT is doing (are you maybe using this for visiblity of the query created)?

  • UNX issue : Failed to initialize Query Panel (service issue?)

    Hello all,
    For a couple off days now we are trying to use universe(s) in Desing studio with no luck.
    We use the Efashion single source relational universe on which we can run Webi's without a problem . When we add a datasource in DS we see and can select the unx but when we push the "edit query specification" button DS freezes and return the error : Failed to initialize Query Panel
    We just upgrade tot DS1.2 SP01 both on server side as on client side.
    This is the error from the error log : which seems to have a connection problem to a certain service:
    Any of you have an idea how to proceed?
    All servers run fine when we check the CMC and an APS is added for Design studio (analysis) .DS works fine with BEX queries...
    Thanks in advance.
    !ENTRY com.sap.ip.bi.zen.ui 4 0 2014-03-14 12:43:33.876
    !MESSAGE Failed to initialize Query Panel
    !STACK 0
    com.businessobjects.dsl.services.workspace.impl.WorkspaceException: Unable to find servers in CMS vyouboxd01.you.com:6400 and cluster @vyouboxd01.you.com:6400 with kind connectionserver and service CS_CORBA_NetworkLayer. All such servers could be down or disabled by the administrator. (FWM 01014)
           at com.businessobjects.dsl.services.dataprovider.impl.AbstractDataProviderWithUniverse.createDataSource(AbstractDataProviderWithUniverse.java:437)
           at com.businessobjects.dsl.services.dataprovider.impl.QuerySpecDataProvider.createInitialDataSource(QuerySpecDataProvider.java:609)
           at com.businessobjects.dsl.services.dataprovider.impl.QuerySpecDataProvider.finalizeCreation(QuerySpecDataProvider.java:852)
           at com.businessobjects.dsl.services.workspace.impl.AbstractBuiltInDataProviderBuilder.buildDataProvider(AbstractBuiltInDataProviderBuilder.java:36)
           at com.businessobjects.dsl.services.dataprovider.impl.DataProviderFactory.createDataProviderWithUniverse(DataProviderFactory.java:190)
           at com.businessobjects.dsl.services.dataprovider.impl.DataProviderFactory.createAndAddDataProvider(DataProviderFactory.java:108)
           at com.businessobjects.dsl.services.workspace.impl.WorkspaceServiceImpl.addDataProvider(WorkspaceServiceImpl.java:83)
           at com.businessobjects.dsl.services.workspace.impl.WorkspaceServiceImpl.addDataProvider(WorkspaceServiceImpl.java:45)
           at com.sap.ip.bi.zen.backends.bip.ui.dialogs.QueryPanelDialog.createQueryPanelContext(QueryPanelDialog.java:133)
           at com.sap.ip.bi.zen.backends.bip.ui.dialogs.QueryPanelDialog.createDialogArea(QueryPanelDialog.java:97)
           at org.eclipse.jface.dialogs.Dialog.createContents(Dialog.java:775)
           at com.sap.ip.bi.zen.ui.internal.dialogs.ZenTrayDialog.createContents(ZenTrayDialog.java:63)
           at org.eclipse.jface.window.Window.create(Window.java:432)
           at org.eclipse.jface.dialogs.Dialog.create(Dialog.java:1104)
           at com.sap.ip.bi.zen.ui.internal.dialogs.ZenTrayDialog.open(ZenTrayDialog.java:110)
           at com.sap.ip.bi.zen.ui.internal.dialogs.datasource.DataSourceDialogController.editDataSourceClickedInternal(DataSourceDialogController.java:158)
           at com.sap.ip.bi.zen.ui.internal.dialogs.datasource.DataSourceDialogController$1.run(DataSourceDialogController.java:147)
           at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
           at com.sap.ip.bi.zen.ui.internal.dialogs.datasource.DataSourceDialogController.editDataSourceClicked(DataSourceDialogController.java:144)
           at com.sap.ip.bi.zen.ui.internal.dialogs.datasource.DataSourceSelectionPane.editQueryButtonClicked(DataSourceSelectionPane.java:253)
           at com.sap.ip.bi.zen.ui.internal.dialogs.datasource.DataSourceSelectionPane$6.widgetSelected(DataSourceSelectionPane.java:233)
           at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:248)
           at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
           at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1057)
           at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4170)
           at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3759)
           at org.eclipse.jface.window.Window.runEventLoop(Window.java:826)
           at org.eclipse.jface.window.Window.open(Window.java:802)
           at com.sap.ip.bi.zen.ui.internal.dialogs.ZenTrayDialog.open(ZenTrayDialog.java:112)
           at com.sap.ip.bi.zen.ui.internal.commands.AddDataSourceHandler.execute(AddDataSourceHandler.java:24)
           at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:290)
           at org.eclipse.ui.internal.handlers.E4HandlerProxy.execute(E4HandlerProxy.java:90)
           at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
           at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
           at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
           at java.lang.reflect.Method.invoke(Unknown Source)
           at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:56)
           at org.eclipse.e4.core.internal.di.InjectorImpl.invokeUsingClass(InjectorImpl.java:243)
           at org.eclipse.e4.core.internal.di.InjectorImpl.invoke(InjectorImpl.java:224)
           at org.eclipse.e4.core.contexts.ContextInjectionFactory.invoke(ContextInjectionFactory.java:132)
           at org.eclipse.e4.core.commands.internal.HandlerServiceHandler.execute(HandlerServiceHandler.java:167)
           at org.eclipse.core.commands.Command.executeWithChecks(Command.java:499)
           at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:508)
           at org.eclipse.e4.core.commands.internal.HandlerServiceImpl.executeHandler(HandlerServiceImpl.java:213)
           at org.eclipse.e4.ui.workbench.renderers.swt.HandledContributionItem.executeItem(HandledContributionItem.java:850)
           at org.eclipse.e4.ui.workbench.renderers.swt.HandledContributionItem.handleWidgetSelection(HandledContributionItem.java:743)
           at org.eclipse.e4.ui.workbench.renderers.swt.HandledContributionItem.access$7(HandledContributionItem.java:727)
           at org.eclipse.e4.ui.workbench.renderers.swt.HandledContributionItem$4.handleEvent(HandledContributionItem.java:662)
           at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
           at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1057)
           at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4170)
           at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3759)
           at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1113)
           at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
           at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:997)
           at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:138)
           at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:610)
           at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
           at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:567)
           at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
           at com.sap.ip.bi.zen.ui.internal.application.ZenApplication.start(ZenApplication.java:36)
           at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
           at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
           at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
           at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:354)
           at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:181)
           at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
           at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
           at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
           at java.lang.reflect.Method.invoke(Unknown Source)
           at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:636)
           at org.eclipse.equinox.launcher.Main.basicRun(Main.java:591)
           at org.eclipse.equinox.launcher.Main.run(Main.java:1450)
    Caused by: com.businessobjects.mds.services.solver.ConnectionSolverException: Unable to find servers in CMS vyouboxd01.you.com:6400 and cluster @vyouboxd01.you.com:6400 with kind connectionserver and service CS_CORBA_NetworkLayer. All such servers could be down or disabled by the administrator. (FWM 01014)
           at com.businessobjects.mds.services.solver.AbstractConnectionSolver.addCredentialInfo(AbstractConnectionSolver.java:238)
           at com.businessobjects.mds.services.solver.AbstractConnectionSolver.solve(AbstractConnectionSolver.java:136)
           at com.businessobjects.mds.services.solver.AbstractConnectionSolver.solveRelational(AbstractConnectionSolver.java:151)
           at com.businessobjects.mds.services.solver.AbstractConnectionSolver.solveRelational(AbstractConnectionSolver.java:147)
           at com.businessobjects.mds.services.solver.AbstractConnectionSolver.solveRelational(AbstractConnectionSolver.java:143)
           at com.businessobjects.mds.services.helpers.DataFoundationHelper.getConnection(DataFoundationHelper.java:892)
           at com.businessobjects.mds.services.helpers.DataFoundationHelper.isErpDataFoundation(DataFoundationHelper.java:2896)
           at com.businessobjects.mds.services.helpers.UniverseHelper.isErpUniverse(UniverseHelper.java:1554)
           at com.businessobjects.dsl.services.datasource.DataSourceFactory.createQueryCapability(DataSourceFactory.java:286)
           at com.businessobjects.dsl.services.datasource.DataSourceFactory.fillQueryCapability(DataSourceFactory.java:959)
           at com.businessobjects.dsl.services.datasource.DataSourceFactory.getDataSource(DataSourceFactory.java:839)
           at com.businessobjects.dsl.services.dataprovider.impl.AbstractDataProviderWithUniverse.createDataSourceFromUniverse(AbstractDataProviderWithUniverse.java:572)
           at com.businessobjects.dsl.services.dataprovider.impl.AbstractDataProviderWithUniverse.retrieveDataSource(AbstractDataProviderWithUniverse.java:542)
           at com.businessobjects.dsl.services.dataprovider.impl.AbstractDataProviderWithUniverse.buildDataSource(AbstractDataProviderWithUniverse.java:448)
           at com.businessobjects.dsl.services.dataprovider.impl.AbstractDataProviderWithUniverse.createDataSource(AbstractDataProviderWithUniverse.java:432)
           ... 72 more
    Caused by: com.sap.connectivity.cs.core.CSError: Unable to find servers in CMS vyouboxd01.you.com:6400 and cluster @vyouboxd01.you.com:6400 with kind connectionserver and service CS_CORBA_NetworkLayer. All such servers could be down or disabled by the administrator. (FWM 01014)
           at com.sap.connectivity.cs.remoting.corba.proxy.ConnectionManager.<init>(ConnectionManager.java:81)
           at com.sap.connectivity.cs.remoting.corba.proxy.ConnectionServer.getConnectionManager(ConnectionServer.java:125)
           at com.sap.connectivity.cs.core.Environment.CreateConnectionManager(Environment.java:530)
           at com.sap.connectivity.cs.core.Environment.CreateConnectionManager(Environment.java:504)
           at com.sap.connectivity.cs.api.trace.EnvironmentLogger.CreateConnectionManager(EnvironmentLogger.java:368)
           at com.businessobjects.mds.services.relational.CsService.getAuthenticationMode(CsService.java:180)
           at com.businessobjects.mds.services.relational.CsService.addCredentialInfo(CsService.java:485)
           at com.businessobjects.mds.services.solver.AbstractConnectionSolver.addCredentialInfo(AbstractConnectionSolver.java:235)
           ... 86 more
    Caused by: com.crystaldecisions.sdk.exception.SDKException$OCAFramework: Unable to find servers in CMS vyouboxd01.you.com:6400 and cluster @vyouboxd01.you.com:6400 with kind connectionserver and service CS_CORBA_NetworkLayer. All such servers could be down or disabled by the administrator. (FWM 01014)
    cause:com.crystaldecisions.enterprise.ocaframework.OCAFrameworkException$AllServicesDown: Unable to find servers in CMS vyouboxd01.you.com:6400 and cluster @vyouboxd01.you.com:6400 with kind connectionserver and service CS_CORBA_NetworkLayer. All such servers could be down or disabled by the administrator. (FWM 01014)
    detail:Unable to find servers in CMS vyouboxd01.you.com:6400 and cluster @vyouboxd01.you.com:6400 with kind connectionserver and service CS_CORBA_NetworkLayer. All such servers could be down or disabled by the administrator. (FWM 01014)
           at com.crystaldecisions.sdk.exception.SDKException.map(SDKException.java:140)
           at com.sap.connectivity.cs.remoting.bip.SvcFactoryBase.getManagedService(SvcFactoryBase.java:183)
           at com.sap.connectivity.cs.remoting.bip.SvcFactoryBase.getManagedService(SvcFactoryBase.java:128)
           at com.sap.connectivity.cs.remoting.corba.svchelpers.NetworkLayerSvcFactory.getServiceFromCriteria(NetworkLayerSvcFactory.java:53)
           at com.sap.connectivity.cs.remoting.corba.svchelpers.NetworkLayerLookup.getServiceFromCriteria(NetworkLayerLookup.java:114)
           at com.sap.connectivity.cs.remoting.corba.svchelpers.NetworkLayerLookup.getService(NetworkLayerLookup.java:83)
           at com.sap.connectivity.cs.remoting.corba.proxy.ConnectionManager.<init>(ConnectionManager.java:68)
           ... 93 more
    Caused by: com.crystaldecisions.enterprise.ocaframework.OCAFrameworkException$AllServicesDown: Unable to find servers in CMS vyouboxd01.you.com:6400 and cluster @vyouboxd01.you.com:6400 with kind connectionserver and service CS_CORBA_NetworkLayer. All such servers could be down or disabled by the administrator. (FWM 01014)
           at com.crystaldecisions.enterprise.ocaframework.ServerController.redirectServer(ServerController.java:664)
           at com.crystaldecisions.enterprise.ocaframework.ServiceMgr.redirectServer(ServiceMgr.java:959)
           at com.crystaldecisions.enterprise.ocaframework.ManagedSession.redirectServer(ManagedSession.java:338)
           at com.crystaldecisions.enterprise.ocaframework.ManagedSession.get(ManagedSession.java:247)
           at com.crystaldecisions.enterprise.ocaframework.ManagedSessions.get(ManagedSessions.java:299)
           at com.crystaldecisions.enterprise.ocaframework.ServiceMgr.getManagedService_aroundBody4(ServiceMgr.java:520)
           at com.crystaldecisions.enterprise.ocaframework.ServiceMgr.getManagedService_aroundBody5$advice(ServiceMgr.java:512)
           at com.crystaldecisions.enterprise.ocaframework.ServiceMgr.getManagedService(ServiceMgr.java:1)
           at com.sap.connectivity.cs.remoting.bip.SvcFactoryBase.getManagedService(SvcFactoryBase.java:164)
             ... 98 more

    Hi Bram,
    I had a look in your Java-Exception and there a connectionserver is missing.
    I know that there are two kind of connection servers 32 and 64 Bit. Do one of your APS Servers have connectivity and connectivity 32 Bit ???
    I had an issue when i first wanted to use a .unx connection with DS with my splitted APS.
    I had one APS only containing the Analysis service. To get to run my .unx access i had to add the Adaptive connectivity Service to the APS containing the analysis service.
    On top of that i had to add the DSL Bridge (otherwise my adaptive connectivity Service did not start)
    Perhabs this helps you out.
    Good luck
    Manfred

  • Is it possible to run an IdocScript Query with Service GET_SEARCH_RESULTS?

    Hi All,
    I need to run the below query with GET_SEARCH_RESULTS service.
    dDocType <matches> `ArchivePackage` <AND> xSubmissionDate < `10/08/13 11:03 AM`  <AND> xArchiveDocName <EQUALS> dDocName
    Part of this query works fine but when the part in BOLD is also used I get an error, reason being there is nothing like <EQUALS> when using QueryBuilder
    Instead is it possible to run the below idocscript with any service?
    <$ (dDocType like 'ArchivePackage') & xSubmissionDate < dateCurrent(-365) & (XArchiveDocname == dDocname) $>
    I tried it with GET_SEARCH_RESULTS, but got wrong results and no error.
    Is this even possible or should I just change my approach?
    Regards

    I tried to search more info on this one. It is true that in all cases the operator is followed by a constant - see e.g. https://blogs.oracle.com/interactions/entry/ucm_get_search_results_with_full_text_search
    Honestly, I see no reason why a reference to another metadata could not be made, but the parser might just fail on it. If you can, try to get an official answer from support via Metalink. Alternatively, you can decompile the code processing the service and check why parsing fails when non-constants are used.

  • Export to Excel via web query (page breaks on every column?)

    The problem that I'm having is when a query is sent out via the reporting agent or whenever I export a web query to excel there are page breaks put on every column of the query. This becomes quite cumbersome whenever an end user or myself wants to print out a query.
    I have already transported the packages included in the  "How to Enhance Web Printing" and tested much of the functionality in BWD with no success.
    Can anyone shed some light on how to adjust the page breaks or format when exporting a web query to excel or when sending a query out via the reporting agent?
    Thanks,
    Chad
    BW Version 3.5  Support Package 18

    The problem that I'm having is when a query is sent out via the reporting agent or whenever I export a web query to excel there are page breaks put on every column of the query. This becomes quite cumbersome whenever an end user or myself wants to print out a query.
    I have already transported the packages included in the  "How to Enhance Web Printing" and tested much of the functionality in BWD with no success.
    Can anyone shed some light on how to adjust the page breaks or format when exporting a web query to excel or when sending a query out via the reporting agent?
    Thanks,
    Chad
    BW Version 3.5  Support Package 18

  • Web Query -- Page cannot be displayed

    Hi,
    What parameter controls the time out of a web report.
    I have a query which takes around 16 mins to pull up results when I run it thru RSRT and BEx.
    When the query is run on the web exactly after 13 mins page cannot be displayed screen comes up..
    What parameter controls this time out on the web.
    I have kept icm/keep_alive_timout = 3600..I guess its some other parameter..
    Thanks in advance

    Hi,
    Another setting for HTTP connections is: icm/conn_timeout (value is in milliseconds).
    Some SAP Notes you can refer to on this issue are:
    622130
    192658
    Cheers,
    Rusty

  • Query for service call

    Hi,
    Below is the query written to display all the service call records with customized field.
    However I found out that not all the records will be displayed, the missing records will be the service call that without solution.
    Can anyone please help to refine the query? So that the query will display records even the one without any solution.
    Thanks
    SELECT T0.[callID], T0.[U_CASEID],T0.[createDate] as 'Case No Created Date', T0.[U_RMAID],T0.[U_RMADATE] as 'RMA No Created Date', T0.[U_RMAID2], T1.[name] as 'Status', T0.[custmrName],T0.[U_CustomerName], T0.[itemcode], T0.[internalSN], T0.[subject], T3.[Subject] as 'Solution', T0.[updateDate], T0.[closeDate], T0.[assignee] FROM  OSCL T0  INNER JOIN OSCS T1 ON T0.status = T1.statusID INNER JOIN SCL1 T2 ON T0.callID = T2.srvcCallID INNER JOIN OSLT T3 ON T2.solutionID = T3.SltCode  WHERE (T0.[customer] =[%0] OR '[%0]'='') AND (T0.[U_CASEID] >=[%1] OR '[%1]'='') AND  (T0.[U_CASEID] <=[%2] OR  '[%2]'='') AND (T0.[U_RMAID] >=[%3] OR  '[%3]'='') AND  (T0.[U_RMAID] <=[%4] OR  '[%4]'='') AND (T0.[U_RMAID2] >=[%5] OR  '[%5]'='') AND  (T0.[U_RMAID2] <=[%6] OR  '[%6]'='')

    Hi,
    Try this:
    SELECT T0.[callID], T0.[U_CASEID],T0.[createDate] as 'Case No Created Date', T0.[U_RMAID],T0.[U_RMADATE] as 'RMA No Created Date', T0.[U_RMAID2], T1.[name] as 'Status', T0.[custmrName],T0.[U_CustomerName], T0.[itemcode], T0.[internalSN], T0.[subject], T3.[Subject] as 'Solution', T0.[updateDate], T0.[closeDate], T0.[assignee]
    FROM  OSCL T0  left JOIN OSCS T1 ON T0.status = T1.statusID left JOIN SCL1 T2 ON T0.callID = T2.srvcCallID left JOIN OSLT T3 ON T2.solutionID = T3.SltCode 
    WHERE (T0.[customer] =[%0] OR '[%0]'='') AND (T0.[U_CASEID] >=[%1] OR '[%1]'='') AND  (T0.[U_CASEID] <=[%2] OR  '[%2]'='') AND (T0.[U_RMAID] >=[%3] OR  '[%3]'='') AND  (T0.[U_RMAID] <=[%4] OR  '[%4]'='') AND (T0.[U_RMAID2] >=[%5] OR  '[%5]'='') AND  (T0.[U_RMAID2] <=[%6] OR  '[%6]'='')
    Thanks & Regards,
    Nagarajan

Maybe you are looking for

  • Why can't i print my calendar i use in iCLOUD from a PC

    Why can't i print my calendar i use in iCLOUD from a PC

  • USERS tablespace keeps expanding even after deletions.

    I am using version 9.0.4.0.0 of CMSDK with a 10.1.0.3.0 database. Whenever I store files on the tablespace and remove them afterwards the tablespace does not seem to be cleaned. I have checked the logs for activiations of the agents (which I set at 1

  • Adding TextEdit.app as non-default in Open with menu

    When I open .ps files the default is "Preview.app", which I usually prefer. But often I want to open the file in TextEdit. How can I add TextEdit to the list of alternate apps (currently ColorSync, MPEGstreamclip, and TeXShop) without making it the d

  • Document on Taskflow ....

    Dear Friends, Does Anybody Have the Document for Taskflow Nodes & Taskflow Defination, If Yes pls send it cross to this id swpana1981@gmail(.)com. Pls help me on this ... with regards Swpana

  • K8N Neo4 SLI Platinum and Dual Core

    I just received my new MSI K8N Neo4 LSI Platinum motherboard and I am waiting on my new processor AMD Athalon64 dual core 4400+. My questions are: 1. If the bios on the motherboard is not the latest one will the motherboard boot with the dual core pr