Retrieving BPEL callback response using BPEL Locator or webservice proxy

Hi all,
I am in the middle of a project delivery and got stuck with a strange situation.I have a BPEL asynchronous process and I have a java class calling this process.I need to get the response from the BPEL process on callback in the java class.In the BPEL locator API I find there is mention of retrieving an instance on the basis of conversation ID,however the same is declared final in the API and can't be assigned any value.I tried generating proxy out of the BPEL wsdl,however when generating proxy in the JDeveloper wizard two seperate operations got exposed(the actual service & the callback service).Hence this option has to be ruled out since maintaining correlation would really be a big problem.Please can anybody help me on what should be the procedure to recieve response from callbacks in BPEL?Please note I am using 10.1.3.1 version of SOA suite.This is really urgent.Any help would be appreciated.
Thanks.

WSDL Of the BPEL
<?xml version="1.0" encoding="UTF-8" ?>
- <definitions name="TestAsynchLocator" targetNamespace="http://xmlns.oracle.com/TestAsynchLocator" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:tns="http://xmlns.oracle.com/TestAsynchLocator" xmlns:wsa="http://schemas.xmlsoap.org/ws/2003/03/addressing" xmlns:plnk="http://schemas.xmlsoap.org/ws/2003/05/partner-link/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:client="http://xmlns.oracle.com/TestAsynchLocator">
- <types>
- <schema xmlns="http://www.w3.org/2001/XMLSchema">
<import namespace="http://xmlns.oracle.com/TestAsynchLocator" schemaLocation="TestAsynchLocator.xsd" />
</schema>
- <schema xmlns="http://www.w3.org/2001/XMLSchema">
<import namespace="http://schemas.xmlsoap.org/ws/2003/03/addressing" schemaLocation="http://CALTP8BB25:8888/orabpel/xmllib/ws-addressing.xsd" />
</schema>
</types>
- <message name="TestAsynchLocatorResponseMessage">
<part name="payload" element="tns:TestAsynchLocatorProcessResponse" />
</message>
- <message name="TestAsynchLocatorRequestMessage">
<part name="payload" element="tns:TestAsynchLocatorProcessRequest" />
</message>
- <message name="WSARelatesToHeader">
<part name="RelatesTo" element="wsa:RelatesTo" />
</message>
- <message name="WSAReplyToHeader">
<part name="ReplyTo" element="wsa:ReplyTo" />
</message>
- <message name="WSAMessageIDHeader">
<part name="MessageID" element="wsa:MessageID" />
</message>
- <portType name="TestAsynchLocatorCallback">
- <operation name="onResult">
<input message="tns:TestAsynchLocatorResponseMessage" />
</operation>
</portType>
- <portType name="TestAsynchLocator">
- <operation name="initiate">
<input message="tns:TestAsynchLocatorRequestMessage" />
</operation>
</portType>
- <binding name="TestAsynchLocatorCallbackBinding" type="tns:TestAsynchLocatorCallback">
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" />
- <operation name="onResult">
<soap:operation style="document" soapAction="onResult" />
- <input>
<soap:header message="tns:WSARelatesToHeader" part="RelatesTo" use="literal" encodingStyle="" />
<soap:body use="literal" />
</input>
</operation>
</binding>
- <binding name="TestAsynchLocatorBinding" type="tns:TestAsynchLocator">
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" />
- <operation name="initiate">
<soap:operation style="document" soapAction="initiate" />
- <input>
<soap:header message="tns:WSAReplyToHeader" part="ReplyTo" use="literal" encodingStyle="" />
<soap:header message="tns:WSAMessageIDHeader" part="MessageID" use="literal" encodingStyle="" />
<soap:body use="literal" />
</input>
</operation>
</binding>
- <service name="TestAsynchLocator">
- <port name="TestAsynchLocatorPort" binding="tns:TestAsynchLocatorBinding">
<soap:address location="http://CALTP8BB25:8888/orabpel/default/TestAsynchLocator/1.0" />
</port>
</service>
- <service name="TestAsynchLocatorCallbackService">
- <port name="TestAsynchLocatorCallbackPort" binding="tns:TestAsynchLocatorCallbackBinding">
<soap:address location="http://set.by.caller" />
</port>
</service>
- <plnk:partnerLinkType name="TestAsynchLocator">
- <plnk:role name="TestAsynchLocatorProvider">
<plnk:portType name="tns:TestAsynchLocator" />
</plnk:role>
- <plnk:role name="TestAsynchLocatorRequester">
<plnk:portType name="tns:TestAsynchLocatorCallback" />
</plnk:role>
</plnk:partnerLinkType>
</definitions>
WSDL of the Webservice
<?xml version="1.0" encoding="UTF-8" ?>
- <definitions xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:tns0="http://callbackresponsewebservice/types/" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:tns="http://callbackresponsewebservice/" name="MyWebService1" targetNamespace="http://callbackresponsewebservice/">
- <types>
- <schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:soap11-enc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns="http://callbackresponsewebservice/types/" targetNamespace="http://callbackresponsewebservice/types/" elementFormDefault="qualified">
- <element name="holdResponseElement">
- <complexType>
- <sequence>
<element name="String_1" type="string" nillable="true" />
</sequence>
</complexType>
</element>
</schema>
</types>
- <message name="MyWebService1_holdResponse">
<part name="parameters" element="tns0:holdResponseElement" />
</message>
- <portType name="MyWebService1">
- <operation name="holdResponse">
<input message="tns:MyWebService1_holdResponse" />
</operation>
</portType>
- <binding name="MyWebService1SoapHttp" type="tns:MyWebService1">
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" />
- <operation name="holdResponse">
<soap:operation soapAction="http://callbackresponsewebservice//holdResponse" />
- <input>
<soap:body use="literal" />
</input>
</operation>
</binding>
- <service name="MyWebService1">
- <port name="MyWebService1SoapHttpPort" binding="tns:MyWebService1SoapHttp">
<soap:address location="http://caltp8bb25:8888/TestApplication1-CallBackResponseWebService-context-root/MyWebService1SoapHttpPort" />
</port>
</service>
</definitions>
Audit Console Data
<process>
<sequence>
receiveInput
[2008/06/04 15:27:37] Received "inputVariable" call from partner "client"less
View xml document
<TestAsynchLocatorProcessRequest xmlns="http://xmlns.oracle.com/TestAsynchLocator">
<input>Soumyajit</input>
</TestAsynchLocatorProcessRequest
Assign_1
[2008/06/04 15:27:37] Updated variable "outputVariable"less
-<outputVariable>
-<part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="payload">
-<TestAsynchLocatorProcessResponse xmlns="http://xmlns.oracle.com/TestAsynchLocator">
<result>HelloSoumyajit
</result>
</TestAsynchLocatorProcessResponse>
</part>
</outputVariable>
callbackClient (faulted)
[2008/06/04 15:27:37] Faulted while invoking operation "onResult" on provider "client".less
-<messages>
-<input>
-<outputVariable>
-<part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="payload">
-<TestAsynchLocatorProcessResponse xmlns="http://xmlns.oracle.com/TestAsynchLocator">
<result>HelloSoumyajit
</result>
</TestAsynchLocatorProcessResponse>
</part>
</outputVariable>
</input>
-<fault>
-<remoteFault xmlns="http://schemas.oracle.com/bpel/extension">
-<part name="summary">
<summary>
exception on JaxRpc invoke: HTTP transport error: javax.xml.soap.SOAPException: java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Message transmission failure, response code: 500
</summary>
</part>
</remoteFault>
</fault>
</messages>
[2008/06/04 15:27:37] "{http://schemas.oracle.com/bpel/extension}remoteFault" has been thrown.less
-<remoteFault xmlns="http://schemas.oracle.com/bpel/extension">
-<part name="summary">
<summary>
exception on JaxRpc invoke: HTTP transport error: javax.xml.soap.SOAPException: java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Message transmission failure, response code: 500
</summary>
</part>
</remoteFault>
</sequence>
[2008/06/04 15:27:37] "BPELFault" has not been caught by a catch block.
[2008/06/04 15:27:37] BPEL process instance "390006" cancelled
</process>

