LV2012 Web Services w/ NI Auth login not working w/ static files in Firefox 19

Hi!
I followed this procedure to password protect my web service and the static files. 
http://digital.ni.com/public.nsf/allkb/DF41D5DA8EEB4840862577D90058C208
When testing it out with my web service it seems to work fine on any web browser.  http://localhost:8080/add/add/1/2 first will present a login.  Once the user is logged in the page refreshes and the results of the operation are shown.  http://localhost:8080/logout works as well.
I followed the procedure in the FAQ to include an index.html file.
http://www.ni.com/white-paper/7747/en#toc15
When I try to access the page (via http:localhost:8080/add/web/index.html) I'm greeted with the National Instruments login screen.  I enter my credentials and in Chrome and Internet Explorer the screen refreshes and I see my html file.  In Firefox it hangs for awhile on the authentication screen and then reloads back to the authenticaiton screen (as if the username and password did not take).
Attached are my files.  If you want to try and recreate this please follow this procedure:
* Unzip the attached project to a folder
* Open the project in LabVIEW 2012
* Check the properties of the web service to ensure that the build paths are correct
* Follow the procedure above for setting up NI Auth on your web service and adding the "testpermission2" permission.  Be sure to remove "Everyone" from that "testpermission2" or you will never see a login prompt.
* Build/Deploy the web service
* open http://localhost:8080/logout to ensure that you are not currently authenticated
* open http://localhost:8080/add/add/1/2 and login, observe behavior
* open http://localhost:8080/add/web/index.html you should still be logged in so you will see the "Hello World!" just fine
* open http://localhost:8080/logout to log back out
* open http://localhost:8080/add/web/index.html and see if you are able to login.
I've tried disabelling my plugins in Firefox and still have this problem.  I'm really scratching my head on how to overcome this other than throwing away NI Auth and use something else.  My web service is going to run off of a static front end driven by javascript and html.  So the access point will be the html file.  I need to have some username and password scheme worked out.  I also need to be able to see what user is currently logged in with my Web Service VIs (does anyone know if that is possible with NI Auth)? 
The other BIG issue I have with NI Auth is that it requires Silverlight.  So much for mobile support, eh?  Anyone know of a good plug-and-play alternative so I don't have to reinvent the wheel?  I guess I could impliment some kind of token system on my web service side.
In the meantime, getting NI Auth to properly work with Firefox would help.
Thanks for your input,
-Nic
Attachments:
Example Web Service.zip ‏15 KB

Disclaimer: I in no way mean to bash NI and I have used NI Auth myself in the past
If you are going to go to the trouble of abstracting NI Auth, I would recommend instead investing your time in your own authentication scheme (or implementing a standard scheme in LV).
NI Auth is great and works for low security applications where you just don't want people fooling around with your application who shouldn't be.
However, NI Auth is really not that secure.  If I remember correctly, the username is transmitted in plain text and I don't think the encryption algorithm is that sophisticated.  It is nice that it's already integrated into LV, but there really are very few features at this time.
If you want something to be really secure, you need to take measures beyond what NI Auth provides and before you go to the work of building abstraction on top of a basic and somewhat shaky protocol, I'd seriously consider implementing a more stable base.
<insert 2 cents complete>
Chris
Certified LabVIEW Architect
Certified TestStand Architect

