Get Direction Map using Mapviewer Javascript API

Hello Gurus,
I have coordinate information for a route which I got using routing engine. Now, my requirement is to get map (Similar to eLocation GetDirection map) which can show routing curve in map. Using Javascript API, how can I achieve this?
If I am not not wrong, I will have to create new FOI with MVSdoGeometry, but I am not sure about how to create MVSdoGeometry for the lat-lang I have which will display a curve?
Thanks in advance.
-Hardik

Currently you can not add zooming event listener. We'll support it in the next release.

Similar Messages

  • Is it possible to change out of the box Callout content for already existing library using some javascript API ?

    Is it possible to change out of the box Callout content (change DOM elements) for already existing library using some javascript API?
     API ?

    Hi,
    We can use CSS and jQuery to achieve it.
    Please add the following code into the Content Editor Web Part.
    <style type="text/css">
    .js-callout-content{
    display:none;
    .js-callout-mainElement span{
    display:none;
    .js-callout-mainElement{
    border-width:0px;
    </style>
    <script src="http://code.jquery.com/jquery-1.10.2.min.js" type="text/javascript"></script>
    <script type="text/javascript">
    $(function () {
    $("a[title='Open Menu']").click(function(){
    setTimeout(function(){
    $(".js-callout-body .js-callout-bodySection").eq(0).html("<span>Test</span>");
    $(".js-callout-mainElement span").show();
    $(".js-callout-content").show();
    $(".js-callout-mainElement").css("border-width","1px");
    },1000);
    </script>
    Result:
    Best Regards
    Dennis Guo
    TechNet Community Support

  • Getting exception when trying to get taskdetails url using BPM worklist api

    Getting exception when trying to get taskdetails url using BPM worklist api method :
    String url = WorklistUtil.getTaskDisplayURL(
    wfSvcClient,
    ctx,
    task,
    null,
    "worklist",
    parameters);
    Jul 21, 2011 11:24:40 AM oracle.bpel.services.common.ServicesLogger __log
    WARNING: <oracle.bpel.services.workflow.client.worklist.util.TaskFlowPropsUtil.getServerPropertiesFromMbean()> Exception while loading install config file in standalone Error : javax.management.InstanceNotFoundException: com.bea:Name=RuntimeService,Type=weblogic.management.mbeanservers.runtime.RuntimeServiceMBean: com.bea:Name=RuntimeService,Type=weblogic.management.mbeanservers.runtime.RuntimeServiceMBean
    oracle.fabric.common.FabricException: javax.management.InstanceNotFoundException: com.bea:Name=RuntimeService,Type=weblogic.management.mbeanservers.runtime.RuntimeServiceMBean: com.bea:Name=RuntimeService,Type=weblogic.management.mbeanservers.runtime.RuntimeServiceMBean
    at oracle.soa.common.util.PlatformUtils.getServerInfo(PlatformUtils.java:184)
    at oracle.bpel.services.workflow.client.worklist.util.TaskFlowPropsUtil.getServerPropertiesFromMbean(TaskFlowPropsUtil.java:319)
    at oracle.bpel.services.workflow.client.worklist.util.TaskFlowPropsUtil.getServerInfoForWeblogicServer(TaskFlowPropsUtil.java:491)
    at oracle.bpel.services.workflow.client.worklist.util.TaskFlowPropsUtil.getServerInfo(TaskFlowPropsUtil.java:363)
    at oracle.bpel.services.workflow.worklist.api.util.WorklistUtil.getDefaultURLPrefix(WorklistUtil.java:264)
    at oracle.bpel.services.workflow.worklist.api.util.WorklistUtil.getTaskDisplayURL(WorklistUtil.java:353)
    at oracle.bpel.services.workflow.worklist.api.util.WorklistUtil.getTaskDisplayURL(WorklistUtil.java:293)
    at com.test.WorflowServiceClient.main(WorflowServiceClient.java:198)
    Caused by: javax.management.InstanceNotFoundException: com.bea:Name=RuntimeService,Type=weblogic.management.mbeanservers.runtime.RuntimeServiceMBean
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getMBean(DefaultMBeanServerInterceptor.java:1094)
    at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getAttribute(DefaultMBeanServerInterceptor.java:662)
    at com.sun.jmx.mbeanserver.JmxMBeanServer.getAttribute(JmxMBeanServer.java:638)
    at oracle.as.jmx.framework.config.session.ConfigurationMBeanServerImpl.getAttribute(ConfigurationMBeanServerImpl.java:210)
    at oracle.soa.common.util.PlatformUtils.getServerInfo(PlatformUtils.java:78)
    ... 7 more
    Caught workflow exception: null
    Process exited with exit code 0.
    Can anyone please help me

    Actually i'm using Jdeveloper 11.1.1.4 and our requirement is to show list of BPM worklist tasks for the logged in user on the first page and onclick of each task task details page should be opened. I can use Webcenter PS3 worklist taskflow. But i'm not able to customize that taskflow. So, i'm going for Worklist client api.
    I'm able to retrive the taskId,task title and few other details like task payload. But i don't know why the below method is giving exception.
    String url =
    WorklistUtil.getTaskDisplayURL(wfSvcClient,
    ctx, task, null,
    "worklist", parameters);
    And i observed that you have also used the same code for getting Taskdetails url. And one more thing is i'm trying to access BPM worklist which is installed on remote machine.
    Can you tell me what could be the reason for the exception?

  • How do I use OracleMaps Javascript API from a different host than MapViewer

    Hello,
    I have successfully set up the Mapviewer quick start 10131, and am able to view the sample page showMap.html perfectly. I would like to run this same sample on a different server than where Mapviewer is installed. Let say mapviewer is installed on jstraub-winsvr:8888 and I want to run showMap.html from jstraub-linux1:7777. I tried changing the function showMap and the location to oraclemaps like the following:
    <script language="Javascript" src="http://jstraub-winsvr:8888/mapviewer/fsmc/jslib/oraclemaps.js"></script>
    function showMap()
    var baseURL = "http://jstraub-winsvr:8888/mapviewer";
    var mapCenterLon = -122.45;
    var mapCenterLat = 37.6706;
    var mapZoom = 4;
    var mpoint = MVSdoGeometry.createPoint(mapCenterLon,mapCenterLat,8307);
    var mapview = new MVMapView(document.getElementById("map"), baseURL);
    mapview.addBaseMapLayer(new MVBaseMap("mvdemo.demo_map"));
    mapview.setCenter(mpoint);
    mapview.setZoomLevel(mapZoom);
    mapview.display();                
    Now when I try running this page on jstraub-linux1:7777 I get a Javascript error, and in Firebug, I can see that there are request like the following:
    POST: http://jstraub-linux1:7777/mapviewer/ReturnLocaleOper
    GET: http://jstraub-linux1:7777/mapviewer/mcserver?xml_request=%3C?xml+version=%221.0%22+standalone=%22yes%22?%3E%3Cmap_cache_admin_request%3E%3Cget_client_config+map_cache_names=%22mvdemo.demo_map%22+format=%22JSON%22/%3E%3C/map_cache_admin_request%3E
    Obviously those requests are bogus since mapviewer is at jstraub-winsvr:8888 and not jstraub-linux1:7777, I just want to run the page from jstraub-linux1:7777. Anybody know how I do this?
    Regards,
    Jason

    I believe that I am having the same problem. While I don't yet have a resolution, I do have a bit more information that may be useful. I have examined the oraclemaps.js script file and found some relevant references to the Javascript document.location object. As I watch the script execute, it seems that the author has made the assumption that the page served to the user has been served from the same Oracle Application Server running MapViewer. I have listed the lines that contain references to document.location below. (The line numbers may be off by a line or two as I have made some minor changes to facilitate my investigation.)
    Line 742 : //_f16._f104="http://"\+document.location.host\+"/mapviewer/foi";
    Line 6280 : var x2=String(document.location);
    Line 10270 : var x40=String(document.location);
    By changing line 742 to...
    f16.f104="http://mymvserver:8888/mapviewer/foi";
    ...I believe I have the script looking in the right place. (Previously, it had been looking for /mapviewer/foi on the server that originally served the page.)
    The x2 variable (at line 6280) seems to provide the current document location as a means to determine the MapViewer URL. Once again, the author seems to presume that MapViewer is found on the same server that originally served the page.
    this._f53=x2.substring(0,x3\+x5\+2)+"/mapviewer";
    I changed this line to read:
    this._f53="http://mymvserver:8888/mapviewer";
    Having made these changes, I have moved past the "object not found"-types of errors I had been getting. I now get "Permission Denied" errors which, I am thinking, may be the result of cross-site scripting problems predicted by the previous poster.
    So, my question is this: Is it really expected that the page that integrates the map display must be served by the same Oracle Application Server instance on which MapViewer is running? This strikes me as an absurd limitation, so I assume it is not the case. Indeed, there is a post on this forum by another user who claims to have written an ASP.Net application that uses the Javascript interface to integrate MapViewer and the map display ( Link:securing mapviewer ). This is precisely what we are trying to do; but I have yet to determine how to go about doing it.
    Can this be done? Is there any documentation that describes how to accomplish this?

  • Getting NoSuchElementException while using CRMOD Administrative API

    I am working on Administrative Service API for copy configuration from one CRM on Demand instance to another (i.e. from staging to production).
    As I have downloaded one of the Role Management (RoleService.wsdl) and created client for the same, for connection (logon) I am using end point https://secure-vmsomxmla.crmondemand.com/Services/cte/RoleService of RoleService.wsdl
    But getting following Exception
    java.util.NoSuchElementException
    at java.util.StringTokenizer.nextToken(Unknown Source)
    at crmondemand.ws.odesabs.accessprofile.clientsample.ClientSample.getSessionId(ClientSample.java:170)
    at crmondemand.ws.odesabs.accessprofile.clientsample.ClientSample.main(ClientSample.java:56)
    But if I use end point “https://secure-msomxmla.crmondemand.com/Services/Integration”
    Then it gets connected with CRMOD, but again while using Administrative Service API method roleRead() such as
    RoleReadInput roleReadInput=new RoleReadInput();
    RoleQuery roleQuery=new RoleQuery();
    RoleTranslationQuery roleTranslationQuery1=new RoleTranslationQuery();
    roleTranslationQuery1.setRoleName(new Empty());
    List<RoleTranslationQuery> roleTranslation=newArrayList<RoleTranslationQuery> ();
    roleTranslation.add(roleTranslationQuery1);
    ListOfRoleTranslationQuery listOfRoleTranslationQuery=new ListOfRoleTranslationQuery();
    listOfRoleTranslationQuery.setRoleTranslation(roleTranslation);
    roleQuery.setListOfRoleTranslation(listOfRoleTranslationQuery);
    // roleQuery.setRoleName("");
    roleReadInput.setRole(roleQuery);
    RoleReadOutput roleReadOutput=port1.roleRead(roleReadInput);
    for roleRead() method getting following exception.
    javax.xml.ws.soap.SOAPFaultException: Missing <wsse:Security> in SOAP Header
    at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:146)
    at $Proxy28.roleRead(Unknown Source)
    at crmondemand.ws.odesabs.role.clientsample.ClientSample.main(ClientSample.java:59)
    Caused by: org.apache.cxf.binding.soap.SoapFault: Missing <wsse:Security> in SOAP Header
    Code:
    package crmondemand.ws.odesabs.role.clientsample;
    import java.net.HttpURLConnection;
    import java.net.URL;
    import java.util.ArrayList;
    import java.util.Collections;
    import java.util.HashMap;
    import java.util.List;
    import java.util.Map;
    import java.util.StringTokenizer;
    import javax.xml.namespace.QName;
    import javax.xml.soap.SOAPElement;
    import javax.xml.soap.SOAPEnvelope;
    import javax.xml.soap.SOAPHeader;
    import javax.xml.soap.SOAPMessage;
    import javax.xml.ws.BindingProvider;
    import javax.xml.ws.handler.MessageContext;
    import javax.xml.ws.handler.soap.SOAPMessageContext;
    import crmondemand.ws.odesabs.role.RoleReadInput;
    import crmondemand.ws.odesabs.role.RoleReadOutput;
    import crmondemand.ws.odesabs.role.RoleService;
    import crmondemand.ws.odesabs.role.RoleService_Service;
    import crmondemand.xml.role.query.Empty;
    import crmondemand.xml.role.query.ListOfRoleTranslationQuery;
    import crmondemand.xml.role.query.RoleQuery;
    import crmondemand.xml.role.query.RoleTranslationQuery;
    public class ClientSample {
         public static void main(String[] args) {
              System.out.println("***********************");
              System.out.println("Create Web Service Client...");
              RoleService_Service service1 = new RoleService_Service();
              RoleService port1 = service1.getRoleService();
              System.out.println("Create Web Service...");
              try {
                   String jsessionid_full = logon(
                             "https://secure-vmsomxmla.crmondemand.com/Services/Integration",
                             "INFORM77/[email protected]", "crmod123!");
                   String jsessionid = getSessionId(jsessionid_full);
                   Map<String, Object> req_ctx = ((BindingProvider) port1).getRequestContext();
                   Object obj = req_ctx.get(BindingProvider.ENDPOINT_ADDRESS_PROPERTY);
                   String strEndPoint = obj + ";jsessionid=" + jsessionid;
                   req_ctx.put(BindingProvider.ENDPOINT_ADDRESS_PROPERTY, strEndPoint);
                   Map<String, List<String>> headers = new HashMap<String, List<String>>();
                   headers.put(BindingProvider.USERNAME_PROPERTY, Collections.singletonList("INFORM77/[email protected]"));
                   headers.put(BindingProvider.PASSWORD_PROPERTY, Collections.singletonList("crmod123!"));
                   req_ctx.put(MessageContext.HTTP_REQUEST_HEADERS, headers);
                   System.out.println("Call Web Service Operation...");
                   RoleReadInput roleReadInput=new RoleReadInput();
                   RoleQuery roleQuery=new RoleQuery();
                   RoleTranslationQuery roleTranslationQuery1=new RoleTranslationQuery();
                   roleTranslationQuery1.setRoleName(new Empty());
                   List<RoleTranslationQuery> roleTranslation=new ArrayList<RoleTranslationQuery> ();
                   roleTranslation.add(roleTranslationQuery1);
                   ListOfRoleTranslationQuery listOfRoleTranslationQuery=new ListOfRoleTranslationQuery();
                   listOfRoleTranslationQuery.setRoleTranslation(roleTranslation);
                   roleQuery.setListOfRoleTranslation(listOfRoleTranslationQuery);
    //               roleQuery.setRoleName("");
                   roleReadInput.setRole(roleQuery);
                   RoleReadOutput roleReadOutput=port1.roleRead(roleReadInput);
                   System.out.println("roleReadOutput-"+roleReadOutput);
                   System.out.println("************End*************");
              /*     RoleReadAllOutput readOutput = new RoleReadAllOutput();
                   RoleReadAllInput readInput = new RoleReadAllInput();
                   List<RoleData> role = new ArrayList<RoleData>();
                   ListOfRoleData list = new ListOfRoleData();
                   RoleReadAllOutput out = port1.roleReadAll(readInput);*/
                   logoff("https://secure-vmsomxmla.crmondemand.com/Services/Integration",
                             jsessionid_full);
                   System.out.println("Logoff-----------------------");
                   System.out.println("Call Web Service Operation ENDSSSSSSSSSSS...");
              } catch (Exception e) {
                   e.printStackTrace();
         /*public boolean handleMessage(SOAPMessageContext context) {
              Boolean outboundProperty = (Boolean) context.get (MessageContext.MESSAGE_OUTBOUND_PROPERTY);
              SOAPMessage message =context.getMessage();
              if (outboundProperty.booleanValue()) {
              try {
                   SOAPEnvelope envelope = context.getMessage().getSOAPPart().getEnvelope();
                   SOAPHeader header = envelope.getHeader();
                   if (header == null ) {
                        header = envelope.addHeader();
                   SOAPElement security = header.addChildElement("Security", "wsse", WSSE_NAMESPACE);
                   SOAPElement usernameToken = security.addChildElement("UsernameToken", "wsse");
                   usernameToken.addAttribute(new QName("xmlns:wsu"), WSU_NAMESPACE);
                   SOAPElement username = usernameToken.addChildElement("Username", "wsse");
                   username.addTextNode(user);
                   SOAPElement password = usernameToken.addChildElement("Password", "wsse");
                   password.addTextNode(pass);
              catch (Exception e) {
                   e.printStackTrace();
              return true;
         private static String logon(String wsLocation, String userName,
                   String password) {
              String sessionString = "FAIL";
              try {
                   // create an HTTPS connection to the On Demand webservices
                   URL wsURL = new URL(wsLocation + "?command=login");
                   HttpURLConnection wsConnection = (HttpURLConnection) wsURL
                             .openConnection();
                   // we don't want any caching to occur
                   wsConnection.setUseCaches(false);
                   // we want to send data to the server
                   // wsConnection.setDoOutput(true);
                   // set some http headers to indicate the username and passwod we are
                   // using to logon
                   wsConnection.setRequestProperty("UserName", userName);
                   wsConnection.setRequestProperty("Password", password);
                   wsConnection.setRequestMethod("GET");
                   // see if we got a successful response
                   if (wsConnection.getResponseCode() == HttpURLConnection.HTTP_OK) {
                        // get the session id from the cookie setting
                        sessionString = getCookieFromHeaders(wsConnection);
              } catch (Exception e) {
                   e.printStackTrace();
                   System.out.println("Logon Exception generated :: " + e);
              System.out.println("Finish.......");
              return sessionString;
         private static void logoff(String wsLocation, String sessionCookie) {
              try {
                   // create an HTTPS connection to the On Demand webservices
                   URL wsURL = new URL(wsLocation + "?command=logoff");
                   HttpURLConnection wsConnection = (HttpURLConnection) wsURL
                             .openConnection();
                   // we don't want any caching to occur
                   wsConnection.setUseCaches(false);
                   // let it know which session we're logging off of
                   wsConnection.setRequestProperty("Cookie", sessionCookie);
                   wsConnection.setRequestMethod("GET");
                   // see if we got a successful response
                   if (wsConnection.getResponseCode() == HttpURLConnection.HTTP_OK) {
                        // if you care that a logoff was successful, do that code here
                        // showResponseHttpHeaders(wsConnection);
              } catch (Exception e) {
                   System.out.println("Logoff Exception generated :: " + e);
         private static String getCookieFromHeaders(HttpURLConnection wsConnection) {
              // debug code - display all the returned headers
              String headerName;
              String headerValue = "FAIL";
              for (int i = 0;; i++) {
                   headerName = wsConnection.getHeaderFieldKey(i);
                   if (headerName != null && headerName.equals("Set-Cookie")) {
                        // found the Set-Cookie header (code assumes only one cookie is
                        // being set)
                        headerValue = wsConnection.getHeaderField(i);
                        break;
              // return the header value (FAIL string for not found)
              return headerValue;
         private static String getSessionId(String cookie) {
              StringTokenizer st = new StringTokenizer(cookie, ";");
              String jsessionid = st.nextToken();
              st = new StringTokenizer(jsessionid, "=");
              st.nextToken();
              return st.nextToken();
    Please help me.
    Thanks,
    Jaysing
    Edited by: 883663 on Sep 7, 2011 10:07 PM

    Hi,
    Please check these links which discuss about the same error message:
    http://blogs.msdn.com/b/publicsector/archive/2005/10/19/482833.aspx
    http://blogs.msdn.com/b/distributedservices/archive/2009/11/10/wcf-calling-wcf-service-hosted-in-iis-on-the-same-machine-as-client-throws-an-authentication-error.aspx
    Regards,
    Azam Khan

  • Getting error when updating the JavaScript API for Office and manifest schema files in your Visual Studio project from version 1.0 to 1.1

    Hi,
    I`m getting error message like "None of the apps in your project can be activated in the target. The manifest file of one or more apps contain API sets or Office applications that are not supported by
    the target Office client. To debug those apps, update manifest files to exclude any unsupported API sets or Office applications, and then start the project again. Alternatively, you can debug your apps by using Office 365 as a target." when when
    updating the JavaScript API for Office and manifest schema files in your Visual Studio project from version 1.0 to 1.1 in manifest file though i have added host elements.
    any help in this regard is highly appreciated
    Thanks,
    Santosh Sutar  

    Hi Satosh Sutar,
    Based on the description, you got the error message when you update the apps from version 1.0 to 1.1.
    From the error message, it seems the menifest include some settings no allowed in the new version. Would you mind sharing more detail about how you update the project?
    And here is an article about updating apps for Office and menifest schema files in the project for your reference:
    How to: Update the JavaScript API for Office and manifest schema files in your Visual Studio project from version 1.0 to 1.1
    Regards & Fei
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Problem Extracting SRID using MapViewer JS API

    Dear All
    I am developing an application using MapViewer 11g.
    a) MapViewer JavaScript function mapview.getSrid() returns NULL for a map with SRIDS properly set in USER_SDO_GEOM_METADATA table and all the records of the table.
    However I am able to retrieve the SRIDs properly by using a callback function as explained below
    function loadMap()
    var baseURL = "http://<servername>:8888/mapviewer";
    var point = new MVSdoGeometry.createPoint(77.5,20.5,8307);
    mapView = new MVMapView(document.getElementById("map"),baseURL);
    mapView.addMapTileLayer(new MVMapTileLayer("mvdemo.india_map"));
    mapView.setCenter(point);
    mapView.setZoomLevel(3);
    mapView.display();
    *//This returns NULL*
    alert("SRID " + mapView.getSrid());
    However when I use
    mapView.getMapTileLayerDefinition(mapCallback,"mvdemo.india_map");
    //Load all relevant modules
    //Callback function
    function mapCallback(value)
         alert(value.coordSys.srid);    //This WORKS! returns the SRID 8307
    +//Verified with FireBug Debugger+
    b) I am in the process of using DOJO toolkitfor JS with MapViewer. I have just started this integration. But i havent come across any implementations in the past with DOJO.
    I like to know about any implementation experience in this regard. Will compile and revert later.
    Regards
    Govindarajan
    GIS Consultant

    a) The map tile layer definition may not have been loaded by the time you first call getSrid().
    Either define a callaback function in addMapTileLayer(mapTileLayer, callBack) or attach an event listener for MVEvent.INITIALIZE to mapview and call getSrid() in that.
    b) Others have used mapviewer with Ext.js. That has worked well. Not sure about Dojo. Would be great to hear about your experience.

  • External use of Javascript API

    Hello All,
    I was wondering two things.
    1 - What is the file that contains the javascript API functions.
    2 - Could one use this outside the realm of APEX. --> I have a desktop application which connects to APEX and does a whole bunch of things. I have have however run into a problem. CLOBS. In apex I can use $S , but outside of APEX, what would be the equivalent.
    I know this is a shot in the dark, but well knowing does nto hurt.
    Thanks
    Jan

    1) These files can be found in /i/javascript
    $s for instance is found in apex_4_1.js
    2) Depends on the function. You can use these js files to track down exactly how Apex actions these tasks (I do this sometimes to learn a little more javascript), but if it ultimately talks to the db, then obviously you can't use that out of context.

  • Get page size using vuebean etc api

    Hi
    We are trying to scale markup entities to a fixed size and we can use getPageExtents() but this does not appear to be in real world coordinates eg 11.7" by 8.3".
    Please advise how scaling works and where we can get the scale factors in the api. There seem to be lots of api calls that might do this!
    Thanks.

    Hi Paul,
    There are thee types of coordinates used by AutoVue:
    1) World coordinates: these are the coordinate space that the drawing or model is represented in the file format.
    2) Device coordinates: these are pixel coordinates relative to the client's rendering area.
    3) Physical coordinates: these are in mm or inches and are displayed in the AutoVue UI (status bar, measure tool and properties dialog).
    I have shown you how to convert between the first two in my previous reply.
    To convert between world and phyical coordinates, you could use the PAN_CtlFileInfo.Ins class (insertion information).
    Multiply by VueBean.getFileInfo().getInsertion().scale and possibly subtract the offset too (before or after the multiplication, I didn't verify).
    The result will be in physical coordinates that are in the units and can be looked up in the Constants class.
    For example, PDF world coordinates are usually in the thousands, but show as inches (8.5x11) in the UI.
    I hope this helps.
    Thanks
    George

  • Getting error while using as_access_pub.Create_SalesTeam API

    Hi,
    I am getting this error while executing this API in a procedure which is triggered from a business event.
    "User id 0 is invalid. The user cannot be identified in Resource Manager."
    The error does not occur when I execute the procedure stand-alone from a PL/SQL client. What could be the reason ? Any help would be appreciated.
    Thanks
    Ramya

    Hi,
    thanks for the response. I tried doing that FND_APPS.Initialize... explicitly by passing user_id,resp_id and resp_app_id, still its giving the same error.
    Also note that the API works fine from our development instance (without fnd_apps.initialize), whereas it does not work from our testing instance (with or without fnd_apps.initialize)
    Thanks
    Ramya

  • In get directions[maps] the rail option is gone

    on the default home page there is no longer the option to get directions by rail only car & foot. It disappeared when working on a planned trip to Norway.
    I thought it may be due to no train for a specific area but it has not reappeared.

    "Clear the Cache": Tools > Options > Advanced > Network > Offline Storage (Cache): "Clear Now"<br />
    "Remove the Cookies" from sites that cause problems: Tools > Options > Privacy > Cookies: "Show Cookies"<br />
    Start Firefox in [[Safe Mode]] to check if one of your add-ons is causing your problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
    See [[Troubleshooting extensions and themes]] and [[Troubleshooting plugins]]

  • How to get full url using UCM RIDC api

    Hi,
    I am using RIDC api to get the full url of the document (including protocol, host, port info). I tried using DOC_INFO
    and GET_SEARCH_RESULTS api. The GET_SEARCH_RESULTS api returns the path but no protocol, host, port info.
    DOC_INFO does not contain any uri. Is there a way to get full url? I only have access to the idc socket connection
    configuration to connect to the server.
    E.g. I know the idc connection url is idc://hostname:4444
    The user supplies document name as "myDoc.txt" and dId = 2000.
    I used GET_SEARCH_RESULTS for myDoc.txt and DOC_INFO for dId=2000.
    I need to return absolute url to the user that user can copy paste in the browser and download the doc.
    Thanks,
    --dhiraj                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    You can ge the docUrl using doc info services DOC_INFO or DOC_INFO_BY_NAME.
    dataBinder.putLocal("IdcService", "DOC_INFO");
    dataBinder.putLocal("dID", docId);
    ServiceResponse response = idcClient.sendRequest (idcContext, dataBinder);
    DataBinder respBinder = response.getResponseAsBinder();
    System.out.println("DocUrl"+ respBinder.getLocal("DocUrl"));

  • How can I get rfc822 format using Groupwise Object API(C++)?

    I am newbie to Groupwise Object API, I want to get email in it's rfc822 form. How can I achieve this?

    You need to have GW 8.0.0 DLL's.
    The gwoapi10.h is an older header file.
    You will need to use at least gwoapi_800.h.
    gwoapi12.h is the header file for 7.0.3.
    You can download newer header files at:
    ftp://ftp.novell.com/outgoing/gwoapi_h.zip
    Preston
    >>> On Monday, November 23, 2009 at 5:36 AM, ashutosh
    jogdande<[email protected]> wrote:
    > Preston Stephenson;1893650 Wrote:
    >> This has been discussed in previous postings. Search
    >> the postings for MIME. If you have specific questions
    >> after that, feel free to post those.
    >>
    >> >>> On Monday, November 23, 2009 at 12:36 AM, ashutosh
    >> jogdande<ashutosh_jogdande@no‑mx.forums.novell.c om> wrote:
    >>
    >> > I am newbie to Groupwise Object API, I want to get email in it's
    >> rfc822
    >> > form. How can I achieve this?
    >
    > Hi Preston,
    >
    > From the post 'GetMime method C++' only I could understand that
    > I'll have to use GetMime() method. (Please correct me I interpreted it
    > wrongly). But I couldn't find GetMime() interface (as I am using
    > gwoapi10.h), the ftp URL given in the post is unavailable, can you
    > please share it once?
    >
    > Thanks,
    > Ashutosh

  • Access attributes for a non spatial table from mapViewer JavaScript API

    I have a non spatial table that contains bridge attributes that are identified by a unique bridge number. There is a spatial table containing the bridge location and bridge no. I have tried to add both tables as a JDBC theme but there is no attribute data:
    var baseQuery="select b.obj, b.bridge_no, b.travel_direction_code, cway_code "+
    ", m.design_load_code DESIGN_LOAD "+
    " from bridge b LEFT OUTER JOIN BRIDGE_MISCELLANEOUS m on b.id= m.bridge_id where b.road_no ='" + roadNo+"'";
    var theme = '<themes><theme name="JDBC_THEME_BRIDGE" >' +
    '<jdbc_query ' +
    'datasource="wms" '+
    'jdbc_srid="28355" ' +
    'spatial_column="obj" '+
    'asis="true" ' +
    'render_style="M.BRIDGE_BW">' + baseQuery +
    '</jdbc_query></theme></themes>' ;
    bridgeTheme = new MVThemeBasedFOI('bridgeTheme1',theme);
    This displays the bridges ok but there is no attribute data it seems like the query only returns the spatial object. Is there another way to access the attributes?

    add the hidden_info tag to the theme def as in:
    var theme = "<theme name='JDBC_THEME' fetch_size='200'>" +
    "<jdbc_query spatial_column='geom' jdbc_srid='8307' " +
    "render_style='m.star' datasource='mvdemo'>select geom, id, name from test_points" +
    "<hidden_info>"+
    " <field column=\"NAME\" name=\"My name\"/>"+
    " <field column=\"ID\" />"+
    "</hidden_info>"+
    "</jdbc_query></theme>" ;

  • [E2010][EWS-XML][JAVA]How to get the properties of meeting rooms in Exchange 2010 using EWS Java API

    When you look at meeting room properties in Outlook 2010, you can see 'City', 'Country/Region' and 'Department' information.
    Is there any way to get this information using EWS Java API? 

    Hi Glen,
    I am able to understand what u have said, but do not know how to implement it with meeting rooms....
    If i am implementing
    "Get all appointments between startDate and endDate in the specified folder, including recurring meeting occurrences" in ews-java-api, as you have mentioned above, i am able to get only my appointments from the start date to end date , as i
    have given my email id and password, how to get my organization meeting room details, booked or not.
    static ExchangeService service = new ExchangeService(ExchangeVersion.Exchange2010_SP2);
    public static void main(String[] args) throws Exception {
    // TODO Auto-generated method stub
    ExchangeCredentials credentials = new WebCredentials("[email protected]", "zzzz");
    service.setCredentials(credentials);
    try {
    System.out.println("Check");
    service.autodiscoverUrl("[email protected]",new RedirectionUrlCallback());
    } catch (Exception e) {
    // TODO Auto-generated catch block
    e.printStackTrace();
    NameResolutionCollection nameResolutions = service.resolveName("SDB1",ResolveNameSearchLocation.DirectoryOnly, true);
    System.out.println("nameResolutions==="+nameResolutions.getCount());
    for(NameResolution nameResolution : nameResolutions)
    System.out.println("NAME==="+nameResolution.getContact().getDisplayName());
    The above code gives me the output like, the meeting room in my organization with word SDB1 are
    Output:
    nameResolutions===2
    NAME===SDB1- TELCON - 1
    NAME===SDB1-TELCON - 2
     for. eg. I need to know today at what are the appointments in the room SDB1-TELCON2 and who all have booked the room.
    I do not know how to implement for the meeting room can you please help me how to give it.
    Thanks in advance.

Maybe you are looking for