Exposed web services after restart of AS disappear

hi,
i create web services from the CAF application service. Then i deploy it with the whole CAF application to the AS. I can see and test the web service through the web services page in the portal.
But when i restart the AS the deployed web services dissapper! Has anyone experienced such a problem?
I am using the trial version of Netweaver CE 7.1

The problem does not appear any more. Don't know why.

Similar Messages

  • Unauthorized Error when using XI exposed Web-Services

    I have configured a XI exposed Web-Services, when I fired the web service, there is an Unauthorized Error.
    when I go to message monitoring, I notice that the exception happened for the end point "http://XI Server:8000/sap/xi/engine?type=entry" for connection AFW

    Hi ST,
    When you are firing the webservice after sending the SOAP request through XML SPY for checking,you need to enter the PI Server ID and Password then only request will be posted to PI server.
    You can directly posting the Request to Integration engine without going through the Adapter engine.
    Still u are facing problem please let me know.
    All the best,
    Azeez.

  • Help:Invoke web service after receiving a user task response

    Hi, All:
    We encountered a problem while developing user task. The detail is as follows:
    We need to invoke a web service after a user task's response, that is to say, the web service needs some data from the response of the user task.
    Take the loan flow tuturial as a example, what we need to do is to invoke a web service after the BPEL process get the start loan APR. the web service needs the APR for its input message. how can I handle this situation?
    Thank you very much for your help!

    Thanks for your immediate response Jan Vervecken.
    I have created the Data Control from web Service proxy and I am able to recieve the output from the web Service.
    But, Currently I am invoking the webservice process method by a command button which populates my SelectOneChoice.
    My requirement is to invoke the web service 'process' method by value change event in the SelectOnechoice control.
    So, Can you pls. let me know how do I bind the web Service method 'process' to value change event of SelectOnechoice control?
    Thanks and Regards,
    Sandeep T

  • Exposing Web Services as Callable Objects

    Hello!
    I have SAP NetWeaver 04s SP7. How can I expose Web Services as Callable Objects?
    According to "Exposing Web Services as Callable Objects" (http://help.sap.com/saphelp_nw2004s/helpdata/en/44/4758351fcb1193e10000000a155369/frameset.htm), I should start with choosing type of CO "Service -> Web Service".
    Actually, I haven't this entry in CO type list!
    According to integrate Web Services with GP, this type appeared in SP8. What are the alternatives in SP7?
    "Background execution" and "External service" seem to be the best candidates...
    What is the best solution?
    Thanx in advance!

    Hello, Jan!
    I have SAP NWDS 7.0.07, and I cannot find there an option to create a CAF project. I can create Web service, EJB, Web DynPro, and something else - but not a CAF project. In documentation I did not find the connection points between NWDS and External Services, except some plug-ins.
    Maybe I've misunderstood you, sorry - I'm a newbie in SAP
    Actually, I've made a simple EJB, created a Web service from it, and deployed the WS to portal. Maybe, EJB instead of Web service can be somehow used in CAF?
    I've tried to create a CO of type Composite Application Service, but there was necessary to configure endpoint aliases. I've read the manual "Configuring Endpoint Aliases", but didn't succeed to make one for EJB remote call... I've defined the name, URL (http://<host_of_portal>:<portal_port>), user and pwd - but I've got an exception when tried to use the created alias:
    com.sap.caf.core.gp.servicelocator.exception.MetaModelBrowserException: Exception while trying to get InitialContext. at com.sap.caf.core.gp.servicelocator.CAFMetaModelBrowser.getAllApplications(CAFMetaModelBrowser.java:77) at com.sap.caf.core.gp.ui.backgroundco.admin.VSelect.browseCAFCore(VSelect.java:305) at com.sap.caf.core.gp.ui.backgroundco.admin.VSelect.onActionSelectEptAlias(VSelect.java:750) at com.sap.caf.core.gp.ui.backgroundco.admin.wdp.InternalVSelect.wdInvokeEventHandler(InternalVSelect.java:287) at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.invokeEventHandler(DelegatingView.java:87) at com.sap.tc.webdynpro.progmodel.controller.Action.fire(Action.java:67) at
    Maybe, the easiest way is to upgrade the versions of SAP and NWDS?
    Are there some manuals that could provide me some help about:
    1) creating CAS from the deployed Web service (from its creation in NWDS till its use in CAF, step-by-step)
    2) binding Web Dynpro apps and Web services, using CAF and GP.
    Or maybe I should attend SAP courses?
    I have SAP NetWeaver 04s SP7 and NWDS ver. 7.0.07.
    Sorry for the messy post, I did my best
    Message was edited by:
            Kirill Shepitko

  • Issue in Web Service after the Windows migration from 2003 to 2008

    My application is a web service and it was working fine in windows server 2003 .after it was migrated to 2008 ,the web service is working fine and but when its consumed in another web application which is also migrated to windows server 2008 ,its saying
    "request channel  timed out while waiting for a reply for 00:30:29.9820000.Increase the time out value passed to the request or increase the SendTimeout value on the binding .the time alloted to this operation may have been a portion of
    a longer time out" error.The iis setting of my application in production has anonymous authentication enabled but the kerberos is not generating tokens and hence its also not working fine.When we disable the anonymous authentication the kerberos
    token is generated but the application is prompting for credentails.Please help me to resolve the issue

    Hi,
    Since this issue is more related to IIS, I suggest you refer to IIS forum below to get more efficient support:
    http://forums.iis.net/
    Best Regards,
    Amy

  • Have to restart VPN service after restarting macmini

    Hello,
    i am using a mid2011 macmini with Lion Server (10.7.2-Build 11C74) loaded over the Appstore, connected to an Airport Extreme (FW 7.6). I configured the VPN service in the Server settings and forwarded the profile to the clients. VPN connection works just fine.
    When i restart the macmini none of the clients are able to connect with the VPN Service. Other services are running without any problems (screensharing, filesharing,...), but i cannot connect with the VPN service through any client.
    After i restart the VPN Service (switch off and back on) in the Server App on the macmini it works again.
    Is anyone experiencing similar behaviour with the VPN service after a restart of the server? Has anyone suggestions how to get the VPN service working even after a restart without switching it off and on again?
    If you need further information please reply, i will hand it in immediately.
    FYI:
    I did make a complete clean install of the Server, without import of the timemachine backup to ensure the system is "clean".
    kind regards
    Marko

    Hello,
    i am using a mid2011 macmini with Lion Server (10.7.2-Build 11C74) loaded over the Appstore, connected to an Airport Extreme (FW 7.6). I configured the VPN service in the Server settings and forwarded the profile to the clients. VPN connection works just fine.
    When i restart the macmini none of the clients are able to connect with the VPN Service. Other services are running without any problems (screensharing, filesharing,...), but i cannot connect with the VPN service through any client.
    After i restart the VPN Service (switch off and back on) in the Server App on the macmini it works again.
    Is anyone experiencing similar behaviour with the VPN service after a restart of the server? Has anyone suggestions how to get the VPN service working even after a restart without switching it off and on again?
    If you need further information please reply, i will hand it in immediately.
    FYI:
    I did make a complete clean install of the Server, without import of the timemachine backup to ensure the system is "clean".
    kind regards
    Marko

  • Autentication error in Web Service after Login Module

    Hi Experts,
    I am getting a failed autentication when i try to access a web service. This is my scenario:
    I have developed my own login module using JAAS. When i call a web service, the login module is executed, then it validate the credencials and make the authetication true. After that the web service is called. The web Service is mark as user/password authetication. But i always get this error:
    Authentication for web service UtilityService, configuration UtilityService using security policy BASIC___ws failed: Login failed.. (See SAP Note 880896 for further info).
    Just for you know, the credentials taht i use in login modulo isn't the user of UME. I use user store in another user store. I fthe credential is correct pass to the Principal an user of UME. To login stack is right when pass to login module:
    LOGIN.OK
    User: tecbmmab
    IP Address: 192.168.14.48
    Authentication Stack: tridmen.com.br/pegasus~ear*pegasus
    Login Module                                                               Flag        Initialize  Login      Commit     Abort      Details
    1. com.sap.engine.services.security.server.jaas.BasicPasswordLoginModule   SUFFICIENT  ok          false      false                
    2. br.com.tridmen.login.ERPCEHeaderLoginModule                             REQUISITE   ok          true       true                 
            #1 Client = 800
            #2 Destination_reference = CUSTOM_DEST
            #3 SysId = DE1
            #4 SysNum = 00
            #5 TargetHost = tecs220
            #6 TrATicket = TRATICKETCTRL
    Central Checks                                                                                true
    After this, the error mention above, of web service happen.
    As my knowledge, when i call the web service i already have the session autenticate with login module. But this is not happen.
    Could someone help with this question?
    Best regards
    Marcos Brandã

    Hi,
    in what order did you specify your login modules? In that error message it looks like it's in wrong order. Your custom module should be first with SUFFICIENT and then standard user name/password with REQUISITE.
    Cheers

  • To make a field null again using web services after inserting value.

    Hi All,
    I just wanted to ask you there is an Any Occ. Date which is a date field at a particular object.By default the value of this field is having null value.After filling the field if I further want to make it null value,it does not allow the field to make it blank once again by web services.
    Quick response will be highly appreciated.
    Thanks in advance.

    what i understood from you requirement is that, if tax_type is country, you want to skip state field and enter value for tax_rate. in case tax_type is state, you want to enter state also. so, as its a multi-record block, once you do set_item_property(enable/disable), it enables and disables state field for all the records.
    if i am correct, what you can do as workaround is use SET_ITEM_INSTANCE_PROPERTY rather than SET_ITEM_PROPERTY and set the INSERT_ALLOWED and UPDATE_ALLOWED properties to TRUE & FALSE, as you cannot set ENABLE property using that. though the field will be enabled, but user will not be able to key-in any value.
    hope it helps.

  • What happened to our web services after upgrading to 701?

    Hi,
    We started using web services on a 700 server. Looks something like this.
    SAP_ABA     700     0018     SAPKA70018     Cross-Application Component
    SAP_BASIS     700     0018     SAPKB70018     SAP Basis Component
    PI_BASIS     2005_1_700     0018     SAPKIPYJ7I     PI_BASIS 2005_1_700
    We could create a proxy in vb.net and call our SAP web services like this:
            Dim ws As New sapserver.webservice1
            Dim input As New sapserver.ZGetuname
            Dim output As New sapserver.ZGetunameResponse
            out2 = ws.ZGetuname(input)
    After upgrading to nw ep 7.1, which looks like this.
    SAP_ABA     701     0007     SAPKA70107     Cross-Application Component
    SAP_BASIS     701     0007     SAPKB70107     SAP Basis Component
    PI_BASIS     701     0007     SAPK-70107INPIBASIS     Basis Plug-In
    We no longer get the same input and ouput classes generated for us when consuming the service. It looks like it is now expected to be called like a function    ws.ZGetuname( param 1, param 2).
    We would like to be able to generate the proxy the same way as before. Any ideas?
    Thanks.

    What happened to the file numbers after switching to Photos. It would be nice to still have the file numbers show.
    You mean, the filename with the number on the card?
    Photos does not use the filenames as a title, when displaying the thumbnails. The filename will only show in the Info panel.
    Copy the filenames to the title field in the Info panel and then enable "Metadata" in the View menu.
    I wrote a script to copy the filenames automatically to the title field,  see:
    Photos for Mac: Batch Changing the Titles to the Filename

  • How to use a Web Service after creating the reference

    I created a Web Service reference and APEX 3.1 and it recognizes it.
    The WS has a list of customers. The XML file (WS result) has XSD then the customers data.
    The only thing I can do inside APEX is to create a form based on WS with a field that has a dump of the WS result.
    I do not know how to use the XML data in the WS to show the customers data in APEX.
    I appreciate it, if you can point me to any article or documentation taht show to consume WS in APEX
    Thanks
    Mo

    Jason
    My post above does not make sense because the browser converted the "lt" and "gt" that I saw in the form when I copied and paste to < and > as it should do.
    below I will attach the XSD
    &lt;?xml version = &quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;yes&quot;?&gt;
    &lt;VFPDataSet&gt;
         &lt;xsd:schema id=&quot;VFPDataSet&quot; xmlns:xsd=&quot;http://www.w3.org/2001/XMLSchema&quot; xmlns:msdata=&quot;urn:schemas-microsoft-com:xml-msdata&quot;&gt;
         &lt;xsd:element name=&quot;VFPDataSet&quot; msdata:IsDataSet=&quot;true&quot;&gt;
              &lt;xsd:complexType&gt;
                   &lt;xsd:choice maxOccurs=&quot;unbounded&quot;&gt;
                   &lt;xsd:element name=&quot;curCustomers&quot; minOccurs=&quot;0&quot; maxOccurs=&quot;unbounded&quot;&gt;
                                  &lt;xsd:complexType&gt;
                                       &lt;xsd:sequence&gt;
                                            &lt;xsd:element name=&quot;customerid&quot;&gt;
                                                 &lt;xsd:simpleType&gt;
                                                      &lt;xsd:restriction base=&quot;xsd:string&quot;&gt;
                                                           &lt;xsd:maxLength value=&quot;5&quot;/&gt;
                                                      &lt;/xsd:restriction&gt;
                                                 &lt;/xsd:simpleType&gt;
                                            &lt;/xsd:element&gt;
                                            &lt;xsd:element name=&quot;companyname&quot;&gt;
                                                 &lt;xsd:simpleType&gt;
                                                      &lt;xsd:restriction base=&quot;xsd:string&quot;&gt;
                                                           &lt;xsd:maxLength value=&quot;40&quot;/&gt;
                                                      &lt;/xsd:restriction&gt;
                                                 &lt;/xsd:simpleType&gt;
                                            &lt;/xsd:element&gt;
                                            &lt;xsd:element name=&quot;contactname&quot; minOccurs=&quot;0&quot;&gt;
                                                 &lt;xsd:simpleType&gt;
                                                      &lt;xsd:restriction base=&quot;xsd:string&quot;&gt;
                                                           &lt;xsd:maxLength value=&quot;30&quot;/&gt;
                                                      &lt;/xsd:restriction&gt;
                                                 &lt;/xsd:simpleType&gt;
                                            &lt;/xsd:element&gt;
                                            &lt;xsd:element name=&quot;contacttitle&quot; minOccurs=&quot;0&quot;&gt;
                                                 &lt;xsd:simpleType&gt;
                                                      &lt;xsd:restriction base=&quot;xsd:string&quot;&gt;
                                                           &lt;xsd:maxLength value=&quot;30&quot;/&gt;
                                                      &lt;/xsd:restriction&gt;
                                                 &lt;/xsd:simpleType&gt;
                                            &lt;/xsd:element&gt;
                                            &lt;xsd:element name=&quot;address&quot; minOccurs=&quot;0&quot;&gt;
                                                 &lt;xsd:simpleType&gt;
                                                      &lt;xsd:restriction base=&quot;xsd:string&quot;&gt;
                                                           &lt;xsd:maxLength value=&quot;60&quot;/&gt;
                                                      &lt;/xsd:restriction&gt;
                                                 &lt;/xsd:simpleType&gt;
                                            &lt;/xsd:element&gt;
                                            &lt;xsd:element name=&quot;city&quot; minOccurs=&quot;0&quot;&gt;
                                                 &lt;xsd:simpleType&gt;
                                                      &lt;xsd:restriction base=&quot;xsd:string&quot;&gt;
                                                           &lt;xsd:maxLength value=&quot;15&quot;/&gt;
                                                      &lt;/xsd:restriction&gt;
                                                 &lt;/xsd:simpleType&gt;
                                            &lt;/xsd:element&gt;
                                            &lt;xsd:element name=&quot;region&quot; minOccurs=&quot;0&quot;&gt;
                                                 &lt;xsd:simpleType&gt;
                                                      &lt;xsd:restriction base=&quot;xsd:string&quot;&gt;
                                                           &lt;xsd:maxLength value=&quot;15&quot;/&gt;
                                                      &lt;/xsd:restriction&gt;
                                                 &lt;/xsd:simpleType&gt;
                                            &lt;/xsd:element&gt;
                                            &lt;xsd:element name=&quot;postalcode&quot; minOccurs=&quot;0&quot;&gt;
                                                 &lt;xsd:simpleType&gt;
                                                      &lt;xsd:restriction base=&quot;xsd:string&quot;&gt;
                                                           &lt;xsd:maxLength value=&quot;10&quot;/&gt;
                                                      &lt;/xsd:restriction&gt;
                                                 &lt;/xsd:simpleType&gt;
                                            &lt;/xsd:element&gt;
                                            &lt;xsd:element name=&quot;country&quot; minOccurs=&quot;0&quot;&gt;
                                                 &lt;xsd:simpleType&gt;
                                                      &lt;xsd:restriction base=&quot;xsd:string&quot;&gt;
                                                           &lt;xsd:maxLength value=&quot;15&quot;/&gt;
                                                      &lt;/xsd:restriction&gt;
                                                 &lt;/xsd:simpleType&gt;
                                            &lt;/xsd:element&gt;
                                            &lt;xsd:element name=&quot;phone&quot; minOccurs=&quot;0&quot;&gt;
                                                 &lt;xsd:simpleType&gt;
                                                      &lt;xsd:restriction base=&quot;xsd:string&quot;&gt;
                                                           &lt;xsd:maxLength value=&quot;24&quot;/&gt;
                                                      &lt;/xsd:restriction&gt;
                                                 &lt;/xsd:simpleType&gt;
                                            &lt;/xsd:element&gt;
                                            &lt;xsd:element name=&quot;fax&quot; minOccurs=&quot;0&quot;&gt;
                                                 &lt;xsd:simpleType&gt;
                                                      &lt;xsd:restriction base=&quot;xsd:string&quot;&gt;
                                                           &lt;xsd:maxLength value=&quot;24&quot;/&gt;
                                                      &lt;/xsd:restriction&gt;
                                                 &lt;/xsd:simpleType&gt;
                                            &lt;/xsd:element&gt;
                                       &lt;/xsd:sequence&gt;
                                  &lt;/xsd:complexType&gt;
                             &lt;/xsd:element&gt;
                        &lt;/xsd:choice&gt;
                        &lt;xsd:anyAttribute namespace=&quot;http://www.w3.org/XML/1998/namespace&quot; processContents=&quot;lax&quot;/&gt;
                   &lt;/xsd:complexType&gt;
              &lt;/xsd:element&gt;
         &lt;/xsd:schema&gt;

  • Regarding Web Services After getting WSDL how to proceed

    Hi ,
      I am dealing with Web service to IDOC Scenario. I had created a web service in  ID which in turn created a WSDL file . I impoted this WSDL file in External Definition tab in IR part .
      I had find out some blogs dealing with these web services but i am not clear with them
    1) Then how can i give input to SOAP adapter
    2) what is need of going to NWDS and the Wed Dynpro

    Kalyan,
    Download softwares like SOAP UI -http://www.soapui.org/
    Create new project in SOAP UI and add the WSDL to that project and click send.
    Also don't forget to give authorizations.
    Best regards,
    raj.

  • Web Services After Deployment...???

    This may be a dumb question since I am new and evaluating BEA WebLogic products.
    I follow the tutorials (Web Services, to be specific) all the way to build EAR
    file and deploy it.
    Now, WHAT DO I DO ???
    Suppose my server is TestServer, my BEA Web Services is TestWebServices,
    What URL should I navigate to verify the deployment is success ?
    Here the the contents of my WebLogic Console Deployments:
    Configurations:
    Name: TestWebServices
    Path: E:\Bea\TestWebServices
    Deployment Protocol: Two-Phase
    Staging Mode: nostage
    Targets:
    Independent Servers: TestServer
    Deploys:
    Module:TestWebServicesWeb Status:Active Target:testServer Type:Server LastAction:Success
    Can I have a specific url example to try ?
    Thanks.

    I'd suggest you start with the tutorials on this site:
    http://dev2dev.bea.com/index.jsp
    -- Rob
    Tom Nagel wrote:
    This may be a dumb question since I am new and evaluating BEA WebLogic products.
    I follow the tutorials (Web Services, to be specific) all the way to build EAR
    file and deploy it.
    Now, WHAT DO I DO ???
    Suppose my server is TestServer, my BEA Web Services is TestWebServices,
    What URL should I navigate to verify the deployment is success ?
    Here the the contents of my WebLogic Console Deployments:
    Configurations:
    Name: TestWebServices
    Path: E:\Bea\TestWebServices
    Deployment Protocol: Two-Phase
    Staging Mode: nostage
    Targets:
    Independent Servers: TestServer
    Deploys:
    Module:TestWebServicesWeb Status:Active Target:testServer Type:Server LastAction:Success
    Can I have a specific url example to try ?
    Thanks.

  • Error deploying Web Service after upgrading from WL 7.0 No Service Pack to SP5

    Hello
    I have problem using HttpServletResposneWrapper with a ServletFilter in WLW
    7.0 SP5. When I apply the filter to JWS file in Development Mode, following
    Exception is thrown when I access a JWS.
    ===================================================================
    java.lang.ClassCastException: servlet.MyServletResponse
    at weblogic.knex.dispatcher.HttpRequest.getRequestURL(HttpRequest.java:233)
    at weblogic.knex.dispatcher.HttpRequest.(HttpRequest.java:51)
    at weblogic.knex.dispatcher.HttpServer.doGet(HttpServer.java:291)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at
    weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(Servle
    tStubImpl.java:1094)
    at
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
    :437)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:20)
    at
    weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
    at servlet.MyFilter.doFilter(MyFilter.java:25)
    at
    weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
    at
    weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(W
    ebAppServletContext.java:5632)
    at
    weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManage
    r.java:685)
    at
    weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletCo
    ntext.java:3213)
    at
    weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java
    :2555)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:251)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:219)
    ===================================================================
    I have looked at "weblogic.knex.dispatcher.HttpRequest" class. It seems like
    this class tries to cast the response object to "ServletResponseImpl" class,
    so ClassCastException is thrown.
    Is there any workaround for this issue, since my code is compliance with
    J2EE standard. Thank you very much in advanced.
    Regards,
    Tinnapat C.
    PS. These are my codes.
    =====================================================================
    package servlet;
    import javax.servlet.http.HttpServletResponse;
    import javax.servlet.http.HttpServletResponseWrapper;
    public class MyServletResponse extends HttpServletResponseWrapper {
    public MyServletResponse(HttpServletResponse response) {
    super(response);
    =====================================================================
    package servlet;
    import java.io.IOException;
    import javax.servlet.Filter;
    import javax.servlet.FilterChain;
    import javax.servlet.FilterConfig;
    import javax.servlet.ServletException;
    import javax.servlet.ServletRequest;
    import javax.servlet.ServletResponse;
    import javax.servlet.http.HttpServletResponse;
    public class MyFilter implements Filter {
    private FilterConfig config;
    public void init(FilterConfig config) {
    System.out.println("Filter.init");
    this.config = config;
    public void doFilter(ServletRequest request, ServletResponse response,
    FilterChain chain) throws ServletException, IOException {
    System.out.println("Filter.doFilter");
    ServletResponse wrappedResponse = new
    MyServletResponse((HttpServletResponse)response);
    chain.doFilter(request, wrappedResponse);
    public void destroy() {
    System.out.println("Filter.destroy");
    =====================================================================
    <filter>
    <filter-name>MyFilter</filter-name>
    <filter-class>servlet.MyFilter</filter-class>
    </filter>
    <filter-mapping>
    <filter-name>MyFilter</filter-name>
    <url-pattern>*.jws</url-pattern>
    </filter-mapping>
    =====================================================================

    Hello
    I have problem using HttpServletResposneWrapper with a ServletFilter in WLW
    7.0 SP5. When I apply the filter to JWS file in Development Mode, following
    Exception is thrown when I access a JWS.
    ===================================================================
    java.lang.ClassCastException: servlet.MyServletResponse
    at weblogic.knex.dispatcher.HttpRequest.getRequestURL(HttpRequest.java:233)
    at weblogic.knex.dispatcher.HttpRequest.(HttpRequest.java:51)
    at weblogic.knex.dispatcher.HttpServer.doGet(HttpServer.java:291)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at
    weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(Servle
    tStubImpl.java:1094)
    at
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
    :437)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:20)
    at
    weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
    at servlet.MyFilter.doFilter(MyFilter.java:25)
    at
    weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
    at
    weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(W
    ebAppServletContext.java:5632)
    at
    weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManage
    r.java:685)
    at
    weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletCo
    ntext.java:3213)
    at
    weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java
    :2555)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:251)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:219)
    ===================================================================
    I have looked at "weblogic.knex.dispatcher.HttpRequest" class. It seems like
    this class tries to cast the response object to "ServletResponseImpl" class,
    so ClassCastException is thrown.
    Is there any workaround for this issue, since my code is compliance with
    J2EE standard. Thank you very much in advanced.
    Regards,
    Tinnapat C.
    PS. These are my codes.
    =====================================================================
    package servlet;
    import javax.servlet.http.HttpServletResponse;
    import javax.servlet.http.HttpServletResponseWrapper;
    public class MyServletResponse extends HttpServletResponseWrapper {
    public MyServletResponse(HttpServletResponse response) {
    super(response);
    =====================================================================
    package servlet;
    import java.io.IOException;
    import javax.servlet.Filter;
    import javax.servlet.FilterChain;
    import javax.servlet.FilterConfig;
    import javax.servlet.ServletException;
    import javax.servlet.ServletRequest;
    import javax.servlet.ServletResponse;
    import javax.servlet.http.HttpServletResponse;
    public class MyFilter implements Filter {
    private FilterConfig config;
    public void init(FilterConfig config) {
    System.out.println("Filter.init");
    this.config = config;
    public void doFilter(ServletRequest request, ServletResponse response,
    FilterChain chain) throws ServletException, IOException {
    System.out.println("Filter.doFilter");
    ServletResponse wrappedResponse = new
    MyServletResponse((HttpServletResponse)response);
    chain.doFilter(request, wrappedResponse);
    public void destroy() {
    System.out.println("Filter.destroy");
    =====================================================================
    <filter>
    <filter-name>MyFilter</filter-name>
    <filter-class>servlet.MyFilter</filter-class>
    </filter>
    <filter-mapping>
    <filter-name>MyFilter</filter-name>
    <url-pattern>*.jws</url-pattern>
    </filter-mapping>
    =====================================================================

  • Exposing web services

    Hi,
    I know that in order to expose a WS, I need to place the wsdl file in a specific directory which is defined in the j2ee visual admin.
    I can't find the documentation for the place in the visual admin where I define the wsdl's directory.
    Please advise,
    Elad.

    Elad,
    Correct me if i am wrong, but are you looking at exposing an Outbound message Interface in Xi as a webservice?
    If yes, no need for Visual admin etc. Just take a look at this document , and the section, sender Soap adapter. it contains the steps to be done to expose a interface as an Webservice and the generation of the WSDL.
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/d23cbe11-0d01-0010-5287-873a22024f79
    Regards,
    Bhavesh

  • Spaces -- Have to restart service after restarting system.

    Whenever I reboot (or log out and back in) I can't change Spaces. I have Mail set to always be in a different space, it goes there, does its thing, but I can't move to its space. I have to disable and then enable Spaces to get it to work. EVERY TIME I reboot.
    Does anyone else have this problem? Even better, anyone have a solution?
    Thanks.

    Anyone?

Maybe you are looking for

  • Undo a plan.

    I am facing a unique problem, while deploying store from KVAdmin i gave wrong number of parititons, so is it possible to undo that plan and redeploy the KVStore? Please note that I have already inserted data into KVStore. Thanks Rishabh Agrawal

  • I have problem with youtube

    My problem is that cannot play videos on youtube.I've download the last adobe flash player but nothing.The problem beginns after the upgrade to Lion osx.

  • I loaded Firefox 4 and now I'm getting Java errors "uninstal set" what do I do?

    I never got this message until I loaded Firefox 4. Now I'm getting this message and it's a pain.

  • Invoice Verification Error - Enter Spread USD/EUR type M for 31.01.08

    Hi, While doing the Invoice Verification we have encountered an error message requiring the entering of Spread USD/EUR. The PO was raised in the Euro and the Invoice Verification is being done in USD. Local currency is AUD. Even though the Exchange R

  • About MIME type

    hai friends , i am learning webstart, i want to set mime type in server i know the mimetype buti dont know hot to set the MIME type in webserver so is anybody knows please answer for my query thanks