Protecting jsf with https

I've restricted access to a jsf page by it's url in a <security-constraint > tag in web.xml.
However whenever i access that link, the web browser attempts to download the page onto my local machine instead of loading up my login page (with the usual j_security_check etc actions).
i'd like to know if it's possible to securely authenticate (through SSL) access to any resource/page?

Hey hitesh,
I just completed the development out a new KICK ASS autocomplete JSF component. The component is full JSF and fully contained.
You should get the sample running very quickly.
I am looking for beta testers who may be interested in adding AJAX to there JSF websites.
Here is a link to the demo:
http://developer.ebusiness-apps.com:8888/EbaJsfComboBox/
more info:
http://blogs.ebusiness-apps.com/godfrey/?p=9

Similar Messages

  • Is There a way I can make a free password protected website with iWeb?

    Hi!
    I've been thinking to myself, "I want to make a free website". But I want it passcode protected and free. I am a mac kind of person so is there a way I can make a free passcode protected website with iWeb? I knwo you use to be able to do it with MobileMe, but that's outdated now so could someone please help!

    No, you cannot password protect a website with iWeb.
    And no, you don't have to be a Mac kind of person either.
    So how do they do it?
    http://www.thesitewizard.com/apache/password-protect-directory.shtml
    More if you search for it :
    https://www.google.com/search?q=password+protect+website

  • Is in JSF (with Creator) a tehnologie similar with Tiles?

    Hy! I'm new and I want to ask: is in JSF a tehnologie similar with Tiles? How can I make my jsf pages to have some header and footer? Of course, in Creator.
    Thank you very much.

    In general, by design, JSF is a much more flexible framework as JSF is built with integration and extensibility in mind. JSF isn't easier than Struts when developing by hand, but using Sun Java Studio Creator can make it much much easier and greatly increase your productivity.
    Take a look at the Craig McClanahan's Weblog (He was the original creator of the Struts Framework, and was the co-specification lead for JavaServer Faces (JSF) 1.0 )
    http://blogs.sun.com/roller/page/craigmcc/20040927#struts_or_jsf_struts_and
    A good place to learn more about JSF is JSF Central .
    http://jsfcentral.com/
    As for your second question, you could use 'Page Fragment Box'. Check the online help for "Page Fragment Box".
    'This component enables you to include a page fragment in a page. A page fragment is a separate, reusable part of a page that can be included in any number of pages. For example, you might want to put a common a visual element like a header graphic in a page fragment and then include it in all the pages in an application......'
    Hope that helps.

  • Jsf with weblogic server 6.1

    Hi, Any help would be appreciated. I am trying to use jsf with weblogic server 6.1 and wlintegration 2.1 I tried to deploy the samples provided with jwsdp-1.2 When I start the guess number sample I get the following error message:
    Duke's number: 3
    <25-Jun-03 16:03:40 BST> <Error> <HTTP> <[WebAppServletConte
    xt(57758238,examplesWebApp,/examplesWebApp)] Root cause of S
    ervletException
    javax.servlet.jsp.JspException: Cannot find FacesContext
    at javax.faces.webapp.UIComponentTag.doStartTag(UICo
    mponentTag.java:269)
    at jsp_servlet._jsf_45_guessnumber._faces.__greeting
    ._jspService(__greeting.java:123)
    at weblogic.servlet.jsp.JspBase.service(JspBase.java
    :27), etc.
    I updated the web.xml file, created the faces directory under my examplesWebApp active domain with the jsp files, it finds the UserNumberBean class but it still crashes with the above.
    One problem I was having while deploying it that Weblogic Server did not allow me to copy jsf-api.jar, jstl.jar,etc under web-inf/lib.
    So I added all required jar files under bea root/config/samples/lib and updated startWeblogic.cmd
    Please help with how to deploy correctly the samples:
    Botond

    Thanks bill.
    I checked my weblogic server 6.1,it limited to j2ee1.2 features only.So I changed it supporting j2ee1.3 features.Now my JSF example is working normally.
    But I found a new question soon.
    I writed some letter in Chinese in jsp page .And I got some errors in weblogic.
    <2003-10-14 01:47:57> <Error> <HTTP> <101019> <[ServletContext(id=6480502,name=jaction,conte
    xt-path=/jaction)] Servlet failed with IOException
    java.io.IOException: javax.servlet.jsp.JspException: The taglib validator rejected the page: "org.xm
    l.sax.SAXParseException: An invalid XML character (Unicode: 0xb8) was found in the CDATA section., "
    at weblogic.servlet.jsp.Jsp2Java.outputs(Jsp2Java.java:124)
    at weblogic.utils.compiler.CodeGenerator.generate(CodeGenerator.java:258)
    at weblogic.servlet.jsp.JspStub.compilePage(JspStub.java:356)
    at weblogic.servlet.jsp.JspStub.prepareServlet(JspStub.java:214)
    at weblogic.servlet.jsp.JspStub.checkForReload(JspStub.java:149)
    at weblogic.servlet.internal.ServletStubImpl.getServlet(ServletStubImpl.java:538)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:364)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:306)
    at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:312)
    at com.sun.faces.context.ExternalContextImpl.dispatchMessage(ExternalContextImpl.java:298)
    at com.sun.faces.lifecycle.ViewHandlerImpl.renderView(ViewHandlerImpl.java:53)
    at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:89)
    at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:185)
    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:169)
    at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1075)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:418)
    at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:306)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletC
    ontext.java:5517)
    at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:685)
    at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:31
    56)
    at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2506)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:234)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:210)
    I donnot know what is the matter.And how to correct?
    thanks again.
    Yanger

  • How to invoke JSF With Standard Urls and parameters

    Hi,
    Could some one please help me how to invoke JSF with standard Urls and parameters?
    My requirement is:
    http://localhost:8080/myapp/faces/jsf_page.jsp?trackerID=11&viewPage="products"
    then i want to save the tracker details into database and redirect the user to "products" page.
    Would some one suggest me where can i get some example?

    Hi BalusC,
    It didn't solve my proble.....Your solutions are fantastic for most of the issues. But mine problem is unclear where JSF page tags.
    If possible, Could you please provide me how to invoke the method from JSF page....
    same code works if the user click on command button but my requirement is as soon as the user click on the link from 3rd party website, then he need to come to our web application and invoke the JSF page along with ManagedBean for saving details and redirect to disganted webpage.
    I will provide the following link to 3rd party websites. the URL is :: http://somedomain.com/myApp/Tracker.JSF?trackerID=111
    Could you please provide me the code i need to write in JSF ....just for invoking ManagedBean class...? how i code for page on load call the managedBean for specific method?

  • WL510 SP 6 InitialContext with http/https/rmi protocol IS NOT WORKING

    Hi
    I wanted to try SP6 for WL510 and noticed that
    that you can not create initial context with http protocol anymore.
    Is this a feature or you guys made t3 tuneable?
    I couldn't find any documentation related to that.
    If I try t3 everything is fine. (If I revert to SP5 all protocols are
    working.)
    Here is some stack trace with the rmi protocol as example
    javax.naming.ServiceUnavailableException. Root exception is
    java.net.UnknownHost
    Exception: Unknown protocol RMI for somehost/10.1.110.1
    at
    weblogic.rjvm.RJVMManager.findOrCreateRemoteInternal(RJVMManager.java
    :239)
    at weblogic.rjvm.RJVMManager.findOrCreate(RJVMManager.java:223)
    at
    weblogic.rjvm.RJVMFinder.findOrCreateRemoteServer(RJVMFinder.java:186
    at weblogic.rjvm.RJVMFinder.findOrCreate(RJVMFinder.java:155)
    at weblogic.rjvm.ServerURL.findOrCreateRJVM(ServerURL.java:200)
    at
    weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLIni
    tialContextFactoryDelegate.java:195, Compiled Code)
    at
    weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLIni
    tialContextFactoryDelegate.java:148)
    at
    weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialCont
    extFactory.java:123)
    at
    javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:6
    71)
    at
    javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:242
    at javax.naming.InitialContext.init(InitialContext.java:218)
    at javax.naming.InitialContext.<init>(InitialContext.java:194)

    I would like to retract this complaint :)
    I did not read the sp document thouroughly. There is a new property
    introduced called
    weblogic.httpd.tunnelingenabled=
    It needs to be set to true in order to enable tunneling with SP6. Maybe more
    visible sp docs ?
    see issue33320 in the Readme.txt file, coming with SP6.
    Thanks,
    Antoan Nikolaev.
    "Antoan Nikolaev" <[email protected]> wrote in message
    news:3a299ac5$[email protected]..
    Hi
    I wanted to try SP6 for WL510 and noticed that
    that you can not create initial context with http protocol anymore.
    Is this a feature or you guys made t3 tuneable?
    I couldn't find any documentation related to that.
    If I try t3 everything is fine. (If I revert to SP5 all protocols are
    working.)
    Here is some stack trace with the rmi protocol as example
    javax.naming.ServiceUnavailableException. Root exception is
    java.net.UnknownHost
    Exception: Unknown protocol RMI for somehost/10.1.110.1
    at
    weblogic.rjvm.RJVMManager.findOrCreateRemoteInternal(RJVMManager.java
    :239)
    at weblogic.rjvm.RJVMManager.findOrCreate(RJVMManager.java:223)
    at
    weblogic.rjvm.RJVMFinder.findOrCreateRemoteServer(RJVMFinder.java:186
    at weblogic.rjvm.RJVMFinder.findOrCreate(RJVMFinder.java:155)
    at weblogic.rjvm.ServerURL.findOrCreateRJVM(ServerURL.java:200)
    at
    weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLIni
    tialContextFactoryDelegate.java:195, Compiled Code)
    at
    weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLIni
    tialContextFactoryDelegate.java:148)
    at
    weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialCont
    extFactory.java:123)
    at
    javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:6
    71)
    at
    javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:242
    at javax.naming.InitialContext.init(InitialContext.java:218)
    at javax.naming.InitialContext.<init>(InitialContext.java:194)

  • Record center - submit file soap call throwing The request failed with http status 401: Unauthorized" exception

    Hi, I am trying to implement custom hold order / send to in sharepoint 2010 to send files in to holds / record center.
    I am at the last step where I am trying submit the metadata using soap call- submit file
    [SoapDocumentMethod("http://schemas.microsoft.com/sharepoint/soap/recordsrepository/SubmitFile", RequestNamespace = "http://schemas.microsoft.com/sharepoint/soap/recordsrepository/", ResponseNamespace = "http://schemas.microsoft.com/sharepoint/soap/recordsrepository/", Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
    public string SubmitFile([XmlElement(DataType = "base64Binary")] byte[] fileToSubmit, [XmlArrayItem(IsNullable = false)] Microsoft.SharePoint.RecordsRepositoryProperty[] properties, string recordRouting, string sourceUrl, string userName)
    return (string)base.Invoke("SubmitFile", new object[] { fileToSubmit, properties, recordRouting, sourceUrl, userName })[0];
    I am getting an error "The request failed with http status 401: Unauthorized".
    Actual file was transferred successfully but while transferring the properties (metadata) I am getting this exception.
    ganesh

    Hi ganesh,
    Please try to disable the loop back check, compare the result:
    In Registry Editor, locate and then click the following registry key: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa
    Right-click Lsa, point to New, and then click DWORD Value.
    Type DisableLoopbackCheck, and then press ENTER.
    Right-click DisableLoopbackCheck, and then click Modify.
    In the Value data box, type 1, and then click OK.
    Quit Registry Editor, and then restart your computer.
    In addition, please check if these links are useful:
    http://www.sharepointpills.com/2011/10/send-sharepoint-2010-document-to.html
    http://www.codeproject.com/Articles/497729/UploadingplusDocumentsplusProgramaticallyplustoplu
    I hope this helps.
    Thanks,
    Wendy
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Wendy Li
    TechNet Community Support

  • Error while configuring jsf with ajax using rich faces.

    hi all
    i am trying to configure jsf with ajax. i am using rich faces for it.
    but when to trying to configure some simple program i am unable to start the application i am getting the following error.
    SEVERE: Parse Error at line 5 column 17: Document root element "faces-config", must match DOCTYPE ro
    ot "null".
    org.xml.sax.SAXParseException: Document root element "faces-config", must match DOCTYPE root "null".
    and
    SEVERE: Can't instantiate class: 'org.ajax4jsf.application.AjaxStateManager'.:org.ajax4jsf.applicati
    on.AjaxStateManager:exception:null
    Apr 29, 2008 11:48:15 AM org.apache.catalina.core.StandardContext start
    SEVERE: Error listenerStart
    my sample code is
    <h:inputText value="#{Page1.zip}">
                          <a4j:support event="onkeyup"  reRender="zip"/>                  
      </h:inputText>
      <h:outputText  id="zip" value="#{Page1.zip}"/>
    java code is page bean is
    private String zip = null;
        public String getZip() { return zip; }
        public void setZip(String zip)
           this.zip = zip;
        }the jar i am using is richfaces-api-3.2.0.SR1.jar, richfaces-impl-3.2.0.SR1.jar, richfaces-impl-3.2.0.SR1.jar
    in web.xml i have included following code.
    <filter>
    <display-name>RichFaces Filter</display-name>
    <filter-name>richfaces</filter-name>
    <filter-class>org.ajax4jsf.Filter</filter-class>
    </filter>
    <filter-mapping>
    <filter-name>richfaces</filter-name>
    <servlet-name>Faces Servlet</servlet-name>
    <dispatcher>REQUEST</dispatcher>
    <dispatcher>FORWARD</dispatcher>
    <dispatcher>INCLUDE</dispatcher>
    </filter-mapping>

    Sounds like a problem with faces-config.xml (something to do with the faces-config element). Here's an example that works:
    <?xml version='1.0' encoding='UTF-8'?>
    <!-- =========== FULL CONFIGURATION FILE ================================== -->
    <faces-config version="1.2"
                  xmlns="http://java.sun.com/xml/ns/javaee"
                  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                  xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-facesconfig_1_2.xsd">
      <application>
        <locale-config>
          <default-locale>en_GB</default-locale>
          <supported-locale>en_GB</supported-locale>     
        </locale-config>
      </application>
      <managed-bean>
        <managed-bean-name>bean</managed-bean-name>
        <managed-bean-class>com.test.Bean</managed-bean-class>
        <managed-bean-scope>session</managed-bean-scope>
      </managed-bean>
    </faces-config>

  • Authorization with JAAS in JSF with facelets

    hi,
    can u please hint me where i did mistake.. i clearly mention what i did and what i getting ..i did this in jsf1.2,tomcat6.x
    i did JAAS authentication in jsf with facelets.but i am unable to do the authorization with JAAS in jsf
    after getting authentication i put the subject in session. if i print the values in suject i got the following out put
    Subject:
    Principal: TypedPrincipal: hari [USER] // user name
    Principal: TypedPrincipal: admin [GROUP] // user role.
    now i want to authorization based on the role.
    for this i wrote policy file --principal.policy like this
    grant Principal com.alw.reports.jaas.TypedPrincipal "admin" {
        permission com.alw.reports.jaas.ViewIdPermission "*";
    grant Principal com.alw.reports.jaas.TypedPrincipal "hari" {
        permission com.alw.reports.jaas.ViewIdPermission "*";
    grant Principal com.alw.reports.jaas.TypedPrincipal "user" {
        permission com.alw.reports.jaas.ViewIdPermission "/contents.jsp";
    };and i set the path for this policy file like
                  System.setProperty("java.security.policy", "policy file location" );when i run my application i am getting login page after that i gave username and passwed. it is getting authentication .. but not able to displaying next page that is /pages/welcome.xhtml but directly it is showin /pages/error.xhtml
    i am getting following error
    java.security.AccessControlException: access denied (com.alw.reports.jaas.ViewIdPermission /pages/welcome.xhtml)
         at java.security.AccessControlContext.checkPermission(Unknown Source)
         at java.security.AccessController.checkPermission(Unknown Source)
         at java.lang.SecurityManager.checkPermission(Unknown Source)
         at com.alw.reports.jaas.JAASHelper$1.run(JAASHelper.java:87)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.Subject.doAsPrivileged(Unknown Source)
         at com.alw.reports.jaas.JAASHelper.permitionToAccessViewId(JAASHelper.java:83)
         at com.alw.reports.jaas.JAASActionListener.processAction(JAASActionListener.java:65)
         at javax.faces.component.UICommand.broadcast(UICommand.java:106)
         at org.ajax4jsf.component.AjaxViewRoot.processEvents(AjaxViewRoot.java:184)
         at org.ajax4jsf.component.AjaxViewRoot.broadcastEvents(AjaxViewRoot.java:162)
         at org.ajax4jsf.component.AjaxViewRoot.processApplication(AjaxViewRoot.java:350)
         at org.apache.myfaces.lifecycle.LifecycleImpl.invokeApplication(LifecycleImpl.java:316)
         at org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:86)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:106)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
         at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:141)
         at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:281)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:263)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:584)
         at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
         at java.lang.Thread.run(Unknown Source)
    my faces-config.xml
    <navigation-rule>
              <display-name>pages/login</display-name>
              <from-view-id>/pages/login.xhtml</from-view-id>
              <navigation-case>
                   <from-outcome>loginSuccess</from-outcome>
                   <to-view-id>/pages/welcome.xhtml</to-view-id>
              </navigation-case>
         </navigation-rule>
    <navigation-case>
                   <from-outcome>errorpage</from-outcome>
                   <to-view-id>
                        /pages/error.xhtml
                   </to-view-id>
              </navigation-case>my command button in login.xhtml
                             <td align="center" colspan="2">
                                  <h:commandButton value="Reset" type="reset"/>
                                  <h:commandButton   action="loginSuccess"
                                       id="login" value="Login" />
                             </td>my actionlister
    package com.alw.reports.jaas;
    import javax.faces.component.UIOutput;
    import javax.faces.context.FacesContext;
    import javax.faces.event.AbortProcessingException;
    import javax.faces.event.ActionEvent;
    import javax.faces.event.ActionListener;
    import javax.security.auth.Subject;
    public class JAASActionListener implements ActionListener   {
         private ActionListener parent = null;
         public JAASActionListener(javax.faces.event.ActionListener parent) {
              System.out.println("-------------- in JAASActionListener ;");
           this.parent = parent;
         public void processAction(ActionEvent event)
           throws AbortProcessingException {
              System.out.println("-------------- in processAction ;");
           FacesContext context = FacesContext.getCurrentInstance();
           UIOutput comp = null;
           String userid = null, password = null;
           JAASHelper jaasHelper = new JAASHelper();
           // Check to see if they are on the login page.
           boolean onLoginPage = (-1 != context.getViewRoot().getViewId().lastIndexOf("login")) ? true : false;
           if (onLoginPage) {
             if (null != (comp = (UIOutput)
               context.getViewRoot().findComponent("helloForm:username"))) {
               userid = (String) comp.getValue();
             if (null != (comp = (UIOutput)
               context.getViewRoot().findComponent("helloForm:password"))) {
               password = (String) comp.getValue();
             // If JAAS authentication failed
             if (!jaasHelper.authenticate(userid, password)) {
               context.getApplication().getNavigationHandler().handleNavigation(context, null, "login");
               return;
             else {
               // Subject must not be null, since authentication succeeded
                  System.out.println("----------- setting the subjects in context in  ActionListner ");
               assert(null != jaasHelper.getSubject());
               // Put the authenticated subject in the session.
               System.out.println("---- putting the authenicated subject in the seesion ");
               context.getExternalContext().getSessionMap().put("JAASSubject",jaasHelper.getSubject());
           parent.processAction(event);
           Subject subject=(Subject)context.getExternalContext().getSessionMap().get("JAASSubject");
          System.out.println("subject after parent process action>>>>>>>>>>>>>>>>>>>>>"+subject);
          assert(null != subject);
          if(!jaasHelper.permitionToAccessViewId(subject,context,context.getViewRoot().getViewId())){
              context.getApplication().getNavigationHandler().handleNavigation(context, null, "errorpage");
    }can u please hint me where i did mistake
    thanks in advance

    gbabu wrote:
    My doubt is based on that subject , how to write policy file and how to call doAsPrivileged() mehod on that Subject in order to navigate web pages.how to provide web pages permission for particular role in policy file..
    For example i have three pages login.xhtml,user.xhtml,admin.xhtml.
    1> if the logged in person is admin, then we want to display admin.xhtml
    2> if the loggend is person is user , then we want to display user.xhtml
    untill now i did and found who is logged in and what are his type( admin or user) .now i want configure the web.xml and faces-config.xml based on policy fileTo the best of my knowledge, there is nothing in the standard NavigationHandler which accounts for JAAS security. If you wanted, you could create a custom NavigationHandler to do this. If you think the idea is worthy enough, you could issue an enhancement request to the specification ([https://javaserverfaces-spec-public.dev.java.net/]).

  • "workflow.asmx" method The request failed with HTTP status 404: Not Found.

    When consuming workflow.asmx webservice from , I am getting an error on below line number 3.
    1.POC.SPasmxWF.Workflow objSPasmxWF = new POC.SPasmxWF.Workflow();
    2.objSPasmxWF.Credentials = System.Net.CredentialCache.DefaultCredentials;
    3. XmlNode dataNode = objSPasmxWF.GetWorkflowDataForItem("http://in-mum01:7000/sites/PPP/2014-0002/PPPLibrary/GBL-IQ00120140008.doc");
    Error details: {"The request failed with HTTP status 404: Not Found."} "   at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean
    asyncCall)\r\n   at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)\r\n   at POC.SPasmxWF.Workflow.GetWorkflowDataForItem(String item) in E:\ERT\\Web References\\SPasmxWF\\Reference.cs:line 234\r\n
      at POC.Program.Main(String[] args) in E:\\POC\\POC\\Program.cs:line 27\r\n   at System.AppDomain._nExecuteAssembly(Assembly assembly, String[] args)\r\n   at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()\r\n   at System.Threading.ExecutionContext.Run(ExecutionContext
    executionContext, ContextCallback callback, Object state)\r\n   at System.Threading.ThreadHelper.ThreadStart()"

    Hi,
    For a better troubleshooting, I suggest you to do as follows:
    1. On server side you can access the Workflow.asmx from IE to make sure there are no problems in code logic.
    2. On client side you can also access Workflow.asmx from IE to see if it returns error.
    3. Check the link below:
    http://www.mail-archive.com/[email protected]/msg02092.html
    If you want to operate the workflow in Client-Side,  we can use Client Object Model in SharePoint 2010 to achieve it.
    http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.client.workflow(v=office.14).ASPX
    Thanks,
    Dennis Guo
    TechNet Community Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Dennis Guo
    TechNet Community Support

  • Deploying SCCM EndPoint Protection Client with updates?

    Am using SCCM 2012 r2 and need to get the EndPoint Protection Client built int o my image. 
    If I deploy it post-imaging the laptop, how do I get the latest definitions?
    Because it shows up with a red icon in the system tray and I have to go in and manually update the definitions after I install it. 
    Is there a task that could be done in an OSD to update the definitions?
    Otherwise only way I can think of is preinstall and update and get the full scan done before capturing an image of my system to deploy to other systems. 

    Hi,
    If you use Endpoint Protection on all computer including the latest definitions in your Build and Capture saves time.
    Otherwise ,the command line in windows works fine ,trigger an update of SCEP at the end of the task sequence:
    "%Program Files%\Microsoft Security Client\mpcmdrun.exe" -SignatureUpdate
    Here are some great articles for you reference:
    Operating System Deployment and Endpoint Protection Client Installation
    http://blogs.technet.com/b/configmgrteam/archive/2012/04/12/operating-system-deployment-and-endpoint-protection-client-installation.aspx
    How to Configure Definition Updates for Endpoint Protection in Configuration Manager
    http://technet.microsoft.com/en-us/library/jj822983.aspx 
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • Http webrequest with https uri is not working in windows phone 8.1

    I am building a Windows Phone application in which the uat environment was working fine with http url,
    But the production url is https, then the applictaion is not able to get the response from http web request method. Please help me on the same.
    Cynthia Mareia

    Any errors returned in response?
    http://developer.nokia.com/community/wiki/Using_Crypto%2B%2B_library_with_Windows_Phone_8

  • Web service client not working with HTTP Analyzer turned on

    So the subject explains it all.
    I have a simple JAXWS web service with @Policy(uri = "policy:Wssp1.2-2007-Https.xml") on remote secured (real SSL cert) Weblogic 10.3.5.
    A simple client is generated in JDev 11.1.2.3 and run on my machine locally.
    I'm really not sure I've tuned everything right with client certificates but the thing is when JDeveloper HTTP Analyzer is turned on client run gives bad_certificate SSLException.
    With Analyzer turned off the service call is successfull.
    javax.net.ssl.SSLKeyException: [Security:090542]Certificate chain received from localhost - 127.0.0.1 --> wl1n2.miit.ru was not trusted causing SSL handshake failureCould someone explain me this issue?

    Puthanampatti,
    First of all, how am I to determine what security folder is being used for certificates when I run local client in JDev?
    My JDev folder is D:\JDeveloper-11.1.2.*3* and there's D:\JDeveloper-11.1.2.3\jdk160_24\jre\lib\security
    My JDEV_USER_DIR is set to another folder: D:\JDeveloper-11.1.2.*2* \home so I'm not sure where should I import certificates.
    To import a certificate I:
    Open our https web site in Chrome browser. Click the HTTPS mark and expoer the certificate as Base64 (does it matter what encoding to use?) .cer file.
    Then I open Windows command line and run setDomainEnv in my local weblogic folder:
    D:\JDeveloper-11.1.2.2\home\system11.1.2.3.39.62.76.1\DefaultDomain\bin\setDomainEnv.exe
    cd D:\JDeveloper-11.1.2.3\jdk160_24\jre\lib\security
    keytool -import -alias miitcert -keystore cacerts -file d:\cer\miit-base64.cerA bit confusing might be the fact that system11.1.2.*3* folder is inside JDeveloper-11.1.2.*2* folder but that is how it is.
    So that were the steps I did to import a certificate, but the problem with HTTP Analyzer is still here.
    And what is demotrust.jks? There's no such file in security folder.

  • Safari will not open certain web sites with https or http

    safari will not open certain web sites with https or http,any help will be welcome,it must be a security setting,but i have not changed any settings.

    From your Safari menu bar click Safari > Preferences then select the Exensions tab.
    If there are any installed, switch the button to off, quit and relaunch Safari to test.
    If there is more than one extension insalled, uninstall one a time, quit and relaunch Safari and test.

  • Error Message: The attempt to connect to the report server failed. Check your connection information and that the report server is a compatible version. The request failed with HTTP status 404: Not Found.

    I have a web page that contains a ReportViewer control.  I am trying to display a report, which is an .rdl file located on the SSRS server, in this ReportViewer control.  I have set the ReportPath and ReportServerUrl correctly.  I am
    getting an error message.
    Am I suppose to use an .rdlc file rather than a .rdl file?  Does the web server configuration need to use a certain account?
     I am getting the following error message:
    The attempt to connect to the report server failed. Check your connection information and that the report server is a compatible version.
    The request failed with HTTP status 404: Not Found.

    Hi bucaroov,
    The error "The request failed with HTTP status 404: Not Found." means the ReportServerURL configured in the ReportViewer control is invalid.
    Please follow these steps to solve the issue:
    Logon the Report Server machine.
    Open the Reporting Services Configuration Manager.
    Copy the Report Server URL from 'Web Services URL'.
    Logon the application server(in this case, it is the server that host the web page), check if we can use the URL we got from step 3 to access the Report Server. If so, please replace the ReportServerURL in the ReportViewer control with this URL. If it is
    not available, could you please post the error message.
    Additionaly, we don't need to provide the extension for a server report. The ReportPath should be like: /<reports folder>/<report name>
    For more information, please see:
    Walkthrough: Using the ReportViewer Control in Remote Mode:
    http://msdn.microsoft.com/en-us/library/ms251669(VS.80).aspx
    If you have any more questions, please feel free to ask.
    Thanks,
    Jin Chen
    Jin Chen - MSFT

Maybe you are looking for

  • Error While Running a page on JDeveloper

    Hi All , I am getting the following error while running a page in Jdeveloper . Can any body help me? (AppsContext.java:686) at oracle.apps.fnd.common.WebAppsContext.(WebAppsContext.java:846) at oracle.apps.fnd.framework.server.OAUtility.getWebAppsCon

  • Embed a font in a PDF(generated by Word 2013) using Adobe Acrobat XI

    Hi all, I wrote my thesis in Word 2013 using the LaTex font "LM Roman 12" that is an Open Type font not restricted (it results "Editable"). Although it is marked as opentype, word doesn't embed it into the exported pdf and I guess that is becouse the

  • Sync Outlook: Advanced: Replace information on this iPhone (how to set as default)

    Every time I sync Outlook with iTunes (iPhone 4s) I have to select -> Advanced -> Replace information on this iPhone, and then check Contacts and Calendar. I want this to be the DEFAULT action when I connect my iPhone. As it stands I have to turn on

  • Service Message Broker service will NOT start

    I've done quite a bit of searching on this issue and have found a reasonable amount of potential fixes, all of which I tried and none of which have worked. This service simply is stuck in the "Starting" status. The only way to stop it is to kill the

  • SOAP or XI adaptor should be used

    Hi Expert, I have a scenario where the sender should call XI in form of web service, XI will forward the call to the ABAP using proxy. My question is how should I configure the sender agreement: 1) Since it's web service, I guess it should be SOAP se