Web Service portlet in PDK (Urgent!!!)

I have a .NET web service I would like to consume in the portal and present as a portlet. For several reason I do not want to use OMNI (not the least of the reasons is after 3 weeks of working with oracle tech support on a corresponding I still can’t get OMNI and WebClipping running)
Either way, the WS consumption system with xsl/xslt controlled presentation as seen in Web Services sample provide in the PDK suits my needs a lot better.
Now as I mentioned I have a .NET service running and well tested.
I can indeed consume it and even apply XSL, what I can’t do however is to pass parameters to web service.
I define portlet with something like:
<portlet class="oracle.portal.provider.v2.DefaultPortletDefinition">
          <id>25</id>
          <name>Listings</name>
          <title>Listings Web Service Portlet</title>
          <shortTitle>Phone Listings</shortTitle>
          <description>Web Service demonstration portlet.</description>
          <timeout>100</timeout>
          <timeoutMessage>portlet timed out</timeoutMessage>
          <acceptContentType>text/html</acceptContentType>
          <renderer class="oracle.portal.provider.v2.render.RenderManager">
          <contentType>text/html</contentType>
          <charSet>UTF-8</charSet>
          <showPage class="oracle.portal.provider.v2.webservice.DocWebServiceRenderer">
               <contentType>text/html</contentType>
               <logging>true</logging>
               <endpointURL>http://myserver.com/webservices/listings.asmx</endpointURL>
               <soapAction>http://myserver.com/webservices/getPerson</soapAction>
               <literal class="oracle.portal.provider.v2.webservice.LiteralXML"
               handler="oracle.portal.provider.v2.webservice.LiteralXML$Handler">
               <element name="getPerson">
                    <attribute name="xmlns">http://myserver.com/webservices/</attribute>
                    <element name="inputStr"
                    bind="urlParams/lname"
                    default="Yu"
                    prompt="Please enter last name"/>
               </element>
               </literal>
               <escapeOutput>false</escapeOutput>
          <responseXSL>listings.xsl</responseXSL>
          </showPage>
          </renderer>
     </portlet>
