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                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

Similar Messages

  • 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

  • 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 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

  • 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.

  • 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

  • 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

  • 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                                                                                                                                                                                                                                                                           

  • Problem  pl/sql function as web service in OAS as omni portlet

    Dear All,
    I try to use pl/sql function from package as web service in OAS as omni portlet. This function returning, for example, the result of searching as number of rows (Id, name).
    As I have understood, OAS omni portlets understands only J2EE 1.3(oracle) web service (which is chosen on the first step of the making the service from PL/SQL). Since in the event of choice J2EE 1.3(JAX-PRC) OAS can not analyse the answer SOAP on elements.
    I try return types:
    1. xml. Kind of <rowset><row><id>1</id><name>John</name></row><rowset>.
    2. ref cursor – can`t use
    3. varray of records – can`t use.
    At the best, answer recognizes as line, rather then as array element.
    Thank you in advance for answer

    Dear All,
    I try to use pl/sql function from package as web service in OAS as omni portlet. This function returning, for example, the result of searching as number of rows (Id, name).
    As I have understood, OAS omni portlets understands only J2EE 1.3(oracle) web service (which is chosen on the first step of the making the service from PL/SQL). Since in the event of choice J2EE 1.3(JAX-PRC) OAS can not analyse the answer SOAP on elements.
    I try return types:
    1. xml. Kind of <rowset><row><id>1</id><name>John</name></row><rowset>.
    2. ref cursor – can`t use
    3. varray of records – can`t use.
    At the best, answer recognizes as line, rather then as array element.
    Thank you in advance for answer

  • Deployment is failing on creating web service proxy in portlet.

    Hi All,
    I am using a JDeveloper 11.1.1.2.0.
    1) I have created a application (portlet producer application), which contains few jsf pages (not jspx).
    2) I have added a web service proxy ( using New>Business tier>Web services>web service proxy, provided a wsdl) for accesing a service which is exposed on different server.
    The above combination works perfectly fine.
    But When I convert the JSF pages to portlet (right click on JSF page and select create portlet entry option), and tried to run it throws following error.
    Note: soainvgpkg is the package which is generated when I create a web service proxy.
    It is generated under application resources.
    ++[11:04:31 AM] Redeploying Application...++
    ++<Aug 5, 2011 11:04:34 AM IST> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1312522471750' for task '0'. Error is: 'java.lang.NoClassDefFoundError: WEB-INF/classes/soainvgpkg/Execute_ptt (wrong name: soainvgpkg/Execute_ptt)'++
    ++java.lang.NoClassDefFoundError: WEB-INF/classes/soainvgpkg/Execute_ptt (wrong name: soainvgpkg/Execute_ptt)++
    ++     at java.lang.ClassLoader.defineClass1(Native Method)++
    ++     at java.lang.ClassLoader.defineClass(ClassLoader.java:621)++
    ++     at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)++
    ++     at weblogic.utils.classloaders.GenericClassLoader.defineClass(GenericClassLoader.java:344)++
    ++     at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:301)++
    ++     Truncated. see log file for complete stacktrace++
    ++Caused By: java.lang.NoClassDefFoundError: WEB-INF/classes/soainvgpkg/Execute_ptt (wrong name: soainvgpkg/Execute_ptt)++
    ++     at java.lang.ClassLoader.defineClass1(Native Method)++
    ++     at java.lang.ClassLoader.defineClass(ClassLoader.java:621)++
    ++     at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)++
    ++     at weblogic.utils.classloaders.GenericClassLoader.defineClass(GenericClassLoader.java:344)++
    ++     at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:301)++
    ++     Truncated. see log file for complete stacktrace++
    ++>++
    ++<Aug 5, 2011 11:04:34 AM IST> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating deploy task for application 'PortletProducer_Application'.>++
    ++<Aug 5, 2011 11:04:34 AM IST> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004++
    ++java.lang.NoClassDefFoundError: WEB-INF/classes/soainvgpkg/Execute_ptt (wrong name: soainvgpkg/Execute_ptt)++
    ++     at java.lang.ClassLoader.defineClass1(Native Method)++
    ++     at java.lang.ClassLoader.defineClass(ClassLoader.java:621)++
    ++     at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)++
    ++     at weblogic.utils.classloaders.GenericClassLoader.defineClass(GenericClassLoader.java:344)++
    ++     at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:301)++
    ++     Truncated. see log file for complete stacktrace++
    ++Caused By: java.lang.NoClassDefFoundError: WEB-INF/classes/soainvgpkg/Execute_ptt (wrong name: soainvgpkg/Execute_ptt)++
    ++     at java.lang.ClassLoader.defineClass1(Native Method)++
    ++     at java.lang.ClassLoader.defineClass(ClassLoader.java:621)++
    ++     at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)++
    ++     at weblogic.utils.classloaders.GenericClassLoader.defineClass(GenericClassLoader.java:344)++
    ++     at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:301)++
    ++     Truncated. see log file for complete stacktrace++
    ++>++
    ++[11:04:34 AM] #### Deployment incomplete. ####++
    ++[11:04:34 AM] Remote deployment failed++
    It works fine if I again remove the portlet entry and delete the portlet.xml and oracle-portlet.xml which were generated during portlet conversion time which is nothing but a normal JSf application.
    Please help,
    Thanks and regards,
    Kemp.
    Edited by: 877449 on Aug 4, 2011 11:33 PM

    Hi All,
    Facing same issue...
    Any solution
    Thanks & Regards,
    renuka

  • OBE: Portal 10.1.2 Building Portlets Declaratively - web service errors

    Note: I found a similiar post from mid-2006 which had no solution reported. I hope my question gets a response more quickly.
    "Creating a Portlet Using a Web Service as a Data Source"
    Step 9: WSDL URL: http://webservices.oracle.com/ws/emp/oracle.ws.scott.OTNDeptEmp?WSDL
    Step 10: displayed a list of service methods
    Step 13 did not display any table columns.
    Clicking the <TEST> from the Source definition page only produced the following errors.
    Q1) What are the needed changes to get the tutorial to work?
    XML Data:
    <ns1:getEmpXMLResponse xmlns:ns1="oracle.ws.scott.OTNDeptEmp" SOAP-ENV:encodingStyle="http://xml.apache.org/xml-soap/literalxml" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
    <return>
    <ERROR>
    oracle.xml.sql.OracleXMLSQLException: Io exception: Connection refused(DESCRIPTION=(TMP=)(VSNNUM=168821760)(ERR=12505)(ERROR_STACK=(ERROR=(CODE=12505)(EMFI=4))))
    </ERROR>
    </return>
    </ns1:getEmpXMLResponse>
    SOAP Response Body:
    <SOAP-ENV:Body xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
    <ns1:getEmpXMLResponse xmlns:ns1="oracle.ws.scott.OTNDeptEmp" SOAP-ENV:encodingStyle="http://xml.apache.org/xml-soap/literalxml">
    <return>
    <ERROR>
    oracle.xml.sql.OracleXMLSQLException: Io exception: Connection refused(DESCRIPTION=(TMP=)(VSNNUM=168821760)(ERR=12505)(ERROR_STACK=(ERROR=(CODE=12505)(EMFI=4))))
    </ERROR>
    </return>
    </ns1:getEmpXMLResponse>
    </SOAP-ENV:Body>
    SOAP Request:
    <?xml version='1.0' encoding='UTF-8'?>
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <SOAP-ENV:Body>
    <ns1:getEmpXML xmlns:ns1="oracle.ws.scott.OTNDeptEmp" SOAP-ENV:encodingStyle="http://xml.apache.org/xml-soap/literalxml">
    </ns1:getEmpXML>
    </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>

    Thanks everyone for your help :)
    The problem turned out to be that Oracle application server 10.1.2 is unlike the others servers, it uses 2 ports:
    - port (19100) is dedicated for the console.
    - port (7779) is to view your applications.
    So the URL needed turned out to be "http://acteos-109.beirut.acteos:7779/beanTest" instead of "http://acteos-109.beirut.acteos:18100/beanTest"
    Hope this info is useful
    Lana

  • ALUI-Create Web Service - Remote Portlet Error 401:Unauthorized

    I have some problems during user ALUI(AquaLogic User Interaction 6.1).
    I created a Web Service - Remote Portlet,then set value of Basic Authentication Settings is "User's Basic Authentication Information". When related remote server refer to tomcat5.5,the Web Service - Remote Portlet is fine to run,but not when the related remote server refer to weblogic9.2.
    When value of Basic Authentication Settings is "Use Remote Server Basic Authentication Information", related remote server refer to weblogic9.2 or tomcate5.5, the portlet is fine.
    error detail:
    Error
    sso Portlet cannot be displayed because the remote server returned an invalid HTTP response code.
    We recommend:
    • Refresh sso Portlet
    • Accessing this portlet at a later time.
    • Contacting your portal administrator if problems persist.
    Detailed error information
    • Response status: 401
    • Response body:
    Error 401--Unauthorized
    From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
    10.4.2 401 Unauthorized
    The request requires user authentication. The response MUST include a WWW-Authenticate header field (section 14.46) containing a challenge applicable to the requested resource. The client MAY repeat the request with a suitable Authorization header field (section 14.8). If the request already included Authorization credentials, then the 401 response indicates that authorization has been refused for those credentials. If the 401 response contains the same challenge as the prior response, and the user agent has already attempted authentication at least once, then the user SHOULD be presented the entity that was given in the response, since that entity MAY include relevant diagnostic information. HTTP access authentication is explained in section 11.

    How to configure remote server to accept authorization header?
    I set value of Basic Authentication Settings is "User's Basic Authentication Information" because the Web Service - Remote Portlet need to get the portal's login user infomation.If the value is "Use Remote Server Basic Authentication Information",the application is fine to run.
    The follow is the way to get login user infomation.
    IPortletContext portletContext = PortletContextFactory.createPortletContext(request, response);
    ICredentialProvider cProvider = portletContext.getCredentialProvider();
    String username = cProvider.getUsername();
    String password = cProvider.getPassword();
    Do you have other way to authenticate users?
    Thanks.
    Edited by: user2233298 on 2009-4-22 下午8:25