Similar Messages

  • Web Service Test in SE80 does not work with internal Table

    Hello,
    I have created a web server based on a function module. It works fine when the server is invoked from outside (.Net or SOAPUI).
    However, when I test it in SE80, (open the Server and then F8), it shows error message:
         Access to the table ref. node 'Y02VSI_CAE_CONDITIONITEM' outside a loop
    (Germany Zugriff auf den Tabellen-Ref-Node 'Y02VSI_CAE_CONDITIONITEM' außerhalb einer Schleife )
    The test xml is generated from SAP, I just fill the data as following:
    This XML is absolute correct. Why item ('Y02VSI_CAE_CONDITIONITEM) is outside a loop?
    Is it a bug from SAP?
    Thanks in advance!
    Regards
    Dianlong

    Hi Dianlong,
    Please check if SAP note 1132501 is relevant for your ECC release. If you apply the note, you may have to re-generate the web service from the function module.
    Regards, Trevor

  • Consuming Web Services in 11.2 does not work ??

    Hello,
    Did anyone manage to call a Web Service from Oracle 11.2 database?
    We wanted to call a web service from Oracle, so for example if I execute:
    SELECT add_numbers(1, 5) FROM dual;
    from my database, I get the result 6.
    Cool thing is that the add_numbers function is not in my database, but in a database somewhere in the cloud, and I access the function as a web service.
    Oracle provides step-by-step documentation how to do it, but we couldn't make it working by following the docs. It was done on a clean Oracle 11.2 database install.
    We followed the instructions from: http://www.oracle.com/technology/sample_code/tech/java/jsp/callout_users_guide.htm
    The main part of the job is to:
    1) Load the java classes into the Oracle database by issuing the following command: % loadjava -u sys\<password> -r -v -f -genmissing dbwsclientws.jar dbwsclientdb11.jar
    2) Install the UTL_DBWS package into the database (it is not installed by default in 11g):
    SQL> @?/sqlj/lib/utl_dbws_decl.sql
    SQL> @?/sqlj/lib/utl_dbws_body.sql
    We loaded the classes into the SYS user and installed the UTL_DBWS package into the SYS user as well.
    3) Create a function that uses UTL_DBWS package to call a web service: http://www.oracle-base.com/articles/10g/utl_dbws10g.php
    However, when we tried to run the add_numbers function, it returned an error from the UTL_DBWS package, from the create_service function (line 190), the function returned that the java class that it calls does not exist:
    ORA-29532: Java call terminated by uncaught Java exception: java.lang.IllegalAccessException: java.lang.NoClassDefFoundError
    ORA-06512: at "SYS.UTL_DBWS", line 193
    ORA-06512: at "SYS.UTL_DBWS", line 190
    ORA-06512: at "SYS.ADD_NUMBERS", line 25
    Line 193 in UTL_DBWS package goes like this:
    function create_service_proxy(wsdl_Document_Location VARCHAR2, service_Name VARCHAR2) return SERVICE
    as language java
    name 'oracle.jpub.runtime.dbws.DbwsProxy.createService(java.lang.String,java.lang.String) return long';
    However, this makes no sense because the class is loaded:
    select dbms_java.longname(object_name), status, object_type from all_objects where
    object_name like '%DbwsProxy%'
    and object_type = 'JAVA CLASS'
    Output:
    oracle/jpub/runtime/dbws/DbwsProxy$1;VALID;JAVA CLASS
    oracle/jpub/runtime/dbws/DbwsProxy$CallProxy;VALID;JAVA CLASS
    oracle/jpub/runtime/dbws/DbwsProxy$ServiceProxy;VALID;JAVA CLASS
    oracle/jpub/runtime/dbws/DbwsProxy;VALID;JAVA CLASS
    Anyone knows the cause of the exception?
    Edited by: user8938058 on Feb 1, 2011 2:08 AM

    I had the same problem. For me below code works:
    CREATE OR REPLACE FUNCTION SYS.add_numbers (p_int_1 IN NUMBER,
    p_int_2 IN NUMBER)
    RETURN NUMBER
    AS
    l_service UTL_DBWS.service;
    l_call UTL_DBWS.call;
    l_wsdl_url VARCHAR2(32767);
    l_namespace VARCHAR2(32767);
    l_service_qname UTL_DBWS.qname;
    l_port_qname UTL_DBWS.qname;
    l_operation_qname UTL_DBWS.qname;
    l_xmltype_in SYS.XMLTYPE;
    l_xmltype_out SYS.XMLTYPE;
    l_return NUMBER;
    BEGIN
    l_wsdl_url := 'http://www.oracle-base.com/webservices/server.php?wsdl';
    l_namespace := 'http://www.oracle-base.com/webservices/';
    l_service_qname := UTL_DBWS.to_qname(l_namespace, 'Calculator');
    l_port_qname := UTL_DBWS.to_qname(l_namespace, 'CalculatorPort');
    l_operation_qname := UTL_DBWS.to_qname(l_namespace, 'ws_add');
    l_service := UTL_DBWS.create_service (
    service_name => l_service_qname);
    l_call := UTL_DBWS.create_call (
    service_handle => l_service);
    utl_dbws.set_target_endpoint_address(l_call, 'http://www.oracle-base.com/webservices/server.php');
    utl_dbws.set_property( l_call, 'OPERATION_STYLE', 'rpc');
    l_xmltype_in := SYS.XMLTYPE('<?xml version="1.0" encoding="utf-8"?>
    <ws_add xmlns="' || l_namespace || '">
    <int1>' || p_int_1 || '</int1>
    <int2>' || p_int_2 || '</int2>
    </ws_add>');
    l_xmltype_out := UTL_DBWS.invoke(call_Handle => l_call,
    request => l_xmltype_in);
    UTL_DBWS.release_call (call_handle => l_call);
    UTL_DBWS.release_service (service_handle => l_service);
    l_return := l_xmltype_out.extract('//return/text()').getNumberVal();
    RETURN l_return;
    END;
    It seems that the problem is with class oracle.jpub.runtime.dbws.DbwsProxy.createService(java.lang.String,java.lang.String) return long
    I rewrite your example that it uses oracle.jpub.runtime.dbws.DbwsProxy.createService(java.lang.String) return long
    In the database log I get this stacktrace:
    *** 2011-06-03 11:22:37.390
    ServiceFacotory: oracle.j2ee.ws.client.ServiceFactoryImpl@3b689a27
    WSDL: http://www.oracle-base.com/webservices/server.php?wsdl
    ERROR: java.lang.ExceptionInInitializerError
    java.lang.ExceptionInInitializerError
         at oracle.j2ee.ws.wsdl.xml.WSDLReaderImpl.readDocument(WSDLReaderImpl.java:309)
         at oracle.j2ee.ws.wsdl.xml.WSDLReaderImpl.readWSDL(WSDLReaderImpl.java:275)
         at oracle.j2ee.ws.wsdl.xml.WSDLReaderImpl.readWSDL(WSDLReaderImpl.java:462)
         at oracle.j2ee.ws.wsdl.xml.WSDLReaderImpl.readWSDL(WSDLReaderImpl.java:440)
         at oracle.j2ee.ws.common.processor.modeler.wsdl.WSDLModeler.buildModel(WSDLModeler.java:161)
         at oracle.j2ee.ws.common.processor.config.ModelInfo.buildModel(ModelInfo.java:167)
         at oracle.j2ee.ws.client.dii.ServiceInfoBuilder.getModel(ServiceInfoBuilder.java:196)
         at oracle.j2ee.ws.client.dii.ServiceInfoBuilder.getModel(ServiceInfoBuilder.java:181)
         at oracle.j2ee.ws.client.dii.ServiceInfoBuilder.buildServiceInfo(ServiceInfoBuilder.java:114)
         at oracle.j2ee.ws.client.dii.ConfiguredService.<init>(ConfiguredService.java:54)
         at oracle.j2ee.ws.client.ServiceFactoryImpl.createService(ServiceFactoryImpl.java:43)
         at oracle.jpub.runtime.dbws.DbwsProxy$ServiceProxy.<init>(Unknown Source)
         at oracle.jpub.runtime.dbws.DbwsProxy$ServiceProxy.<init>(Unknown Source)
         at oracle.jpub.runtime.dbws.DbwsProxy.createService(Unknown Source)
    Caused by: java.util.MissingResourceException: Can't find oracle.j2ee.ws.wsdl.ORAWSDLMessageBundle bundle
         at java.util.logging.Logger.setupResourceInfo(Logger.java:1285)
         at java.util.logging.Logger.<init>(Logger.java:203)
         at java.util.logging.Logger.getLogger(Logger.java:271)
         at oracle.j2ee.ws.wsdl.ORAWSDLMessages.<clinit>(ORAWSDLMessages.java:14)
         ... 14 more
    java.lang.IllegalAccessException: java.lang.ExceptionInInitializerError
         at oracle.jpub.runtime.dbws.DbwsProxy.createService(Unknown Source)
    ServiceFacotory: oracle.j2ee.ws.client.ServiceFactoryImpl@3b689a27
    WSDL: http://www.oracle-base.com/webservices/server.php?wsdl
    ERROR: java.lang.NoClassDefFoundError
    java.lang.NoClassDefFoundError
         at oracle.j2ee.ws.wsdl.xml.WSDLReaderImpl.readDocument(WSDLReaderImpl.java:309)
         at oracle.j2ee.ws.wsdl.xml.WSDLReaderImpl.readWSDL(WSDLReaderImpl.java:275)
         at oracle.j2ee.ws.wsdl.xml.WSDLReaderImpl.readWSDL(WSDLReaderImpl.java:462)
         at oracle.j2ee.ws.wsdl.xml.WSDLReaderImpl.readWSDL(WSDLReaderImpl.java:440)
         at oracle.j2ee.ws.common.processor.modeler.wsdl.WSDLModeler.buildModel(WSDLModeler.java:161)
         at oracle.j2ee.ws.common.processor.config.ModelInfo.buildModel(ModelInfo.java:167)
         at oracle.j2ee.ws.client.dii.ServiceInfoBuilder.getModel(ServiceInfoBuilder.java:196)
         at oracle.j2ee.ws.client.dii.ServiceInfoBuilder.getModel(ServiceInfoBuilder.java:181)
         at oracle.j2ee.ws.client.dii.ServiceInfoBuilder.buildServiceInfo(ServiceInfoBuilder.java:114)
         at oracle.j2ee.ws.client.dii.ConfiguredService.<init>(ConfiguredService.java:54)
         at oracle.j2ee.ws.client.ServiceFactoryImpl.createService(ServiceFactoryImpl.java:43)
         at oracle.jpub.runtime.dbws.DbwsProxy$ServiceProxy.<init>(Unknown Source)
         at oracle.jpub.runtime.dbws.DbwsProxy$ServiceProxy.<init>(Unknown Source)
         at oracle.jpub.runtime.dbws.DbwsProxy.createService(Unknown Source)
    java.lang.IllegalAccessException: java.lang.NoClassDefFoundError
         at oracle.jpub.runtime.dbws.DbwsProxy.createService(Unknown Source)
    Maybe somebody explain why if I use function create_service(wsdl_Document_Location URITYPE, service_Name QNAME)
    RETURN SERVICE it throws ORA-29532: Java call terminated by uncaught Java exception: java.lang.IllegalAccessException: java.lang.NoClassDefFoundError
    and when I use function create_service(service_Name QNAME) RETURN SERVICE it works ?
    Please help
    Edited by: user10200937 on 2011-06-03 03:14

  • RFC works but web service for that RFC does not work..weird??

    hi all,
    I created an RFC enabled function module to create a Sales Order in SAP CRM for both for Varinat Configurable and Normal Materials.
    The RFC Works well...if i test it..it creates an order and if i go and check the sales order in CRM GUI. i find that sales order is perfect with the configuration data for the configurable items..
    Now i created a Web service for this RFC by calling the Web service creation wizard.
    Now i am testing the Web service in SOAMANGER T-code and the sales order is created and weird thing the configuration data is missing for Varinat configurable item..
    But i dont encounter this problem if i am testing the RFC directly
    What could be wrong...why is my web service behaving weird?
    I am dying to find this out..did any body enocunter this situation befor ..please help

    Sure Oliver..
    I put a break point using external debugger and when i was testing the Web service in SOAMANAGER..
    i could then land into ABAP debugger.
    There in my RFC i put a logic such that i diffenetiate between VC and Non-VC items and fill the Charateristic Values only if it is aVC item.
    I saw that the IF condition was not executing as they suddenly changed the material structure in ECC and it reflected in CRM.
    SO i am inputting 18 digits of material no like '000000000000000001' for '1'...but the if condition was checking against 1 =1 so that loop never executed and chara values are not getting filled.
    But if i test RFC in se37 ..it works as i am inputting 1...
    Since Web service works with XML (WSDL) need to be very careful with the format in which data is inputted and the format in which the logic we wrote in RFC works.
    Once again ..thanks to all people who helped me with the answers...
    Regards,
    Jessica Sam

  • Web Service deployed with admin_client is not working

    Hi,
    I'm usung SOA Suite 10.1.3.1 and Eclipse WTP 3.2.2.
    The thing is that I developed a Web Service with Eclipse using the plugin for generating web services. Then I exported my project to a .war file from eclipse as well.
    For deploy my web service in oc4j, I tried from the oc4j console in Applications --> Deploy and Next-Next wizard and using the .war file generated by Eclipse. I got the application deployed and I can check that the wsdl is working in http://localhost:8888/Hello_Web2/services/Hello?wsdl
    But the main problem is when I try to deploy using the admin_client command tool running the command: java -jar admin_client.jar deployer:oc4j:opmn://localhost/home oc4jadmin welcome1 -deploy -file d:\TEMP\Hello_Web.war -deploymentName Web5 -contextRoot "/". Everything seems right, I can see the application created in the console, but when I try to access to the web service using "http://localhost:8888/Hello_Web2/services/Hello?wsdl" I get and Http 404.
    What is wrong with the command method?
    Many thanks in Advance,
    Alberto

    Hi,
    As the custom web part works well in other browsers, the issue may be related to the IE itself.
    Have you tried the methods below?
    Use compatibility mode to check whether it works.
    Open IE->Tools->Compatibility View Settings
    Add the site into Trusted sites to check whether it works.
    Open the IE->Internet Options->Security->Trusted Sites->add the site into the zone
    What’s more, you can also switch the Document mode to IE 10 or lower to check whether it works.
    Thanks & Regards,
    Jason
    Jason Guo
    TechNet Community Support

  • Consuming Web Services in 11.2 does not work (UTL_DBWS)

    Hello
    i read some documents for consuming web services on the internet , but i get an error when i call add_numbers function as follows:
    i connected on WSUSER , then
    SQL> select add_numbers(1,3) from dual;
    The Error message is:
    ERROR at line 1:
    ORA-29532: Java call terminated by uncaught Java exception:
    java.lang.IllegalAccessException: java.lang.ExceptionInInitializerError
    ORA-06512: at "WSUSER.UTL_DBWS", line 193
    ORA-06512: at "WSUSER.UTL_DBWS", line 190
    ORA-06512: at "WSUSER.ADD_NUMBERS", line 25"
    I use the following steps to setup the UTL_DBWS :
    1-     Create new user 'WSUSER'
    2-     Run the UTL_DBWS scripts ( utl_dbws_decl.sql , utl_dbws_body.sql) on WSUSER.
    3-     Execute this command
    loadjava -u scott/tiger -r -v -f -genmissing dbwsclientws.jar dbwsclientdb11.jar
    4-     Log in as sys and grant these privileges to our new user:
    execute dbms_java.grant_permission('WSUSER','SYS:java.util.PropertyPermission','http.proxySet','write');
    execute dbms_java.grant_permission('WSUSER','SYS:java.util.PropertyPermission','http.proxyHost', 'write');
    execute dbms_java.grant_permission('WSUSER','SYS:java.util.PropertyPermission','http.proxyPort', 'write');
    execute dbms_java.grant_permission('WSUSER','SYS:java.lang.RuntimePermission', 'accessClassInPackage.sun.util.calendar','');
    execute dbms_java.grant_permission('WSUSER','SYS:java.lang.RuntimePermission','getClassLoader','');
    execute dbms_java.grant_permission('WSUSER','SYS:java.net.SocketPermission','*','connect,resolve');
    execute dbms_java.grant_permission('WSUSER','SYS:java.util.PropertyPermission','*','read,write');
    execute dbms_java.grant_permission('WSUSER','SYS:java.lang.RuntimePermission','setFactory','');
    execute dbms_java.grant_permission('WSUSER','SYS:java.lang.RuntimePermission', 'createClassLoader', '' )
    5-     Create add_numbers function on wsuser to test utl_dbws:
    CREATE OR REPLACE FUNCTION add_numbers (p_int_1 IN NUMBER,
    p_int_2 IN NUMBER)
    RETURN NUMBER
    AS
    l_service UTL_DBWS.service;
    l_call UTL_DBWS.call;
    l_wsdl_url VARCHAR2(32767);
    l_namespace VARCHAR2(32767);
    l_service_qname UTL_DBWS.qname;
    l_port_qname UTL_DBWS.qname;
    l_operation_qname UTL_DBWS.qname;
    l_xmltype_in SYS.XMLTYPE;
    l_xmltype_out SYS.XMLTYPE;
    l_return NUMBER;
    BEGIN
    l_wsdl_url := 'http://www.oracle-base.com/webservices/server.php?wsdl';
    l_namespace := 'http://www.oracle-base.com/webservices/';
    l_service_qname := UTL_DBWS.to_qname(l_namespace, 'Calculator');
    l_port_qname := UTL_DBWS.to_qname(l_namespace, 'CalculatorPort');
    l_operation_qname := UTL_DBWS.to_qname(l_namespace, 'ws_add');
    l_service := UTL_DBWS.create_service (
    wsdl_document_location => URIFACTORY.getURI(l_wsdl_url),
    service_name => l_service_qname);
    l_call := UTL_DBWS.create_call (
    service_handle => l_service,
    port_name => l_port_qname,
    operation_name => l_operation_qname);
    l_xmltype_in := SYS.XMLTYPE('<?xml version="1.0" encoding="utf-8"?>
    <ws_add xmlns="' || l_namespace || '">
    <int1>' || p_int_1 || '</int1>
    <int2>' || p_int_2 || '</int2>
    </ws_add>');
    l_xmltype_out := UTL_DBWS.invoke(call_Handle => l_call,
    request => l_xmltype_in);
    UTL_DBWS.release_call (call_handle => l_call);
    UTL_DBWS.release_service (service_handle => l_service);
    l_return := l_xmltype_out.extract('//return/text()').getNumberVal();
    RETURN l_return;
    END;
    6-     Test the function
    Select add_numbers(1,2) from dual
    on the test i get the error message :
    ERROR at line 1:
    ORA-29532: Java call terminated by uncaught Java exception:
    java.lang.IllegalAccessException: java.lang.ExceptionInInitializerError
    ORA-06512: at "WSUSER.UTL_DBWS", line 193
    ORA-06512: at "WSUSER.UTL_DBWS", line 190
    ORA-06512: at "WSUSER.ADD_NUMBERS", line 25
    anyone have an idea to resolve this error .
    thanks alot

    Hi.
    Looking at the code, it seems it is my article you are asking about.
    http://www.oracle-base.com/articles/10g/utl_dbws10g.php
    I've just run through it on an 11.2 instance and it works fine for me.
    Make sure your server has access to the Internet and make sure the java classes are loaded successfully.
    Cheers
    Tim...

  • Getting error System.Web.Services.Protocols.SoapException: Server did not r

    I am trying to acces my web service using this code
    Call call = new Call ();
    SOAPMappingRegistry soap = new SOAPMappingRegistry();
    call.setTargetObjectURI ("http://tempuri.org/");
    call.setMethodName ("EarnNValue");
    Vector params = new Vector ();
    params.addElement (new Parameter("customer_id", String.class, "gauravbehl",Constants.NS_URI_SOAP_ENC));
    params.addElement (new Parameter("channel_id", String.class, "C0002",Constants.NS_URI_SOAP_ENC));
    call.setParams (params);
    Response resp = call.invoke(new URL("http://203.199.76.2/api/earnnvalue.asmx"), "http://tempuri.org//EarnNValue") ;
    if (resp.generatedFault ())
    Fault fault = resp.getFault ();
    System.out.println (" Fault Code = " + fault.getFaultCode ());
    System.out.println (" Fault String = " + fault.getFaultString ());
    else
    Parameter result = resp.getReturnValue ();
    System.out.println (result.getValue ());
    out.println (result.getValue ());
    and i am getting the the following error
    Fault Code = soap:Client
    Fault String = System.Web.Services.Protocols.SoapException: Server did not recognize the value of HTTP Header SOAPAction: http://tempuri.org//EarnNValue.
    at System.Web.Services.Protocols.Soap11ServerProtocolHelper.RouteRequest()
    at System.Web.Services.Protocols.SoapServerProtocol.Initialize()
    at System.Web.Services.Protocols.ServerProtocolFactory.Create(Type type, HttpContext context, HttpRequest request, HttpResponse response, Boolean& abortProcessing)
    Please help.
    Thanx
    GB

    <%@ page language="java" import="java.util.*, java.io.*, javax.mail.*, java.net.*, org.apache.soap.util.xml.*, org.apache.soap.encoding.soapenc.BeanSerializer, org.apache.soap.encoding.*,org.apache.soap.*, org.apache.soap.rpc.*"%>
    <%
    try
    out.println ("Starting");
    System.out.println("heree");
    Call call = new Call ();
    System.out.println("here");
    SOAPMappingRegistry soap = new SOAPMappingRegistry();
    call.setTargetObjectURI ("http://tempuri.org/");
    call.setMethodName ("EarnNValue");
    call.setEncodingStyleURI("http://schemas.xmlsoap.org/soap/encoding/");
    Vector params = new Vector ();
    params.addElement (new Parameter("customer_id", String.class, "gauravbehl",Constants.NS_URI_SOAP_ENC));
    params.addElement (new Parameter("channel_id", String.class, "C0002",Constants.NS_URI_SOAP_ENC));
    params.addElement (new Parameter("category_id", String.class, "club",Constants.NS_URI_SOAP_ENC));
    params.addElement (new Parameter("transaction_date", String.class, "16/07/04 14:41:20",Constants.NS_URI_SOAP_ENC));
    params.addElement (new Parameter("parameter_id", String.class, "login",Constants.NS_URI_SOAP_ENC));
    params.addElement (new Parameter("parameter_value", String.class, "1",Constants.NS_URI_SOAP_ENC));
    call.setParams (params);
    Response resp = call.invoke(new URL("http://203.199.76.2/api/earnnvalue.asmx"), "http://tempuri.org//EarnNValue") ;
    if (resp.generatedFault ())
    Fault fault = resp.getFault ();
    System.out.println ("Something is wrong");
    System.out.println (" Fault Code = " + fault.getFaultCode ());
    System.out.println (" Fault String = " + fault.getFaultString ());
    else
    Parameter result = resp.getReturnValue ();
    System.out.println (result.getValue ());
    out.println (result.getValue ());
    catch (Exception e)
    System.out.println ("********Exception*******");
    System.out.println (e);
    out.println ("Ending");
    %>

  • MBAM 2.5 Web Applications installation - "Web service application pool account is not valid"

    Hi,
    I've created a Server 2012R2 installation to install MBAM 2.5. When installing the Web Applications I keep getting "The web service application pool account is not valid". 
    The account I am using is a standard domain account with admin rights on the Server and I've also set the SPN (both netbios and FQDN) and Delegation.
    This account is also a member of the group that is defined as RW of the SQL databases (which were setup without any problem and are on a separate  Server 2008R2, SQL 2008R2 installation.
    I am also getting an error with the SSRS URL , stating "SQL Server Reporting Services URL that points to the MBAM reports is not valid", despite being able to browse to the http://[FQDN]/ReportServer_MBAM location.
    Thanks.

    I got this kind of error when I revert back my virtual machine a lot to my previous checkpoints. I hope this can't be an issue for you.
    Make sure the application pool account must have the following login roles on the SQL server and have following rights on the reporting instance:-
    Required SQL Server permissions
    The user responsible for installing MBAM database and reporting feature must have the local administrator privileges and the following log in permission:-
    SQL Server instance login server roles:
    dbcreator
    processadmin
    SQL Server Reporting Services instance rights:
    Create Folder
    Publish Reports
    SQL Server Database Engine Services: SQL Server Database Engine Services must be installed and running during MBAM Server installation.
    SQL Server Reporting Services (SSRS): SSRS must be installed and running during the MBAM Server installation. Configure SSRS in "native" mode and not in "SharePoint" mode.
    Gaurav Ranjan

  • Web Service Endpoint URI expected. Not found endpoint with URI /wssproc

    Hi All,
    We are following the steps mentioned here http://help.sap.com/saphelp_nwpi71/helpdata/en/ea/c91141e109ef6fe10000000a1550b0/frameset.htm to configure the message level security in our new PI 7.1 system.
    We have created the RFC destination with prefix /wssproc/plain?style=document. But when we test the RFC connectioon, we get the following error message:
    Status HTTP Response     404
    Status Text     Not Found
    And response body is: Web Service Endpoint URI expected. Not found endpoint with URI /wssproc.
    Are we missing a configuration point? Do we need to create the endpoint manually? And if yes, how?
    Regards,
    Masoud
    Edited by: Masoud Ahanchian on Jul 23, 2009 4:58 PM

    Well, in addition to the 404 message I get the following error as well (i.e. if I go to the link http://<server>:<port>/wssproc/plain?style=document)
    Web Service Endpoint URI expected. Not found endpoint with URI /wssproc.
    Regards,
    Masoud

  • Web services (eprint and Apps) could not be enabled

    just opened my new HP officejet pro 8600 and trying to enable web service and I received the following error: web services (eprint and Apps) could not be enabled.  I have no idea how to debug this issue.
    Any help out there?

    They are the same, however be advised that anything that is pending in the queue will be gone, as well as your current custom email address. You will have to readd the printer with a new info page, and use a different custom email address.
    Jon-W
    I work on behalf of HP
    Please click “Accept as Solution ” on the post that solves your issue to help others find the solution.
    Click the KUDOS STAR on the left to say “Thanks” for helping!

  • Some of the services of ITS 640 are not working

    Hi All,
    I have implemented SAP NW 04 SR 1 Portal and integrated SRM 4.0(EBP 5.0).I have also implemented Business Package for mySAP SRM 4.0 60.2.
    I am using internal ITS for HTML GUI.
    Some of the iviews of the business packages  are working but some of them are not.
    I am getting an error message
    "The URL http://g4kwas642.corp.rwdtech.com:8050/sap/bc/gui/sap/its/bbpsc05/! was not called due to an error.
    Note
    The following error text was processed in the system SRM : Attribute for user PBHONDELE contains errors. Inform system admin.
    The error occurred on the application server g4kwas642_SRM_50 and in the work process 0 .
    The termination type was: TH_RES_FREE
    The ABAP call stack was:
    Form: OUTPUT_EXPRESS_MESSAGES of program SAPLBBP_SC_UI_ITS
    Form: EXTERNAL_SCREEN_DETERMINE of program SAPLBBP_SC_UI_ITS
    Module: EXTERNAL_SCREEN_DETERMINE of program SAPLBBP_SC_UI_ITS"
    I have published all the services that are under SICF.
    I had also published all the services using w3_publish_services and siac_publish_all_int.
    It says that all the services are succesfully published.
    When I  go to SICf to test the service,some of them are not working.
    Can you guys tell me what are the steps that I am missing?
    Thanks,
    Paritosh

    I am also getting the same th_res_free error..
    I have installed nw04 sr1 and trying to run ESS on it.
    My problem is, i have installed sap WAS 6.4 on different machine and R/3 on different machine..
    So now.. where i have WAS.. does not have all the services. All services are there on R/3 server..
    Now how do i publish the services on WAS 6.4??
    Coz that option to publish on INTERNAL site is not coming on my R/3 (4.7) as it does not have WAS 6.4.. its on different machine.
    Please tell me what can be done in this case.
    I cant create a R/3 transaction iView using webgui because of this. my Web gui service on WAS 6.4 runs fine whne i test it in SICF .. but not in Iview..
    Please help me out .. i dont want to install a ITS on another machine which is simple solution..

  • What does it mean if my location services are turned on, but not working?

    What does it mean if my location services are turned on, but not working?  It has always worked before.  It is turned on in Settings but when I try to use an app that requires location services, it says they are not on, and the little arrow is not appearing at the top of the screen.

    thank you...I tried this immediately after noticing but to no avail. I thought the phone died but I kept seeing the light on so I googled some things and it says it may be watered damaged and I'm not sure how.

  • Apache bridge & Basic Auth does not work

     

    The WebLogic newsgroups are not the appropriate place to file product defect
    reports.
    I suggest that you file a bug report with our support organization. Be sure
    to include a complete test case. They will also need information from
    you -- please review our external support procedures:
    http://www.beasys.com/support/index.html
    Thanks,
    Michael
    Michael Girdley
    Product Manager, WebLogic Server & Express
    BEA Systems Inc
    Jaroslav Mechacek <[email protected]> wrote in message
    news:[email protected]..
    >
    I tried mod_wl with apache 1.3.12 ( mod_ssl / openssl ) ,
    but the basic auth does not work.
    When apache starts it complains that mod_lw uses plain apache api
    Tue May 16 17:29:54 2000] [warn] Loaded DSO libexec/mod_wl.so uses plain
    Apache 1.3 API, this module might crash under EAPI! (please recompile it
    with -DEAPI)
    When I request protected page, apache returns both
    HTTP/1.1 200 OK , HTTP/1.1 401 Unauthorized
    what apache / ssl configurations are known to work ?
    Escape character is '^]'.
    GET /file/index.html HTTP1.0
    HTTP/1.1 200 OK
    Date: Tue, 16 May 2000 14:47:01 GMT
    Server: Apache/1.3.12 (Unix) mod_ssl/2.6.4 OpenSSL/0.9.5a
    HTTP/1.1 401 Unauthorized xxx:
    www-authenticate: Basic realm="WebLogic Server"
    content-length: 23
    content-type: text/html
    connection: Close
    No credentials supplied

  • Itunes not working, get "missing file, reinstall itunes" message.

    1.  Itunes not working, get "missing file, reinstall itunes", message.
    2.  When try to reinstall itunes, gets as far as "starting services", then stops with message, "Apple mobile device failed to start. Verify that you have sufficient privileges to start system services."
    I am logged in to my laptop as Administrator.
    3.  After selecting "retry" and "ignore" a few times, install went ahead and got "Congrats, you have successfully installed itunes"
    When I went to itunes I got, " Itunes not installed correctly, please reinstall. Error7 (Windows error 126)".
    4. On reinstalling itunes yet again, got, "Programme cannot start because MSVCR80.dll is missing. Try to reinstall programme"
    Help !!!

    See if this post from turingtest2 helps : https://discussions.apple.com/message/24620553#24620553
    There is also this user-tip for troubleshooting issues with iTunes for Windows from turingtest2 : https://discussions.apple.com/docs/DOC-6562

  • Crystal Report not works in JAR File

    I'm using Eclipse All in one, which includes Crystal Reports.. I Connected my Java program with Crystal Reports and its working properly. Now my problem is that the Report is not working in JAR files.. It throws some exception as
    "com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: com.businessobjects
    com.businessobjects.reports.sdk.JRCCommunicationAdapter---- Error code:-2147215357 Error code name:internal"
    Whats the Error.. I don't know. I think that i may missed some CLASSPATH Files. The included CLASSPATH Files are:
    ReportViewer.jar
    jrcerom.jar
    Concurrent.jar
    CrystalCharting.jar
    CrystalCommon.jar
    CrystalContentModels.jar
    CrystalExporters.jar
    CrystalExportingBase.jar
    CrystalFormulas.jar
    CrystalQueryEngine.jar
    CrystalReportEngine.jar
    CrystalReportingCommon.jar
    icu4j.jar
    keycodeDecoder.jar
    log4j.jar
    MetafileRenderer.jar
    rasapp.jar
    rascore.jar
    rpoifs.jar
    Serialization.jar
    URIUtil.jar
    xercesImpl.jar
    xml-apis.jar
    and the mysql-connector jar file
    Anybody help me please...

    Unable to load database connector
    'com.crystaldecisions.reports.queryengine..driverImpl.
    DriverLoader
    now you have any idea.. pleaseIs that a typo where you have two periods below?
    queryengine..driverImplOther than that I don't think anybody here can help you with that. If your classpath includes all necessary JAR files and you are able to access all your resources from within your application JAR file, then I imagine there is a problem with the third-party crystal decisions JAR file or how you are attempting to use it.
    My advice to you is to try and contact support with the vendor or provider of this API or possibly try posting on a support forum on their website to see if somebody can help you there.

Maybe you are looking for

  • 11/25/2014 - Release - Flash Player 15

    The next version of Flash Player is available for immediate download.  In today's release we've updated Flash Player with critical security updates and bug fixes.  We recommend users update to the latest version. Security update details can be found

  • Analog 5.1 headphones & Optical Speake

    I have a Soundblaster X-Fi Platnium w/optional front panel. Is it possible to configure my Medusa 5. surround sound headphones to be plugged in and still get sound via the Optical Toslink to my digital speakers (configured analog though)? Additionall

  • Accessing Constant classes from jsps

    org.apache.struts.taglib.html.Constants is a java constant class with no getter/setter methods is this the only way (not using other form beans) to get the value of a constant within that class can we use pageContext or any other expression language

  • Having trouble syncing PDF file to itunes ibooks

    Hello: I am attempting to get a PDF file that I have on my iphone (ibooks) to sync to itunes.  For some reason, I am unable to get it to sync to itunes so I can read it on my laptop.  Please advise. Thanks

  • Substitution MIRO

    Hi all, I created standard substitution for fill cost center in tax account for MIRO, but when I post I got message "Account xxx requires an assignment to a CO object". Where is problem? BTE1120 didn't help yet. But when I fill cost center for this a