This actually seem to work and in the …_literal.xml log file I can see something like that:
<getPerson xmlns="http://myserver.com/webservices/">
<inputStr xmlns="http://myserver.com/webservices/">Yukh</inputStr >
</getPerson >
(Yukh – is what I passed as urlParam)
The problem however is that service that should run a query with “WHERE lname LIKE ‘<inputStr>%’” returns the whole datatable rather then only those records that starts with Yukh in the lname column. In short request parameter is ignored by web service (or not passed)
The only difference between my portlet and samples (most of which don’t work as advertised by the way) is that oracle …_literal.xml log file doesn’t have xmlns in the sub elements
<WhoIs xmlns="http://tempuri.org/">
<DomainName>oracle.com</DomainName>
</WhoIs>
(I have no idea why mine does (I define no attributes for inputStr element)
If you have any idea what I might be missing or doing wrong please let me know!!! I’ll greatly appreciate.

We tried using Omniportlet. It expects the resultset in ROWSET/ROW format. Our .Net Webservice doesn't return in rowset/row. We tried transforming using XSL, but even then it didn't work.
Thanks

Similar Messages

  • Web Service portlet using pdk documentation issue

    Hi,
    I have followed the instructions in
    http://portalcenter.oracle.com/pls/ops/docs/FOLDER/COMMUNITY/PDK/ARTICLES/how.to.build.web.services.portlets.html
    on how to build web service portlets.
    I have successfully deployed the WS portlet and can happily call my web Service (RPC style) passing a set of parameters which I have formatted using a stylesheet.
    However, every time I refresh the page within portal, it recalls the WS with the previously submitted parameters. Also, if I switch between view and edit mode in portal, it again calls the WS with previously entered parameters.
    Can I stop this happening either through a setting in portal or code in my Stub class. (Stub class below)
    Thanks alot
    Joel.
    package mypackage;
    import oracle.soap.transport.http.OracleSOAPHTTPConnection;
    import org.apache.soap.encoding.SOAPMappingRegistry;
    import java.math.BigDecimal;
    import java.net.URL;
    import org.apache.soap.rpc.Call;
    import org.apache.soap.Constants;
    import java.util.Vector;
    import org.apache.soap.rpc.Parameter;
    import org.apache.soap.rpc.Response;
    import org.apache.soap.Fault;
    import org.apache.soap.SOAPException;
    import java.util.Properties;
    * Generated by the Oracle JDeveloper 10g Web Services Stub/Skeleton Generator.
    * Date Created: Thu Feb 03 15:38:22 GMT 2005
    * WSDL URL: file:/D:/Software/Oracle/NT/jdev_10.1.2/jdev/mywork/blah/CreateSR2/src/LG02/CreateSR2.wsdl
    public class CreateSR2Stub
    public CreateSR2Stub()
    m_httpConnection = new OracleSOAPHTTPConnection();
    m_smr = new SOAPMappingRegistry();
    public static void main(String[] args)
    try
    CreateSR2Stub stub = new CreateSR2Stub();
    // Add your own code here.
    catch(Exception ex)
    ex.printStackTrace();
    private String _endpoint = "http://myServer:7779/Blah-CreateSR2-context-root/CreateSR2";
    public String getEndpoint()
    return _endpoint;
    public void setEndpoint(String endpoint)
    _endpoint = endpoint;
    private OracleSOAPHTTPConnection m_httpConnection = null;
    private SOAPMappingRegistry m_smr = null;
    public String createSrStub(BigDecimal pCitizen, String pAccountType, String pSummary, String pReferral, String pReason, String pHouse, String pRos, BigDecimal pGroup, String pOwner, String pMode, String pFrom) throws Exception
    String returnVal = null;
    URL endpointURL = new URL(_endpoint);
    Call call = new Call();
    call.setSOAPTransport(m_httpConnection);
    call.setTargetObjectURI("CreateSR2");
    call.setMethodName("createSrStub");
    call.setEncodingStyleURI(Constants.NS_URI_SOAP_ENC);
    Vector params = new Vector();
    params.addElement(new Parameter("pCitizen", BigDecimal.class, pCitizen, null));
    params.addElement(new Parameter("pAccountType", String.class, pAccountType, null));
    params.addElement(new Parameter("pSummary", String.class, pSummary, null));
    params.addElement(new Parameter("pReferral", String.class, pReferral, null));
    params.addElement(new Parameter("pReason", String.class, pReason, null));
    params.addElement(new Parameter("pHouse", String.class, pHouse, null));
    params.addElement(new Parameter("pRos", String.class, pRos, null));
    params.addElement(new Parameter("pGroup", BigDecimal.class, pGroup, null));
    params.addElement(new Parameter("pOwner", String.class, pOwner, null));
    params.addElement(new Parameter("pMode", String.class, pMode, null));
    params.addElement(new Parameter("pFrom", String.class, pFrom, null));
    call.setParams(params);
    call.setSOAPMappingRegistry(m_smr);
    Response response = call.invoke(endpointURL, "");
    if (!response.generatedFault())
    Parameter result = response.getReturnValue();
    returnVal = (String)result.getValue();
    else
    Fault fault = response.getFault();
    throw new SOAPException(fault.getFaultCode(), fault.getFaultString());
    return returnVal;
    public void setMaintainSession(boolean maintainSession)
    m_httpConnection.setMaintainSession(maintainSession);
    public boolean getMaintainSession()
    return m_httpConnection.getMaintainSession();
    public void setTransportProperties(Properties props)
    m_httpConnection.setProperties(props);
    public Properties getTransportProperties()
    return m_httpConnection.getProperties();
    }

    Hi Joel,
    You can enable caching for your portlet. There are three types of caching you can use: expiry, validation, and invalidation-based caching. You can learn about your options in the Enhancing Portlet Performance with Caching section of the Portal Developer's Guide.
    Regards,
    Peter

  • 401 HTTP Response for remote web service portlet

    Hi, I am trying to configure IIS web page in ALUI as a remote web service portlet. I have used one of the help HTML pages of IIS server to configure portlet.
    http://localhost/IISHelp/iis/htm/core/iiwltop.htm
    However, I am getting 401 http response error (You are not authorized to view this page) when i view the portlet. The same URL above works fine if I open in a stand alone browser. Could any one of you help in resolving this please?
    Thanks
    Sampath

    Hi, thanks a lot for your help. I am using windows XP professional. When I set my directory security & grant anonymous access to IUSER the default help site also not coming up, i am geting 401 error.
    When I checked the option Integrated Windows Authentication, then in Internet Explorer the help pages are coming up with out asking for user name and password. I installed firefox and checked. In Firefox, a prompt was coming to fill user name and password. I filled in my local windows authentication details and the page was working.
    I provided the windows login details for the remote server in Administrator's basic acuthentication information. I was still getting the same error (401 error). Then I went to IIS, drectory security settings and checked Basic Authentication(password is sent in clear text) & unchecked Integrated Windows Authentication, the website pages in IIS were showing up in ALUI. WIth this, my problem is half solved.
    The next problem is, I have siebel analytics web application running on IIS. This website requires user name and password if i have to access any report (say). It automatically redirects to my login page. Now I do not want portal user to enter the login details again for accessing siebel reports. But since I have two authentications (now) one for IIS and one for Siebel reporting website, any one know how to configure this?
    I was trying to configure different authentication in web service that i was creating in ALUI, but siebel website authentication information I am providing in web service is overriding the IIS authentication and I am getting 401 error (initial problem). I appreciate any auggestions.
    Thanks a lot in advance.
    -sampath

  • Web Services Portlet

    Hello
    I am trying to follow sample application developed in WebLogic 8.1(beta). The tutorial was available in bea.com.
    Tutorial shows image from Workshop with "Web Services Portlet".
    I don't see that option in my Workshop.
    Does anyone help me, how to get "Web Services Portlet" option in Portal for new portlet?
    Thanks
    Karthik

    Hi there,
    Are you trying to connect to a web service and expose it via a portlet? If so you need to first build a control, next generate a PageFlow from control. Once you have a PageFlow you can drop in a portal and get a portlet. Check this article, it may help you:
    http://dev2dev.bea.com/products/wlportal81/articles/wlp_Toussaint.jsp
    If you are talking about Web Services based Remote Portlets, you may want to look at:
    http://dev2dev.bea.com/products/wlportal81/articles/wsrp.jsp
    and
    http://dev2dev.bea.com/products/wlportal81/articles/wsrp_test_server_at.jsp
    Best Regards,
    --alex                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Web Services with Complex Objects (Urgent !!)

    Hi,
    My last post was on a problem using IBM-RAD (Service) and AXIS2 (Client) in "New to Java" Forum. That is one of the trial scenarios I'm working on nowadays. Hope, I'll get some useful reply soon.
    Now, I need a suggestion about the application I'm working upon. It is as follows:
    (i) The application (i.e. Service Class) takes some primitive,String and/or some bean object as input
    (ii) It returns a bean object [or an array (can use collection class also if possible) of bean objects].
    (iii) The bean properties are primitive,String , other bean objects, and/or some collection object(Vector / ArrayList etc.) i.e. it should handle complex objects.
    (iv) The Service should run on Websphere and Client on Tomcat.
    A pictorial representation is given below:
    [primitive/String/bean object (Input arg)]
    [(Contains  primitive/String/other bean objects/collection class)] Bean <---------> Service <----------------------- Client
    [Calls bean] |===============> Client
    [Returns bean (or array of beans / collection object)]
    I'm now trying (by building test applications) a combination of IBM-RAD (Service) and AXIS2 (Client), but facing problems in handling array of beans and/or collection classes either on Service or on the Client side.
    So, I need some suggestions on whether I'm going the right way, or need to change my approach (or technology). Any suggestion would be appreciated.
    Please reply ASAP, it is urgent.
    Thanks in advance,
    Suman

    no problem for me, so it's not urgent.
    Request for help denied.

  • Problems trying tutorial "Building a GoogleSearch Web Service Portlet"

    Hi all
    I'm trying the tutorial at the link
    http://developers.sun.com/prodtech/javatools/jscreator/learning/tutorials/2/googleportlet.html
    with Sun Java Studio Cerator2 Update1, on a PC with Linux Suse 9.3.
    When I try to run the portlet in the pluto portal simulator, I always receive the message:
    "HTTP Status-Code 407: Proxy Authentication Required; nested exception is: HTTP Status-Code 407: Proxy Authentication Required"
    in the Message Group component of the application.
    I'm behind a firewall.
    I have setting the proxy configuration parameters both in the IDE and in the browser (Mozzilla), as explained in the tutorial itself, but it dosen't work.
    The proxy host server and the proxy port are settings correctly.
    Infact, from the IDE, I can go to the SUN Java Studio Creator Update Center, and find the items.
    What I'm wrong ?
    Thanks
    Brembilla Danilo

    Hi Marco.
    yes normally I need a username and a password ( and I have it ) for the authentication on the proxy.
    I have two situation:
    1) The browser (Mozzilla)is already launch when I run the simple application.
    When I start the browser ( Mozzilla ) it ask to me for user/password information, because my home page is setting on www.sun.com, and I'm behind a firewall.
    So, when I launch the simple application from the Cerator, the pluto portal simulator start in a new browser page, and don't ask me usr/pwd again, but it use the previous provided.
    Here I have the simple application in run, and I input the word on which I want to call the doSpellingSuggestion() method.
    I press the "Spell" button and i receive the message :
    "HTTP Status-Code 407: Proxy Authentication Required; nested exception is: HTTP Status-Code 407: Proxy Authentication Required"
    2) The browser (Mozzilla)is NOT already launch when I run the application.
    The Creator launch the browser opening the simple application in a new browser page WITHOUT asking the username and password (why? Is the error here? ).
    I input the word on which I want to call the doSpellingSuggestion() method.
    I press the "Spell" button and i receive (obviously) the message :
    "HTTP Status-Code 407: Proxy Authentication Required; nested exception is: HTTP Status-Code 407: Proxy Authentication Requir
    I have said that function with the IDE, meaning that the username and the password that I have are ok for the proxy, because once I have provided it on the button "Proxy configuration" in "Tools->Updsate Center" in the IDE, and then I choose the "next" button, I 'm be able to connect to the "Sun Java Studio Creator Center"
    Thanks
    Danilo Brembilla

  • Failed to register a web service portlet provider

    Hi,
    I'm trying to register a portlet provider in Portal 11g. however, the following error was returned. Is there anyone can help? Thanks.
    WSDL URL: http://host:port/webapp6/portlets/wsrp2?WSDL
    Error
    ===
    Internal error (WWC-00006)
    Unexpected error - User-Defined Exception (WWC-35000)
    An error occurred during the call to the WSRP Provider: java.rmi.RemoteException: ; nested exception is:
    HTTP transport error: java.io.InterruptedIOException: recv() timed out
    A non-blocking socket operation could not be completed immediately.
    Java stack trace from root exception:
    HTTP transport error: java.io.InterruptedIOException: recv() timed out
    A non-blocking socket operation could not be completed immediately.
    at oracle.webdb.wsrp.client.BaseHTTPClientTransport.invoke(Unknown Source)
    at oracle.j2ee.ws.client.StreamingSender._sendImpl(StreamingSender.java)
    at oracle.j2ee.ws.client.StreamingSender._send(StreamingSender.java:110)
    at oracle.webdb.wsrp.v2.runtime.WSRP_v2_ServiceDescription_Binding_SOAP_Stub.getServiceDescription(Unknown Source)
    at oracle.webdb.wsrp.client.design.v2.OraWSRP_v2_ServiceDescription_PortType.getServiceDescription(Unknown Source)
    CAUSE:
    java.io.InterruptedIOException: recv() timed out
    A non-blocking socket operation could not be completed immediately.
    at oracle.webdb.wsrp.client.BaseHTTPClientTransport.invoke(Unknown Source)
    at oracle.j2ee.ws.client.StreamingSender._sendImpl(StreamingSender.java)
    at oracle.j2ee.ws.client.StreamingSender._send(StreamingSender.java:110)
    at oracle.webdb.wsrp.v2.runtime.WSRP_v2_ServiceDescription_Binding_SOAP_Stub.getServiceDescription(Unknown Source)
    at oracle.webdb.wsrp.client.design.v2.OraWSRP_v2_ServiceDescription_PortType.getServiceDescription(Unknown Source)
    Caused by: java.io.InterruptedIOException: recv() timed out
    A non-blocking socket operation could not be completed immediately.
    at java.net.SocketInputStream.socketRead0(Native Method)
    at java.net.SocketInputStream.read(SocketInputStream.java:129)
    at HTTPClient.BufferedInputStream.fillBuff(BufferedInputStream.java:172)
    at HTTPClient.BufferedInputStream.read(BufferedInputStream.java)
    at HTTPClient.StreamDemultiplexor.read(StreamDemultiplexor.java)
    at HTTPClient.RespInputStream.read(RespInputStream.ja (WWC-43273)

    Finally I restore both Portal 11g and SSO 10g from backup images and the portlets can be resigtered succesfully. It seems that something is corrupted.

  • Where are teh Web Services Samples?

    I have downloaded the latest PDK and the web services samples are not included. They also were not included in the Relase 2 Install of the Portal as far as I can tell. Can someone tell me where to find them.
    Thanks

    Please find Web Services samples article sources at http://portalcenter.oracle.com/pls/ops/docs/FOLDER/COMMUNITY/PDK/ARTICLES/HOW.TO.BUILD.WEB.SERVICES.PORTLETS.HTML
    one can many articles related to PDK under articles folder inside pdk.zip.

  • Access user inside of web service stub (or web service)

    i am trying to access the current portal user from inside a web service and/or a web service stub. (note, ws is generated using xslt)...
    i found in an otn document (http://portalstudio.oracle.com/pls/ops/docs/FOLDER/COMMUNITY/PDK/articles/understanding.web.services.for.portlets.html) the following:
    *** begin
    By using information specified in the XML provider definition (provider.xml), the renderers allow inputs to a web service to be "wired up" declaratively to any of the following sources of information.
    Portlet render request parameters, such as the username, locale and authentication level
    *** end
    it continues, but the above section seems relevant to me. it indicates that i should be able to get this information to my web service (through the renderer???). can someone please explain how? are there examples of this?
    thank you very much.
    chris

    found it...
    http://portalcenter.oracle.com/pls/ops/docs/FOLDER/COMMUNITY/PDK/ARTICLES/HOW.TO.BUILD.WEB.SERVICES.PORTLETS.HTML

  • User defined error in register service of service portlet

    Hi,
    When I try to install the service portlet(PLSQL PDK)
    I get a user defined exception error whenthe service register
    sql file is ran.
    Does any one know the solution for this??
    cheers,
    Ranjit
    PS:sorry for posting this second time.

    Hello Shanky!
                When ever purchase order is created, a message type will get invoked which in turn will call the function module IDOC_INPUT_PORDCR1.The import parameters of this function module must be populated with appropriate values when purchase order is created.Failing which, error messages will be generated.That's what happened in your case.
               Also, please check in WE05 whether your IDoc is created with error.If you have erroneous IDoc in WE05 for your purchase order, it should be due to the above stated reason.To override the erroneous IDocs , take a copy of the above function module and do the customization that suits to your requirement. 
               If  you cannot handle this issue, approach your ABAP-XI consultant or the ABAPer who has knowledge in ALE/IDocs.
    Regards,
    S.Suresh

  • Content Server: News Web Service - Customization

    I have highly customized the news web service portlet. The final item on my list of customizations is to only show the "Create Article" when the user has the appropriate priveleges. How can I retrieve the user's authorization/permission level so that they will not see the "You are not authorized message" since they will never see the button?
    Thank you

    Hi ,
    Caused by: intradoc.data.DataException: !syParameterNotFound,listTemplateId
    This is the core error that is causing the issue , is there any parameter that is named "listTemplateId" ?
    Thanks
    Srinath

  • Problem with Sample Web Services Dictionary

    I have downloaded the latest jpdk.war file. At the ws provider's Test page, I am able to see
    WhoIs
    StockQuote
    Dictionary
    ZipcodePortlet
    LocationInformation
    WeatherInformation
    WeatherwithDefaultStyleSheet
    LocalTime Information
    LocalTemperature
    OTNNews
    ZipcodeInYourArea
    MessagingWebServices
    But when I try to test the Dictionary Web Service Portlet, I get an error on the browser:-
    Error: The listener returned the following Message: 500 Internal Server Error
    At the applicatin.log, it says:
    11/8/02 4:07 PM jpdk: [id=(null), instance=6872127_3_PREVIEW] ERROR: Failed to handle HTTP Request
    [SOAPException: faultCode=SOAP-ENV:Server; msg=service &apos;urn:MyBubble-SoapServices&apos; unknown]
    at oracle.portal.sample.v2.devguide.webservices.MyBubbleSoapServiceStub.getServiceResponsePublic(Unknown Source)
    at java.lang.reflect.Method.invoke(Native Method)
    at oracle.portal.provider.v2.webservice.RPCWebServiceRenderer.invokeService(RPCWebServiceRenderer.java:431)
    at oracle.portal.provider.v2.webservice.WebServiceRenderer.renderShow(WebServiceRenderer.java:468)
    at oracle.portal.provider.v2.webservice.WebServiceRenderer.renderBody(WebServiceRenderer.java:352)
    at oracle.portal.provider.v2.render.RenderManager.render(RenderManager.java:167)
    at oracle.portal.provider.v2.DefaultPortletInstance.render(DefaultPortletInstance.java:437)
    at oracle.webdb.provider.v2.adapter.soapV1.ProviderAdapter.showPortlet(ProviderAdapter.java:1479)
    at oracle.webdb.provider.v2.adapter.soapV1.ProviderAdapter.handleHttp(ProviderAdapter.java:1208)
    at java.lang.reflect.Method.invoke(Native Method)
    at oracle.webdb.provider.v2.adapter.SOAPServlet.doHTTPCall(SOAPServlet.java:359)
    Can someone help? What is wrong? All the other portlets, eg StockQuote, weather are working.

    Currently following portlets are temporary down, as the external Web Services either are down or moved.
    7Dictionary
    7LocationInformation
    7LocalTime Information
    Please explore other samples to understand the Web Services portlets that support "Customize" and "Edit Defaults".

  • 'send Timezone' setting in remote portlet web service

    Our portlets don't render if we check the box 'send timezone' in the advanced settings section of a portlet's web service. It throws the following error in pt spy:<br><br><br>
    *** PTBase.ThrowException *** (-2147024809) Error getting portlet content: Error beginning processing of this portlet: -2147024809 - Error in function CSPPortletProvider.BeginProcessing (lMode == 1, pUserSession == com.plumtree.server.impl.core.PTSession, pGadgetInfo == com.plumtree.server.impl.community.PTMyPortalGadgetInfo, pStates == com.plumtree.server.impl.core.PTStates, pAdminSettings == '[NOT TRACED]', vAppDataStateObject == com.plumtree.server.impl.core.PTState, pUserInterface == ): -2147024809 - AppDataState: missing required value TIMEZONE
    com.plumtree.server.marshalers.PTException: -2147024809 - Error getting portlet content: Error beginning processing of this portlet: -2147024809 - Error in function CSPPortletProvider.BeginProcessing (lMode == 1, pUserSession == com.plumtree.server.impl.core.PTSession, pGadgetInfo == com.plumtree.server.impl.community.PTMyPortalGadgetInfo, pStates == com.plumtree.server.impl.core.PTStates, pAdminSettings == '[NOT TRACED]', vAppDataStateObject == com.plumtree.server.impl.core.PTState, pUserInterface == ): -2147024809 - AppDataState: missing required value TIMEZONE
    com.plumtree.server.marshalers.PTException: -2147024809 - Error getting portlet content: Error beginning processing of this portlet: -2147024809 - Error in function CSPPortletProvider.BeginProcessing (lMode == 1, pUserSession == com.plumtree.server.impl.core.PTSession, pGadgetInfo == com.plumtree.server.impl.community.PTMyPortalGadgetInfo, pStates == com.plumtree.server.impl.core.PTStates, pAdminSettings == '[NOT TRACED]', vAppDataStateObject == com.plumtree.server.impl.core.PTState, pUserInterface == ): -2147024809 - AppDataState: missing required value TIMEZONE
    at com.plumtree.server.impl.core.PTBase.ThrowException(String message, Int32 errorCode) in e:\buildroot\Release\portalserver\6.1.x\portalobjects\build\x86\src\dotnet\com\plumtree\server\impl\core\PTBase.cs:line 87
    at com.plumtree.server.impl.community.PTMyPortalGadgetContent.GetContent(Int32 nIndex) in e:\buildroot\Release\portalserver\6.1.x\portalobjects\build\x86\src\dotnet\com\plumtree\server\impl\community\PTMyPortalGadgetContent.cs:line 411
    at com.plumtree.portalpages.browsing.myportal.MyPortalModel.GetPortletHTMLTextFromIndex(Int32 nPortletIndex) in C:\plumtree_ui_source\portalui\6.1.x\ptwebui\portalpages\dotnet\prod\src\com\plumtree\portalpages\browsing\myportal\MyPortalModel.cs:line 385
    at com.bea.alui.liquidskin.styles.overrides.STYLES_BodyAreaView.PortletContent(Int32 nPortletIndex, Int32 nColumnID)
    at com.bea.alui.liquidskin.styles.overrides.STYLES_BodyAreaView.PageColumnTable(Int32 nColumnID, Boolean bContainsFreeFormContent)
    at com.bea.alui.liquidskin.styles.overrides.STYLES_BodyAreaView.ThreeColumns(Int32 _nPageType)
    at com.bea.alui.liquidskin.styles.overrides.STYLES_BodyAreaView.Display()
    at com.bea.alui.liquidskin.styles.overrides.STYLES_MyPortalDP.PageDisplay()
    at com.bea.alui.liquidskin.styles.overrides.STYLES_MyPortalDP.DisplayBody(Int32 nNavScheme)
    at com.bea.alui.liquidskin.styles.overrides.STYLES_MyPortalDP.Display(IWebData pageData)
    at com.plumtree.uiinfrastructure.interpreter.Interpreter.HandleDisplayPage(Redirect myRedirect, RequestData tempData) in e:\buildroot\Release\uiinfrastructure\6.1.x\dotnet\prod\src\com\plumtree\uiinfrastructure\interpreter\Interpreter.cs:line 1829
    at com.plumtree.uiinfrastructure.interpreter.Interpreter.HandleRequest(IXPRequest request, IXPResponse response, ISessionManager session, IApplication application) in e:\buildroot\Release\uiinfrastructure\6.1.x\dotnet\prod\src\com\plumtree\uiinfrastructure\interpreter\Interpreter.cs:line 525
    at com.plumtree.uiinfrastructure.interpreter.Interpreter.DoService(IXPRequest request, IXPResponse response, ISessionManager session, IApplication application) in e:\buildroot\Release\uiinfrastructure\6.1.x\dotnet\prod\src\com\plumtree\uiinfrastructure\interpreter\Interpreter.cs:line 169
    at com.plumtree.uiinfrastructure.web.XPPage.Service(HttpRequest httpRequest, HttpResponse httpResponse, HttpSessionState httpSession, HttpApplicationState httpApplication) in e:\buildroot\Release\httpmemorymanagement\6.1.x\dotNET\src\com\plumtree\uiinfrastructure\web\XPPage.cs:line 82
    at com.plumtree.portaluiinfrastructure.activityspace.PlumHandler.ProcessRequest(HttpContext context) in C:\plumtree_ui_source\portalui\6.1.x\ptwebui\portal\dotnet\prod\src\web\PlumHandler.cs:line 37
    at System.Web.CallHandlerExecutionStep.System.Web.HttpApplication+IExecutionStep.Execute()
    at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
    at System.Web.HttpApplication.ResumeSteps(Exception error)
    at System.Web.HttpApplication.System.Web.IHttpAsyncHandler.BeginProcessRequest(HttpContext context, AsyncCallback cb, Object extraData)
    at System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr)
    at System.Web.HttpRuntime.ProcessRequest(HttpWorkerRequest wr)
    at System.Web.Hosting.ISAPIRuntime.ProcessRequest(IntPtr ecb, Int32 iWRType)
    <br><br><br>
    Where do I config the timezone in my portal config so I won't get this error if I want to send the timezone?

    You have to do this programatically. See the thread
    Re: Urgent : Timezone conversion issue
    --Mukul                                                                                                                                                                                                                                                                           

  • Web Service to do Java PDK .setProperty() and .store()

    I had posted this in the EP Content Development group, but received no response. Sorry for the cross post but this is relatively urgent for me.
    I am working on a Portal Component in the PDK for .NET which will take values selected from a CheckBoxGroup, concatenate it to a string and write that to a single Personalization preference.
    However, the PDK for .NET does not support writing Personalization preferences to the PCD. Thus, I have determined the solution to be:
    Make a Portal Service that takes a value and writes it to the Personalization of an iView. Basically it needs to simply do a:
    IPortalComponentProfile profile =
    request.getComponentContext().getProfile;
    profile.setProperty("selectedVal", myData);
    profile.store();
    Then this will be converted to a Web Service. However, how will the Web Service know what iView its writing Personalization for?
    I've searched and searched and come up with little clues here and there that I've somewhat pieced together but no concrete solutions. Please help. Thanks! --Shibli

    Hi,
    I took a look at the portal javadoc and there is another getComponentContext method that gets a string, urn, perhaps that will help.
    Take a look <a href="https://media.sdn.sap.com/javadocs/NW04/SP12/runtime/com/sapportals/portal/prt/component/IPortalComponentRequest.html#getComponentContext(java.lang.String)">here.</a>
    Regards,
    Tsachi

  • JSR 168 portlet based web service throwing an error ......

    Hi All,
    I am quite new to this whole new fusion concept.We are trying to build some web center based applications.
    I have downloaded jdev11g(Studio Edition Version 11.1.1.0.0)technolgy preview version and started following the pdf documentation that comes with it to build the web center based applications.
    As given in the docummentation i have built a JSR 168 Java Portlet through the wizard in Jdeveloper.
    2:Created a java bean to store the portlet information,added some business logic to the portlet.
    3:Deployed the portlet application in the preconfigured OC4J that is shipped with the jdeveloper.
    4:When i test the webservice from within the http analyzer in jdeveloper by invoking the web service i get a response like this:
    <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><env:Header/><env:Body><env:Fault>
    <faultcode>env:Server</faultcode>
    <faultstring>no serializer is registered for (interface javax.xml.soap.SOAPElement, {urn:oasis:names:tc:wsrp:v2:types}getPortletPropertyDescriptionResponse)</faultstring><faultactor/></env:Fault></env:Body></env:Envelope>
    5:If i then try to register the WSRP Portlet producer to my deployed application i get the the 500 status error which states that it cannot register the portlet as it could not connect to the host because the application is not deployed correctly or the producer container is not running or that the host is beyond a firewall.
    It cannot be that it cannot connect to the host because of firewall ,the pre configured oc4j is also running which leaves the option of the application not being deployed correctly in the server.!!
    While i try to register the portlet the preconfigured oc4j log displays the error in point 4:
    Any help would be great as i have no clue what went wrong in the deployment because everything is so wizard driven...
    Looking for some urgent help...as we are in the process of building prototypes for the customer!!!

    Hi user,
    I think it best not to use the 11g preview versions anymore. To build WebCenter applications, you should use the last 10g version, which is 10.1.3.4. 11g Production has superseded the preview versions, and in that there is no webcenter support, as everything is now migrated towards weblogic.
    So please try to follow your tutorial in 10g.
    Regards,
    Jeroen van Veldhuizen
    Redora

Maybe you are looking for

  • How do I find the file for my Verizon personal website?

         I use Verizon DSL, and Verizon has granted me a small amount of free space for a personal website.   I have a built a website on that space, but would now like to have PoloDomains host my website instead of Verizon.   So I'm trying to transfer t

  • Vendor balances in G/L acount

    Dear All, I have posted some transactions in one g/l code with vendor codes. Ex:-           1)  legal expenses a/c Dr   1000                   To. Vendor a/c         1000           2)   Vendor a/c            Dr  1000                   To  Bank a/c   

  • Union SQL Statements in a DataTemplate

    I am in the process of converting a bunch (150+) BI Answers reports into about 9 Publisher reports(we have 9 dashboards now). Due to business logic and other considerations I have a large amount of reports that leverage unions. How do I have to handl

  • Soda spilled on my macbook: What should I do

    I just got my macbook a few months ago. But like two weeks ago I was drinking a soda and someone knocked it onto my keyboard. The keys are now sticky, I tried cleaning under them but it didn't work well. My problem is I don't know what else it affect

  • Where is Adobe Exchange?

    Can't seem to fine after installing Photoshop CC 2014