Help on generating token for opendoc url in XI3.1

Hi Guys,
I am trying to get some help in generating token for opendoc url to avoid login while trying to access a report in Infoview.
From a previous post I got this code:
<%@ page import="com.crystaldecisions.sdk.framework.*" %>
<%@ page import="com.crystaldecisions.sdk.exception.SDKException" %>
<%@ page import="com.crystaldecisions.sdk.occa.security.*" %>
<%
boolean loginSuccessful = false;
IEnterpriseSession boEnterpriseSession = null;
String username = "Administrator";
String password = "pwd";
String cmsname = "CMS";
String authenticationType = "secEnterprise";
try {
//Log in.
boEnterpriseSession = CrystalEnterprise.getSessionMgr().logon( username, password, cmsname, authenticationType);
if (boEnterpriseSession == null) {
out.print("Unable to login.");
} else {
loginSuccessful = true;
} catch (SDKException sdkEx) {
out.print("ERROR ENCOUNTERED
" + sdkEx + "");
if (loginSuccessful) {
ILogonTokenMgr boLogonTokenMgr = boEnterpriseSession.getLogonTokenMgr();
String logonToken = boLogonTokenMgr.createLogonToken("", 60, 1);
String infoViewURL = null;
String tokenParam = null;
String redirectURL = null;
infoViewURL = "http://server:8080/InfoViewApp/logon.jsp";
tokenParam = "ivsLogonToken=" + logonToken;
redirectURL = infoViewURL + "&" + tokenParam;
response.sendRedirect(redirectURL);
%>
The problem is I don't know where to put this code in the opendoc.jsp file.
I tried to create a custom OpenDoc.jsp with a above code, leaving the original opendoc.jsp as it is. And used this custom jsp file in the opendoc url. This is taking me to Infoview login page and I see taht a token is created at the end of the url but it is not passed.
Can somebody help me to understand where exactly to put this code in the opendoc.jsp and any correction to this code or additional steps to get it working.
Any help is greatly appreciated

Stratos,
  Thanks for your inputs,
  I changed the code as you suggested , now my whole code looks like :
<%@ page import="com.crystaldecisions.sdk.framework.*" %>
<%@ page import="com.crystaldecisions.sdk.exception.SDKException" %>
<%@ page import="com.crystaldecisions.sdk.occa.security.*" %>
<%
boolean loginSuccessful = false;
IEnterpriseSession boEnterpriseSession = null;
String username = "user";
String password = "Password";
String cmsname  = "Server";
String authenticationType = "secEnterprise";
try {
   //Log in.
   boEnterpriseSession = CrystalEnterprise.getSessionMgr().logon( username, password, cmsname, authenticationType);
   if (boEnterpriseSession == null) {
      out.print("<FONT COLOR=RED><B>Unable to login.</B></FONT>");
   } else {
      loginSuccessful = true;
} catch (SDKException sdkEx) {
   out.print("<FONT COLOR=RED><B>ERROR ENCOUNTERED</B><BR>" + sdkEx + "</FONT>");
if (loginSuccessful) {
   ILogonTokenMgr boLogonTokenMgr = boEnterpriseSession.getLogonTokenMgr();
     String logonToken = boLogonTokenMgr.createLogonToken("", 60, 1);
     //String logonToken = boLogonTokenMgr.getDefaultToken();
   String infoViewURL = null;
   String tokenParam = null;
   String redirectURL = null;
   infoViewURL = "http://Server:8080/InfoViewApp/logon.jsp";
   tokenParam = "ivsLogonToken=" + logonToken;
   redirectURL = infoViewURL + "&" + tokenParam;
   pageContext.forward( "openDocument.jsp?iDocID=" + 4668 + "&token=" + tokenParam);
%>
But I am still getting the Infoview Login Page . The url on the login page is
http://server:8080/OpenDocument/opendoc/logonTrustedAuth.do?appKind=InfoView&iDocID=4668&isApplication=true&token=ivsLogonToken%server%3A6400%4021181JIipxt70VM0kd90v21179JFd4dHn7kW2FKSBi
We can see that a token is being generated and appended to this url but it is not passing the user name and password.
Please let me know what you think about this.

Similar Messages

  • Steps to generate Token for opendoc url call in XI3.1

    Hi Guys,
    I am quite new to Sdk's and java programming .
    I am trying to get some help in generating token for opendoc url to avoid login while trying to access a report in Infoview.
    From a previous post I got this code:
    <%@ page import="com.crystaldecisions.sdk.framework.*" %>
    <%@ page import="com.crystaldecisions.sdk.exception.SDKException" %>
    <%@ page import="com.crystaldecisions.sdk.occa.security.*" %>
    <%
    boolean loginSuccessful = false;
    IEnterpriseSession boEnterpriseSession = null;
    String username = "Administrator";
    String password = "pwd";
    String cmsname  = "CMS";
    String authenticationType = "secEnterprise";
    try {
       //Log in.
       boEnterpriseSession = CrystalEnterprise.getSessionMgr().logon( username, password, cmsname, authenticationType);
       if (boEnterpriseSession == null) {
          out.print("<FONT COLOR=RED><B>Unable to login.</B></FONT>");
       } else {
          loginSuccessful = true;
    } catch (SDKException sdkEx) {
       out.print("<FONT COLOR=RED><B>ERROR ENCOUNTERED</B><BR>" + sdkEx + "</FONT>");
    if (loginSuccessful) {
       ILogonTokenMgr boLogonTokenMgr = boEnterpriseSession.getLogonTokenMgr();
       String logonToken = boLogonTokenMgr.createLogonToken("", 60, 1);
       String infoViewURL = null;
       String tokenParam = null;
       String redirectURL = null;
       infoViewURL = "http://server:8080/InfoViewApp/logon.jsp";
       tokenParam = "ivsLogonToken=" + logonToken;
       redirectURL = infoViewURL + "&" + tokenParam;
       response.sendRedirect(redirectURL);
    %>
    The problem is I don't know where to put this code in the opendoc.jsp file.
    I tried to create a custom OpenDoc.jsp with a above code, leaving the original opendoc.jsp as it is. And used this custom jsp file in the opendoc url. This is taking me to Infoview login page and I see taht a token is created at the end of the url but it is not passed.
    Can somebody help me to understand where exactly to put this code in the opendoc.jsp and any correction to this code or additional steps to get it working.
    Any help is greatly appreciated!

    The code above is meant to redirect you to InfoView. Change the last bit of code as follows:
    //add any opendocument parameters to the URL here
    openDocURL = "http://server:8080/OpenDocument/opendoc/openDocument.jsp"
    tokenParam = "token=" + logonToken;
    redirectURL = openDocURL + "&" + tokenParam;
    response.sendRedirect(redirectURL);

  • Generating token for javacard framework?

    Hi,
    I am implementing JCRE and it needs to support all APIs that are specified by Oracle JCRE.
    It means that beside the coding/ implementation of each class and method, My framework needs to have tokens of each class, method and field as same as tokens of corresponding Oracle API classes, methods and fields.
    I don't know if there is a special rule to set token for each framework related item? Or Tokens will be changed if there are changes in framework?
    thanks,

    Stratos,
      Thanks for your inputs,
      I changed the code as you suggested , now my whole code looks like :
    <%@ page import="com.crystaldecisions.sdk.framework.*" %>
    <%@ page import="com.crystaldecisions.sdk.exception.SDKException" %>
    <%@ page import="com.crystaldecisions.sdk.occa.security.*" %>
    <%
    boolean loginSuccessful = false;
    IEnterpriseSession boEnterpriseSession = null;
    String username = "user";
    String password = "Password";
    String cmsname  = "Server";
    String authenticationType = "secEnterprise";
    try {
       //Log in.
       boEnterpriseSession = CrystalEnterprise.getSessionMgr().logon( username, password, cmsname, authenticationType);
       if (boEnterpriseSession == null) {
          out.print("<FONT COLOR=RED><B>Unable to login.</B></FONT>");
       } else {
          loginSuccessful = true;
    } catch (SDKException sdkEx) {
       out.print("<FONT COLOR=RED><B>ERROR ENCOUNTERED</B><BR>" + sdkEx + "</FONT>");
    if (loginSuccessful) {
       ILogonTokenMgr boLogonTokenMgr = boEnterpriseSession.getLogonTokenMgr();
         String logonToken = boLogonTokenMgr.createLogonToken("", 60, 1);
         //String logonToken = boLogonTokenMgr.getDefaultToken();
       String infoViewURL = null;
       String tokenParam = null;
       String redirectURL = null;
       infoViewURL = "http://Server:8080/InfoViewApp/logon.jsp";
       tokenParam = "ivsLogonToken=" + logonToken;
       redirectURL = infoViewURL + "&" + tokenParam;
       pageContext.forward( "openDocument.jsp?iDocID=" + 4668 + "&token=" + tokenParam);
    %>
    But I am still getting the Infoview Login Page . The url on the login page is
    http://server:8080/OpenDocument/opendoc/logonTrustedAuth.do?appKind=InfoView&iDocID=4668&isApplication=true&token=ivsLogonToken%server%3A6400%4021181JIipxt70VM0kd90v21179JFd4dHn7kW2FKSBi
    We can see that a token is being generated and appended to this url but it is not passing the user name and password.
    Please let me know what you think about this.

  • Close button for opendoc url

    hi,
       I m planning to give a URL to my end users which they will click to view the last instance of my scheduled report. Here I want my users to close the document or instance they are viewing and get back to the list of other instance it has.
    Please help me.

    Hi Kerry
    For a Close button in a .EXE it should be pretty simple. Just
    configure the project to close when it ends (Edit >
    Preferences... > Project node > Start and End node). Then
    make the last slide pretty short. Configure your button to point to
    the last slide.
    Cheers... Rick

  • How and what is generating response for an url ending with infoobject.cwr ?

    See the attached file first.
    I'm trying to find how the response is generated when i click on the notification tab. With firebug, i know that the request URL is :
    businessobjects/enterprise115/admin/en/infoobject.cwr?&action=-10005&cmd=notification&id=245228
    action     -10005
    cmd     notification
    id     245228
    I'm trying to figure out where and how the response is generated. I can't find any mapping to a servlet  corresponding to "infoobject.cwr".

    Hi, ilplvm,
    Calling directly into InfoView or InfoObjects is not supported or documented. If you'd like to access reports using URLs, then you can use "OpenDocument" [UR L  Reporting|http://help.sap.com/businessobject/product_guides/boexir31/en/xi3-1_url_reporting_opendocument_en.pdf]
    That doc, along with documentation on our SDK's is found in our [Developer Library|http://www.sdn.sap.com/irj/boc/sdklibrary].
    Regards,
    Bryan

  • Creating an Opaque view for generating the Action Link URL in OBIEE EBS int

    Do we have to Creating an Opaque view for generating the Action Link URL in OBIEE Oracle E-Business Suite integration if we are not using BI Applications(DAC). We built our Repository on Materialized views we were using with Discoverer so I'm not sure if we have to do the part that creates an Opaque view in our integration of EBS 11i with OBIEE.
    Thanks in advance.
    Leo

    Hi Leo,
    This is an example from an standard Oracle repository:
    select header_id , line_id, fnd_run_function.get_run_function_url(
    CAST(fnd_function.get_function_id('ISC_ORDINF_DETAILS_PMV') AS NUMBER),
    CAST( 'VALUEOF(NQ_SESSION.RESP_APPL_ID)' AS NUMBER),
    CAST( 'VALUEOF(NQ_SESSION.RESP_ID)' AS NUMBER),
    CAST( 'VALUEOF(NQ_SESSION.SEC_GROUP_ID)' AS NUMBER),
    'HeaderId=' || header_id ||'&pFunctionName=ISC_ORDINF_DETAILS_PMV&pMode=NO&pageFunctionName=ISC_ORDINF_DETAILS_PMV',
    null ) LINK
    FROM isc_book_sum2_f
    They use it in an opaque view, so you can reference session variables for login based on your responsibility.
    Good Luck,
    Daan Bakboord
    http://www.obi-forumlive.nl/

  • Can anyone help me wid d codes for  Generated Program for gate pass

    can anyone help me wid d codes for  Generated Program for gate pass in MM
    Message was edited by:
            Ronei Shedi

    Hi
    There is no std business process in SAP for Gate pass for the Material entry
    before GR stock entry into the stores.
    You have to write a Z program based on the details of Purchase order tables EKKO and EKPO.
    This will mainly check whether the correct PO qty was delivered or not with proper quality.
    So use the PO tables EKKO and EKPO and fetch the data and use it
    Since this is client specific there is no feneralised program for it.
    Reward points if useful
    Regards
    Anji

  • HT1014 I'm working with imovie 08 and converted movie originally from VHS tape to .m4v files imovie wouldn't recognize it.  I converted to .mov files and imovie generated thumbnails (for hours) and shows a New Event but there is nothing there. Any help?

    I'm working with imovie 08 on Macbook pro OS X and converted movie originally from VHS tape to .m4v files imovie wouldn't recognize it.  I converted to .mov files and imovie generated thumbnails (for hours) and shows a New Event but there is nothing there. Any help?

    markmc78 wrote:
    .. I'm really struggling with the concept of events/clips/projects.
    consider usage of a diff. editor.. iMovieHD6, you're entitled for a free downlaod at apple.com:
    http://www.apple.com/support/downloads/imovieHD6.html
    but IF you're relaxed, opened your mind, follow the bright light, ommmm.. for Events & Stuff:
    your intended workflow will add another step of quality-degradition (8mm>>avi>>mp4>>iM08) ..
    consider the free tool Mpeg Streamclip www.squared5.com for 'chopping' that 90min beast into pieces..
    rename these new chunks, follow advice given on my site:
    http://karsten.schluter.googlepages.com/im08changeeventdate
    there's the manual..
    http://manuals.info.apple.com/en/iMovie08_GettingStarted.pdf
    and the most recommended books from Mr Pogue's Missing Manual series..

  • Problem with opendoc url.

    hi experts,
    i am having a problem with opendoc url in my dashboard.my url is to open a webi report depends on two prompts given by the user.
    i am using the following url and it is working fine.
    http://sysname:port/OpenDocument/opendoc/openDocument.jsp?sType=wid&sRefresh=Y&iDocID=123456&mode=full&nbPrompts=2&lsSEnter Year=Prompt1&lsSEnter Dealer=prompt2.
    when i am entering a value for prompt2 like "krishna distributors" its working fine.but the problem here is whenever i am entering a value for the second prompt with a value like (ex:) "ravi & ravi distributors" its giving an message "NO DATA TO RETRIEVE"  because it is considering the & symbol in my prompt2 as another parameter as shown below.
    http://sysname:port/OpenDocument/opendoc/openDocument.jsp?sType=wid&sRefresh=Y&iDocID=123456&mode=full&nbPrompts=2&lsSEnter Year=Prompt1&lsSEnter Dealer=ravi & ravi distributor
    can anyone help me on this.
    thanks in advance,
    ravi kishore yarramsetti.

    Hi Ravi,
    In Excel , & considers as "Concatenation. So it will not work properly. To make this work, use Dealer Number instead of Dealer name in ur example.
    Eg:
    Dealer Name                           Dealer Number
    ravi & ravi distributors            D10001
    krishna distributors                 D10002
    If you use Dealer Number "D10001" you can get "ravi & ravi distributors " Information. In ur Dashboard Design, if the user clicks "ravi & ravi distributors" then pass "D10001" to the Opendoc and generate the report.
    Try to not use which has special characters as the prompt in Xcelsius.
    Thanks,
    Muthukumar A.S.

  • Error while creating a deployable proxy for a URL in NWDS

    Hi ,
    There is a requirement for calling a webservice in the .NET platform from JAVA using NWDS. The webservice of the server is pinged using the URL of the webservice. when the URL is passed in the WS navigator of CRD ( that is Development Server) ,  the response is retreived successfully .  The version of NWDS is 7.0.23.
    we are facing problem when we are trying to create a Deployable proxy in NWDS by using the following steps :
    1) Create a Development Component
    2) Select the Deployable Proxy
    3) Create the Client Proxy Defintion of the created DC
    At step 3 , when we giving the url or WSDL link  like "http:// www3.authoring.syngenta/newswebservice.asmx?WSDL" (this is just for example) , it is showing as "Invalid wsdl or wsdl not found " . so  that we are not able to procees further.
    When we are trying to create proxy the for the WSDL link like " http:// www.authoring.syngenta/newswebservice.asmx?WSDL" , we are able to create successfully.
    can anyone suggest why we are able to create the proxy for the URL "http:// www.authoring.syngenta/newswebservice.asmx?WSDL" and not for the other URL.
    Any pointers or suggestions are very helpful.
    Thanks and Regards,
    Sreedevi

    Late response I know, but I have solved a similar problem recently and thought I would share.
    Firstly, the problem is not with the namespace. The "Namespace ..." part is just stating the namespace the "Incorrect Value" has. So this error is complaining about the value "Unknown" - which isn't very helpful.
    It appears the SAP SE80 importer does not like elements like the following because it can't understand <s:element ref="s:schema" />. It appears this is a common thing to be included in .NET generated WSDLs.
     <s:element minOccurs="0" maxOccurs="1" name="GetCursDynamicResult">      <s:complexType>          <s:sequence>               <s:element ref="s:schema" />               <s:any />          </s:sequence>     </s:complexType></s:element> 
    SAP will also not like this example as it does not support mixed content (see: http://www.w3schools.com/schema/schema_complex_mixed.asp)
    <s:element minOccurs="0" maxOccurs="1" name="SaldoXMLResult">
         <s:complexType mixed="true">
              <s:sequence>
                   <s:any />
              </s:sequence>
         </s:complexType>
    </s:element>
    You can "Fix" the problem in both cases by removing the offending text in a local copy of the WSDL file so remove line 4 in the first example and change line 2 in the second to <s:complexType> the proxy can then be generated. No idea if the resulting service will be fully operational though!

  • Issue while opening webi reports using OpenDoc url in Chrome browser

    Hi
    We are in SAP BI4.0 SP7. We are facing weird issue while opening the webi report via OpenDoc url in chrome. we are facing the below issue only in chrome and it works perfectly in IE and Firefox.
    For the first time the report gets opened properly(when a session is created). If we try to open the same report from the same machine in a different browser tab, report gets opened up without any Tables\charts. We could see only a blank page with just the Report Tab name at the bottom. If we do refresh on the page, the report opens up correctly. We have checked for packet drops and there is no such thing. Is there any setting that we should make to resolve this. Your help is appreciated.
    thanks
    Gokul

    Hello Gokul,
    first thing is to check is if your chrome version is supported by your current BO version as specified in the PAM (is it?). If the chrome version is supported, and you still have an issue, then you can check with a sap support engineer.
    best regards,
    Victor

  • Exception on creation of service metadata for WSDL URL

    Hi expert,
    im consuming a wsdl file in my wdj dc , and on trying to execute im getting exception as follows .
    WsdlApp--com.sap.tc.webdynpro.model.webservice.exception.WSModelRuntimeException: Exception on creation of service metadata for WSDL URL 'E:\***********\MIOS_*********_********.wsdl' and service factory configuration 'null'
    at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.getOrCreateWsrService(WSModelInfo.java:422)
    at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.readOperationsFromWSDL(WSModelInfo.java:372)
    at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.importMetadataInternal(WSModelInfo.java:342)
    at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.importMetadata(WSModelInfo.java:326)
    at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo$Cache.getModelInfo(WSModelInfo.java:199)
    at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.getModelInfoFromCacheOrCreate(WSModelInfo.java:1035)
    at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.getModelInfoFromCacheOrCreate(WSModelInfo.java:248)
    at com.sap.tc.webdynpro.model.webservice.gci.WSTypedModel.<init>(WSTypedModel.java:41)
    at com.*****.wsdlwdj.batch.****************Batch.<init>(******************Batch.java:51)
    at com.*****.wsdlwdj.comp.*************Component.test**********Auth(************Component.java:266)
    at com.*****.wsdlwdj.comp.wdp.Internal****Component.test****Auth(Internal********Component.java:331)
    at com.*****.wsdlwdj.comp.WsdlView.wdDoInit(WsdlView.java:97)
    at com.*****.wsdlwdj.comp.wdp.InternalWsdlView.wdDoInit(InternalWsdlView.java:129)
    at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.doInit(DelegatingView.java:61)
    at com.sap.tc.webdynpro.progmodel.controller.Controller.initController(Controller.java:215)
    at com.sap.tc.webdynpro.progmodel.view.View.initController(View.java:445)
    at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:200)
    at com.sap.tc.webdynpro.progmodel.view.ViewManager.getView(ViewManager.java:709)
    at com.sap.tc.webdynpro.progmodel.view.ViewManager.bindRoot(ViewManager.java:579)
    at com.sap.tc.webdynpro.progmodel.view.ViewManager.init(ViewManager.java:155)
    at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.doOpen(WebDynproWindow.java:295)
    at com.sap.tc.webdynpro.clientserver.window.ApplicationWindow.show(ApplicationWindow.java:182)
    at com.sap.tc.webdynpro.clientserver.window.ApplicationWindow.open(ApplicationWindow.java:177)
    at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.init(ClientApplication.java:364)
    at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.initApplication(ApplicationSession.java:783)
    at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:303)
    at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:741)
    at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:694)
    at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:253)
    at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:185)
    at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)
    at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doGet(DispatcherServlet.java:46)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcherImpl.doWork(RequestDispatcherImpl.java:321)
    at com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:377)
    at com.sap.tc.webdynpro.clientserver.session.RequestManager.setSpnegoParameter(RequestManager.java:963)
    at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:157)
    at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)
    at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doGet(DispatcherServlet.java:46)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
    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:1064)
    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:104)
    at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176)
    Caused by: com.sap.engine.services.webservices.jaxrpc.exceptions.WebserviceClientException: GenericServiceFactory initialization problem. Could not load web service model. See nested exception for details.
    at com.sap.engine.services.webservices.espbase.client.dynamic.impl.DGenericServiceImpl.generateProxyFiles(DGenericServiceImpl.java:158)
    at com.sap.engine.services.webservices.espbase.client.dynamic.impl.DGenericServiceImpl.<init>(DGenericServiceImpl.java:56)
    at com.sap.engine.services.webservices.espbase.client.dynamic.GenericServiceFactory.createService(GenericServiceFactory.java:92)
    at com.sap.engine.services.webservices.espbase.client.dynamic.GenericServiceFactory.createService(GenericServiceFactory.java:114)
    at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.getOrCreateWsrService(WSModelInfo.java:420)
    ... 55 more
    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.engine.services.webservices.espbase.client.dynamic.impl.DGenericServiceImpl.generateProxyFiles(DGenericServiceImpl.java:155)
    ... 59 more
    Caused by: com.sap.engine.lib.xml.util.NestedException: IO Exception occurred while parsing file:/usr/sap/*****/JC**/j2ee/cluster/server1/E:/****/FolderName/WSDLNAME.wsdl (No such file or directory) -> java.io.FileNotFoundException: /usr/sap/***/JC**/j2ee/cluster/server1/E:/WSDL FILE/FolderName/wsdlname.wsdl (No such file or directory)
    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)
    ... 60 more
    Caused by: java.io.FileNotFoundException: /usr/sap/***/JC**/j2ee/cluster/server1/E:/WSDL FILE/FolderName/wsdlname.wsdl (No such file or directory)
    at java.io.FileInputStream.open(Native Method)
    at java.io.FileInputStream.<init>(FileInputStream.java:106)
    at java.io.FileInputStream.<init>(FileInputStream.java:66)
    at sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:69)
    at sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:156)
    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.parse_DTDValidation(Parser.java:260)
    at com.sap.engine.lib.xml.parser.Parser.parse(Parser.java:271)
    at com.sap.engine.lib.xml.parser.DOMParser.parse(DOMParser.java:101)
    at com.sap.engine.lib.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:127)
    at com.sap.engine.services.webservices.wsdl.WSDLDOMLoader.loadDOMDocument(WSDLDOMLoader.java:1023)
    ... 62 more
    Regards
    Govardan

    im using 7.01 and here we have options to use No Logical Destinations , but now i created destinations at visual admin at Server>Services>Web Service Security>WebService Clients>Sap.com-->Dynamic WS Proxies., as WS_METADATA_DEST and WS_MODELDATA_DEST     and have filled in other details too like url  , user name , password etc
    now im getting another error like as shown below please help
    com.****.wsdlwdj.applicaiton.WsdlApp
    [EXCEPTION]
    com.sap.tc.webdynpro.model.webservice.exception.WSModelRuntimeException: Exception on creation of service metadata for WS metadata destination 'WS_METADATA_DEST' and WS interface '{http://****.com/****}MIOS_Matrix***********'. One possible reason is that the metadata destination 'WS_METADATA_DEST' has not been properly configured; check configuration.
    at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.getOrCreateWsrService(WSModelInfo.java:440)
    at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.readOperationsFromWSDL(WSModelInfo.java:372)
    at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.importMetadataInternal(WSModelInfo.java:342)
    at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.importMetadata(WSModelInfo.java:326)
    at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo$Cache.getModelInfo(WSModelInfo.java:199)
    at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.getModelInfoFromCacheOrCreate(WSModelInfo.java:1035)
    at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.getModelInfoFromCacheOrCreate(WSModelInfo.java:248)
    at com.sap.tc.webdynpro.model.webservice.gci.WSTypedModel.<init>(WSTypedModel.java:41)
    at com.****.wsdlwdj.model.test.TestModel.<init>(TestModel.java:51)
    at com.****.wsdlwdj.comp.VcWsdlComponent.matrixAuthExecut(VcWsdlComponent.java:448)
    at com.****.wsdlwdj.comp.wdp.InternalVcWsdlComponent.matrixAuthExecut(InternalVcWsdlComponent.java:280)
    at com.****.wsdlwdj.comp.VcWsdlComponent.wdDoInit(VcWsdlComponent.java:132)
    at com.****.wsdlwdj.comp.wdp.InternalVcWsdlComponent.wdDoInit(InternalVcWsdlComponent.java:225)
    at com.sap.tc.webdynpro.progmodel.generation.DelegatingComponent.doInit(DelegatingComponent.java:108)
    at com.sap.tc.webdynpro.progmodel.controller.Controller.initController(Controller.java:215)
    at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:200)
    at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.init(ClientComponent.java:430)
    at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.init(ClientApplication.java:362)
    at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.initApplication(ApplicationSession.java:783)
    at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:303)
    at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:741)
    at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:694)
    at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:253)
    at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:185)
    at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)
    at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doGet(DispatcherServlet.java:46)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcherImpl.doWork(RequestDispatcherImpl.java:321)
    at com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:377)
    at com.sap.tc.webdynpro.clientserver.session.RequestManager.setSpnegoParameter(RequestManager.java:963)
    at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:157)
    at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)
    at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doGet(DispatcherServlet.java:46)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
    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:1064)
    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:104)
    at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176)
    Caused by: com.sap.engine.services.webservices.espbase.discovery.BaseIOException: Invalid Response Code 500 while accessing URL: http://devpid:8000/sap/xi/engine?type=entry&version=3.0&Sender.Service=BS_****_PORTAL&Interface=http%3A%2F%2F****.com%2Fbank_report%5EMIOS_Authorizers_List_Portal&sap-user=xi_portal&sap-password=****1234. Response Message: Empty HTTP request received. Content Type: text/xml. Body Content: <SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
    <SOAP:Header>
    </SOAP:Header>
    <SOAP:Body>
    <SOAP:Fault xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/"><faultcode>SOAP:Client</faultcode><faultstring>Empty HTTP request received</faultstring><faultactor>http://sap.com/xi/XI/Message/30</faultactor><detail><SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1"><SAP:Category>XIProtocol</SAP:Category><SAP:Code area="MESSAGE">EMPTY_HTTP_REQUEST_RECEIVED</SAP:Code><SAP:P1/><SAP:P2/><SAP:P3/><SAP:P4/><SAP:AdditionalText/><SAP:ApplicationFaultMessage namespace=""/><SAP:Stack>Empty HTTP query received; message processing not possible
    </SAP:Stack></SAP:Error></detail></SOAP:Fault>
    </SOAP:Body>
    </SOAP:Envelope>
    at com.sap.engine.services.webservices.server.management.discovery.DestinationsResolver.resolveURL(DestinationsResolver.java:246)
    at com.sap.engine.services.webservices.server.management.discovery.DestinationsResolver.resolveEntity(DestinationsResolver.java:130)
    at com.sap.engine.services.webservices.espbase.query.WSQueryImpl.initialize(WSQueryImpl.java:184)
    at com.sap.engine.services.webservices.espbase.query.WSQueryImpl.findWSInterfaces(WSQueryImpl.java:151)
    at com.sap.engine.services.webservices.server.management.discovery.ServiceDiscoveryImpl.getWSDLUrl(ServiceDiscoveryImpl.java:71)
    at com.sap.engine.services.webservices.espbase.client.dynamic.GenericServiceFactory.createService(GenericServiceFactory.java:134)
    at com.sap.tc.webdynpro.model.webservice.metadata.WSModelInfo.getOrCreateWsrService(WSModelInfo.java:429)
    ... 49 more

  • Generating EWA for JAVA

    Hello,
    I need to generate an EWA report for a JAVA stack.
    I have an ABAP + JAVA system for which I've configured SMD.
    The SETUP (Diagnostic Setup-->Managed Sytems) has been executed successfully.
    In SMSY I've created a JAVA component for the system.
    The ABAP EWA runs fine.
    However, no JAVA report in generated in DSWP.
    Will the report be generated seperately for the 2 stacks in DSWP?
    Also, when I try to manually generate it in the Trubleshooting tab on the SMD webpage,
    I just get an XML page.
    Pls. help.
    Thanks,
    Have a nice weekend,
    Saba.

    #976054
    2.2     Data Retrieval (Java)
    Technically, the Java part of the Data Retrieval process is transparent to the user and typically requires no further configuration. However, it does offer a direct interface to access the data retrieved for the EWA, bypassing the ABAP Data Retrieval infrastructure. In particular, it can be accessed by the Service Cockpit of the SMD directly for maintenance and error detection.
    2.2.1     The Service Cockpit
    The Service Cockpit can be reached under the following URL: http://<SMD Host>:<SMD Port>/smd/services. Its role is to provide a graphical UI to the Data Provider.
    2.2.3     Configuration
    All services, for which the data provider can retrieve data, are configured centrally through a configuration XML. The section u201CConfigurationu201D allows you to display this XML, download it for editing and upload a newer version if required.
    2.2.4     Service Download
    The actual retrieval of the data for the selected service (e.g. the EWA) can be triggered manually in section u201CService Downloadu201D. This will trigger the same processes as the external call from the ABAP side through the CSDCCN. The purpose of this functionality is to quickly allow access the data collected for the EWA and other services even without the ABAP data retrieval infrastructure. 
    Selecting the button u201CStart Serviceu201D will trigger the data retrieval of all relevant data for the selected service and the selected system.

  • ORACLE 10g generate reports for audit trail

    HELP ORACLE 10 g
    I am a beginner about the oracle 10g
    anybody can guide me how to start with
    generate reports for audit trail , top ten url
    , no of hits in the portlets ......
    =(
    thank you ....

    In a nutshell:
    1 - You will have to have the portal database schema as your data source.
    2 - You will have to design a target database schema with the target data bjects (tables, dimensions and fact tables - cubes) where the data will be loaded for reporting purposes.
    3 - Then you will have to model the loading process by defining mappings (mappings will translate into generated code for the load process) and process flows to run the mappings in the right order etc.
    4 - You will deploy the sources, targets and processing entities to the target schema.
    5 - You will run the deployed code periodically as needed and maintain the source, target and loading entities which might change with time.
    One observetion - OWB does not produce reports. It creates and maintains the data infrastructure for a reporting/analysis system (a data warehouse, data mart or an operational data store). To produce reports (for example, the top-10 report mentioned by you), you will have to run a reporting tool on top of the data structures created and maintained by OWB.
    Regards:
    Igor

  • How to generate Token

    Hi,
    I'm using Agile PLM for Process 6.1.0.1.
    in Agile Product Lifecycle Management for Process Documentation Library v6.1 >> Administrator User Guide is explained how to generate a Token from ADMIN Module.
    The guide says to click on ADMIN > Activities > Generate Token on the left navigation panel. Our issue is that the "generate Token" row exit doesn't appear.
    We have the same issue with the "import".
    The only row exit that appear is "Export"
    Do you know which could be the cause of this issue?
    If you need a better explanation let me know.
    Thanks and regards.
    Stefano
    Edited by: StefanoMeleSinfo on 16-gen-2013 2.22

    Hi, in the EnvironmentSettings.config file there are several sections that control this.
    First is the DataExchangeService node, which need to be different for the Source system versus the Target System. This controls which system can generate tokens.
    SOURCE SYSTEM
    <!-- Change the System Attribute of dataexchange to Production to make this environment import only environment -->                    
                        <!-- DataExchangeService follows a new and simpler config scheme now -->
                        <DataExchangeService configChildKey="name" refscope="Application" factory="Class:Xeno.Prodika.Services.DataExchange.DataExchangeServiceFactory,PlatformExtensions" >
                             <envvar name='DexConfiguration' handler='Class:Xeno.Prodika.Services.DataExchange.Configuration.DexConfigSectionHandlerFactory,PlatformExtensions'>
                                  <DataExchangeConfig System="PSTAGE" NotifierEmail="@@VAR:Prodika.DataExchangeService.Notifier.EmailAddress@@"
                                       EncryptionFilter="Class:Xeno.Prodika.Services.DataExchange.Serialization.RijndaelEncryptionStreamFilterFactory,PlatformExtensions">
                                       <TargetSystems>
    PDEV
                                       </TargetSystems>
                                       <SourceSystems>
                                       </SourceSystems>
                                  </DataExchangeConfig>
                             </envvar>
                        </DataExchangeService>
    TARGET SYSTEM - The Target will allow Tokens to be generated for the Source.
    <!-- Change the System Attribute of dataexchange to Production to make this environment import only environment -->                    
                        <!-- DataExchangeService follows a new and simpler config scheme now -->
                        <DataExchangeService configChildKey="name" refscope="Application" factory="Class:Xeno.Prodika.Services.DataExchange.DataExchangeServiceFactory,PlatformExtensions" >
                             <envvar name='DexConfiguration' handler='Class:Xeno.Prodika.Services.DataExchange.Configuration.DexConfigSectionHandlerFactory,PlatformExtensions'>
                                  <DataExchangeConfig System="PDEV" NotifierEmail="@@VAR:Prodika.DataExchangeService.Notifier.EmailAddress@@"
                                       EncryptionFilter="Class:Xeno.Prodika.Services.DataExchange.Serialization.RijndaelEncryptionStreamFilterFactory,PlatformExtensions">
                                       <TargetSystems>
                                       </TargetSystems>
                                       <SourceSystems>
    PSTAGE
                                       </SourceSystems>
                                  </DataExchangeConfig>
                             </envvar>
                        </DataExchangeService>
    Then there are several sections you set the which allows create, edit, and export from the Source system, and then you dis-allow on the Target system.
    SOURCE System: We set WFA and UGM (i.e PMA) to allow everything but Import.
         <WFA>
              <AppSettings configChildKey="key" >
                   <add key="AllowCreate" value="true" configAttributeOverrideModifier="IsLocked"/>
                   <add key="AllowEdit" value="true" configAttributeOverrideModifier="IsLocked"/>
                   <add key="AllowCopy" value="true" configAttributeOverrideModifier="IsLocked" />
                   <add key="AllowImport" value="false" configAttributeOverrideModifier="IsLocked" />
                   <add key="AllowExport" value="true" configAttributeOverrideModifier="IsLocked" />
              </AppSettings>
         </WFA>
         <PMA>
              <AppSettings configChildKey="key" >
                   <add key="AllowUserCreate" value="true" configAttributeOverrideModifier="IsLocked"/>
                   <add key="AllowUserEdit" value="true" configAttributeOverrideModifier="IsLocked"/>
                   <add key="AllowUserImport" value="false" configAttributeOverrideModifier="IsLocked" />
                   <add key="AllowUserExport" value="true" configAttributeOverrideModifier="IsLocked" />
                   <add key="AllowGroupCreate" value="true" configAttributeOverrideModifier="IsLocked"/>
                   <add key="AllowGroupEdit" value="true" configAttributeOverrideModifier="IsLocked"/>
                   <add key="AllowGroupImport" value="false" configAttributeOverrideModifier="IsLocked" />
                   <add key="AllowGroupExport" value="true" configAttributeOverrideModifier="IsLocked" />
              </AppSettings>
         </PMA>
    TARGET System: We set WFA and UGM (i.e PMA) to not allow everything but Import.
         <WFA>
              <AppSettings configChildKey="key" >
                   <add key="AllowCreate" value="false" configAttributeOverrideModifier="IsLocked"/>
                   <add key="AllowEdit" value="false" configAttributeOverrideModifier="IsLocked"/>
                   <add key="AllowCopy" value="false" configAttributeOverrideModifier="IsLocked" />
                   <add key="AllowImport" value="true" configAttributeOverrideModifier="IsLocked" />
                   <add key="AllowExport" value="false" configAttributeOverrideModifier="IsLocked" />
              </AppSettings>
         </WFA>
         <PMA>
              <AppSettings configChildKey="key" >
                   <add key="AllowUserCreate" value="false" configAttributeOverrideModifier="IsLocked"/>
                   <add key="AllowUserEdit" value="false" configAttributeOverrideModifier="IsLocked"/>
                   <add key="AllowUserImport" value="true" configAttributeOverrideModifier="IsLocked" />
                   <add key="AllowUserExport" value="false" configAttributeOverrideModifier="IsLocked" />
                   <add key="AllowGroupCreate" value="false" configAttributeOverrideModifier="IsLocked"/>
                   <add key="AllowGroupEdit" value="false" configAttributeOverrideModifier="IsLocked"/>
                   <add key="AllowGroupImport" value="true" configAttributeOverrideModifier="IsLocked" />
                   <add key="AllowGroupExport" value="false" configAttributeOverrideModifier="IsLocked" />
              </AppSettings>
         </PMA>
    Hope that helps!

Maybe you are looking for

  • G4 iMac migrates to Intel Core Duo

    I just migrated the contents of my 17” G4 iMac to a 20” Core Duo. The only piece of software that wouldn’t run on the new Mac was Nikon Capture 4.4.1; upon launching, it told me that it was missing necessary files. I reloaded the software from my ori

  • Explain plan for SQL running in a session

    Hi. Can you get the explain plan information for sql that's currently running in a session? I know I can use the session report to see the active SQL, but I don't know if it's possible to get the explain plan information from there, like you can with

  • Retrieving data disk of faithful PB 12"

    A close friend of mine has been the proud owner of a PowerBook 12" for several years. She recently dropped it... cut a long story short; A Genius at an Apple store diagnosed the logic board as faulty. She has her data on the hard drive of the PB, whi

  • Stop watch

    I would like to make a request for a change to the curent stopwatch programe or if someone out there wanted to make an app. I was at the races an was using my phone as the stopwatch but it only gives you tenths of a second. I needs to by houndedts of

  • Logging into iTunes on someone else's computer

    I have authorization to unlock my iPhone. Can I log into my iTunes account using someone else's computer to complete the process?