DoPost is not getting called in my servlet

Hi All
I have a servlet where I have doGet and doPost methods. My doGet is working but code written in my doPost is not getting fired.Please have a look :
public class TestServlet extends HttpServlet {
int count;
public void init(ServletConfig config) throws ServletException {
super.init(config);
String initial = config.getInitParameter("initial");
try {
count = Integer.parseInt(initial);
catch (NumberFormatException e) {
count = 0;
public void doGet(HttpServletRequest req, HttpServletResponse res)
throws ServletException, IOException {
res.setContentType("text/plain");
PrintWriter out = res.getWriter();
count++;
out.println("Since loading (and with a possible initialization");
out.println("parameter figured in), this servlet has been accessed");
out.println(count + " times.");
doPost(req, res);
public void doPost(HttpServletRequest req, HttpServletResponse res)
     throws ServletException, IOException {
     PrintWriter out = res.getWriter();
     out.println("in do post");
Thanks
Sunit

Hi Zsom ,
Thanks for your reply. Here is my code for calling the servlet.
          String base = "http://host:ip/Test2/TestServlet";
          String fileName = sourceFile.getPath();
          System.out.println("sourceFile size " + sourceFile.length());
          FileInputStream fin = new FileInputStream(sourceFile);
          URL url = new URL(base + "?name=" + sourceFile.getName());
          con = url.openConnection();
          con.setRequestProperty("REQUEST_METHOD", "POST");
          con.setDoInput(true);
          con.setDoOutput(true);
          con.setUseCaches(true);
          con.setRequestProperty("Content-Type", "multipart-formdata");
          DataOutputStream dataOut = new DataOutputStream(con.getOutputStream());
          int c = 30720;
          byte b[] = new byte[c];
          for (int i = fin.read(b, 0, c); i >= 0; i = fin.read(b, 0, c)) {
               dataOut.write(b, 0, i);
          System.out.println(dataOut.size());
          dataOut.close();
          fin.close();
          //deleting files from tmp folder
          //File tmpDir = new File("C:\\tmpGravity");
          //deleteDir(tmpDir);
regards
Sunit

Similar Messages

  • Server side function not get called after dispatching cairngorm event second time on same page

    Hi All,
    I am facing a urgent issue regarding cairngorm event. Actually my page contain 3 button add,delete,save
    and  clicking of any button I do the respected functionality. For ex:
    I click the add button & on clicking of add button I fire a cairngorm evnt & after getting response from server side that the record is added
    I displayed a message that the record is added & update the data source.
    After addition of the record , with out going to other page if I perform the same functionaly(Like adding another record) on same page the cairngorm
    event not call the server side function  -  after debugging I find out that cairngorm event  reach to the corresponding excutecommand function & called that function  but it is not calling my server side function & I also din't get any error message .
    I dont know why  the server side function not get called?. similarly if I try for delete or update case the same things happend. Only for the first time it works properly but not for the second  time.
    Could any of  you please tell me why the cairngorm event not calling the server side function.
    Thank you for your kind assistance.
    Regards,
    Ujjwal

    Okay, well I think I've worked out the problem.
    In ASP.NET we would typically bind repeating controls such as DataLists and Repeaters manually using <i>Control</i>.DataBind(), because we're usually using a separate class library containing collections for our objects. Seems the SAP Table control doesn't like this approach.
    I changed the code so that the databinding is specified on the control, and call the Page's DataBind() method and it all worked fine.
    One tip: because the collection I used to bind to is in a separate class library, I receieved a <i>BC306523: Reference required to assembly MyAssemblyName...</i> message, even though I had a reference to the assembly in my project and the DLL is being properly deployed. To fix this, you must include the following directive at the top of the component's ASCX file:
    <%@ Assembly Name="AssemblyName" %>

  • ReturnEvent not get called after search more than 10 times in LOV page

    hi there,
    I using ADF and Jdeveloper 10.3.1.2
    In my project I have a form which called a LOV page for selecting multiple records and submit button sumup the values of each selected row of LOV and return to the main form and display added value on text field.
    problem is when I search records more than 10 times or more I put search criteria and select row on each time. After click on submit the value of each row is sum up return on the main form but it not reflected on main form because ReturnListener not get called .
    But when I select many rows more than 10 without searching then the ReturnListener get called when it returning on main form.
    So should I do so that ReturnListener get called.
    Is it any bug of ADF or Jedeveloper .

    Hi,
    depends on whether you control the BPM task flow or not. If you do, have a look at this thread for how to debug the problem
    How to debug "Attempt to validate an already invalid RegionSite"?
    Otherwise, post it to the SOA forum if this is initiated by their generated code. The most common reason though is that the task flow lacks a default activity. So if the default activity is somewhat calculated dynamically in your application then this may be a reason
    Frank

  • Bookmark method for a page is not getting called

    Hi,
    I am developing a simple ADF application which contains two jspx pages, in JDEVELOPER 11g (build JDEVADF_MAIN_GENERIC_080910.1420.5124).
    I have a commandLink in Page1 which takes me to the Page2.I have a bookmark method for Page2, which gets called when I load the page.
    When I access the Page2 directly,the corresponding bookmark method is getting called.But when I navigates it through commandLink provided in Page1,the bookmark method is not getting called.
    Page1.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:af="http://xmlns.oracle.com/adf/faces/rich">
    <jsp:directive.page contentType="text/html;charset=UTF-8"/>
    <f:view>
    <af:document maximized="true">
    <af:form>
    <af:commandLink text="Go to Page2" action="page2" />
    </af:form>
    </af:document>
    </f:view>
    </jsp:root>
    Page2.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"
    xmlns:bib="http://xmlns.oracle.com/dss/adf/faces">
    <jsp:directive.page contentType="text/html;charset=UTF-8"/>
    <f:view>
    <af:document maximized="true">
    <af:form>
    <af:outputText value="This is Page2"/>
    </af:form>
    </af:document>
    </f:view>
    </jsp:root>
    adfc-config.xml:
    <?xml version="1.0" encoding="UTF-8" ?>
    <adfc-config xmlns="http://xmlns.oracle.com/adf/controller" version="1.2">
    <view id="page1">
    <page>/page1.jspx</page>
    </view>
    <view id="page2">
    <page>/page2.jspx</page>
    <bookmark>
    <method>#{mBean.bookMarkMethod}</method>
    </bookmark>
    </view>
    <control-flow-rule>
    <from-activity-id>page1</from-activity-id>
    <control-flow-case>
    <from-outcome>page2</from-outcome>
    <to-activity-id>page2</to-activity-id>
    </control-flow-case>
    </control-flow-rule>
    <managed-bean>
    <managed-bean-name>mBean</managed-bean-name>
    <managed-bean-class>view.ManagedBean</managed-bean-class>
    <managed-bean-scope>session</managed-bean-scope>
    </managed-bean>
    </adfc-config>
    ManagedBean.java:
    public class ManagedBean {
    public ManagedBean() {
    super();
    public void bookMarkMethod() {
    System.out.println("Inside bookmark method");
    Please look into this...........

    Hi Frank,
    I need to provide the af:commandLink inside af:table component and the values which I pass to page2 depends on the row I select at runtime.
    so,I am trying to use ad:setActionListener inside af:commandLink.
    If I use FacesContext.getCurrentInstance.getExternalContext.redirect() inside the actionListener of af:commandLink, I need to extract all the required values in the actionListener.
    Isn't there any way so that, I can pass the values using af:setActionListener inside af:commandLink and a method ( which will initialise the managed bean) will be called when page2 loads ???
    Regards,
    Lokesh.

  • Getter & Setter Method not getting called for a field enhanced through AET

    Hello,
    I am new to SAP CRM 7.0 and working on a requirement.
    A Z-field was added by our functional guy in CRM 7.0 WebGui through AET in the 'Create Opportunity' transaction (Header data).
    Now the requirement is, as soon as the opportunity is created through the WebGui, I should post a document in R/3 and paste that document number back to the enhanced Z-field in opportunity.
    Work done by me:
    I pressed F2 on the enhanced Z-field in the WebGui screen and took the details of view, component name etc. After this I went to normal SAP CRM system and open tcode "BSP_WD_CMPWB", located the corresponding view "BT111H_OPPT/Details" and right clicked & enhanced the same.
    Then I opened the structure of this view, expanded context node, located context "BTOPPORTH" and inside this, located my Z-attribute. Now right clicked on the Z-attribute & selected the option "Generate SETTER & GETTER Methods" and these were generated successfully.
    Problem:
    The problem is even after putting external break points in these methods, these methods are not getting called while creating, modifying & displaying the Opportunity in WebGui.
    I hope that for the requirements that I have, I have to do the coding in "Getter & Setter" methods. But since these are not getting called, I am unable to proceed.
    Please help/suggest how to achieve this.
    Thanks in anticipation.
    Best Regards,
    Rahul Malani

    Hi,
    If you can see the field in UI and still get_ method is not being triggered then try to regenerate these methods. If it still doesn't work then please look for SAP notes or raise an OSS.
    There should be some note for the issue you faced.
    please refer:
    Help Needed immediately - AET getter setter methods not getting triggered
    Regards,
    BJ

  • Mediator 11.1.1.5 faults Java Handler not getting called fault-policies

    Hi,
    I have a Oracle SOA 11.1.1.5 Mediator and am handling the faults using fault policies but somehow custom java handler is not invoked when an error occurs and this is what I see in the log but somehow my custom java handler class is not getting called.
    INFO: FaultPoliciesParser.parsePolicies ------->Begin Parsing of policy file
    <Apr 16, 2012 10:30:17 PM EDT> <Error> <oracle.soa.mediator.common.listener> <BE
    A-000000> <Enququeing to Error hospital successful...>Here is the fault-policies.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <faultPolicies xmlns="http://schemas.oracle.com/bpel/faultpolicy">
      <faultPolicy version="2.0.1" id="medFaultHandling"
                   xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
                   xmlns:xs="http://www.w3.org/2001/XMLSchema"
                   xmlns="http://schemas.oracle.com/bpel/faultpolicy"
                   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
        <Conditions>
          <faultName xmlns:bpelx="http://schemas.oracle.com/bpel/extension"
                     name="bpelx:remoteFault">
            <condition>
              <action ref="java-fault-handler"/>
            </condition>
          </faultName>
          <faultName xmlns:bpelx="http://schemas.oracle.com/bpel/extension"
                     name="bpelx:bindingFault">
            <condition>
              <action ref="java-fault-handler"/>
            </condition>
          </faultName>
          <faultName xmlns:bpelx="http://schemas.oracle.com/bpel/extension"
                     name="bpelx:runtimeFault">
            <condition>
              <action ref="java-fault-handler"/>
            </condition>
          </faultName>
        </Conditions>
        <Actions>
          <Action id="java-fault-handler">
            <javaAction className="com.mediator.faults.CustomMediatorFaultHandler"
                        defaultAction="ora-human-intervention" propertySet="myMediatorProps">
              <returnValue value="OK" ref="ora-human-intervention"/>
            </javaAction>
          </Action>
          <Action id="ora-human-intervention">
            <humanIntervention/>
          </Action>
          <Action id="ora-rethrow-fault">
            <rethrowFault/>
          </Action>
          <Action id="ora-retry">
            <retry>
              <retryCount>3</retryCount>
              <retryInterval>15</retryInterval>
              <exponentialBackoff/>
              <retryFailureAction ref="java-fault-handler"/>
            </retry>
          </Action>
        </Actions>
        <Properties>
          <propertySet name="myMediatorProps">
            <property name="logFileName">mediator-faults.log</property>
            <property name="logFileDir">C:/software</property>
          </propertySet>
        </Properties>
      </faultPolicy>
    </faultPolicies>Here is my the fault-bindings.xml:
    <?xml version="1.0" encoding="UTF-8" ?>
    <faultPolicyBindings version="2.0.1"
                         xmlns="http://schemas.oracle.com/bpel/faultpolicy"
                         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
      <composite faultPolicy="medFaultHandling"/>
    </faultPolicyBindings>And here is the snippet of composite.xml where I put the below properties:
    <component name="Router">
        <implementation.mediator src="Router.mplan"/>
        <property name="oracle.composite.faultPolicyFile">fault-policies.xml></property>
        <property name="oracle.composite.faultBindingFile">fault-bindings.xml></property>
      </component>But when the exception occurs I don't see my custom Java Handler being invoked. As I created a jar file and placed it in
    *<Middleware_Home>\Oracle_SOA1\soa\modules\oracle.soa.mediator_11.1.1*
    and updated oracle.soa.mediator.jar manifest by putting the path of the jar file. Restarted the servers but still when an exception occurs in Mediator custom java handler is not invoked. Any ideas what I am missing or are there any special steps
    Thanks

    There is no point in retry on binding fault, rather you can raise it as exception and catch it in sepcific catch block or catch all will handle it.
    Ideally this particular instance will be faulted and if required you can customize to send a mail with fault string to developer or support person or dba
    This type of fault need human intervension to fix this code or it could be data issue.
    - It is considered good etiquette to reward answerers with points (as "helpful" - 5 pts - or "correct" - 10pts).
    Thanks,
    Vijay

  • Pricing Routine is not getting called after transport to quality

    Hello,
    We have created a new routine under Condition base value formulas. We have done all the required settings so that it is called while creating / changing sales order. Our routine is working fine in Development server but after transporting it to quality it is not getting called. We can see the routine in VOFM but in debugging mode the system is not able to find the routine.
    Can anybody please tell me what setting is missing in quality?
    Thanks in Advance.
    Priyanka.

    HI,
    Pls ececute this report RV80HGEN in SE38 tcode then only the routine will works for first time.
    Regards,
    kishore.

  • CRM_ISA_PRICING_ITMDATA_GET is not getting called

    Hi All,
    The FM - CRM_ISA_PRICING_ITMDATA_GET (and BADI CRM_ISA_HDR_PRICING - NEW_ITEM_VALUES_READ) to pass additional pricing fields is not getting called during  product catalog pricing . We added the below change to xcm->customer->modification->backendobject-config.xml and still is not working.
    <configs>
    <xi:include href="$/modification/backendobject-config.xml#xpointer(backendobject/configs/*)"/>
    <config isa:extends="../config[@id='crmdefault']">
    <businessObject type="PriceCalc">
        <params>
               <param name="doItemCalls" value="true"/>
          </params>
      </businessObject>  
    </config>
    </configs>
    Even it is not working if we change the   <param name="doItemCalls" value="true"/> in  xcm->sap->modification->backendobject-config.xml .
    Any suggestions on how this FM (and BADI) will be called during product catalog pricing?
    Thanks,
    Rajinikanth G

    Hi,
    There was an authorization issue which configured in XCM and it was called after addaing proper authorizations.
    Thanks,
    Rajinikanth G

  • Custom enhancement spot not getting called.

    Hello guros,
    We are currently upgrading to ECC6 and I started playing a little bit with enhancement spots.
    I've tried inserting my own enhancement spot using
    ENHANCEMENT-SPOT ELI SPOTS ZELI_SPOT.
    I've created the ZELI_SPOT badi definition and created a sample interface.
    Then I implemenet an enhancement spot and implemented the BADI interface (Which by the way should have all its methods static right?).
    Despite all objects being active, and the explicit "IMPLEMENTATION IS CALLED" on the badi implementation, my implementation is not getting called, Is there something im missing here?
    I would also like to understand how in such a case do i actually transfer parameters to such a method.
    Thanks a lot in advance,
    Eli.

    Hi,
    Can you elaborate on where you have created the enhancement spot. If the enhancement spot you have created within some IF condition in the standard code, then it will get triggered only if the condition is true.
    Regards,
    Hari

  • Method in custom controller not getting called from view

    Hi experts,
    I have a very strange problem. My web dynpro application works fine on the development portal. i am in the process of deploying to the production portal there is no issue it deploys perfectly without any problems. However i have noticed that some methods in my custom controlller which are called from the view do not run. there is no error message or anything data just doesnt get picked because the execute function which fills the context are in the custom controller methods.
    For some reason the method in the custom controller does not get called even though i'm calling it for the view. I have this problem with two methods. the other methods work without any issue.
    Now i overwrote what i have on production at the moment so am stuck and in need for a solution.
    I have tried undeplying, restarting and re-deploying to no avail. what could be wrong?
    thanks and regards,
    dilanke

    Deal all
    This is the code. basically im calling it from the plug on the detail screen.
    This is the method that doesnt get called anymore.
    wdThis.wdGetGetPurchaseOrderCustController().getPODetail();
    The reportSuccess() works fine.
    regards,
    Dilanke
      public void onPlugFromListView(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
        //@@begin onPlugFromListView(ServerEvent)
         try
             String po = wdThis.wdGetGetPurchaseOrderCustController().wdGetContext().currentContextElement().getPO_Id();
              wdContext.currentZGETPODETAILS_INPUTElement().setI_Ebeln(po);
              wdThis.wdGetGetPurchaseOrderCustController().getPODetail();
              wdComponentAPI.getMessageManager().reportSuccess(po);
              String fileName = "F://XML_Downloads//" + po + ".xml";
              IWDResource resource = WDResourceFactory.createResource(new FileInputStream(new File(fileName)),fileName,WDWebResourceType.XML,true);
              wdContext.currentContextElement().setXml_Resource(resource);
         catch(Exception e)
              e.printStackTrace();     
        //@@end

  • Task in Lookup.USR_PROCESS_TRIGGERS not getting  called

    Hi,
    We have created a process task adapter and copied this in Lookup.USR_PROCESS_TRIGGERS. This adapter works only when some change happens in User Form in a particular field (say First name).This adapter is not getting called for the users who are created through Bulk Upload. Although it is getting called when I am creating a user manually.
    Regards,
    Shubhra

    This the issue with 11.1.1.5 version of OIM. It doesn't trigger on trusted recon. install BP02 for resolving this issue. We had resolved this by installing this patch
    --nayan                                                                                                                                                                                                                                                                                                                                                                   

  • Badi trip_ web_ check not getting called in Portal

    Hi
    We have implemented the trip_web_check badi to check the validation on the Advance entry while Travel request screen (standard). Two days back validation was working fine.
    But today it is not getting called. Please give you inputs if you have any idea?
    Also tell me if any other settings in SPRO already we have assigned the badi in spro

    Hi,
    Donu2019t go for the NOTE directly
    1st you need to check basic things ...
    ( take a help of ABAPER )
    Check where the badi implementation is active or not ...You can do this by "SE19" give the BADI implementation name and check where its Activate or not.
    If it is activate then set the User specific (the user which your are using on Portal) break-point in the method and check where its get stop in BADI .
    Barin : 1st we need to check some basic things like where the BADI is Active or some techical issue like coding etc ...NOTE will be last option to use.
    Cheers,
    Vivek D Jadhav

  • Badi is not getting called in IC Web client in Quality server

    Hi Experts,
    I have implemented a badi CRM_SERVICE_CONTRACT which determines contract based on component no. in complaints.
    My badi is working fine in development server in IC web client but in Quality server the badi is not getting called in IC Web client.
    The badi is active in both the servers.
    Please let me know what configurations to look into.
    Regards,
    Sangeeta.

    Hi,
    Did you try to debug till the point where the BADI is supposed to get called? You may set a break-point in your Dev system to check the call stack and based on that set break-points in your QA system and see why this is not getting called?
    Also, check all the implementations of the BADI got transported to the QA system. Check if there is any filter on that badi.
    Regards
    Prasenjit

  • Get method of HtmlPanelGrid is not getting called

    Hi,
    I'm creating components dynamically.
    I have a dropdown. Based on the selection of dropdown, the corresponding values are displayed and the get method of HtmlPanelGrid should be called.
    First time the panel grid getmethod is getting called. But when i change the value of drop down, panel grid get method is not getting called and its not rendering.
    This is the code:
    JSF:
    Drop Down
    <h:panelGroup>
    <t:selectOneMenu id="selectProjectTypes" onchange="sbmitform();" immediate="true" valueChangeListener="#{ProjectController.projectTypeChanged}" value="#{ProjectController.project.selectProjectTypes}">
    <f:selectItem itemLabel="--------------------" itemValue="-1"/>
    <f:selectItems value="#{ProjectController.projectTypesList}"/>
    </t:selectOneMenu>
    </h:panelGroup>
    Panel Grid
    <h:panelGrid columns="2" rendered="#{ProjectController.projects}" id="test" binding="#{ProjectController.defaultValues}" columnClasses="hunderadfifty" cellpadding="5" />
    Controller:
    public void projectTypeChanged(ValueChangeEvent event) throws AbortProcessingException,Exception {
    String nodeTypeId = null;
    String selectedValue = (String)event.getNewValue();
    getSessionCache().addValue("test", 0, "1");
    if(selectedValue.equalsIgnoreCase(selectedValue)){
    try
    // this.getDefaultValues().setRendered(true);
    // defaultValues=this.getDefaultValues();
    } catch (Exception e)
    e.printStackTrace();
    FacesContext.getCurrentInstance().renderResponse();
    Panel Grid Method
    *public HtmlPanelGrid getDefaultValues() throws Exception {*
    String devlues = (String)getSessionCache().getValue("test");
    Application app = FacesContext.getCurrentInstance().getApplication();
    labelList = nodeTypeFieldsService.getFixedFields(this.getRpUserData(), this.getAuthUser());
    HtmlPanelGrid panelGrid = (HtmlPanelGrid)app.createComponent(HtmlPanelGrid.COMPONENT_TYPE);
    for(int i = 0; i<labelList.size(); i++)
    HtmlOutputText heading = (HtmlOutputText)app.createComponent(HtmlOutputText.COMPONENT_TYPE);
    HtmlPanelGroup panelGroup = (HtmlPanelGroup)app.createComponent(HtmlPanelGroup.COMPONENT_TYPE);
    HtmlInputText inputText = (HtmlInputText)app.createComponent(HtmlInputText.COMPONENT_TYPE);
    String fieldHeading =((ProjectField)labelList.get(i)).getFieldHeading();
    int fieldLength = ((ProjectField)labelList.get(i)).getFieldLength();
    String fieldDescription = ((ProjectField)labelList.get(i)).getFieldDescription();
    String fieldType = ((ProjectField)labelList.get(i)).getFieldType();
    inputText.setValueBinding("value", (ValueBinding) app.createValueBinding("#{ProjectController.newProj}"));
    if(fieldType.equalsIgnoreCase("3"))
    heading.setValue(fieldHeading);
    heading.setTitle(fieldDescription);
    inputText.setMaxlength(fieldLength);
    inputText.setSize(fieldLength);
    UIRDDialog dialog = (UIRDDialog)app.createComponent(UIRDDialog.COMPONENT_TYPE);
    dialog.setTitle("Object Type Dialog");
    dialog.setHeight("370");
    dialog.setWidth("350");
    dialog.setUrl("searchObjectTypeDialog.jsf");
    UIRDIconButton iconButton = (UIRDIconButton)app.createComponent(UIRDIconButton.COMPONENT_TYPE);
    iconButton.setType("button");
    iconButton.setTitle("Search for Object Types");
    iconButton.setIcon("/image/icon/portalicon_search.gif");
    iconButton.setActivateDialog("searchObjectTypeDialog");
    panelGroup.getChildren().add(inputText);
    panelGroup.getChildren().add(iconButton);
    panelGroup.getChildren().add(dialog);
    panelGrid.getChildren().add(panelGroup);
    }else
    panelGroup.getChildren().add(inputText);
    heading.setValue(fieldHeading);
    inputText.setMaxlength(fieldLength);
    inputText.setSize(fieldLength);
    heading.setTitle(fieldDescription);
    panelGrid.getChildren().add(panelGroup);
    panelGrid.getChildren().add(heading);
    panelGrid.getChildren().add(panelGroup);
    HtmlCommandButton createButton = (HtmlCommandButton)app.createComponent(HtmlCommandButton.COMPONENT_TYPE);
    createButton.setId("create");
    createButton.setTitle("Create");
    createButton.setValue("Skapa");
    createButton.setAction(app.createMethodBinding("#{ProjectController.saveProject}", null));
    HtmlCommandButton backButton = (HtmlCommandButton)app.createComponent(HtmlCommandButton.COMPONENT_TYPE);
    backButton.setId("back");
    backButton.setTitle("Cancel");
    backButton.setValue("Avbryt");
    backButton.setAction(app.createMethodBinding("#{ProjectController.cancel}", null));
    panelGrid.getChildren().add(createButton);
    panelGrid.getChildren().add(backButton);
    return panelGrid;
    /* } else {
    return null;
    kindly help me out.
    regards
    venkatraman.P

    Hi,
    I'm having the exact same problem, and it's freaking me out!!! The setGridPanel method is always called but not the getGridPanel. This one is only called the first time the page is rendered, and when I change a drodpdownlist it never gets the gridPanel again! I'm using an HtmlPanelGrid. Anyone can help please?
    Thanks in advance,
    Raquel

  • DidReceiveData not getting called for consuming a SOAP webservice

    I am trying to access a webservice in iphone. didReceiveResponse connectionDidFinishLoading is getting called however didReceiveData is not getting called. I checked NSHTTPURLResponse allHeaderFields where Content-length is 0 and statusCode is 400. I am not getting why I am getting this HTTP status code. Can someone please help me in finding this error. Here is my code:
    - (IBAction)buttonClickedid)sender {
    NSString *soapMsg =
    [NSString stringWithFormat:
    @"<?xml version=\"1.0\" encoding=\"utf-8\"?>\n"
    "<soap:Envelope xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xlmns:soap=\"http://schemas.xmlsoap.org/soap/envelope/\">\n"
    "<soap:Body>\n"
    "<GetAllCarsJson xmlns=\"http://cscserver2.carrollu.edu/tshah2/\">\n"
    "</GetAllCarsJson>\n"
    "</soap:Body>\n"
    "</soap:Envelope>"];
    //---print it to the Debugger Console for verification---
    //NSLog(@"%@",soapMsg);
    NSURL *url = [NSURL URLWithString:@"http://cscserver2.carrollu.edu/tshah2/CarService.asmx"];
    NSMutableURLRequest *req = [NSMutableURLRequest requestWithURL:url];
    //---set the headers---
    NSString *msgLength = [NSString stringWithFormat:@"%d",[soapMsg length]];
    [req addValue:@"text/xml; charset=utf-8" forHTTPHeaderField:@"Content-Type"];
    [req addValue:@"http://cscserver2.carrollu.edu/tshah2/GetAllCarsJson" forHTTPHeaderField:@"SOAPAction"];
    [req addValue:msgLength forHTTPHeaderField:@"Content-Length"];
    //---set the HTTP method and body---
    [req setHTTPMethod:@"POST"];
    [req setHTTPBody: [soapMsg dataUsingEncoding:NSUTF8StringEncoding]];
    //[activityIndicator startAnimating];
    conn = [[NSURLConnection alloc] initWithRequest:req delegate:self];
    [conn start];
    NSLog(@"Connection = %@", conn);
    if (conn)
        //webData = [[NSMutableData data] ];
        webData = [[NSMutableData alloc] initWithCapacity:2048];
        //[[NSMutableData data] retainArguments];
    - (void) connection NSURLConnection *) connection didReceiveResponse NSURLResponse *)response
        NSLog(@"soapMsg1: %d", [webData length]);
        //webData = [[NSMutableData alloc] initWith:
        [webData setLength:0];
    - (void) connection NSURLConnection *) connection didReceiveData NSData *)data
        NSLog(@"DONE1111");
        [webData appendData:data];
        //NSLog(webData);
    - (void) connection NSURLConnection *) connection didFailWithError NSError *)error
        NSLog(@"ConnectionFailed");
        //[webData release];
        //[connection release];
    - (void) connectionDidFinishLoading NSURLConnection *) connection
        NSLog(@"DONE. Received Bytes: %d", [webData length]);
        NSString *theXML = [[NSString alloc] initWithBytes:[webData mutableBytes] length:             [webData length] encoding:NSUTF8StringEncoding];
        //shows the XML
        NSLog(theXML);
        //[theXML release];
        //[activityIndicator stopAnimating];
        //[connection release];
        connection = nil;
        webData =nil;

    Hi,
    If you can see the field in UI and still get_ method is not being triggered then try to regenerate these methods. If it still doesn't work then please look for SAP notes or raise an OSS.
    There should be some note for the issue you faced.
    please refer:
    Help Needed immediately - AET getter setter methods not getting triggered
    Regards,
    BJ

Maybe you are looking for

  • Any way to force a PDF file to be opened in "fit to screen" mode?

    Is it possible to force a PDF to open "fit to screen" -- overriding whatever the end user has set as his default viewing preference -- while still allowing said user to zoom in and otherwise modify their viewing mode, AFTER the document has been open

  • KeyReleased event problems

    Hi everybody, i have a JTable and what I want to is that when the user type something in the TextField the table will show the names of the company that start with the letter that the user typed. But the problem is that each time the user type the ev

  • Install photo creation download

    when i try to open hp photo creations it gos to update it then i get an errorflooo or something like that

  • Cant install Icloud on pc windows 7

    I have a dell with windows 7 and I am trying to upload Icloud so that I can back up all my music I have downloaded from cds.  During the final phase of installation, I am told that I cannot finish due to a system problem with Microsoft

  • Attaching OWSM Policy to OSB Services

    Hi, Can anyone please share the detailed procedure of how to attach the OWSM policy to a Proxy Service in OSB 11g. The documentaion of OSB 11g doesnt provide the information of attaching the OWSM polic to OSB services. please refer http://download.or