Using Webservices in JspDynpage (Portal)

Hi Team,
i am Using Webservices in PDK.
I followed all the steps to use the webservice in the portal.
i can able to read the the methods, which are there in webservice.
But when i try to call the methods,
they are behaving  differently.
Example i have a method called Go() which takes string as argument.
Here , when i make use of it, Go is class, and when i try to call like this  Go(Go parameters).
It is asking Go parameters, what is that mean?
It should ask for String arguments.
I am unable to understand how to make use of the methods present in webservice.
Additionally it is having some other methods, which have come automatically with webserivce.
But they are not in websserivce coding.
Any one is familiar  working with webserivces in Jsp Dynpage, please guide me.
Regards
Bala

Hi,
  you have asked this before. change the style type. have u tired this format
   http://iginsapsm:50000/SearchWS1/Config1?wsdl&style=document
   let me know its working or not.
Rds,
Shanthakumar.
Assgin points for helpful answer.

Similar Messages

  • Using Webservices in JspDynpage

    Hi Team,
    i am Using Webservices in PDK.
    I followed all the steps to use the webservice in the portal.
    i can able to read the the methods, which are there in webservice.
    But when i try to call the methods,
    they are behaving  differently.
    Example i have a method called Go() which takes string as argument.
    Here , when i make use of it, Go is class, and when i try to call like this  Go(Go parameters).
    It is asking Go parameters, what is that mean?
    It should ask for String arguments.
    I am unable to understand how to make use of the methods present in webservice.
    Additionally it is having some other methods, which have come automatically with webserivce.
    But they are not in websserivce coding.
    Any one is familiar  working with webserivces in Jsp Dynpage, please guide me.
    Regards
    Bala

    refer this thread
    external service configration+adding webservice with basic authentication
    also refer here:  this has reference to some good links abt authentication..
    How to configure Web Service with HTTP authentication
    Message was edited by:
            Anant

  • Getting error in consuming google webservices from JspDynPage

    Hi All,
    Getting following error while consuming google webservices from JspDynPage
    An exception occurred while processing a request for :
    iView : GoogleSer.google
    Component Name : GoogleSer.google
    Could not find portal application com.company.global.enterprise.portal.wsdl.webservices.service.
    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, "", "", "");
    ResultElement[] results = result.getResultElements();          
    if(results != null) {
    response.write("<br> Search Result Size " +results.length );
    for (int i = 0; i < results.length; i++) {
    response.write((i + 1) + ": " + results);
    Thanks
    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

  • How to use JNDI with JSPDYNPAGE?

    Hi Experts,
    Im having trouble looking up my deployed java proxy that is on WAS. When I try to lookup it through my JSPDYNPAGE portal component, it throws this error:
    #1.5 #00E0ED0BA5EF00710000002600000F92000453A6B0EEF782#1217875304970#System.err#sap.com/irj#System.err#TESTUSER#6717##n/a##2c379d00625411dda84d00e0ed0ba5ef#SAPEngine_Application_Thread[impl:3]_16##0#0#Error##Plain###befor 111#
    #1.5 #00E0ED0BA5EF00710000002700000F92000453A6B0EF1840#1217875304978#System.err#sap.com/irj#System.err#TESTUSER#6717##n/a##2c379d00625411dda84d00e0ed0ba5ef#SAPEngine_Application_Thread[impl:3]_16##0#0#Error##Plain###com.sap.engine.services.jndi.persistent.exceptions.NameNotFoundException: Path to object does not exist at java:comp, the whole lookup name is java:comp/env/ECCWS.
         at com.sap.engine.services.jndi.implserver.ServerContextImpl.getLastContainer(ServerContextImpl.java:261)
         at com.sap.engine.services.jndi.implserver.ServerContextImpl.lookup(ServerContextImpl.java:624)
         at com.sap.engine.services.jndi.implclient.ClientContext.lookup(ClientContext.java:344)
         at com.sap.engine.services.jndi.implclient.OffsetClientContext.lookup(OffsetClientContext.java:254)
         at com.sap.engine.services.jndi.implclient.OffsetClientContext.lookup(OffsetClientContext.java:271)
         at javax.naming.InitialContext.lookup(InitialContext.java:347)
         at javax.naming.InitialContext.lookup(InitialContext.java:347)
         at com.xyz.ECEWenService$ECEWenServiceDynPage.callWebServicePrxy(ECEWenService.java:79)
         at com.xyz.ECEWenService$ECEWenServiceDynPage.doInitialization(ECEWenService.java:57)
         at com.sapportals.htmlb.page.PageProcessor.handleRequest(PageProcessor.java:105)
         at com.sapportals.portal.htmlb.page.PageProcessorComponent.doContent(PageProcessorComponent.java:134)
         at com.sapportals.portal.prt.component.AbstractPortalComponent.doPreview(AbstractPortalComponent.java:240)
         at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:168)
         at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
         at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
         at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:215)
         at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:645)
         at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
         at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:753)
         at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:240)
         at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:524)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:407)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:156)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:102)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)
    #1.5 #00E0ED0BA5EF00710000002800000F92000453A6B0EF1AAB#1217875304979#System.err#sap.com/irj#System.err#TESTUSER#6717##n/a##2c379d00625411dda84d00e0ed0ba5ef#SAPEngine_Application_Thread[impl:3]_16##0#0#Error##Plain###Naming Exception Path to object does not exist at java:comp, the whole lookup name is java:comp/env/ECCWS.#
    Here is how I am trying to use it:
    protected void callWebServicePrxy(){
         Hashtable env = new Hashtable();
         env.put(Context.INITIAL_CONTEXT_FACTORY, "com.sap.engine.services.jndi.InitialContextFactoryImpl");
         env.put(Context.PROVIDER_URL, "localhost:50004");
         try{
         InitialContext ctx = new InitialContext();
         Service obj = (Service) ctx.lookup("java:comp/env/ECCWS");
         YCUST port =  (YCUST)obj.getLogicalPort("YCUST");                         
         BAPI_CUSTOMER_GETDETAIL parameter = new BAPI_CUSTOMER_GETDETAIL();
         parameter.setCUSTOMERNO("0000009702");
         parameter.setPI_SALESORG("0001");
         BAPI_CUSTOMER_GETDETAILResponse result = new BAPI_CUSTOMER_GETDETAILResponse();
         result = port.BAPI_CUSTOMER_GETDETAIL(parameter);
         String NamePrint= result.getPE_ADDRESS().getNAME();
         System.err.println("Printing voila - " + NamePrint);
         }catch(ServiceException se){
            se.printStackTrace();
            System.err.print("Service Exception " + se.toString());
         }catch(RemoteException re){
            re.printStackTrace();
           System.err.print("Remote Exception " + re.toString());      
        }catch(NamingException ne) {
            ne.printStackTrace();
            System.err.println("Naming Exception " + ne.getMessage());
         }catch(Exception e) {
         e.printStackTrace();
         System.err.println("Exception " + e.getMessage());
    Do I need to put anything in my portal app.xml? Also, Is there any configuration required on Visual Admin.
    PLease help.
    Thanks
    SB

    Hi Stefan,
    Thanks, I was also looking at this help information. What Im doing in my portalapp.xml is below:
    <property name="PrivateSharingReference" value="SAPJ2EE::interface::ECCWS"/>
    But it is still giving the same error.
    One more question- Is it only 1 ( after interface in [SAPJ2EE::interface::] or is it TWO ( like this below
    SAPJ2EE::interface:
    Do you think im missing anything else?
    Thanks,
    SB

  • Problem accessing webservice from abstract portal component

    Hi,
       I have created a webservice from a portal service.  So i have created one more portal application to accessing that web service.  In that, i have done the following:
    -> Portal Service from Wsdl file - Client Side
    -> I have entered the Wsdl file name as, the location of the WebService
    -> I have selected the methods what i want to use in my application
    -> Finally i have given my ServiceName, Alias and Package as well.
    -> I have created one application object (Abstract Portal Component) to access the Web Service.
    -> Inside that AbstractPortalComponent, i have written the coding to access the methods.
    -> I have created one system with System Alias, i used this Alias name in my portalapp.xml
    While running it shows the error as,
                        <b>com.sapportals.portal.prt.service.ServiceException: Service not found: com.sap.portal.prt.soap.Alias</b>
    Help me in this, Thanks in Advance.,
    With Regards,
    Venkatesh.K.

    Hi venkatesh I ahve similar problem please could you share with us how did you sort out this error?
    Sreekanth

  • How to use Webservice

    Hi there,
    I am new to Web Dynpro, I want to know how I can use webservice using web dynpro development components. could anybody provide me with the steps.
    Thanks in advance

    Hi Antesar,
    Chk this links,..
    Webservices
    http://www.webservicex.net/WeatherForecast.asmx?wsdl
    Configuring Webservices
    http://edocs.beasys.com/wls/docs81//ConsoleHelp/webservices.html
    Creating Simple Webservices
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/5f3ee9d7-0901-0010-1096-f5b548ac1555
    Webservices weblog
    /people/riyaz.sayyad/blog/2006/05/08/consuming-xi-web-services-using-web-dynpro-150-part-ii
    Example
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webdynpro/wd%20java/wd%20tutorials/using%20car%20rental%20web%20service%20with%20web%20dynpro.pdf
    Hope this will be useful for u..
    GS

  • I am using webservice in ejb but it is giving Naming exception in NetWeaver

    hai
    this Guru.
    i am working as javadeveloper .
    in my project i am using webservices in ejbs.
    i am using netweaverdeveloper .
    my problem is whlie accessing webservices in ejbs it is giving Namingexception .
    please tell me the procedure for accesing WEBSERVICES IN EJB BY USING NETWEAVER DEVELOPER STUDIO.
                              THANQQQQQ
                       GURU FROM MOBILEONE PTV LIMITED
                              HYDERABAD
                              INDIA

    Hi Guru,
    Refer these links
    Accessing the Web Services Context from a WS-EJB -> 
    http://help.sap.com/saphelp_webas630/helpdata/en/a6/835f3e1e7d7937e10000000a114084/content.htm
    Accessing the web service from webdynpro ->
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/9fc0e990-0201-0010-199c-e38fc6dafb5d
    Regards,
    Uma

  • How to integrate to WebCenter Content using WebServices

    Hi all,
    I have only been exposed to WebCenter Content for a little while and would like to Integrate with it using WebServives - From what I understand is that if you use webservices (WSDL) there are some configuration that needs to happen on the WC Content side and mostly around security. At the moment I'm just testing the services our from SOAP_UI  - Ive used this link http://hostname:16200/cs/idcplg??wsdl
    I've tried viewing the WSDl in a browser but nothing displays... Can someone guide and help me on this?
    Thanks

    Hi,
    You can look up the following articles on MoS portal which gives details / examples and set up steps for working with Webservices :
    1332250.1 Creating a UCM Domain With OWSM Enable
    1332308.1 Calling GenericSoapService with WS-Security settings in JDeveloper using a Web Service Proxy
    1334471.1 Sample Soap Requests for Use in UCM 11g Calls to GenericSoapService (GenericSoapPort)
    Regards,
    Manoj

  • Call the webservice on the portal sometimes "基础连接已经关闭: 接收时发生错误"happened.

    call the webservice on the portal sometimes u201C基础连接已经关闭: 接收时发生错误u201Dhappened,the english meaning "basis connection is closed,error when recieve"

    Hello,
         MDM Version is 5.5.65.86
             Portal
             sap.com/SAP-JEECOR  7.00 SP18 (1000.7.00.18.0.20081123155626)  20091203155047 
             sap.com/SAP-JEE  7.00 SP18 (1000.7.00.18.0.20081123155510)  20091203154825 
             sap.com  MDM_JAVA_API  5.50 SP6 (1000.5.50.6.5.20100120101105)  SAP AG  SAP AG  20100204091131 
             sap.com  MDM_WEB_SERVICES  550 SP6 (1000.550.0.6.5.20100117165943)  SAP AG  MAIN_MDM55VA_C  20100204091208 
    this problem happened after our P system upgrade from 5.5.65.76 to 5.5.65.86,sometime when our MDM upgrade,SAP supply correspond WEBSERVICE jar, but this time ,SAP does not supply the correspond WEBSERVICE JAR file.we used WEBSERVICE JAR is the one that correspond with 5.5.65.76 may be this is the isuue causation

  • HOW TO SET UP PARTNER APPLICATION TO USE SSO OUTSIDE OF PORTAL

    If anyone knows how Portal switches context to run as the db user mapped to the lightweight schema and how it knows the db schema password please let me know.
    Should you have any queries please do not hesitate to contact me on 07775 896738.
    From document Oracle Portal Security Overview on PortalStudio.oracle.com:
    In Single Sign On mode (EnableSSO=Yes in the DAD), mod_plsql determines the name of the light-weight user and mapped database schema by calling
    WPG_SESSION_PRIVATE.GET_LW_USER and WPG_SESSION_PRIVATE.GET_DB_USER respectively.
    ** These calls are done using the Portal Schema (PORTAL30) and Portal schema password **
    mod_plsql then executes the procedure in the requested URL by using the N-Tier Authentication feature to connect to the database as the user returned from
    WPG_SESSION_PRIVATE.GET_DB_USER. ..... Note that N-Tier Authentication requires all schemas to be used for Portal user mappings to be granted 'connect
    through' privleges to the Portal schema (PORTAL30).
    The WWCTX packages are also used.
    So this is how it works with standard Portal
    - the document states that the WPG_SESSION_PRIVATE package is only accessible to the Portal schema
    - but I checked and it is also available to PORTAL30_SSO
    SQL> desc WPG_SESSION_PRIVATE
    PROCEDURE CREATE_SESSION
    Argument Name Type In/Out Default?
    P_COOKIE_NAME VARCHAR2 IN
    FUNCTION GET_DB_USER RETURNS VARCHAR2
    FUNCTION GET_LW_USER RETURNS VARCHAR2
    PROCEDURE GET_SESSION_INFO
    Argument Name Type In/Out Default?
    NUM_PARAMS NUMBER OUT
    PARAM_NAMES TABLE OF VARCHAR2(32000) OUT
    PARAM_VALUES TABLE OF VARCHAR2(32000) OUT
    PROCEDURE RESET_SESSION
    Argument Name Type In/Out Default?
    P_COOKIE_NAME VARCHAR2 IN
    In my case only the Login Server (PORTAL30_SSO) is going to be used/installed
    - the SAMPLE_SSO_PAPP application will only work if the DAD used to access is it set to use Basic authentication, i.e. the actual integration with the Login Server
    is done in the sample application code calls, stored in the database
    - when a DAD has enableSSO=yes it automatically accesses Portal (PORTAL30) packages to implement N-Tier authentication
    I'm currently testing:
    1. Configuring the SAMPLE_SSO_PAPP sample as documented with a DAD with Basic authentication
    2. Amending the ssoapp procedure to set context to another (db) user on successful authentication:
    wwctx_api.set_context (
    p_user_name => 'SCOTT',
    p_password => 'TIGER' );
    3. If this works then set_context with get_lw_user instead
    I have now amended the ssoapp procedure as follows to print out
    1. The userid entered when the login box is presented
    2. The Database user which the Portal Lightweight user is mapped to
    3. The Lightweight user Portal has used for authentication
    Amendments to papp.pkb:
    (ssoapp procedure, declare db_user_info and lw_user_info as VARCHAR2 in declare section)
    htp.p('Congratulations! It is working!<br>');
    db_user_info := wwctx_api.get_db_user;
    lw_user_info := wwctx_api.get_user;
    htp.p('User Information:' || l_user_info || '<br>');
    htp.p('DB User Information:' || db_user_info || '<br>');
    htp.p('LW User Information:' || lw_user_info || '<br>');
    The following shows the interesting results from my testing:
    - if the user owning the sample_sso_papp package is PORTAL30_SSO then the call to wwctx_api.get_db_user succeeds
    - if the user owning the sample_sso_papp package is a non-portal schema e.g. SSOAPP below the call to wwctx_api.get_db_user generates a User Defined exception
    Steps to test:
    Created new schema SSOAPP on the database
    - edited it in Portal and checked the use this schema for Portal users checkbox
    - created new Lightweight user SSO_LW in Portal, mapped it to SSOAPP schema
    - created new Lightweight user SSO_SCOTT in Portal, mapped to SCOTT schema
    - loadjava -user ssoapp/ssoapp@portal30 SSOHash.class
    - sqlplus portal30/portal30@portal30
    @provsyns ssoapp
    - sqlplus ssoapp/ssoapp@portal30
    @loadsdk.sql
    @loadpapp.sql
    Created DAD with basic authentication SAMPLE_SSO_PAPP
    - username: ssoapp
    - default home page: sample_sso_papp.ssoapp
    Registered the Sample SSO Partner Application with the Login Server and ran regapp.sql
    Commented out the calls to get_db_user in papp.pkb to avoid exception
    - called http://<server>/pls/sample_sso_papp
    - logged on as SSO_LW/sso_lw
    - got output:
    Congratulations! It is working!
    User Information: SSO_LW
    LW User Information: PUBLIC
    So the Portal lightweight user is not returned as SSO_LW
    if anyone knows why the Lightweight User in my test is returned as PUBLIC not SSO_LW
    Best Regards
    MIchael

    http://support.mozilla.com/en-US/kb/Changing+the+e-mail+program+used+by+Firefox

  • How do you use Struts with Jboss Portal

    I am trying to use strust with jboss portal but I am getting the following error:
    An error occured while rendering window 'default.MyPortlet2.myportlet2Window'
    org.apache.jasper.JasperException: Exception in JSP: /WEB-INF/jsp/SearchResultPage.jsp:71 68: List searchresult = (List) request.getAttribute("searchresult"); 69: %> 70: Stacktrace:
    I am getting this is in the log file
    Caused by: org.apache.jasper.JasperException: Exception in JSP: /WEB-INF/jsp/SearchResultPage.jsp:71
    68: List searchresult = (List) request.getAttribute("searchresult");
    69: %>
    70: <%
    71: for (Iterator itr=searchresult.iterator(); itr.hasNext(); )
    72: {
    73: testPackage.net.dao.hibernate.WorkList workList = (testPackage.net.dao.hibernate.WorkList)itr.next();
    74: %>
    Stacktrace:
    at org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:504)
    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:393)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
    at org.jboss.portal.portlet.impl.jsr168.PortletRequestDispatcherImpl.execute(PortletRequestDispatcherImpl.ja
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at org.jboss.portal.server.servlet.CommandFilter.doFilter(CommandFilter.java:65)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
    at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
    at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:574)
    at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:499)
    at org.jboss.portal.portlet.impl.jsr168.PortletRequestDispatcherImpl.include(PortletRequestDispatcherImpl.ja
    ... 238 more
    Caused by: java.lang.NullPointerException
    at org.apache.jsp.WEB_002dINF.jsp.SearchResultPage_jsp._jspService(SearchResultPage_jsp.java:152)
    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332)
    ... 255 more

    I am trying to use strust with jboss portal but I am getting the following error:
    An error occured while rendering window 'default.MyPortlet2.myportlet2Window'
    org.apache.jasper.JasperException: Exception in JSP: /WEB-INF/jsp/SearchResultPage.jsp:71 68: List searchresult = (List) request.getAttribute("searchresult"); 69: %> 70: Stacktrace:
    I am getting this is in the log file
    Caused by: org.apache.jasper.JasperException: Exception in JSP: /WEB-INF/jsp/SearchResultPage.jsp:71
    68: List searchresult = (List) request.getAttribute("searchresult");
    69: %>
    70: <%
    71: for (Iterator itr=searchresult.iterator(); itr.hasNext(); )
    72: {
    73: testPackage.net.dao.hibernate.WorkList workList = (testPackage.net.dao.hibernate.WorkList)itr.next();
    74: %>
    Stacktrace:
    at org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:504)
    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:393)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
    at org.jboss.portal.portlet.impl.jsr168.PortletRequestDispatcherImpl.execute(PortletRequestDispatcherImpl.ja
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at org.jboss.portal.server.servlet.CommandFilter.doFilter(CommandFilter.java:65)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
    at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
    at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:574)
    at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:499)
    at org.jboss.portal.portlet.impl.jsr168.PortletRequestDispatcherImpl.include(PortletRequestDispatcherImpl.ja
    ... 238 more
    Caused by: java.lang.NullPointerException
    at org.apache.jsp.WEB_002dINF.jsp.SearchResultPage_jsp._jspService(SearchResultPage_jsp.java:152)
    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332)
    ... 255 more

  • Image not displayed in html output used webservice to store in a location

    hi
    we have used webservices to store the pdf and html outputs but the problem is when we are seeing the preview in the bi publisher we can see the image in pdf and html but when we run through webservices and see the output files that are stored in some location image in the html output is not displayed but in the pdf we can see the image.
    i have used the direct insertion image option in the header section. is the problem because i have used the direct insertion.
    can you give the idea how to import logo from an external location so that we can check the if it is problem with direct insertion or problem with the webservice as we are storing the output files outside the catlog but it may not be wrong because in pdf we can see the image.
    I am not having any idea how to solve thsi issue..
    Sorry to bother you with these many questions
    Thanks in Advance
    Have a Nice day.

    Please state which BI Publisher version you are using.
    In case it is 10g then please always test the application with the latest patch first!.
    BTW today there is been a new patch 11846804 released for 10.1.3.4.1 (March 2011).
    regards
    Jorge

  • ADOBE FORMS using Webservice

    Hi Experts,
    I have a problem with Adobe Forms Using webservice.  I created  RFC where it saves data from Adobe Forms to a customized table and exposed it as webservice.  From the SOA manager, I copied the generated link pasted in the dataconnection in Adobe Lifecycle designer, but whenever I generate the form I keep receiving this error:
    "http:// erpwrk1.corp.com:8000/sap/bc/srt/wsdl/bndg_DFA46DE60CFOD33F19F21005056C00008/wsdl11/allinone/ws_policy/document?sap-client=001".  Check that the path is correct and that the file is a valid wsdl file.
    I already activated services from SICF in relation SOAP runtime.   What could be the cause of the problem and how to fix the problem?
    Thanks A Lot!
    Mae

    Hi Ma. Angelica A. Estacio,
    From the SOA manager, I copied the generated link pasted in the dataconnection in Adobe Lifecycle designer, but whenever I generate the form I keep receiving this error:  Check that the path is correct and that the file is a valid wsdl file and hence i cannot finish the data connection wizard.
    From the above posts, it looks like you have resolved the issue. But can you please let me know how did you resolve it ?
    Did you check any SAP transaction to find the above mentioned checkbox?
    Please revert as this has become critical now.
    You can mail me your response on [email protected]
    Regards,
    Rohit Gugale

  • Advantages of using XI in Vendor portal (webdynpro) development

    Hi,
    I will be greatful if anyone provide the advantages/disadvantages of using XI in vendor portal development. I need this information for my presentation to my client. I need it in urgent. Thanks in advance.

    ITS will be much handy when you want to display standard SAP transaction in portal/browser frontend.
    with ITS , you can expose the transaction to web with zero coding, but had to live with the limitation of not being able to change the look and feel much.
    whereas if youdecide to program the entire transaction yourself for the web, it will be really time consuming and sometime may not be able to provide the same look and feel and functionality which sap win/web gui offers.
    Regards
    Raja

  • How to use Webservices in SAP 7.0 SP 17

    Hi,
    I am having issues calling the webservices in SAP 7.0 SP 17.
    I am following the below mentioned tutorial to call a webservice from a portal project (PAR).
    http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/b449e790-0201-0010-1188-ff17840712d3
    I have been successful to a point where my websevice needs authentication. I am not sure how to do this.
    Here is the code of doContent()
    public void doContent(IPortalComponentRequest request, IPortalComponentResponse response)
             try
                  logger.infoT("Inside doConent()...");
                   UserProfile up = pushUserProfileAttributes();
                   logger.infoT("After pushUserProfileAttributes()...");
                   ILDAPOperationsService port=(ILDAPOperationsService) PortalRuntime.getRuntimeResources ().getService (ILDAPOperationsService.KEY);
                   logger.infoT("After port()...");
                   RegisterUserResponse res = port.CreateExternalUserProfile(up);               
                   logger.infoT("After res ..user created." + res.getEmailAddress());
             } catch (UserRegistationFailed e){logger.errorT("Error in calling webservice...."+ e.getLocalizedMessage());}
                  catch (Exception e1){logger.errorT("Error in calling webservice...."+ e1.getLocalizedMessage());
    Its failing at RegisterUserResponse res = port.CreateExternalUserProfile(up);     
    and the error I am getting is
    Error : Error in calling webservice....com.sap.engine.services.webservices.jaxm.soap.accessor.NestedSOAPException: Problem in server response: [Unauthorized].
    Any help with this will be highly appreciated.
    Also , if any documentation could be shared.
    Looking forward to hear something soon on this.
    Thanks,
    Shiv

    Hi Sumit,
    you may move your question to the ABAP for SAP HANA community (http://scn.sap.com/community/abap/hana).
    Are you asking about the SAP_BASIS version, or which version do you refer to?
    Best,
      Jasmin

Maybe you are looking for