Properties.setProperty(String, String) not found!

Version: IFS 1.0
Platform: Window NT 4.0
I wrote a javabean and put it in the custom_classes directory. When I ran it at the DOS's command prompt, everything worked fine, but when I ran it within the IFS's JWS, I got the error in the JWS console window as follows:
javawebserver: java.lang.NoSuchMethodError: java.util.Properties: method setProp
erty(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/Object; not found
Here is what is being called in the javabean:
public class WorkFlowProperties extends Properties
public WorkFlowProperties()
throws Exception
setProperty("vince", "law");
What happend? Which version of JDK IFS's JWS is using? Where is the jar file that contains the java.util.Properties.class?
Thanks!
Vince

Since until now no one answered this question, I had to work around it myself. I used the method put(Object, Object) instead of the error one setProperty(String, String). However, I still believe that someone from IFS should take a look at it.
Another problem, when I tried to create the object FileRead(String filename) in the javabean and if the filename is not found, it does not throw the correct exception "FileNotFoundException", instead it prints the error message in the JWS console as follows:
javawebserver: oracle.ifs.common.IfsException: IFS-0: Message unavailable
javawebserver: at java.lang.Throwable.<init>(Compiled Code)
javawebserver: at java.lang.Exception.<init>(Compiled Code)
Again, why????????
Thanks,
Vince

Similar Messages

  • Error:java.lang.Double:method parseDouble(Ljava/lang/String;)D not found.

    Hi ,
    oracle apps version : 11.5.10.2 and database version 11.2.0.2.
    OS version Solaris Sparc 64 Bit.
    We were performing a cloing activity on a new server and now while opening forms we are getting the following error :
    error:java.lang.Double:method parseDouble(Ljava/lang/String;)D not found.Please suggest what has to be done.
    Regards
    Kk

    Hi ,
    D:\Documents and Settings\800045916>java -version
    java version "1.6.0_29"
    Java(TM) SE Runtime Environment (build 1.6.0_29-b11)
    Java HotSpot(TM) Client VM (build 20.4-b02, mixed mode, sharing)We have been struggling with the Solaris server for this. Is something needed from there also or just need to have the latest JRE in the windows client machine.
    Regards
    Kk

  • Error(400,8): method include(java.lang.String, boolean) not found in class

    I have uploaded my Application which was running fine in other IDE to jdev 10.1.3, when i compile the follwing error error in jsp page.
    Error(400,8): method include(java.lang.String, boolean) not found in class javax.servlet.jsp.PageContext
    My jsp code where error is shown is
    <jsp:include page="querySections/generation.jsp" flush="true">
                                            <jsp:param name="TSN" value="<%=strParamValue[1]%>"/>
                                            <jsp:param name="SectionID" value="<%=String.valueOf(lngSectionID)%>"/>
                                       </jsp:include>
    pl help me in solving this its urgent...
    Thanks & Regards
    Lakshmi

    Hi,
    code snippet looks okay and is identical with what JDeveloper generates.
    Frank

  • XL Reporter error "STRING 8005 NOT FOUND"

    Dear all,
    We have installed XL Reporter 6.80.01.29 on a computer with office 2007 and everything worked well.
    However, we have installed it on an office 2000 computer and we get an error when we try to launch it:
    "STRING 8005 NOT FOUND"
    Variable Objet ou variable bloc non definie
    Please, let me know if someone of you knows the solution !
    best regards,
    julien

    Hello,
    The solution is simple. You must read the B1 platform strategy --> desktop system platform. Browse this link :
    https://websmp210.sap-ag.de/smb/sbo/platforms
    There, you will find out the software requirement to install XL. Sizing guide is hardware and software requirement that is updated regularly. it is more detail and complete. Do not be despair.
    Rgds,
    JM
    http://groups.yahoo.com/group/SBO_Knowledge_Village
    [email protected]

  • XL reporter: STRING 8005 Not Found

    Hi all,
    I recently upgraded fro 2007 to 8.8 (installation in Windows 7, Excel 2007). However when I try to open an XL reporter report I receive 'STRING 8005 Not Found'. As a result finally excel dosen't open.
    Any Idea?
    Vangelis

    Hello,
    The solution is simple. You must read the B1 platform strategy --> desktop system platform. Browse this link :
    https://websmp210.sap-ag.de/smb/sbo/platforms
    There, you will find out the software requirement to install XL. Sizing guide is hardware and software requirement that is updated regularly. it is more detail and complete. Do not be despair.
    Rgds,
    JM
    http://groups.yahoo.com/group/SBO_Knowledge_Village
    [email protected]

  • ICompanyService.GetGeneralService(System.String) Method Not found error

    Hi,
    When I am running my code in SAP 2007, I am getting following on calling of UDO.
    Method not found: 'SAPbobsCOM.GeneralService SAPbobsCOM.ICompanyService.GetGeneralService(System.String)'
    I could not understand why this error is occuring, although same code in running very well in SAP 8.8 and 8.81.
    Please suggest me a solutions.

    Hi
    sorry it is mistake from me. Check this SAP note regarding GeneralService it is available from SAP Business One 2007 A SP00 PL46 onwards . Please check you PL version
    How to use the GeneralService functionality to access UDOs via DI API.
    Solution
    The GeneralService allows access to User-Defined Objects (UDOs) via the DI API. Using the GeneralService, you can add, update and delete UDOs. This feature was added in SAP Business One 2007 A SP00 PL46.
    The following is an example of how to add data to a UDO. This example relates to a UDO with the following properties:
    Type = Document
    Unique ID = "Ex_1"
    Name = "EX_DOC"
    User-Defined Field = "Field1"
    Child Object Name = "EX_DOC_LINE"
    User-Defined Field (Child Object) = "Property1"
    Use this (VB.NET) code to add data to the UDO:
               Dim oGeneralService As SAPbobsCOM.GeneralService
               Dim oGeneralData As SAPbobsCOM.GeneralData
               Dim oGeneralDataChild As SAPbobsCOM.GeneralData
                 'Get the UDO by referencing the Unique ID (using the CompanyService Object)
               oGeneralService = oCompanyService. GetGeneralService("EX_1")
                         'Create data for new row in UDO - (Document Table)
               oGeneralData = oGeneralService.GetDataInterface(SAPbobsCOM. GeneralServiceDataInterfaces.gsGeneralData)
               oGeneralData.SetProperty("U_Field1", "A")
               'Create data for new row in the UDO Child - (Document Row Table)
          oGeneralDataChild = oGeneralData.Child("EX_DOC_LINE"). Add()
               oGeneralDataChild.SetProperty("U_Property1", "B")
               oGeneralService.Add(oGeneralData)
    See the following Blog for more information and another example:
               "UDO Access via DI API (in PL46)"
               http://www.sdn.sap. com/irj/scn/weblogs?blog=/pub/wlg/13008
    Regards
    Arun

  • Weird BC4J HTML error -- method not found

    Hey all,
    I'm getting a strange new error, and I don't think I even changed anything since the last build. We're using BC4J in a "proof of concept" capacity right now, and I have a fairly simple page that was working fine yesterday. It's a browse form, without any update/insert/delete stuff, just used for viewing a log from the database.
    Here's the error I'm getting:
    java.lang.NoSuchMethodError: oracle.jbo.html.RequestParameters: method addParameter(Ljava/lang/String;Ljava/lang/String;)V not found
         at oracle.jbo.html.jsp.datatags.ComponentTag.buildUrl(ComponentTag.java:55)
         at oracle.jbo.html.jsp.datatags.DataHandlerTag.getUrl(DataHandlerTag.java:44)
         at oracle.jbo.html.jsp.datatags.ComponentTag.doStartTag(ComponentTag.java:80)
         at inventoryupdatelog_jsp._jspService(_inventoryupdatelog__jsp.java:72)
         at com.caucho.jsp.JavaPage.service(JavaPage.java:74)
         at com.caucho.jsp.Page.subservice(Page.java:476)
         at com.caucho.server.http.FilterChainPage.doFilter(FilterChainPage.java:176)
         at com.caucho.http.security.SecurityFilter.doFilter(SecurityFilter.java:112)
         at com.caucho.server.http.FilterChainFilter.doFilter(FilterChainFilter.java:87)
         at com.caucho.server.http.Invocation.service(Invocation.java:277)
         at com.caucho.server.http.CacheInvocation.service(CacheInvocation.java:129)
         at com.caucho.server.http.RunnerRequest.handleRequest(RunnerRequest.java:337)
         at com.caucho.server.http.RunnerRequest.handleConnection(RunnerRequest.java:269)
         at com.caucho.server.TcpConnection.run(TcpConnection.java:140)
         at java.lang.Thread.run(Thread.java:498)
    And here's the code that causes it:
    <%@ page language="java" errorPage="errorpage.jsp" contentType="text/html;charset=windows-1252" %>
    <%@ taglib uri="/WEB-INF/DataTags.tld" prefix="jbo" %>
    <jbo:ApplicationModule id="am" definition="ComposerWeb.InventoryUpdateBizModule" releasemode="Stateful" />
    <jbo:DataSource id="ds" appid="am" viewobject="InventoryUpdateLogWebView" rangesize="20" itermode="LastPagePartial"/>
    <jbo:DataHandler appid="am" />
    Any ideas?
    Thanks,
    Jeff Davis

    Jeff,
    Somehow two versions of the BC4J HTml runtime library must be mixed.
    This error would come up if the application is compiled using a 902 version of bc4jhtml.jar but run with the 903 version.
    Check that all instances of bc4jhtml.jar match in your application and in <jdev_home>\BC4J\lib.
    Charles.

  • String not found in Table

    I get a String not found in table on one of the Tabs in the properties area of many of my steps in TestStand. I had this error once before and it was due to the switch exec not being installed. I have downloaded the NISwitch and installed it yet I still have the error. Any ideas?

    Hello Marc,
    The Sequence Editor looks for those strings in the following INI file:
    C:\TestStand\Components\NI\Language\English\TestStandStrings.ini
    This INI file should have all the keys corresponding to the Switching tab under the [SEQUENCE_PROP_DLG] section. I am attaching the INI file that you can use instead of yours. You do NOT need to have Switch Executive installed for this INI to have the Switching keys. They all should come by default. This INI file didn't contain these keys in TestStand 2.0 since the Switching part was added in TestStand 2.0.1. The only reason for you getting the "String not found in table" error (that I can think of) is if somehow you are using the INI file for TestStand 2.0 instead of the new for
    TestStand 2.0.1.
    I think that using the attached INI file will solve your problem.
    Regards,
    Carlos Leon
    Applications Engineer
    National Instruments
    Attachments:
    TestStandStrings.ini ‏413 KB

  • 5.0 won't work - extensions message is "localized string not found".  When I force it to try to load a new window it shows a gray screen with the bookmarks on top then immediately closes and wants to report the error. Has been this way since 5.0 came out.

    I first tried downloading Safari when the 5.0 update came out last year.  When I choose the app in the dock, I get the blue top bar (Safari, File, etc) but nothing else loads.  I uninstalled the app and tried again several times, but no success. For over a year now I've used Firefox as a result.  Today I thought I'd try again, but same results.  When I choose "new window" in the file menu, I get a small gray window with my bookmarks on top, then in a few seconds, the app quits unexpectedly and the report an error screen appears.  I've unchecked all the languages in the information area for the app, cleared all history, cookies, and cache.  Still the extensions tab in the preferences area has "LOCALIZED STRING NOT FOUND" in 4 places.  It won't show what that means when I click the "?".  Will I ever be able to use Safari again?

    Perform the suggestions mentioned in the following articles:
    * [[Firefox is already running but is not responding]]
    -> Profile in use
    * [http://kb.mozillazine.org/Profile_in_use]
    Check and tell if its working.

  • Error(23,19): method getName(java.lang.String) not found in class javax.swi

    Hi , when i try to run my program, i keep getting the error msg:
    Error(23,19): method getName(java.lang.String) not found in class javax.swing.JTextField
    I have checked the java API and it inherits from the awt.Component class and should be accessible via the jtextfield.
    I have tried the following:
    trying to initailise the JTextField at the start.
    Using getName works if i use it within the loop after setting the name.
    Does anybody know what i am doing wrong please?
    public class clsMember extends JPanel implements ActionListener {
        private JButton jbtnLog;
        private String surname;
        private JTextField txtItem;
        public clsMember() {
            super(new SpringLayout());
            makeInterface();
            surname = txtItem.getName("Surname").toString();
    private void makeInterface() {
         //code omitted
               for (int i = 0; i < numpairs; i++) {
                JLabel l = new JLabel(strLabels, JLabel.LEADING);
    this.add(l);
    //if the array item is salutation create a combobox
    if (strLabels[i] == "Salutation") {
    jcomSalutation = new JComboBox(strSalutation);
    jcomSalutation.setSelectedIndex(0);
    this.add(jcomSalutation);
    } else {
    txtItem = new JTextField(10);
    l.setLabelFor(txtItem);
    txtItem.setName(strLabels[i].replaceAll(" ", "")); //this is where the label is set and if i do a system.out it shows fine. getName works here too.
    this.add(txtItem);
    //code omitted

    If i have a loop that creates the jtextfields such as
                    txtItem = new JTextField(10);
                    l.setLabelFor(txtItem);
                    txtItem.setName(strLabels.replaceAll(" ", ""));
    this.add(txtItem);How is it then possible to assign to a string the value of a *specific jtextfield*. Lets say that one of these JTextfields has the name surname.
    How is it possible for me to writeString surname = surnamejtextfield.getText();                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Localized string not found & menu will not display in Vista

    I have had an issue since late version 3 on my Vista Home Premium PC, when I installed a new copy and started seeing no menu, and the bookmarks and right-clicks respond with "Localized string not found..."
    I have tried the cleanup in a previous message in this forum - to delete the safari folders c:\users\xxx\appdata\Local\ - once I reinstall the current version, I have the same issue. I see the previous query was closed, or I would have replied to that.
    I am testing software for a web-based application, and we support Safari, so this is pretty important that we solve this - though I would be happy as a clam to drop support for Safari on the PC - that likely isn't going to happen. I have had no such issues on my G4 running OSX 10.4.

    Thanks!
    Okay ... I suspect that one of the en.lproj folders (English language resource files) for your Safari or your Apple Application Support has been blown up. So we'll try swapping out both your Safari and your Apple Application Support, taking a few other explicit precautions along the way, just in case. Best to print out a copy of these instructions, because at one stage of proceedings you won't be able to use a web browser.
    First download and save a copy of the SafariSetup.exe (installer file) from the Apple Website. Don't run the install online and don't start the install from the SafariSetup.exe just yet.
    http://www.apple.com/safari/download/
    Quit iTunes and/or QuickTime if you have them installed and running. (They both use Apple Application Support and can interefere with the Apple Application Support uninstall if you have them running.
    Now head into your "Uninstall a program" control panel. Uninstall safari. Uninstall Apple Application Support.
    (If you get any error messages during the uninstalls, halt proceedings and post back to let us know what they say. Precise text, please.)
    Next, we'll clear away any leftover program folders and files.
    Go "Start > Computer".
    In "Computer", open "Local Disk C:" or whichever drive your program files are installed on.
    Open the "Program files" folder.
    Right-click on the "Safari" folder (if it still exists) and select "Delete".
    Open the "Common Files" folder.
    Open the "Apple" folder.
    Right-click on the "Apple Application Support" folder (if it still exists) and select "Delete".
    Empty your recycle bin and restart the PC. (If iTunes is installed on the PC, you'll probably receive a message at this stage saying that iTunes will not run because Apple Application Support is missing. Click through the message.)
    (If you get any error messages during the program files/folders deletions, halt proceedings and post back to let us know what they say. Precise text, please.)
    After the PC restarts, do not open any applications. Disconnect from your network and/or the internet. Now shut down all your security software (firewall, antivirus, antispyware).
    Now start the Safari reinstall by doubleclicking the SafariSetup.exe you downloaded earlier. (This should also reinstall Apple Application Support.)
    Reenable all security software prior to reconnecting to your network and/or the internet.
    Did the reinstall go through okay? If so, do you have your Safari right-click contextual menus back again?

  • ReferenceError: Error #1069: Property DSPriority not found on String and there is no default value.

    Hi All
                      This is the Error where i got from my sample chatting application...
    ReferenceError: Error #1069: Property DSPriority not found on String and there is no default value.
    at mx.messaging::Producer/handlePriority()[E:\dev\4.x\frameworks\projects\rpc\src\mx\messagi ng\Producer.as:190]
    at mx.messaging::Producer/internalSend()[E:\dev\4.x\frameworks\projects\rpc\src\mx\messaging \Producer.as:169]
    at mx.messaging::AbstractProducer/send()[E:\dev\4.x\frameworks\projects\rpc\src\mx\messaging \AbstractProducer.as:561]
    at SampleMessagin/sendMessage()[D:\FlexJavaPrograms\SampleMessagin\src\SampleMessagin.mxml:2 9]
    at SampleMessagin/___SampleMessagin_Button2_click()[D:\FlexJavaPrograms\SampleMessagin\src\S ampleMessagin.mxml:74]
                        this is the code
    <?xml version="1.0" encoding="utf-8"?>
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
          xmlns:s="library://ns.adobe.com/flex/spark"
          xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="955" minHeight="600"
          currentState="{st}"
          creationComplete="consumer.subscribe()">
    <fx:Script>
      <![CDATA[
       import mx.messaging.events.MessageEvent;
       import mx.messaging.messages.AsyncMessage;
       import mx.messaging.messages.IMessage;
       import mx.modules.IModule;
       import mx.states.State;
       [Bindable]
       public var st:String="";
       public function changeStateHandler(event:Event):void
        st = "Login"
       //send message throug this method
       protected function sendMessage():void
        var msg:IMessage = new AsyncMessage();
        msg.headers = uname.text;
        msg.body = sendText.text;
        producer.send(msg);
        sendText.text = " ";
      //message  Handler  
       protected function consumer_messageHandler(event:MessageEvent):void
        // TODO Auto-generated method stub
        var resp:IMessage = event as IMessage;
        dispText.text = resp.headers.toString()+" :: "+resp.body.toString()+"\n";
      ]]>
    </fx:Script>
    <fx:Declarations>
      <s:Producer id="producer"
         destination="chat"/>
      <s:Consumer id="consumer"
         destination="chat"
         message="consumer_messageHandler(event)"/>
      </fx:Declarations>
    <s:states>
      <s:State name="State1"/>
      <s:State name="Login"/>
    </s:states>
    <s:Panel x="246" y="137" width="366" height="200" title="Login Here" includeIn="State1">
      <mx:HBox horizontalCenter="2" verticalCenter="-30">
       <s:Label text="Enter UR Name"/>
       <s:TextInput id="uname"/>
       <s:Button id="login" label="Login" click="changeStateHandler(event)"/>
      </mx:HBox>
    </s:Panel>
    <s:Panel includeIn="Login" x="327" y="78" width="353" height="369"  title="Welcome:{uname.text}">
      <s:TextArea x="6" y="11" height="222" width="335" id="dispText"/>
      <s:TextArea x="10" y="241" height="85" width="258" id="sendText"/>
      <s:Button x="276" y="241" label="Send" height="76" click="sendMessage()"/>
    </s:Panel>
    </s:Application>
    and my messaging-config.xml is as follows
                 <?xml version="1.0" encoding="UTF-8"?>
    <service id="message-service"
        class="flex.messaging.services.MessageService">
        <adapters>
            <adapter-definition id="actionscript" class="flex.messaging.services.messaging.adapters.ActionScriptAdapter" default="true" />
            <!-- <adapter-definition id="jms" class="flex.messaging.services.messaging.adapters.JMSAdapter"/> -->
        </adapters>
        <default-channels>
            <channel ref="my-polling-amf"/>
        </default-channels>
        <destination id="chat"/>
    </service>
                      can any one help me what is the error present here.............
                         why it is showing error .. am i wrote anything wrong in this code .. please help me....

    I'm not the expert on this topic, but I think this line:
    msg.headers = uname.text;
    ...is throwing the error. Look into how to properly construct the headers for the message. They should be in name/value pairs.

  • Query string read as part of file name, throwing not found errors

    Hi all, I host a number of Web sites under a CF7 installation, Win2003.
    One site in particular is throwing not-found errors in response to certain search bot requests.
    In the IIS log, I noticed that for these requests, the query part of the URL is part of cs-uri-stem field value, but is not in the cs-uri-query field where it belongs:
    cs-uri-stem=                                               /index.cfm?template=24hour5.cfm
    cs-uri-query=<blank>
    instead of
    cs-uri-stem=                                               /index.cfm
    cs-uri-query=template=24hour5.cfm
    Evidently something somewhere is interpreting the entire URL as a filename, instead of a file name and a query string. When CF tries to locate the file it is throwing a not-found error.
    Maybe there is something weird about the question mark, but it looks normal to me.
    I can't seem to stop this error, since it is occuring at the OS, IIS, CF or jrun layer. Does anyone have any idea what is going on here, and what I can do about it?
    Thanks in advance.
    Joe

    Hey Reed, thanks for responding.
    I have a Cf utility that parses logs, so I modifed it to print out the ASCII codes for each character. They look normal, as far as I can tell. The question mark has a code of 63 which is correct, and no non-alphabetic characters precede or follow.
    One interesting thing is that the stem being called is an index.cfm file, and the query string argument happens to be a template name, and it ends in .cfm. That's why it is making it all the way to CF, which chokes on it, instead of IIS logging a 404 error.
    Often an identifiable bot is requesting these bad URLs, though I have spotted another request with agent 'Mozilla/4.0.' I suspect that is some kind of automated scan. (I also see other requests with the same agent name, though a different IP, that look like errononeously URL-encoded requests. These get filtered by URLScan.)
    I don't know for sure is whether the specific clients that make these bad calls always make them them wrong way. They appear to. Most clients that access the site do so normally.
    I wonder if there could be something in the request header, perhaps that instructs IIS to expect a different charset than what is actually used, or something like that.

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

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

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

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

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

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

Maybe you are looking for

  • Can I connect multiple Mac's using the Airport Express?

    As subject. I have got an Intel iMac and a MacBook. Can I connect them using the Airport Express? Or in another word, to create a network among them that I can see the other Mac on one Mac? Sorry, if I raised a silly question. But really like to know

  • Finally managed to install Windows 8.1 Enterprise on MBP2010.

    Hi. After several hours of tweaking, I finally managed to install Windows 8.1 - or ANY Windows, for that matter - on my old MacBook. Bootcamp has a few major flaws right now. I do no longer have an internal optical drive, so I had to use a usb flash

  • Upgrade Tool error

    I want to install lightweight IOS  into Aironet 1131AG by using Upgrade Tool. However, some error messages appear saying 1. ACL / Firewall might be blocking the TFTP. 2. Disable the ACL/Firewall setting for TFTP. I don't set up any ACL because I am t

  • Nano, Disk Write error. Please help

    I tried updating and restoring my ipod nano with the iPOD Updater 2006-06-28, but it keeps saying Firmware update failure. Disk write error. I don't know what to do anymore, it seems like nothing is working. Thank you for any help.

  • How to Update the DataSet populating from Stored Procedure with SYS_REFCURS

    I created a dataset with the wizard of VS2010 and link each DataTableAdapter stored procedures to insert, update, delete and select (which returns a SYS_REFCURSOR). When you run the program recovery and visualize data in a form, but if I want to upda