Reg:pojo datacontrol not functioning wehn exposed as proxy for webservice.

Hi ,
I have a class which sets the request and header part and for this data control is created and hence works fine when worked by dragging to page.
Sample :
Class1{
function setheader (){  ....  }
function setrequest() { .... }
function invokeservice(){
Class1 objClass = new Class();
objClass .setheader();
objClass .setrequest();
} ----------- this works fine.
But when I use setters in different class, that works through normal run(executingjava class). But not functioning when exposed as data control.
Class1{
function invokeservice(){
Class2 objClass = new Class();
objClass .setheader();
objClass .setrequest();
Class2{
function setheader (){  ....  }
function setrequest() { .... }
This doesnt function. I want to know the reason for not working, because by this only we can edit the validations of data control attributes , which is not possible in the earlier one.
Regards,
Dinesh Vishnu Kumar C.

I didn't clearly understand the question. If the question is , both Class1 and Class2 are exposed as data control and used in a page, and then you want to update Class2 properties from Class1 then the approach you took is wrong
You cannot instantiate data control instance of Class2 as you are trying, rather you may need to use binding API to set the value or to get hold of the instnace. See the code snippet given here http://biemond.blogspot.in/2009/03/some-handy-code-for-backing-beans-adf.html
If you have some method to initialize the properties and this method is added page def as method action ,then following will work
// get the binding container
BindingContainer bindings = BindingContext.getCurrent().getCurrentBindingsEntry();
// get an Action or MethodAction
OperationBinding method = bindings.getOperationBinding("someMethodAction");
Map paramsMap = method.getParamsMap();
paramsMap.put("param1","value1") ;
paramsMap.put("param2","value2") ;
method.execute();

Similar Messages

  • TS3048 I have just purchased a new apple cordless keyboard.  The numeric line of keys along the top are not functioning as they should.  For example I am unable to get a question mark or a forward slash.  I have tried holding down both shift and alt keys.

    I have just purchased a new apple cordless keyboard.  The numeric line of keys along the top are not functioning as they should.  For example I am unable to get a question mark or a forward slash.  I have tried holding down both shift and alt keys.

    Thanks for prompt response - I tried what you suggested but I'm afraid it has not helped.  It seems as though the line of number keys along the top aren't actually doing what is printed on them.  Some are OK, but the further towards the right hand side of the keyboard you go, the less predicatable it becomes.  So whilst the second key from the left gives me 1 and ! when holding the shift key, by the time I get to the 6 when I press and hold shift I get ^ rather than & symbol which is what is actually printed on the key.  The & symbol is actually on the next key along - and when I hit the key with 8 I get * rather than the ( which is printed on they key but actually located on the next key along.  Things get even more muddled by the time I am over on the right hand side as rather than a question mark (I have had to type the word as I cannot find the symbol anywhere!) I get this _ and the other symbol marked on the key is a comma, but I get - instead.  It is going to drive me mad if every time I want to type something it is a guessing game....!  What do you suggest - question mark

  • Save point with POJO DataControl not saving model state

    Hi Guys,
    JDEV 11.1.1.6 64bit
    I was able to get save points working with ADF BC (AppMod, View & Entity objects)
    but when I tried to do the exact same with Pojo DataControls, I won't save
    the current state of the model - meaning things are not "selected" to the
    proper record when the SP is restored. I don't get any errors, it just
    shows the wrong data.
    Example:
    The BTF is marked as must have transaction(tried either way), but this is Pojo, and doesn't support Trx.
    edit-emp-dept.jspx (with BTF Region)
    BTF START
        STEP 1: RichTable with bindings to Pojo DataControl (value="#{bindings.allDepts.collectionModel}")
                     (user selects the 3 record => sales department)
        STEP 2: Edit Sales Dept & on click to next step create SP
        STEP 3: View Emps (Rich Table of ALL emps in that DEPT)
        STEP 4: Edit Emp
        FINAL: COMMIT (save to pojo list) or CANCEL (don't save to pojo list)
    /BTF END
    At STEP 1 -> STEP 2, the SP is created, and when I close the browser at STEP2, 3  or 4, and
    restart, and choose SP to restore, it takes me to proper page (STEP 2)  but the wrong Department is
    selected to edit (it shows "Finance" instead of "Sales") & if I hit my ADF back button, it shows
    the table with "finance" selected.  In the ADF BC world it works perfectly.
    I know the docs say: the ADF Model is saved, so the question is why bindings.allDepts.collectionModel
    not "saved" here for Pojo DC and the ADF BC af:table value="#{bindings.DepartmentsView1.collectionModel}"
    it is "saved".
    Thanks for any insight or work-around.
    Sincerely,
    Joel
    edit-emp-dept.jspx:
    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
              xmlns:f="http://java.sun.com/jsf/core"
              xmlns:h="http://java.sun.com/jsf/html"
              xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
      <jsp:directive.page contentType="text/html;charset=UTF-8"/>
      <f:view>
        <af:document id="d1">
          <af:form id="f1">
            <af:region value="#{bindings.btfpojodc1.regionModel}" id="r1"/>
          </af:form>
        </af:document>
      </f:view>
    </jsp:root>

    Hi,
    the problem with POJO DC and other non-ADF BC models is that they don't passivate their state. In JDeveloper 12c we allow developers to extend their POJO classes with ADF lifecycle methods that allows them to save the model state themselves. Its a known issue that the transaction state cannot be saved for non-ADF BC models. I checked the bug database for bugs filed against this behavior but could not find one- I can imagine that with 12c we would have a chance to allow developers to handle passivation / activation for non-ADF BC model states. So if this is a feature you need then filing an enhancement request would make sense
    Frank

  • Webdynpro application not functioning from Apache Reverse Proxy

    Hi Experts,
    We are currently working on custom webdynpro application, which needs to be exposed to Internet. We are using Apache HTTP Server as a reverse proxy.
    We canable to access URL, but no images are getting displayed and also the application not functioning when we click any button/links.
    Below is the HTTPD file configuration.
    ProxyPass /esampleApp  http://hostname:port/webdynpro/dispatcher/local/esampUI/ESamplingApp
    ProxyPassReverse /esampleApp  http://hostname:port/webdynpro/dispatcher/local/esampUI/ESamplingApp
    When we look into  image URL, which is being called from Apache, we  found out "webdynpro" is missing in the URL.
    Actual URL in Portal Server: (working)
    http://portalhostname:port/webdynpro/resources/local/esampUI/Components/esampling.ui.ESamplingComp/logo.gif
    Apache URL:
    http://Apachehostname:port/resources/local/esampUI/Components/esampling.ui.ESamplingComp/logo.gif
    Please suggest.
    Thanks
    Aravind

    We also had the same issue, but the problem was that instead of http https was getting called.
    This has to do with 2 settings:
    1. Check the reverse proxy re-write URL's again. Note that there will be 2-3 entries one for webdynpro as well.
    2. Open your system definintion in system admin-sys configuration adn check the WAS settings. this should point to the FQDN of the proxy server and not to the R3 server.
    ankur

  • In my newly purchased MacBook Air, Dropbox does not function properly. It asks for Mac OS Password for my computer which I do not have.

    In my newly purchased MacBook Air, Dropbox does not function properly (it shows MS Word, Excell and Power Point docs but not pictures). It asks for Mac OS Password for my computer which I do not have. How should I get this password ?

    If the user account is associated with an Apple ID, and you know that account password, the Apple ID can be used to reset your user account password.
    Otherwise, boot into Recovery by holding down the key combination command-R at startup. Release the keys when you see a gray screen with a spinning dial.
    When the OS X Utilities screen appears, select Utilities ▹ Terminal from the menu bar.
    In the Terminal window, type this:
    resetpassword
    That's one word with no spaces. Then press return. A Reset Password window opens.
    Select your boot volume if not already selected.
    Select your username from the menu labeled Select the user account if not already selected.
    Follow the prompts to reset the password. It's safest to choose a password that includes only the characters a-z, A-Z, and 0-9.
    Select  ▹ Restart from the menu bar.
    You should now be able to log in with the new password, but you won't be able to unlock the Keychain. If you've forgotten the Keychain password (which is ordinarily the same as your login password), there's no way to recover it. You’ll need to reset your keychain in the preferences of the Keychain Access application.

  • How to create business functions and expose as webservice?

    Hi...
      How to use Java to create business functions and expose that as a webservice.

    Hi Leela,
    Can you please post the answer to the question posed?
    We are also looking for a similar implementation in our integration and would really appreciate any help.
    Regards

  • Error in Trace Level: could not create BPE proxy for message, no XML objec

    Hi
        We are doing a scenario of File to RFC using BPM and I am getting this errror in Tcode SXMB_MONI.
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    <!--  Call Adapter
      -->
    <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
      <SAP:Category>XIAdapter</SAP:Category>
      <SAP:Code area="<b>BPE_ADAPTER</b>">UNKNOWN_MESSAGE</SAP:Code>
      <SAP:P1 />
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack><b>No object type found for this message; check the activation of the corresponding process</b></SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    And getting this error in Trace level
    <b>could not create <b>BPE</b> proxy for message, no XML object definition found for message EB32BB50610A11DC9648001321CB837D</b>
    Why this error occurs?
    What could be in error?
    Thanks in advance
    Regards
    Sami Qureshi

    Hi Sami,
    Check if thse threads can help u,
    Error in BPE Adapter
    BPM - BPE_ADAPTER errors
    BPE Adapter Error
    Exeception during execution error
    ***********Reward points if helpfull************

  • I do not manage to find the function to change a letter into exposing. I have MUSE DC 2014.2 and the menu does not display this possibility. I tried to import it IN design but that does not function either?

    I do not manage to find the function to change a letter into exposing. I have MUSE DC 2014.2 and the menu does not display this possibility. I tried to import it IN design but that does not function either?

    I'm not clear on exactly what it is you're asking, but if you're referring to changing opacity, you can change the opacity setting for the States of a menu item via the States panel and Control Strip.

  • Photosmart c309a- 'The wireless radio is not functioning, contact HP support'

    My Photosmart c309a wont connect wirelessly. Upon running the wireless network test, the report states, and I quote "The wireless radio is not functioning. Contact HP support". The report then states the following:
    Wireless on                    PASS
    Wireless working         FAIL
    and everything following that stated as 'not run'.
    Ive searched for other threads on the subject, and the only sloutions I can find are unplug the printer and plug it back in to reset it (made no difference), and try the HP print and san doctor (link was dead, found it manually and didnt work as it cant connect to or even see the printer on the network).
    So the question is, is this a hardware fault, and if so what can be done about it?

    Hello,
    Yes, it is an hardware issue and indicates that the Wireless card is not functional.
    Please call HP Tech Support for further assistance.
    If you are in US , the toll free # is 1-800-474-6836 .
    If you are not in US , then log on to www.hp.com , at bottom-left corner there is a world map icon, click on it and then select the region you belong to, which would then provide support options for you for that region.
    Regards,
    Jabzi
    Give Kudos to say "thanks" by clicking on the white star under my name.
    Click "Accept as Solution" if it solved your problem, so others can find it.
    I work for HP
    Regards,
    Jabzi
    Give Kudos to say "thanks" by clicking on the "thumps Up icon" .
    Click "Accept as Solution" if it solved your problem, so others can find it.
    Although I am an HP employee, I am speaking for myself and not for HP.

  • Error message saying a device attached to the system is not functioning

    i m getting an error message saying a device attached to the system is not functioning whenever i m trying to connect my pc to my smartphone. i tried all your options like uninstalling failed updates from my update history, checking if their is any flag
    in device manager option but nothing helped me.. plz solve my problem..

    Hi,
    Could you please have a share with your phone's information?
    Based on what I know, different phones may have different softwares developed by the manufacturer to make the connection through Windows operating system, we may check with the phone's manufacturer side and see if there could be some helpful information
    offered.
    Besides, please take a check with
    Event Viewer and see if any special errors logged there.
    Best regards
    Michael Shao
    TechNet Community Support

  • Bridge not functioning in PhotoShop CS3 Extended

    I deactivated Photoshop CS3 on a computer I was no longer using and installed it (CS3) another computer.  I activiated CS3 on the new computer.  However, when trying to use Bridge, I get a message that says that Adobe no longer supports Bridge Home and Bridge does not function on the new computer. Is there anything I can do to get Bridge to function as part of CS3 Extended?

    Thanks, that worked. 
    In a message dated 12/28/2011 10:13:56 P.M. Eastern Standard Time, 
    [email protected] writes:
    Re:  Bridge not functioning in PhotoShop CS3 Extended
    created by Curt Y (http://forums.adobe.com/people/Curt+Y)  in Bridge 
    Windows - View the full  discussion
    (http://forums.adobe.com/message/4107610#4107610)

  • Satellite P300D-110 integrated webcam is not functioning properly.

    Hello everyone,
    as the title says, the integrated webcam of my Toshiba Satellite P300D-110 is not functioning properly. Allow me to explain. Using the Camera Assistance Software I can take photo's and record music. If I try to record a video the preview screen turns up black and the end result tuns out black aswell, completely black.
    Whenever I try to use my camera with applications such as MSN Live Messenger, Skype or at community websites using Firefox, Internet Explorer or Safari the application in question crashes.
    *How did this happen?*
    You tell me. This is how it went;
    * Day 1: I've started up my laptop and looked at my fresh and clean install of windows vista home premium. I tried out my webcam using the webcam assistance software and it worked like a charm.
    * Day 2: Once again I boot up my laptop and try to start my webcam only to find out that it no longer functions.
    To give a quick summary of the thread;
    * Using Camera Assistance Software provided by Toshiba I can take pictures.
    * Using Camera Assistance Software provided by Toshiba I can record sound.
    * Using Camera Assistance Software provided by Toshiba I can _*NOT*_ record or preview a video.
    * I can not start my camera using any other application such as but not limited to; MSN Live Messenger, Skype, Mozilla Firefox, Internet Explorer and Safar.
    * I have downloaded and isntalled the latest drivers from the Toshiba website.
    * My laptop is about a week old.
    I'm not sure what more I can do, all I want is for the webcam to work, if anyone can help me out please do so.
    And if possible WITHOUT having to reinstall Windows Vista Home Premium.
    I haven't even used it and wouldn't want to make that a solution for all the problems that might occur in the future.
    Sincerely,
    a sad customer.

    Using Camera Assistance Software provided by Toshiba I can NOT record or preview a video.
    Can you please describe the steps how you try to do this? I must ask you this because it runs well on my notebook. When the recording is finished player opens and you can see recorded movie. It is avi format and at the top of this player you can see the path where the movie is saved.
    Most strange thing for me is that you cannot use it with Skype. Ok for MSN is not the perfect but there is absolutely no problem with Skype. Check the settings and it must work somehow.

  • My audio and cam is not functioning anymore.my laptop model is Satellite A200-130.what shall i do?

    im having a problem with my laptop.the audio and cam is not functioning.i dont know why/
    please help me what to do.do you think program files about these were deleted?

    Probably best to post in the Toshiba Support Forums Europe.
    -Jerry

  • Keyboard+trackpad not functioning at all on HP 2000 Notebook PC! please help!

    Tonight I turned on my laptop (HP 2000 Notebook PC) to find that the Keyboard and track pad was not responding, the only thing that worked was the wireless mouse.
    I can not find the product number but the name is HP 2000 Notebook PC, the operating system is Windows 8, I can't login to see if there are any error messages, the last thing I remember doing was trying to apply a new cursor image and it told me to restart and when I did I couldnt log back in or type anything at all, I could only use the mouse.
    Also the things I have tried to do are: Restart Computer, Take out batter and restart. (I cant do much because I can't type in password)
    All help will be greatly appreciated!
    UPDATE: I logged in using the On-Screen Keyboard, it seems like a hardware malfunction and not a virus because i cant find anything in my downloaded stuff that wasnt there before. So it is just a hardware malfunction.
    UPDATE #2: it says that the driver (for keyboard and touchpad) may be corrupt or missing and it says Code 39 in parenthesis.

    Hello Oceanlife,
    You state that the keyboard and touchpad are not functioning, that is correct? I will try to assist you with this issue.
    As of today are you still having this problem?
    If you have, any more questions do not hesitate to ask. .
    Thanks
    Clicking the White Kudos star on the left is a way to say Thanks!
    Clicking the 'Accept as Solution' button is a way to let others know which steps helped solve the problem!

  • Fairly certain that FileStream.writeObject() and FileStream.readObject() do not function - at all -.

    I've struggled with this since Jan 9th, 2013 (if not longer) and the only conclusion I can come to is that this simply does not function.  No matter what I try and no matter what resource (and I'm finding precious few) I follow to try to implement this within Flash Builder 4.7, Flex SDK 4.6.0 (Build 23201), AIR SDK 3.5, I only succeed in creating a file (with the correct name) that is 123 bytes in size that reads back in as NULL;
    I've tried using ByteArray.writeObject()/readObject() as an intermediary with FileStream.writeBytes()/readBytes(), with no luck.
    I've tried instantiating an object, setting properties and then using that.  I've tried instantiating my correctly formed ValueObject (including the remoteClass alias metadata tag).
    I've tried using -verbatim- the example provided in the top most suggested 'Community Help' resource http://www.switchonthecode.com/tutorials/adobe-air-and-flex-saving-serialized-objects-to-f ile It is worth noting that this solitary example of the procedure/SDK-usage is dated to Flex SDK 3.0 and at least 04/04/2009 (first comment on the article).
    My frustrating hell (one version of many methods attempted) is detailed on StackOverflow (including -all- mxml, as, and trace output), but so far, no assistance has been forthcoming, alas.  This is a severely stripped down and simplified version of what had been a far more complex attempt:
    http://stackoverflow.com/questions/14366911/flex-air-actionscript-mobile-file-writeobject- readobject-always-generates-null-w
    An earlier post* detailing a far more complex attempt interation, with, alas, just as little help (guess this isn't a hot button topic) forthcoming:
    http://stackoverflow.com/questions/14259393/flex-actionscript3-filestream-writeobject-fail s-silently-in-ios-what-am-i-doin
    * I previously suspected that it was only failing from within iOS on an iPad, but the first example (the stripped down version) made it evident that it didn't work in the AIR mobile device simulator (iPad) in the Windows environment, and indeed, didn't work in a non-mobile project in the windows environment AIR launcher.
    I'm at a loss, upset, frustrated, in major trouble with my supervisor/deadlines, etc.
    I would very much appreciate any suggestions/help/confirmation/etc.
    Just to move ahead with development I've opted for a far less preferable solution of writing out both an XML file and a JPG file.  I very much do not like this and very much want to store encapsulated serialized objects locally in the same way I assume will work for storing remotely with AMFPHP (if the project ever gets to that point *sigh*).
    Again.  Would be so grateful for any help.

    I want to add to this post as I marked it as "The Answer" though it does not indeed contain the answer directly, for those who come looking for simliar solutions.
    harUI prompted me to realize that my metadata term needed to be capitalized (RemoteClass instead of remoteClass).  As the metadata tags may be user defined, the compiler throws no errors (or warnings *grumble*)
    package vo
        import flash.display.BitmapData;
       // [remoteClass(alias="PTotmImageVO")] incorrect
       [RemoteClass(alias="PTotmImageVO")]
        public class PTotmImageVO

Maybe you are looking for

  • Who do I contact for support

    Yesterday I got the YVM4 error when trying to access the On Demand players i.e BBC iPlayer. Tried a soft reset by pressing the blue on/off button at the front for 8 secs but problem still persisted. I then turned power off/on via the switch at the ba

  • Mixed periodicities in a forecast are not allowed In Demand Planning

    Hi All, I am running forecast in background by defining activity and job in transaction /sapapo/mc8t and /sapapo/mc8d . I am scheduling the job in transaction in /sapapo/mc8g. Before scheduling the job i checked the job in transaction /sapapo/mc8i an

  • Copying selection criteria in XLR advance report builder

    Can anyone tell me if it is possible to copy columns, rows or cells in the XL Reporter advance designer and copy the selection criteria as well? Thanks

  • Rentals Tab for 12.0.1.26 version

    Hi just upgraded to 12.0.1.26 and have also rented my first movie. Can anyone tell me where the Rentals tab is that other forum talk about....totally new to this so it is bound to be me. Any help appreciated. Thanks

  • Regarding ale

    hi, pls explain some one why we need a ale in organization? pls also send some fs telated to thing for better understanding. mail  me: [email protected] thanks for advance with regards lokeshan