While Consuming a WebService in JSP Dyn Page - There is an Error

Hi Friends,
I have a web service created in ASP.NET web Service.
And I have Consumed the Web Service using WSDL URL.
I need to write a code to refer that class in the JSP DynPage
I have created like this in DoIntialization
MyServiceName obj=(MyServiceName) PortalRuntime.getRuntimeResources().getService(MyServiceName.KEY);
int a = 10;
int b = 20;
obj.Add1(a,b);
but it shows an error
"The method Add1 Method(Add1 Method) is the type. MySErviceName is not Applicable for the arguements(int,int)"
Please Help me in this regard.
Thanks in Advance
Thanks & Regards,
Palani

Hi Andy,
I will let u know the sequence which i followed to consume the Webservice.
NWDS --> File --> New --> Project --> Portal Application --> Create New Portal App Project.
The Project is created.....
After that i want to consume the Webservice for the same project...
for that...
NWDS --> File --> New --> Other --> Portal Application --> Create New Portal Application Object --> Selecting My Project?(intended prjct) --> Portal Webservice --> Portal Service from WSDL file - Client Side --> My WSDL URL --> Selecting the methods which i need to expose from the Webservice --> I gave unique name for my 1) Service 2) Alias 3) Package....and that was done....(other way is to add from portalapp.xml ??)
After that i created a new JSPDyn page for my application in DoInitialization() method i tried to access the method from that webservice using the following code...
MyServiceName obj=(MyServiceName) PortalRuntime.getRuntimeResources().getService(MyServiceName.KEY);
I am successfully able to access the method from the webservice using the object which i have created but i am not able to pass arguments to that method...???
I tried consuming same webservice created in .NET in .NET itself and i am able to pass arguments successfully.
I tried to consume webservice created in ABAP in .NET and able to implement successfully...
but the same ABAP webservice when  i tried to consume its not working with this NWDS.
Is there any thing else i need to follow while consuming a webservice in the EP Perspectice of NWDS ???
Deployable Proxy is required for that ?? if required how to create and use that ??
Thanks in Advance,
Palani