Similar Messages

  • Using service Locator pattern to dynamically access remote EJBs

    Hi All,
    Please help to guide me how I can use a service locator to retrieve a remote object (residing on another application but on same domain) .
    I do not want to use Dependency Injection since I want to dynamically discover them ( there are many implementations of same interface (POJO)). Each EJB implementation implements its own remote/local interface that extends this global POJO interface.
    I have two J2ee-Applications on same domain. J2EE-Application 1 has an EJB module (EJB Module 1) that intends to access an EJB Module (EJB Module 2) in J2EE-Application 2. Following observations:
    1. Dependency Injection fails if (include the EJB Module 2 jar in J2EE-Application 1). Reason App Server complains the EJB has been deployed (Deployment fails)
    2. Dependency Injection works if (exclude the EJB Module 2 jar in J2EE-Application 1) and include the Remote Interface in EJB Module 1(J2EE-Application 1).Positive Observation (Deployment success and DI also success)
    3.Using Service Locator to retrieve the remote object if (exclude the EJB Module 2 jar in J2EE-Application 1) and include the Remote Interface in EJB Module 1(J2EE-Application 1). Negative and Positive Observation.
    Positive Observation: Using dependency injection I can still retrieve the Remote Object
    Another Positive: The Service Locator remote lookup to another Bean in same Application but different EJB Module is successful.
    Negative Observation:
    The Service Locator lookup to this same remote object with Successful Dependency Injection fails (An Ejb in a different application).
    Can't retrieve the Remote Object with Service Locator. Message from Server:.
    NoInitialContextException: Need to specify class name in environment or system property, or as an applet parameter, or in an application resource file: java.naming.factory.initial.
    Thanks in advance

    "I do not want to use Dependency Injection since I want to dynamically discover them ( there are many implementations of same interface (POJO))"
    If you're calling ejbs from other ejbs or servlets, the same could probably be acomplished by using dependency injection (@EJB) in a number of instance variables typed with different remote/local interfaces or even with different beanName attributes (for when more than one bean implements the same managed interface in the same app - not sure how it works outside the same jee app...) , and dinamically selecting one of them; or encapsulating those injected variables into a stateless ejb as your service locator to make them accessible from POJOs too (which, due to concurrent acess, wouldn't work for statefull ejbs references...).
    Anyway, using the jndi lookup service locator pattern seems ok in this case.
    What doesn't seem ok, given the nature of the error for the negative observation - jndi context initialization - is that
    Another Positive: The Service Locator remote lookup to another Bean in same Application but different EJB Module is successful.
    Can you check your code and reconfirm that you're using the same context initialization code for both the positive and negative observations ?

  • Request and response using Ajax...

    Hi' does anyone know how to get 2 or more response if using ajax? (let's say that it's more than 1 response).
    cos XMLHttpRequest only can retrieve for one response at time. does anyone know how to solve this?
    Thanks a lot....

    what i mean like this, i have a multiply function in my jsp, code like this :
    <%
        String a = request.getParameter("a");
        String b = request.getParameter("b");
        total = ( (Integer.parseInt(a))*(Integer.parseInt(b)) );
        out.println(total);
        out.println("hello");
    %>it prints total and hello.
    How to handle it in my javascript? ajax just handle the response with xmlHttp.responseText. So all the output are handle in only in xmlHttp.responseText). how to make my ajax can receive 2 output from server seperately?
    Thanks...
    Btw this is my ajax source :
    <%@page contentType="text/html"%>
    <%@page pageEncoding="UTF-8"%>
    <html>
         <head>
              <title>Ajax Multiply Example</title>
              <script language="Javascript">
                 xmlHttp = null;
                   function postRequest(strURL){
                        if(window.XMLHttpRequest){ // For Mozilla, Safari, ...
                             xmlHttp = new XMLHttpRequest();
                        else if(window.ActiveXObject){ // For Internet Explorer
                             xmlHttp = new ActiveXObject("Microsoft.XMLHTTP");
                        xmlHttp.open('POST', strURL, true);
                        xmlHttp.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
                        xmlHttp.onreadystatechange = function(){
                             if (xmlHttp.readyState == 4){
                                 //alert(xmlHttp.responseText);
                                 updatepage(xmlHttp.responseText);                           
                        xmlHttp.send(strURL);
                   function updatepage(str){
    //i don't know how to modify in this.can anyone help?
                        document.getElementById('result').value = str;
                        document.getElementById('helloField').value = str;                        
                   function callMultiply(){
                        var a = parseInt(document.f1.a.value);
                        var b = parseInt(document.f1.b.value);
                        var url = "multiply.jsp?a=" + a + "&b=" + b + "";
                        postRequest(url);
              </script>
         </head>
         <body>
              <h1 align="center"><font color="#000080">Ajax Example</font></h1>
              <form name="f1">
                   <input name="a" id="a" value="">
                   <input name="b" id="b" value="">
                   <input name="result" type="text" id="result">
                   <input name="helloField" type="text" id="helloField">
                   <input type="button" value="Multiply" onClick="callMultiply()" name="showmultiply">
              </form>
         </body>
    </html>

  • How to receive 100 Continue responses using HttpURLConnection

    Hi there,
    My server returns:
    HTTP/1.1 100 Continue
    Set-Cookie: Cookie1=Value1
    Server: Microsoft-IIS/5.0
    Date: Mon, 29 Sep 2000 18:34:02 GMT
    HTTP/1.0 200 OK
    Server: Server 2
    Set-Cookie: Cookie2=Value2
    Content-Type: text/html
    I'm using HttpURLConnection to get the response.
    I need to get both responses, however HttpURLConnection only returns the 200 OK response.
    How do I get the 100 Continue response using this class? I need it to retrieve the cookie.
    Thanks.

    You can't. If you check the j2se source code you will notice that sun.net.www.http.HttpClient just drops the '100 Continue' and waits for the actual response that follows.

  • Trying to retrieve list of rooms using EWS Managed API but it returned empty collection

    Hi,
    I'm trying to retrieve list of rooms using EWS Managed API. Before I have tried the following code I make sure our Administrator put all the rooms in a list following  link https://technet.microsoft.com/en-us/library/ee633471%28v=exchg.141%29.aspx.
    Here is the simple code I have used :
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using System.Threading.Tasks;
    using Microsoft.Exchange.WebServices.Data;
    using System.Net;
    using System.Security;
    namespace ExchangeConsole1
    class Program
    static void Main(string[] args)
    ExchangeService service = new ExchangeService(ExchangeVersion.Exchange2013_SP1);
    service.Credentials = new NetworkCredential("username", "Password1", "domain");
    service.Url = new Uri("https://email.xxxx.com/ews/exchange.asmx");
    EmailMessage email = new EmailMessage(service);
    EmailAddressCollection listOfRoomList = service.GetRoomLists();
    // Display the individual rooms.
    foreach (EmailAddress address in listOfRoomList)
    Console.WriteLine("Email Address: {0}", address.Address);
    service.GetRoomLists() results "Enumeration yielded no results". Could anybody help me please ?
    Thanks
    Sandipan

    Enable tracing and see what the response from the server looks like. Also depending on your setup and how long ago your administrator created the list, it may take some
    time to replicate.
    Administrator has done it one week ago. Here is the trace response I am getting
    <Trace Tag="EwsResponse" Tid="9" Time="2015-04-10 15:36:37Z" Version="15.00.0847.030">
    <?xml version="1.0" encoding="utf-8"?>
    <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
    <s:Header>
    <h:ServerVersionInfo MajorVersion="15" MinorVersion="0" MajorBuildNumber="995" MinorBuildNumber="31" Version="V2_15" xmlns:h="http://schemas.microsoft.com/exchange/services/2006/types" xmlns="http://schemas.microsoft.com/exchange/services/2006/types" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" />
    </s:Header>
    <s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <m:GetRoomListsResponse ResponseClass="Success" xmlns:m="http://schemas.microsoft.com/exchange/services/2006/messages" xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types">
    <m:ResponseCode>NoError</m:ResponseCode>
    <m:RoomLists />
    </m:GetRoomListsResponse>
    </s:Body>
    </s:Envelope>
    </Trace>
    It's say no error.  Any help ?
    Thanks
    Sandipan

  • I am trying to use the locate my macbook that was stolen. How do I know if it is set up on the service. It shows on the list but just says it is offline and doesn't say when or where it last was. I am trying to either locate it or erase it. HELP

    I am trying to use the locate my macbook that was stolen. How do I know if it is set up on the service. It shows on the list but just says it is offline and doesn't say when or where it last was. I am trying to either locate it or erase it. HELP

    Since you can see it in your device list it must have Find My Mac activated, but you're going to have to wait for them to take it online in order to either locate, lock or wipe it. Until it goes online you can't do anything. http://www.apple.com/support/icloud/find-my-device/
    iCloud: Locate your device

  • How to set cookie value in one page and retrieve in another page using setA

    How to set cookie value in one page and retrieve in another page using setActionListener?
    I have tried with following code srcpage.jspx->destpage.jspx
    srcpage.jspx
    <af:table value="#{bindings.DepartmentsView1.collectionModel}"
    var="emp" rows="#{bindings.EMPView1.rangeSize}"
    first="#{bindings.EMPView1.rangeStart}"
    emptyText="#{bindings.DepartmentsView1.viewable ? 'No rows yet.' : 'Access Denied.'}">
    <af:column sortProperty="EmployeeName" sortable="false"
    headerText="Cookie Testing">
    <af:commandLink text="#{emp.EmployeeName}" action="success">
    <af:setActionListener from="#{emp.EmployeeName}"
    to="#{cookie}"/>
    </af:commandLink>
    </af:column>
    </af:table>
    espage.jspx
    <af:outputText value="Test Cookie Value: #{cookie}"/>
    ,Here Test Cookie Value prints the following instead of its original String value
    {JSESSIONID=javax.servlet.http.Cookie@7da288, oracle.uix=javax.servlet.http.Cookie@399f62}
    I have passed employee name "Robert" to cookie in srcpage.jspx,but it prints "JSESSIONID....." instead of "Robert" in destpage.jspx
    Thanks in advance
    Kalee

    Hi,
    "cookie" is a reserved name. If you want to write to a session scope attribute called "cookie" then you have to call #{sessionScope.cookie}. If you want to use EL to set and read from cookies then you will have to use
    #{cookie.cookieName}
    Note that #{cookie} writes to and returns a map
    check this: http://www.informit.com/articles/article.aspx?p=30946&seqNum=7
    Frank

  • After the most recent update, I can no longer access stand alone GPS services. What's up with that? I am now forced to use google location services which use up some of my data allotment.

    After the most recent update, I can no longer access stand alone GPS services. What's up with that? I am now forced to use google location services which use up some of my data allotment.

        ddmathias, I want to make sure all services are working correctly on your phone. What GPS services were you using before the update happened? What kind of issues are you having with the services? Do you get any kind of errors? Please keep us posted.
    KevinR_VZW
    Follow us on Twitter @VZWSupport

  • Trying to use Oracle Locator for latitude and longitude proximity searches

    I am prototyping using Oracle Locator to do proximity searches and other spatial operations within the database in our software products. I’ve got it working fine in SQL Server, where geodetic is built in as well as geometric features, but with Oracle we’re trying to restrict ourselves to the Locator features so our customers are forced to buy the add-on. I am getting perplexing results, as you can see if you run the little test program I wrote.
    I am using lat and long as the point coordinates. I am inserting the data using
    SDO_GEOMETRY(2001, 4326, SDO_POINT_TYPE(?, ?, null), null, null
    Then I am doing the search with
    SELECT pointname, SDO_NN_DISTANCE (1) distance_in_miles
    FROM geotest g
    WHERE SDO_NN(g.geopoint, sdo_geometry(2001, 4326, SDO_POINT_TYPE(38.683, 123.083, NULL), NULL, NULL), 'distance=1000 unit=mile', 1) = 'TRUE'
    ORDER BY distance_in_miles
    I am getting distances from 56 to 86 units, whatever the units are.
    Am I attempting the impossible with Locator, to use lat and long and then expect the sdo_nn function to work in miles?
    Select results:
    POINTNAME DISTANCE_IN_MILES
    Point number 19 56.8497254738894
    Point number 17 57.0758802885512
    Point number 5 62.096857977487
    Point number 3 67.3555572959989
    Point number 16 70.8005407529483
    Point number 1 73.0370426667902
    Point number 9 73.1047740624495
    Point number 14 73.1451566004902
    Point number 11 74.9344307572887
    Point number 10 75.3710529989389
    Point number 2 75.423714095366
    Point number 8 77.2121183101138
    Point number 4 77.6458963754559
    Point number 18 80.4569749046142
    Point number 6 81.0025026191188
    Point number 20 81.8444977200089
    Point number 13 83.4095236051998
    Point number 15 86.9333533902019
    Point number 7 88.9312783958262
    Point number 12 98.72957787982
    Point number 0 98.9999489634554
    21 rows selected

    Couple of things that we found out using sdo_nn here...
    It works...but the knobs need to be turned in the right order...
    You may have done this already...but here is what we have...
    a. we create our table containing the location sdo_geometry column ..( in our case the column is called location )
    b.We loaded the data..If you elected to use a partitioned table for your spatial data and created the corresponding spatial index as local...your sql will need to account for that.if your index is global ..don't worry about it
    c. We inserted the metadata...this needs to be done once per table...by either the dba or the schema owner...
    INSERT INTO USER_SDO_GEOM_METADATA (TABLE_NAME, COLUMN_NAME, DIMINFO, SRID)
    VALUES ('<YOUR TABLE NAME>', '<SPATIAL COLUMN NAME>',
    MDSYS.SDO_DIM_ARRAY
    (MDSYS.SDO_DIM_ELEMENT('LONGITUDE', -180.0, 180.0, 0.5),
    MDSYS.SDO_DIM_ELEMENT('LATITUDE', -90.0, 90.0, 0.5)
    8307);
    COMMIT;
    If this is not done before the spatial index is created...stuff won't work...
    d. create your spatial index
    e. our query looked something like this...( I changed the table names )
    This returns the top 30 results sorted by distance in feet...
    SELECT LOCATION_KEY,
    result_center_distance
    FROM
    SELECT LOCATION_KEY,
    SDO_NN_DISTANCE(1) result_center_distance
    FROM LOCATION_OWNER.D_LOCATION dlocation
    WHERE SDO_NN(dlocation.LOCATION,
    MDSYS.SDO_GEOMETRY(2001,8307,MDSYS.SDO_POINT_TYPE(-97.07845,33.138006,null),null,null), 'SDO_NUM_RES=31 unit=FOOT distance=5800.0 SDO_MAX_MEMORY=50000000', 1) = 'TRUE'
    ORDER BY 2
    WHERE ROWNUM <= 31
    We had to use this structure because our index is local...and sdo_nn will return the sdo_num_res results for each partition...so you need to get the results first..then treat it as a top-n query...
    If you index is global...this should work
    SELECT LOCATION_KEY,
    SDO_NN_DISTANCE(1) result_center_distance
    FROM LOCATION_OWNER.D_LOCATION dlocation
    WHERE SDO_NN(dlocation.LOCATION,
    MDSYS.SDO_GEOMETRY(2001,8307,MDSYS.SDO_POINT_TYPE(-97.07845,33.138006,null),null,null), 'SDO_NUM_RES=31 unit=FOOT distance=5800.0 SDO_MAX_MEMORY=50000000', 1) = 'TRUE'
    ORDER BY 2
    If you want the distance in MILE...replace FOOT by MILE...
    good luck...
    Edited by: user5431290 on Oct 23, 2011 9:36 AM

  • How to retrieve  Del. No. using MBLNR

    Hi Guyz..
    One quick Qn !
    I have MBLNR in my I_MSEG, now I want to retrieve Del. doc. no. using MBLNR. Now I tried to select VBELV as Del doc. using VBELN as subsequent doc. from  VBFA table. I am using FOR ALL ENTRIES in ITAB,
    The prob is the select on VBFA takes 5 mins for 5 record in I_MSEG.
    So how can I make this select fast or , what alternative I can use.
    here the code is
        SELECT mblnr
               line_id
               matnr
               charg
          FROM mseg
          INTO TABLE i_mseg
         WHERE matnr IN s_matnr
           AND charg IN s_charg.
       IF NOT i_mseg[] IS INITIAL.
        SELECT vbelv
               vbeln
               vbtyp_v
               vbtyp_n
          INTO TABLE i_vbfa
          FROM vbfa
           FOR ALL ENTRIES IN i_mseg
         WHERE vbeln   = i_mseg-mblnr
           AND posnn   = i_mseg-line_id
           AND vbtyp_n = 'R'
           AND vbtyp_v = 'J'.
    please help !
    Thanks
    Jaif

    Hi
    If you use all key fields in selection then you can get faster than present perfamence.
    In MSEG, below two fields also key fields.
    MJAHR
    ZEILE
    In VBFA,  VBELV, POSNV, VBTYP_N are key fields.
    Reward if it dose.
    Thanks
    Siva Kumar

  • Photo elements wants to open last used dir location. When it doesn't exist or cannot access, it fails to open.  How do you set the default file location?

    Upset!!!
    Photo elements wants to open at the last used folder location. When it does not exist or unable to open that location. It FAILS to OPEN.
    Does not seem to be a way to set a default location or to change the location.
    VERY ANNOYING.
    How do you tell photo elements to always go to a set location rather than the last used location?
    Thank you

    Hi,
    I did a test as you suggested - open an image on a removable drive, close the editor and took the removable offline. When I next went to the editor, it opened OK.
    From the screen shot in message #5 above, I think that the fault is with SolidWorks. I am not familiar with that product but it seems to be a form of asset management and it can't open its database - is that on the removable?
    Normally, the editor does not open any files when it loads except for it program files and any addins. Could SolidWorks be an addin?
    See if this works to reset the preferences.
    Create a desktop shortcut for this file
    "C:\Program Files (x86)\Adobe\Photoshop Elements 10\PhotoshopElementsEditor.exe"
    Hold down the Ctrl, Shift & Alt keys when you double click on the shortcut. Keep the keys held down and eventually a message box will pop up asking if you want to reset the preferences - you do.
    Brian

  • How to retrieve the content type used in a document library (C# - Client Model).

    Hello,
    I need to know if it's possible to retrieve the content type used in a document library, so I can know the columns active and used in this document library. I am using the Client Model in C#.
    Thanks

    First, retrieve your document library as a List object. Then, use the
    List.ContentTypes property to iterate through all the content types assigned to the list.
    Blog:
    blog.beckybertram.com |
    RSS | @beckybertram |
    SharePoint 2010: Six-in-One

  • How to use OEM location in OWB?

    What is a purpose of oem location in owb 9.2 (9.0.4)?
    This location doesn't use in any module and integration with oem realize through oem_exec_template.sql script that manually register in oem.
    How to use this location?

    Dmitry,
    This location would be used in the process flow configuration of an individual activity. The location enables you to perform remote node execution. For example, if you wanted to execute SQL loader on a remote node (not the actual target machine) then this would happen via the OEM location. The use of the OEM location would require an Oracle Management Server (OMS) set up and OEM agents locally.
    Mark.

  • Using iPod location services to find my way round new places

    I  like to use location services with map apps (such as OffMaps and MapsWithMe) to help me find my way around new places.
    I understand that the information  ipod uses for location services,  the positions of various wifi transmitters,  is stored in an Apple database and that the location result is likely to be very approximate.  My problem is that I  cant figure out how and when the relevant data arrives in my ipod.  Typically it seems that when in a new town,  during my first wander round the place, the ipod does not know where it is -  locations will not be shown on these map apps.  On subsequent travels through the town iPod does seem to know where it is and displays its location on the maps quite nicely.  (But by then of course I  too know my way around and so don't need theiPod;s assistance so much to help figure out where I am.) 
    So my questions are
    1) At what point does the ipod get to store the crucial location information?  I'm wondering for instance whether the ipod remembers the SSIDs  as it encounters them, but only learns about their locations when it  is next connected to the  internet?
    2) I'd like to know how much of this information the iPod can remember and for how long is it remembered.  (If I go back to a place visited last year will any of the previously "learnt"  locations be remembered by the iPod. I may well have forgotten my way round the place by then and the iPod's help would be useful)
    3) Is it possible to "teach"  the ipod about  known wifi locations in a particular geographical area before visiting the area.  That would be a tremendous boon to me.

    Good questions. However, I have never seen or heard about any information from Apple about how the iPod (and wifi-only iPad) really determine location.  I am waiting for answers from other users.

  • Error "Extend the destination address using the location input help"

    Hi experts,
    I got warning while creating travel expense from existing travel request.
    the warning appear like this "Extend the destination address using the location input help"
    I don't want user to enter detail of address trip destination.
    how to avoid this?
    thanks
    Edited by: nzworld on Apr 29, 2011 5:42 AM

    Hi,
    If you are using ESS and you get the warning message when you enter details for a particular expense type. Please follow the config and hide the location details. Then you will not get this error message.
    SAP Customizing Implementation Guide > Financial Accounting (New) > Travel Management > Travel Expenses > Dialog and Travel Expenses Control > Dialog Control > Field Control for Additional Receipt Information.
    Enter your trip provision variant, select the expense type for which you dont want to enter the location details and then select details. Search for the variable location, select hide radio button and save.
    Please let me know if you have further clarifications.
    Regards,
    Raj

Maybe you are looking for