Maybe you are looking for

  • How to display the variable name in right side of the graph

    Hi All, i have defined a scatter chart. my requirement is to show the values of the Z-axis or level axis beside the scatter chart. this is already present for the OBIEE pie chart. can we configure the same for the scatter chart. thanks in advance.

  • Query Designer not working with Aggregation Levels on BW 7.30

    Hi, Every time I try to create a query on top of an Aggregation Level that I created with the new ABAP based RSPLAN transaction. If somebody can help me out I'd appreciate it. By the way, we don't have the Java stack, but we are currently using BO4's

  • Trying to filter an entire database using a combo box or text box

    Hi, I am looking to create a combo box with rows vice columns, then I would like to create a macro or some for form of filter that gives me the option to search within each or all of the selections. I have created a search function (using a textbox

  • Setting Name of Loaded Movie Clips

    I'm getting this error after I use the loader to load in an swf- and then try to rename it to something useful. Error #2078: The name property of a Timeline-placed object cannot be modified. This is a new one - this means that I cannot rename a loade

  • The iPhone cannot be synced. An unknown error occurred (1723).  iPhone 4S & Yosemite

    Since upgrading my iPhone 4S to 8.1 I have remained happy.  Apple wants to shove the iCloud Drive stuff down my throat but I'm not ready yet.  Just upgraded iMac to Yosemite.  Now iPhone won't sync when plugged in.  When it's transferring photos, it