Similar Messages

  • How to Consume a WebService in JSP DynPage

    Hi Friends,
    We have created a Web Service and We want to Consume that in my JSP Dyn Page.
    Please let me know how to consume the Web Services that are created.
    I am having a WSDL File and need to consume it in Enterprise Portal Applications.
    Thanks in Advance.
    Regards,
    Palani

    Hi Palani,
       Create a Portal Application and access the External Web Service (Say for example, http://api.google.com/GoogleSearch.wsdl ).  Create the Portal Application Object -> Portal Web Service -> Portal WebService from wsdl file -> Client Side -> Enter the Wsdl file as http://api.google.com/GoogleSearch.wsdl -> Select the methods to expose -> Enter the service name, Alias and package name should be a unique one. and finish.
    Create bean to set the values.
    In your JSPDynpage Component enter the following code:
    public void doInitialization(){
       YourServiceName obj=(YourServiceName) PortalRuntime.getRuntimeResources().getService(YourServiceName.KEY);
      MyBean beanObj = new MyBean();
      beanObj.setterMethod(obj.calltheMethodinWSDL());
    And in your JSP page, call the bean getter method.
      It's overview only, you can do it.
    Regards,
    Venkatesh. K

  • Getting error while consuming google webservice in jspDynpage

    Hi All,
    I am consuming google webservices in my JspDyn page
    i am getting following error
    An exception occurred while processing a request for :
    iView : GoogleSer.google
    Component Name : GoogleSer.google
    Could not find portal application <b>com.company.global.enterprise.portal.wsdl.webservices.service.</b>
    Please help me to resolve this issue
    code ::
    MyGoogle googleService =
    (MyGoogle) PortalRuntime.getRuntimeResources().getService("com.company.global.enterprise.portal.wsdl.webservices.service.MyGoogle");
    GoogleSearchResult result = googleService.doGoogleSearch("google", "SAP", 0, 10, false, "", false, "", "", "");
    Thanks & Regards
    Rudra

    Hi,
    I am still having the same problem, however the scenario in which I am getting varies.
    I am getting this exception:
    "com.sap.engine.services.webservices.jaxm.soap.accessor.NestedSOAPException: IOError while working with the message."
    Some users when trying to login into the portal are getting blank screen and for some the portal launcher page is loading fine and could go to the Home Page.
    When I view the logs I am seeing the Nested Soap Exception.
    Any Ideas??? Starting the J2EE engine also did'nt help.
    Thanks in advance.
    Madhavi

  • Where to mention the IP address in a  JSP dyn page

    Hi ,
    I am creating a mail sending system with Javamail.
    Created the JSP dyn page,
    wrote the event handler in the java file. and all.
    now I have to mention the IP address of the SMTP server.
    where should I do this....
    inside the event handler itself?
    Thanks in advance.

    Hi
    The button tag in the jsp looks like this
    <hbj:button
            id="sendEmail"
            text="sendEmail"
            width="125px"
            tooltip="Click here to send mail"
            onClick="sendEmail"
            disabled="false"
            design="STANDARD"
            />
    The function to handle the button eventing occurs in the dynpage  . The function looks like
    public void sendEmail (Event event) { ..coding.. }
    Now when the button is clicked, the control is transferred to this event handler sendEmail and the code with init starts executed.
    Hope it is clear...
    Regards,
    Ganesh N

  • I am trying to create my own apple id, but when i try to click creat my id, i am redirected to the same page, there are no errors saying anything is wrong

    i am trying to create my own apple id, but when i try to click creat my id, i am redirected to the same page, there are no errors saying anything is wrong

    Here is a link that should meet your needs.
    Rescue email address and how to reset Apple ID security questions
    Let us know how you got on.

  • Error while consuming a webservice in nwds

    Dear Users,
      I m facing an error while consuming a wsdl webservice in webdynpro java error................
    Error Mon Apr 20 16:53:29 IST 2009 Apr 20, 2009 4:53:29 PM          com.sap.ide.webdynpro.ui.service.ServicesUI          [Thread[ModalContext,5,main]] Error: Internal error
       Plugin name: Web Dynpro Model Editor Services
       Plugin ID  : com.sap.ide.webdynpro.service.modeleditor
       Class      : com.sap.ide.webdynpro.modeleditor.wizards.model.creation.ModelWizard$9
       Method     : doImportWebServiceModel
       Message    : Web Service model import failed
       Exception  : com.sap.ide.ws.proxygenerator.ProxyGeneratorException: Problems while generating the Proxy Definition!
    com.sap.ide.ws.proxygenerator.ProxyGeneratorException: Problems while generating the Proxy Definition!
         at com.sap.ide.ws.proxygenerator.ProxyGeneratorWrapper.generateProxy(ProxyGeneratorWrapper.java:416)
         at com.sap.ide.ws.proxygenerator.ProxyGeneratorWrapper.generateStandAlone(ProxyGeneratorWrapper.java:283)
         at com.sap.ide.ws.proxygenerator.ProxyGeneratorWrapper.generateStandAlone(ProxyGeneratorWrapper.java:279)
         at com.sap.ide.metamodel.importers.webservice.GenerateWS.doGenerate(GenerateWS.java:92)
         at com.sap.ide.metamodel.importers.webservice.WebServiceModelImporter.doImport(WebServiceModelImporter.java:117)
         at com.sap.ide.webdynpro.modeleditor.wizards.model.creation.ModelWizard$9.run(ModelWizard.java:1155)
         at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:101)
    -- caused by --
    com.sap.engine.services.webservices.jaxrpc.exceptions.ProxyGeneratorException: Proxy Generator Error. Problem with WSDL file parsing. See nested message.
         at com.sap.engine.services.webservices.jaxrpc.wsdl2java.ProxyGenerator.generateProxy(ProxyGenerator.java:182)
         at com.sap.ide.ws.proxygenerator.InternalHelperFunctions.generateInterfaces(InternalHelperFunctions.java:370)
         at com.sap.ide.ws.proxygenerator.ProxyGeneratorWrapper.generateProxy(ProxyGeneratorWrapper.java:372)
         at com.sap.ide.ws.proxygenerator.ProxyGeneratorWrapper.generateStandAlone(ProxyGeneratorWrapper.java:283)
         at com.sap.ide.ws.proxygenerator.ProxyGeneratorWrapper.generateStandAlone(ProxyGeneratorWrapper.java:279)
         at com.sap.ide.metamodel.importers.webservice.GenerateWS.doGenerate(GenerateWS.java:92)
         at com.sap.ide.metamodel.importers.webservice.WebServiceModelImporter.doImport(WebServiceModelImporter.java:117)
         at com.sap.ide.webdynpro.modeleditor.wizards.model.creation.ModelWizard$9.run(ModelWizard.java:1155)
         at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:101)
    Caused by: com.sap.engine.lib.xml.util.NestedException: IO Exception occurred while parsing file:Server redirected too many  times (20) -> java.net.ProtocolException: Server redirected too many  times (20)
         at com.sap.engine.services.webservices.wsdl.WSDLDOMLoader.loadDOMDocument(WSDLDOMLoader.java:1039)
         at com.sap.engine.services.webservices.wsdl.WSDLDOMLoader.loadWSDLDocument(WSDLDOMLoader.java:1126)
         at com.sap.engine.services.webservices.jaxrpc.wsdl2java.ProxyGenerator.generateProxy(ProxyGenerator.java:178)
         ... 8 more
    Caused by: java.net.ProtocolException: Server redirected too many  times (20)
         at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:823)
         at java.net.URL.openStream(URL.java:913)
         at com.sap.engine.lib.xml.parser.AbstractXMLParser.parse(AbstractXMLParser.java:201)
         at com.sap.engine.lib.xml.parser.AbstractXMLParser.parse(AbstractXMLParser.java:263)
         at com.sap.engine.lib.xml.parser.Parser.parseWithoutSchemaValidationProcessing(Parser.java:280)
         at com.sap.engine.lib.xml.parser.Parser.parse(Parser.java:342)
         at com.sap.engine.lib.xml.parser.DOMParser.parse(DOMParser.java:101)
         at com.sap.engine.lib.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:127)
         at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:124)
         at com.sap.engine.services.webservices.wsdl.WSDLDOMLoader.loadDOMDocument(WSDLDOMLoader.java:1025)
         ... 10 more
    Please help me in solving his issue.
    regards,
    Sathya

    I have the same issue attempting to connect my application to this WSDL:
    http://erp.esworkplace.sap.com/sap/bc/srt/xip/sap/ecc_projwbselmntcancrc?sap-client=800&wsdl=1.1&mode=sap_wsdl
    I can load the WSDL fine as an XML file. I can also load the WSDL fine if I connect via Firefox or a browser. I can open it fine in SoapUI. I just can't access it from my Java application.
    2009-10-26 18:11:45,943 ERROR [com.eviware.soapui.impl.wsdl.support.wsdl.WsdlContext] Loading of definition failed for [http://uid:password-erp.esworkplace.sap.com/sap/bc/srt/xip/sap/ecc_projwbselmntcancrc?sap-client=800&wsdl=1.1&mode=sap_wsdl]; java.net.ProtocolException: Server redirected too many  times (20)
    2009-10-26 18:11:45,943 ERROR [com.eviware.soapui.SoapUI] An error occured [Server redirected too many  times (20)], see error log for details
    2009-10-26 18:11:45,943 ERROR [soapui.errorlog] java.net.ProtocolException: Server redirected too many  times (20)
    java.net.ProtocolException: Server redirected too many  times (20)
         at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
         at java.net.URL.openStream(Unknown Source)
         at com.adobe.idp.dsc.webservice.MyWsdlLoader.load(WebServiceSoapUIInvoker.java:675)
         at com.eviware.soapui.impl.wsdl.support.wsdl.WsdlLoader.loadXmlObject(WsdlLoader.java:106)
         at com.eviware.soapui.impl.wsdl.support.xsd.SchemaUtils.getDefinitionParts(SchemaUtils.java:469)
         at com.eviware.soapui.impl.wsdl.support.xsd.SchemaUtils.getDefinitionParts(SchemaUtils.java:460)
         at com.eviware.soapui.impl.wsdl.support.wsdl.WsdlLoader.cacheWsdl(WsdlLoader.java:176)
         at com.eviware.soapui.impl.wsdl.support.wsdl.WsdlContext$Loader.construct(WsdlContext.java:207)
         at com.eviware.soapui.support.swing.SwingWorkerDelegator.construct(SwingWorkerDelegator.java:45)
         at com.eviware.soapui.support.swing.SwingWorker$2.run(SwingWorker.java:111)
         at java.lang.Thread.run(Unknown Source)
    2009-10-26 18:11:45,943 ERROR [STDERR] java.net.ProtocolException: Server redirected too many  times (20)
    2009-10-26 18:11:45,943 ERROR [STDERR]      at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
    2009-10-26 18:11:45,943 ERROR [STDERR]      at java.net.URL.openStream(Unknown Source)
    2009-10-26 18:11:45,943 ERROR [STDERR]      at com.adobe.idp.dsc.webservice.MyWsdlLoader.load(WebServiceSoapUIInvoker.java:675)
    2009-10-26 18:11:45,943 ERROR [STDERR]      at com.eviware.soapui.impl.wsdl.support.wsdl.WsdlLoader.loadXmlObject(WsdlLoader.java:106)
    2009-10-26 18:11:45,943 ERROR [STDERR]      at com.eviware.soapui.impl.wsdl.support.xsd.SchemaUtils.getDefinitionParts(SchemaUtils.java:469)
    2009-10-26 18:11:45,943 ERROR [STDERR]      at com.eviware.soapui.impl.wsdl.support.xsd.SchemaUtils.getDefinitionParts(SchemaUtils.java:460)
    2009-10-26 18:11:45,943 ERROR [STDERR]      at com.eviware.soapui.impl.wsdl.support.wsdl.WsdlLoader.cacheWsdl(WsdlLoader.java:176)
    2009-10-26 18:11:45,943 ERROR [STDERR]      at com.eviware.soapui.impl.wsdl.support.wsdl.WsdlContext$Loader.construct(WsdlContext.java:207)
    2009-10-26 18:11:45,943 ERROR [STDERR]      at com.eviware.soapui.support.swing.SwingWorkerDelegator.construct(SwingWorkerDelegator.java:45)
    2009-10-26 18:11:45,943 ERROR [STDERR]      at com.eviware.soapui.support.swing.SwingWorker$2.run(SwingWorker.java:111)
    2009-10-26 18:11:45,943 ERROR [STDERR]      at java.lang.Thread.run(Unknown Source)
    Any ideas?
    Edited by: tburke on Oct 27, 2009 2:26 AM

  • Error While Consuming the webservice in ABAP

    Hi,
      I am trying to consume a webservice in ECC. I have imported the WSDL and generated the proxy. Did the configuration in the SOAMANAGER. While calling the webservice from the program I am getting the following error message. "SRT: Unsupported xstream found: ("HTTP Code 400  : Bad Request")"
       Any help is appreciated.
    Thanks
    Raghavendra Kuamr

    Hi,
    Check ST11 to find detailed log of issue, most likely you are passing "WS-A" message id along with request (check settings in SOAMANAGER Logical Port).
    Try calling service after suppressing "Message Id transfer". See SAP Note: 1361688 and related notes in 0001292171
    Regards,
    Gourav
    PS: please search forum before posting questions.

  • Adding authentication in header while consuming external webservice

    Hi,
    I am using oracle soa suite 11g, while consuming an external webservice i have to add authentication in header before sending request.
    I want my header in request to look like this:
    <soapenv:Header>
    <urn:Authentication>
    <urn:username>user1</urn:username>
    <urn:password>pass1</urn:password>
    </urn:Authentication>
    </soapenv:Header>
    if anyone has any idea then please share.
    Regards

    please look at this and see whether that helps you..
    Re: Creating a partnerlink  from a secure webservice

  • Jsp dyn page open form results in new window

    Hi everybody,
    I have a problem dispaying results in new window.
    My portal component is a dyn page that dispay several jsp pages based on a integer switch parameter checked in the
    doProcessBeforeOutput method.
    One page is a form with a button that call onSearch custom method inside my component; this method process the request,
    fill the bean and set the integer switch that doProcessBeforeOutput check then get the right jsp.
    All works fine but I want to display the onSearch method results in a new window.
    What I have to do?
    Thanks,
    Andrea

    Hi Andrea,
         I am also facing the same issue.
    Were you able to call the component method from the JavaScript code.
    I have to display the results in a new page.
    Will all the methods like doProcessBeforeOutput() be executed when we traverse after the search button is clicked ?
    Thanks in advance,
    Brian.
    Edited by: Brian Fernandes on Mar 30, 2010 12:34 PM

  • Error while consuming external webservice URL in SAP

    Hello every one,
    I am getting below error in sap while consuming external web service URL .
    HTTP error (return code 405, message "Method Not Allowed")
    Can any one help me on this.
    Thank You.
    Vijay

    Hi Vijay,
    Did you check if you are using full correct UURL. That happens with incorrect URL.
    Thanks,
    Ravi

  • Problem while Consuming Java Webservice from WCF client

    Hi,
    I am trying to Consume Java Webservice from WCF client.The webservice main functionality is digital data management.The client can Query Digital data and upload digital data by calling webservice methods.Problem is when i am trying to call webmethod from WCF client its giving "Unrecognised message versions".I have no idea about how the message objects are processed at serverside.but at server side they have used JAXP for XML document parsing.
    The response content type is Multipart/related and applicatio/XOP+XML.
    Can u plz help me how to handle this situation.I have minimum knowledge in Java WS architecture.Basically i am .Net programmer.
    Can U please guide me in a proper way to resolve the problem.

    Hi Abinash,
    I have the same problem. Have you solve that problem?
    I am using a java program to call a webservice too. And I have generated the client proxy definition for Stand alone proxy using NWDS. When I call the method of the webservice I am getting the correct result but along with the result I am getting one error and one warning message in the output.
    The java code to call the webservice is as follows.
    MIDadosPessoaisSyncService service = new MIDadosPessoaisSyncServiceImpl();
    MIDadosPessoaisSync port = service.getLogicalPort("MIDadosPessoaisSyncPort");
    port._setProperty("javax.xml.rpc.security.auth.username","xpto");
    port._setProperty("javax.xml.rpc.security.auth.password","xpto");
    String out = port.MIDadosPessoaisSync("xpto", "xpto");
    System.out.println(out);
    The result I am getting is :
    Warning ! Protocol Implementation [com.sap.engine.services.webservices.jaxrpc.wsdl2java.features.builtin.MessageIdProtocol] could not be loaded (NoClassDefFoundError) !
    Error Message is :com/sap/guid/GUIDGeneratorFactory
    <b>The result of the WS is correct!!!</b>
    The Java project does not have any warning. But the stand alone proxy project has following warnings associated with it.
    This method has a constructor name     MIDadosPessoaisSync.java     
    The import javax.xml.rpc.holders is never used     MIDadosPessoaisSyncBindingStub.java     
    The import javax.xml.rpc.encoding is never used     MIDadosPessoaisSyncBindingStub.java     
    The constructor BaseRuntimeException(ResourceAccessor, String, Throwable) is deprecated     MIDadosPessoaisSyncBindingStub.java
    It is very similar with your problem, could you help me?
    Thanks
    Gustavo Freitas

  • Error while consuming PLSQL Webservice through BPEL

    HI ,
    I have created a simple PLSQL Web service called "HelloWorld" and it got successfully deployed .
    When I tried to test this webservice through BPEL Process Manager , its showing me error everytime that ( Could not create object of class 'dimple.HelloWorldWebServiceUser'; nested exception is: java.lang.ClassNotFoundException: dimple.HelloWorldWebServiceUser</summary> ) .
    Please anyone help me out with this problem .
    Thanks
    Prashant Dwivedi

    HI ,
    I have created a simple PLSQL Web service called "HelloWorld" and it got successfully deployed .
    When I tried to test this webservice through BPEL Process Manager , its showing me error everytime that ( Could not create object of class 'dimple.HelloWorldWebServiceUser'; nested exception is: java.lang.ClassNotFoundException: dimple.HelloWorldWebServiceUser</summary> ) .
    Please anyone help me out with this problem .
    Thanks
    Prashant Dwivedi

  • ../OA_HTML/fndvald.jsp & ''The page cannot be found' error message

    I have 11.5.10.2 multinode install with 10.1.0.5 database. I had iSupplier up and running in one of my test environments about a week back. Today after our Functional setup people were creating responsibilities and setting up profile options - when I try to login - right after the userid & password screen I get the following:
    "The page cannot be found"
    and my url shows http....../OA_HTML/fndvald.jsp
    Any suggestions/ideas please?
    Thanks,

    Duplicate thread (please post only once):
    ....../OA_HTML/fndvald.jsp - "The page cannot be found" when logging in
    ....../OA_HTML/fndvald.jsp - "The page cannot be found" when logging in

  • Reading R3 table in JSP Dyn Page...URGENT

    Hi All,
    I have created an JSP Dynpage Application after reading this thread:
    <a href="https://www.sdn.sap.com/irj/sdn/thread?messageID=3417619#3417619">https://www.sdn.sap.com/irj/sdn/thread?messageID=3417619#3417619</a>
    <b>My PortalApp.xml file is:</b>
    <?xml version="1.0" encoding="utf-8"?>
    <application>
      <application-config>
        <property name="PrivateSharingReference" value="com.sap.portal.htmlb"/>
      </application-config>
      <components>
        <component name="InteractiveList">
          <component-config>
            <property name="ClassName" value="com.abb.InteractiveList"/>
            <property name="ComponentType" value="jspnative"/>
            <property name="JSP" value="pagelet/InteractiveList.jsp"/>
          </component-config>
          <component-profile>
                <property name="tagLib" value="/SERVICE/htmlb/taglib/htmlb.tld"/>
          </component-profile>
        </component>
      </components>
      <services/>
    </application>
    My InteractiveList.java file contains:
    package com.amit;
    import java.util.Vector;
    import com.sap.engine.lib.xml.signature.Data;
    import com.sap.mw.jco.IFunctionTemplate;
    import com.sap.mw.jco.JCO;
    import com.sapportals.htmlb.page.DynPage;
    import com.sapportals.htmlb.page.PageException;
    import com.sapportals.htmlb.table.DefaultTableViewModel;
    import com.sapportals.portal.htmlb.page.JSPDynPage;
    import com.sapportals.portal.htmlb.page.PageProcessorComponent;
    import com.sapportals.portal.prt.component.IPortalComponentProfile;
    import com.sapportals.portal.prt.component.IPortalComponentRequest;
    public class InteractiveList extends PageProcessorComponent {
      public DynPage getPage(){
        return new InteractiveListDynPage();
      public static class InteractiveListDynPage extends JSPDynPage{
        private DataBean DataBean = null;
        public void doInitialization(){
          IPortalComponentProfile profile = ((IPortalComponentRequest)getRequest()).getComponentContext().getProfile();
          Object o = profile.getValue("DataBean");
          if(o==null || !(o instanceof DataBean)){
               System.out.println("In the IF ");
            DataBean = new DataBean();
            profile.putValue("DataBean",DataBean);
          } else {
              DataBean = (DataBean) o;
           String name = "Amit ";
           DataBean.setname(name);
          // fill your bean with data here...
           //InteractiveList interactive_list = new InteractiveList();     
        public void doProcessAfterInput() throws PageException {
        public void doProcessBeforeOutput() throws PageException {
          this.setJspName("InteractiveList.jsp");
      public DefaultTableViewModel getData(String USER, String PWD,String R3ip) {
                     com.sap.mw.jco.IRepository repository;
                     JCO.Pool pool = JCO.getClientPoolManager().getPool("R3");
                     if (pool == null) {
                          //JCO.removeClientPool("R3");
                          JCO.addClientPool(
                               "R3",
                               10,
                               "120",
                               USER,
                               PWD,
                               "EN",
                               "138.223.4.106",
                               "00");
                     repository = JCO.createRepository("TTL", "R3");
                     JCO.Client client = null;
                     //               Get a function template from the repository
                     IFunctionTemplate ftemplate =
                          repository.getFunctionTemplate("BAPI_SALESORDER_GETSTATUS");
                     //           Create a function from the template
                     JCO.Function function = ftemplate.getFunction();
                                    client = JCO.getClient("R3");
                                    JCO.ParameterList input = function.getImportParameterList();
                     input.setValue("0053100700", "SALESDOCUMENT");
                                    client.execute(function);
                     JCO.Table sales_orders =
                          function.getTableParameterList().getTable("STATUSINFO");
                     Vector row = new Vector();
                     Vector tbl = new Vector();
                     Vector colNames = new Vector();
                     //     Loop over all rows
                     do {
                          //     Loop over all columns in the current row
                          for (JCO.FieldIterator e = sales_orders.fields();
                               e.hasMoreElements();
                               JCO.Field field = e.nextField();
                               row.add(field.getString());
                               //System.out.println(field.getName() + ":\t" + field.getString());
                          } //for
                          tbl.add(row);
                     } while (sales_orders.nextRow());
                     sales_orders = null;
                     sales_orders =
                          function.getTableParameterList().getTable("STATUSINFO");
                     sales_orders.nextRow();
                     for (JCO.FieldIterator e = sales_orders.fields();
                          e.hasMoreElements();
                          JCO.Field field = e.nextField();
                          colNames.add(field.getName().toString());
                     DefaultTableViewModel dtvModel =
                          new DefaultTableViewModel(tbl, colNames);
                     JCO.releaseClient(client);
                     return dtvModel;
    And my Bean Class contains following code:
    package com.amit;
    import java.io.Serializable;
    import com.sapportals.htmlb.table.DefaultTableViewModel;
    public class DataBean implements Serializable {
         public DefaultTableViewModel model;
         public String name;
         public DefaultTableViewModel getModel() {
              System.out.println("Hi There ");
              return model;
         public void setModel(DefaultTableViewModel model) {
              this.model = model;
         public String getname(){
              return name;
         public void setname(String name){
              this.name = name;
    When I try  to Run the par file I am getting the Static Text in TextView but Text from myBean.getname() is not coming.
    Can you tell me the reason. Is there any problem in the code.
    Thanks in Advance,
    Amit
    Message was edited by:
            Amit

    Double post http://forum.java.sun.com/thread.jspa?threadID=647550&tstart=0

  • JSP Dyn Page want to display "Loading..." img + message

    Hi, we have EP6 SP2 environment. I have a JSPDynPage component that does a lot of preprocessing then loads the jsp page. Most of the time it spends in doProcessBeforeOutput() (has to connect to 2 backends and pull some data out). it is very slow loading. Can anybody tell me how we can show a nice loading image and a message WHILE the preprocessing is done? Thank you in advance.

    Well, was messing with it for a few hours last night since I got no replies - and that is what I did: I am writing out a <span><loading image> Loading...</span> in my doInitialization() function in Java (before it is doing all the backend connect). Then in a .jsp file I am hiding it with ...display ="none" call. It is a hack, but will do for now till I figure out how to display it sooner.
    After deploying this to our dev Portal (which is not slow, the prod is), I realized that most of the "loading" time it spends pregenerating "other" html that is dumped on the page before my code. So will try to figure out how to speed that up. Will keep you posted.

Maybe you are looking for

  • Running a system restore and FIOS settings

    I need to run a system restore on my PC.  I just recently had FIOS installed.  Will running a restore mess up those settings?  If it will screw those up, what do I need to do to get FIOS back up and running?

  • Home screen icons darkening

    Has anyone seen there home screen icons darkening slightly? As if they were being pushed? Sometimes my calendar and phone icons do it.

  • User name or password does not match

    When attempting to authorize Digital Editions on a Samsung Galaxy 10.1 Andoid tab. I keep getting this error. I have reset my Adobe passowrd and double checked the information in my ID profile and I continue to get this message. How do I move past th

  • Workflow approval process for cFolder

    Hi friends,            We are using SRM 7.0 with PPS. Is it possible to implement workflow approval process in cFolder for Before Publish the RFx , Final approval of Bidder Technical Bid etc. If possible then How to implement workflow in cFolder? Reg

  • SM30 - V_TIBAN . How to maintain ?

    Hi , While trying to maintain an entry for view V_TIBAN , following error message is coming. View/table V_TIBAN can only be displayed and maintained with restrictions Message no. SV792 Diagnosis You tried to call a maintenance dialog for the view/tab