Web service error: WS Security can only be applied on a SOAP document

Hello,
I am facing the problem that when calling a web service I got this error message:
005056B855B2002A0000013B000032C70005105EF7348C38 : WS Security can only be applied on a SOAP document.
Some information about the webservice:
Transport Binding: HTTP SOAP with Attachments
Authentication: Basic
Netweaver version: 7.01.06
The webservice is based on EJB. Basically I want to add two operations in the webservice: one to accept attachment as input. the other one returns a file as attachment.
Does anyone knows why this happens and how to resolve it? Thanks in advance!
Regards,
Grant

Grant,
Please refer this SNote, it may help you...
1319507 - Overview: Analysis of ABAP Web Service
Configuration
Warm Regards,
Agustuss

Similar Messages

  • ASP Web Forms Error: Session state can only be used when enableSessionState is set to true

    Hello,
    I am developing a custom application page for a custom Web Forms I am creating, which I plan on using for custom task form into SharePoint 2010 Foundation.
    Currently, I am trying to test it in Debug Mode using Visual Studio 2010 but when I am trying to use Sessions I get the error:
    Session state can only be used when enableSessionState is set to true, either in a configuration file or in the Page directive. Please also make sure that System.Web.SessionStateModule or a custom session state module is included in the <configuration>\<system.web>\<httpModules> section in the application configuration
    I've already done this on trying to fix:
    On my page
    <%@ Page Language="C#" AutoEventWireup="true" CodeFile="TestForm.aspx.cs" Inherits="TestForm" EnableSessionState="True" %>
    And on my web.config
    <pages enableSessionState="true">..<httpModules>
    <remove name="Session" />
      <add name="Session" type="System.Web.SessionState.SessionStateModule, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
    </httpModules>
    Note: I am getting an error when I try to add <module> into web.config
    ASP .NET State Service is currently running.
    And the part where it keeps error is when in PageLoad, I try to set a List object something like this:
    List<object> myobject
    get
    if (Session["object"] == null)
    Session["object"] = new List<object>();
    return Session["object"] as List<object>;
    set
    Session["object"] = value;
    protected void Page_Load(object sender, EventArgs e)
    myobject= new List<object>();
    BUT the error still persists! I also try to restart IIS but still the error still happens.
    I am running out of ideas so can you help me out?
    Thank you!

    Could be your skype intercepting your requests at 80 port, in Skype options uncheck
    Or Your IE has connection checked for Proxy when there is no proxy
    Or your fiddler could intercept and act as proxy, uncheck it!
    Solves the above problem, It solved mine!
    HydTechie
    HydPhani

  • HP 7640 web services disabled and I can only print locally, not from the net !

    Web Services Test Reslults:"No problems found"Router: Verizon Quantum gatewayPrinter is connected via Wi-Fi and printing can be done through the router or directly via Wi-FiBoth Router @ 192.168.1.1 and printer panel report printer IP 192.168.1.161, MAC address 34.64.a9.44.ff.aaAND . . . under current configurationWeb services : disabledSo . . .How do I get this pos working properly ?HP website provides NO SUPPORT, just a run-a-round.---  

    Hey ,  Welcome to the HP Support Forum.  I see that you're unable to use ePrint or enable webservices with your HP ENVY 7640 e-All-in-One Printer.  I would like to help.  Have you tried the basic ePrint/webservices setup method as recommended by HP?  If not, give that a shot first.  If this is not new to you please read on, I have some more suggestions that might enable this feature for you.   I recommend you set a Manual DNS on your printer.  Here's how:  Click on the HP ENVY 7640 icon on your PC desktop (note that I've used screenshots for a different printer, but the steps are essentially identical) to access the HP Printer Assistant.  Click on the Embedded Web Server link (EWS) and then click on the network tab as indicated below:   Next, click Wireless and then IPV4 Configuration as indicated below:     Next, click on Manual DNS Server and input the numbers exactly as indicated below, clicking on Apply to complete this aspect of your setup:   For the next step, you can use the EWS 'Webservices' tab to enable webservices/ePrint or enable from the printer's front panel by touching the  icon.  Touch OK to allow this feature to activate and also to allow for automatic printer updates.   If you were able to complete the above-noted steps without issue, you will be ready to send your printer ePrint jobs. For more information on how to setup a custom ePrint address click here.  If you're an Android or iOS device user, click here for more information on how to use the HP ePrint app.  In its most basic iteration, you can send your printer ePrint jobs from any web-ready device by emailing content you want to print directly to your printer's @hpeprint.com address.  Please let me know the result of your troubleshooting by responding to this post.  If I have helped you resolve the issue, feel free to say "You rock!" by clicking the 'Thumbs Up' icon below and clicking to accept this solution. Thank you for posting in the HP Support Forum.  Have a great day!

  • Stateless EJB (exposed only one fn) as a web service - Error illegal public

    I have a stateless EJB which has 3 methods.
    I expose one of them only as a web service.
    But when I test my web service I receive an error...
    500 Internal Server Error
    Servlet error: The class blah.blah.I_EmpRemote contains illegal public methods.
    These methods do not conform to the
    restrictions imposed by the web service implementation
    Offending methods:
    public abstract blah.blah.Employee blah.blah.I_EmpRemote.GetEmployee(java.lang.String) throws java.rmi.RemoteException
    public abstract blah.blah.Operator blah.blah.I_EmpRemote.GetOperator(java.lang.String,int) throws java.rmi.RemoteException
    So does this mean .. I should make sure all or none of my methods of an EJB are exposed in the Web Service ?
    Or I can resolve this in any other way ?
    Thanks,
    Krishna

    Or is it becoz the two methods that it objected to were returning user-defined objects and not String, void, Integer ... that a web service can recognize !
    But still ... why cannot it just ignore the methods that are not exposed ?
    Can someone throw some light on this.
    Thanks,
    Krishna

  • Problem calling web service: Error while getting the ORACLE user account

    Hi All!
    I was able to call the service EGO_ITEM_PUB-PROCESS_ITEM, but after implemented some patches, suddenly I get this error as result:
    - <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
    - <env:Body>
    - <OutputParameters xmlns="http://xmlns.oracle.com/apps/ego/soaprovider/plsql/ego_item_pub/process_item__1/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <X_INVENTORY_ITEM_ID xsi:nil="true" />
    <X_ORGANIZATION_ID xsi:nil="true" />
    <X_RETURN_STATUS>U</X_RETURN_STATUS>
    <X_MSG_COUNT>1</X_MSG_COUNT>
    <X_MSG_DATA>Encountered an error while getting the ORACLE user account for your concurrent request. Contact your system administrator.</X_MSG_DATA>
    </OutputParameters>
    </env:Body>
    </env:Envelope>
    Any ideas?
    Thanks,
    Konrad

    hsawwan wrote:
    Hi,
    I was able to call the service EGO_ITEM_PUB-PROCESS_ITEM, but after implemented some patches, What are those patches?
    # Patch 8407693:R12.TXK.B ISG: Service Generation Failure - Java Compiler Could Not be Found
    # Patch 8459663:R12.OWF.B : Mandatory Consolidated One-Off Fixes for ISG on Top of 12.1.1
    # Patch 8916358:R12.OWF.B : Service Timeout When Invoking Services Deployed to Integrated SOA Gateway
    # Patch 9349321:R12.OWF.B : Issue with item Bulk Load in Oracle Product Hub PIP 2.4
    # Patch 9446625:R12.FND.B : 1OFF:8995921:12.1.1:12.1.1:PERF : LoginModules Performance Issue
    # Patch 9070077:R12.OWF.B : 1OFF:9045280:12.1.1:12.1.1:Invoking a Web Service Requires NLS Lang When It Should be Optional
    # Patch 9153106:R12.OWF.B : IREP_Parser.PL Exits with GETPWUID Function IS Unimplemented in PARSER.PM -> Wichtig für ISG (für custom pl/sqls im ISG)
    # Patch 9004712:R12.OWF.B : One-Off for IREP PARSER on Top of Oracle E-Business Suite Release 12.1.1 -> Wichtig für ISG (für custom pl/sqls im ISG)
    IAS:
    # Patch 8607523 for the AS version 10.1.3.4
    Oracle Support told me that I need this patches because of some other problem (generating wsdl and deploy for BOM_BO_PUB package does not work in my environment) and since that, the process_item call stopped working!
    btw: The EGO_ITEM_PUB-PROCESS_ITEM call for an existing item still works (I can modify the description), but creating a new item does not work anymore. Here are the parameters I send to the web service:
    Header:
    <wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
    <wsse:UsernameToken>
    <wsse:Username>sysadmin</wsse:Username>
    <wsse:Password
    Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">sysadmin</wsse:Password>
    </wsse:UsernameToken>
    </wsse:Security>
    <q0:SOAHeader/>
    Body:
    <q1:InputParameters>
    <q1:P_API_VERSION>1.0</q1:P_API_VERSION>
    <q1:P_INIT_MSG_LIST>T</q1:P_INIT_MSG_LIST>
    <q1:P_COMMIT>T</q1:P_COMMIT>
    <q1:P_TRANSACTION_TYPE>CREATE</q1:P_TRANSACTION_TYPE>
    <q1:P_ITEM_NUMBER>KHR_WS_05</q1:P_ITEM_NUMBER>
    <q1:P_DESCRIPTION>desc2</q1:P_DESCRIPTION>
    </q1:InputParameters>
    Thanks,
    Konrad

  • SAP Web Service error text : The database returned a value containing an error , type  CX_SY_OPEN_SQL_DB

    Hello Guru's,
    we are creating sales order in SAP from a quote created in .NET,  through Web Service created in SAP, and consumed in .NET.
    When ever a order is created in SAP for a given quote, SAP returns the sales order number to .NET.
    Orders are getting created as expected, but once in a while we are getting the following error from webservice :
    Web service processing error; more details in the web service error log on provider side (UTC timestamp 20140609173429; Transaction ID 4DFCEFE33301F1EBB5CE00155D0B4530)
    But the problem is order is getting created in SAP for the perticular quote for which we are getting the above error and this order number is not getting returned to .NET.
    Upon analysis in TCODE  SRT_UTIL for the above transaction ID, has the following details , which are hardly help full to resolve the error.
    ----TYPE                                  CX_SY_OPEN_SQL_DB
    ----ERROR_TEXT                   The database returned a value containing an error
    ----CX_SY_NO_HANDLER
    -----CLASSNAME                     CX_SY_OPEN_SQL_DB
    This Exception raised by Web Service application
    Could you please help in resolving this issue or alteast provide an approach for the same.
    Thank you,
    Suresh.

    Thank you Bhaskar,
    How can we clarify whether the error is from SAP or Web part.
    I have checked ST22, but there is not entry for the perticular  exception transaction ID
    My exception time stamp is
    -------------------START-------------6/9/2014 1:34:33 PM
    Error :Web service processing error; more details in the web service error log on provider side (UTC timestamp 20140609173429; Transaction ID 4DFCEFE33301F1EBB5CE00155D0B4530)
    -------------------END-------------6/9/2014 1:34:33 PM
    In al11, i found the following for the perticular exception time stamp
    **** Trace file opened at 20140609 133431 Eastern Daylight Time, by disp+work
    **** Versions SAP-REL 720,0,500 RFC-VER U 3 1442251 MT-SL
    XRFC> Begin of user trace
    XRFC> ---------------------------------------------------------------------
    XRFC>                                                                     <
    XRFC> TRACE SOAP RUNTIME - header                                         <
    XRFC>                                                                     <
    XRFC> ------------------------------------------------------------------  <
    XRFC> REQ_SIZE   : 2685                                                   <
    XRFC> RESP_SIZE  : 0                                                      <
    XRFC> PARENT_ID  : ROOT_CALL_ID                                           <
    XRFC> TRC_KEY    : 40FCEFE3BD6EF184B5CE00155D0B4530                       <
    XRFC> REQ_BASED  :                                                        <
    XRFC> SESSION_ID : 0003925540FCEFE3BD6EF17DB5CE00155D0B4530               <
    XRFC> TS_CALL    : 20140609173408.2880000                                 <
    XRFC> SY_UNAME   :                                            <
    XRFC> HOSTNAME   :                                              <
    XRFC> SY_SID     : PRD                                                    <
    XRFC> SY_MANDT   : 300                                                    <
    XRFC> SYS_NR     : 19                                                     <
    XRFC> APPLSERVER :                                      <
    XRFC> ISPRESCHED : X                                                      <
    XRFC> DURATION   : 21810                                                  <
    XRFC> NETHDRTIME : 21810                                                  <
    XRFC> CALL_STATE : 2                                                      <
    XRFC> ERRORTYPE  : APPLFAIL                                               <
    XRFC> ERRORAREA  : APPL                                                   <
    XRFC> CTXDP_TYPE : SOAP_RUNTIME                                           <
    XRFC> SYNC_ASYNC : S                                                      <
    XRFC> LOCATION   : P                                                      <
    XRFC> DIRECTION  : I                                                      <
    XRFC> REQ_ID     : 91C57815916E421CA9F3D652FFACE9C7                       <
    XRFC> RESP_ID    : 00155D0B45301EE3BBFF89A0267EB5CE                       <
    XRFC> MSG_STATE  : 114                                                    <
    XRFC> IF_NAME_I  : ZSD_CS_CREATE_SALESORDER_SERVI                         <
    XRFC> IF_NS_E    : urn:sap-com:document:sap:soap:functions:mc-style       <
    XRFC> IF_NAME_E  : ZSD_CS_CREATE_SALESORDER_SERVI                         <
    XRFC> ISSHORTCUT :                                                        <
    XRFC> TRC_PATT   : WSTEST                                                 <
    XRFC> TRC_SSID   : PRD_19                                                 <
    XRFC> TRC_USER   :                                           <
    XRFC> TRC_TS     : 20140609173409                                         <
    XRFC> TRC_COUNT  : 99                                                     <
    XRFC> TRC_EXT    :                                                        <
    XRFC> COMPLETE   : OK                                                     <
    XRFC> CALLEDPROG : ZSD_CS_CREATE_SALESORDER_SERVI                         <
    XRFC> SOAP_APPLI : urn:sap-com:soap:runtime:application:rfc:710           <
    XRFC> CONF_ID    : 00155D0B45301EE3AEFDAD78756555CE                       <
    XRFC> BIND_ID    : 00155D0B45301EE3AEFDAD787565B5CE                       <
    XRFC> OP_NAME    : ZsdCsCreateSalesorder                                  <
    XRFC> COMM_PATRN : Method:ZsdCsCreateSalesorder                           <
    XRFC> OP_NS      : urn:sap-com:document:sap:soap:functions:mc-style       <
    XRFC> REMADDRESS : 172.16.11.43                                           <
    XRFC> DT_OBJ     : ZSD_CS_CREATE_SALESORDER_SERVI                         <
    XRFC> MEMCONSUMP : 296291                                                 <
    XRFC> WSHOST     :                                                        <
    XRFC> WSPORT     :                                                        <
    XRFC> WSPROT     :                                                        <
    XRFC> WSCLIENT   :                                                        <
    XRFC> WSPATH     :                                                        <
    XRFC> PXYHOST    :                                                        <
    XRFC> PXYPORT    :                                                        <
    XRFC> USEDRFCDES :                                                        <
    XRFC> BONAME     :                                                        <
    XRFC> PROCCOMP   :                                                        <
    XRFC> DEPLOYUNIT :                                                        <
    XRFC> ------------------------------------------------------------------  <
    XRFC>                                                                     <
    XRFC> TRACE SOAP RUNTIME - trace records                                  <
    XRFC>                                                                     <
    XRFC> ------------------------------------------------------------------  <
    XRFC> E SOAP_RUNTIME 20140609173429.7400000 : CL_SOAP_RUNTIME_SERVER      <
    XRFC> ->EXECUTE_PROCESSING Exception handling for IF "ZSD_CS_CREATE       <
    XRFC> _SALESORDER_SERVI" OP name "ZsdCsCreateSalesorder" MSG ID           <
    XRFC> "91C57815916E421CA9F3D652FFACE9C7" user "STULZWEBSERV"              <
    XRFC>                                                                     <
    XRFC>                                                                     <
    XRFC> E SOAP_RUNTIME 20140609173429.7240000 : CL_SOAP_RUNTIME_SERVER      <
    XRFC> ->EXECUTE_PROCESSING CX_SOAP_ROOT : An exception has occurred. |    <
    XRFC> program: CL_SOAP_RUNTIME_ROOT==========CP include: CL_SOAP          <
    XRFC> _RUNTIME_ROOT==========CM004 line: 120                              <
    XRFC>                                                                     <
    XRFC>                                                                     <
    XRFC> E SOAP_RUNTIME 20140609173429.7400000 : CL_SOAP_RUNTIME_SERVER      <
    XRFC> ->EXECUTE_PROCESSING CX_SY_NO_HANDLER : An exception with the type  <
    XRFC> CX_SY_OPEN_SQL_DB occurred, but was neither handled locally, nor    <
    XRFC> declared in a RAISING clause | program: SAPLSTXD include: LSTXDFDB  <
    XRFC> line: 200                                                           <
    XRFC>                                                                     <
    XRFC>                                                                     <
    XRFC> E SOAP_RUNTIME 20140609173429.7400000 : CL_SOAP_RUNTIME_SERVER      <
    XRFC> ->EXECUTE_PROCESSING CX_SY_OPEN_SQL_DB : The database returned a    <
    XRFC> value containing an error | program: SAPLSTXD include: LSTXDFDB     <
    XRFC> line: 227                                                           <
    XRFC>                                                                     <
    XRFC> ---------------------------------------------------------------------
    XRFC> End of user trace

  • GL Integration Web Service Errors

    Hi All
    We have completed all the necessary configuration of the DRM web service, updated the relevant values in the GL etc. However, when we try to run the request set in Gl to import values and hierarchies we hit the error below.
    Has anyone seen this error or know where to look to resolve?
    Thanks
    2012.08.09 12:39:03:-- Initializaing Load Segment Values and Hierarchies program ...
    2012.08.09 12:39:03:-- Request ID =503460
    2012.08.09 12:39:03:-- Value Set =GL_ANALYSIS
    2012.08.09 12:39:03:-- Fetching DRM profile options values ...
    2012.08.09 12:39:03:-- Profile: GL_DRM_VALUE_SET_PROP ==> OracleGL.ValueSet
    2012.08.09 12:39:03:-- Profile: GL_DRM_VER_EXPORT_PROP ==> OracleGL.AllowExport
    2012.08.09 12:39:03:-- Profile: GL_DRM_HIER_EXP_PROP ==> OracleGL.AllowHierExport
    2012.08.09 12:39:03:-- Profile: GL_DRM_VER_EXPORT_DEFN ==> EBSValueSetExport
    2012.08.09 12:39:03:-- Profile: GL_DRM_HIER_EXPORT_DEFN ==> EBSHierarchyExport
    2012.08.09 12:39:03:-- Profile: GL_DRM_WSDL_URL ==> http://myserver.com:28080/oracle-epm-drm-webservices/DrmService?wsdl
    2012.08.09 12:39:03:-- Profile: GL_DRM_API_URL ==> http://myserver.com:5240/Oracle/Drm/APIAdapter
    2012.08.09 12:39:03:-- Profile: GL_DRM_USERNAME ==> GL
    2012.08.09 12:39:03:-- Scanning DRM for version to Export...
    2012.08.09 12:39:08:-- oracle.apps.gl.drm.ws.DrmWSClient.getVersions(): Event payload -
    <drm:getVersions xmlns:drm='http://drm.webservices.epm.oracle'/>
    2012.08.09 12:39:08:-- Unexpected Error -> oracle.apps.gl.drm.ws.DrmWSException: Exception when Invoking Web Service -> oracle.apps.fnd.wf.bes.InvokerException: javax.xml.rpc.soap.SOAPFaultException: Cannot getVersions. Error while processing AppParameters in SOAP Header: AppParameters does not exist in SOAP Header.
    oracle.apps.fnd.wf.bes.EventDispatcher.executeSubscription(EventDispatcher.java:891)
    oracle.apps.fnd.wf.bes.EventDispatcher.processSubscription(EventDispatcher.java:556)
    oracle.apps.fnd.wf.bes.EventDispatcher.dispatch(EventDispatcher.java:335)
    oracle.apps.fnd.wf.bes.BusinessEvent.raise(BusinessEvent.java:1819)
    oracle.apps.gl.drm.ws.DrmWSClient.raiseInvokerEvent(DrmWSClient.java:531)
    oracle.apps.gl.drm.ws.DrmWSClient.getVersions(DrmWSClient.java:480)
    oracle.apps.gl.drm.util.DrmLoader.scanDRMVersions(DrmLoader.java:348)
    oracle.apps.gl.drm.util.DrmLoader.runProgram(DrmLoader.java:133)
    oracle.apps.fnd.cp.request.Run.main(Run.java:157)

    When invoking the DRM Web Service, a SOAP header is required. The error you're getting is because no SOAP header is included in your SOAP message. Read below from the API guide:
    Connection information must be passed as a SOAP header for each Web service call. The AppParameters element, defined in the DrmService.wsdl document, provides a schema definition for this SOAP header. The AppParameters SOAP header contains the following information which is needed to connect to the Data Relationship Management API Adapter:
    · serverUrl - URL for the API adapter configured for a Data Relationship Management application
    For example: http://localhost:5240/Oracle/Drm/APIAdapter
    · sessionParams - Parameters for the Data Relationship Management user session
    The sessionParams that are available are:
    o ProductVersion - Version number for the Data Relationship Management application
    o CultureName - Identifier for formatting date, time, and decimal values. Any standard specific culture can be specified.
    o UICultureName – Identifier for language selection to use for exception messages from the Data Relationship Management application server:
    § en-US (English)
    § fr-FR (French)
    § de-DE (German)
    § ja-JP (Japanese)
    § zh-CN (Simplified Chinese)
    § ko-KR (Korean)
    o TimeZoneID – Client TimeZone identifier (see list of standard time zone IDs below)
    sessionParams example:
    ProductVersion=11.1.2
    CultureName=en-US
    UICultureName=fr-FR
    TimeZoneID=Tokyo Standard Time

  • I get an web service error when trying enable web services. I have latest update and rebooted

    i get an web service error when trying enable web services. I have latest update and rebooted

    hi there philnj,
    could you help the community narrow troubleshooting by providing a little more information? Particularly what model printer are we dealing with?
    You can say thanks by clicking the Kudos Star in my post. If my post resolves your problem, please mark it as Accepted Solution so others can benefit too.

  • Error : Array constants can only be used in initializers

    Hello All,
    I am using tableview model and declared two-dimensional array.
    Getting error Array constants can only be used in initializers in the line retVal<i>[j] =  {  {  createBy,desc,dispName }  };
    String[][] retVal;
    retVal = new String[20][20]
    //Fetching IResorce propeties here
    int resourceCounter = 0;
    for (int i = 0; i < list.size(); i++) {
       for (int j = 0; j < i; j++) {
          IResource ir = list.get(i);
          createBy = ir.getCreatedBy();
          desc = ir.getDescription();
            dispName = ir.getDisplayName();
         retVal<i>[j] =  {  {  createBy,desc,dispName }  };
         resourceCounter++;
    return retVal;
    Please help me out.
    Thanks
    Risha                              }

    I created ArrayList 
    static public String[] colnames =
                   "News Title",
                   "Short Description",
                   "Published",
                   "Valid To",
                   "Read Count",
                   "Users Details",
                   "Reply" };
         public ArrayList createData() {
               ArrayList rowArrList = new ArrayList();
              ArrayList tableArrList = new ArrayList();
              String createBy = null;
              String desc = null;
              String dispName = null;
              String lastMod = null;
              String name = null;
              String resType = null;
              try {
                   com.sapportals.portal.security.usermanagement.IUser user = null;
                   user = WPUMFactory.getUserFactory().getEP5User(request.getUser());
                   IResourceContext resourceContext = new ResourceContext(user);
                   String path = "/documents/Australia/News";
                   RID rid = RID.getRID(path);
                   com.sapportals.wcm.repository.IResource res =
                        ResourceFactory.getInstance().getResource(rid, resourceContext);
                   IProperty prop = null;
                   String propValue = null;
                   PropertyName propName = null;
                   if (res != null) {
                        if (res.isCollection()) {
                             ICollection collection = (ICollection) res;
                             IResourceList list = collection.getChildren();
                             int resourceCounter = 0;
                             for (int i = 0; i < list.size(); i++) {                              
    //                              for (int j = 0; j < i; j++) {
                                       IResource ir = list.get(i);
                                       createBy = ir.getCreatedBy();
                                       desc = ir.getDescription();
                                       dispName = ir.getDisplayName();
                                       lastMod = ir.getLastModifiedBy();
                                       name = ir.getName();
                                       resType = ir.getResourceType();
                                       rowArrList.add(createBy);
                                       rowArrList.add(desc);
                                       rowArrList.add(dispName);
                                       rowArrList.add(lastMod);
                                       rowArrList.add(name);
                                       rowArrList.add(resType);
                                       tableArrList.add(i,rowArrList);
                                  //}//Inside for loop
                             }//First for loop
                        }//Inside If
              } catch (ResourceException e) {
                   // TODO Auto-generated catch block
                   response.write("Error " + e.getMessage());
              } catch (UserManagementException ex) {
                   ex.printStackTrace();
                   response.write("Error " + ex.getMessage());
              return tableArrList;
          * Constructor.
         public TableViewBean() {
              ArrayList tabArr = createData();
              String[][] data = (String[][])tabArr.toArray();          
              model = new DefaultTableViewModel(data, colnames);
    Edited by: Risha on May 26, 2011 8:52 AM

  • Flex/ActionScript3 support for web services using WS-Security

    Does Flex/ActionScript3 have support for connecting to a web
    service using WS-Security (Policy Creation). I've tried using the
    Flex Data Service "Import WSDL" method and it does not allow me to
    connect. Is there Flex/AS3 package that can handle creating the
    Policy information for a web service that utilizies WS-Security?
    Thanks,
    Tom

    quote:
    Does Flex/ActionScript3 have support for connecting to a web
    service using WS-Security (Policy Creation).
    Yes and no. The "Import WSDL" doesn't create AS3 classes that
    allow header injection of the appropriate WS-Security elements.
    I've managed to work around this using straight mx:webservice tags
    and AS3. There is an open bug at
    https://bugs.adobe.com/jira/browse/SDK-15398
    that I voted on, the more the merrier.
    http://www.jroller.com/wookets/entry/ws_security_in_flex
    Has a useful class for creating the soap header elements for a
    username token,
    In general though, it's been a challenge to get the simplest
    of WS-Security pieces working.
    -Brett

  • LYNC Server 2013 LS Address Book and Distribution List Expansion Web Service error - Event ID 62005

    Hi,
      Recently,  I found some of LS Address Book and Distribution List Expansion Web Service error from Lync 2013 Front  End Server, kindly advise help how to solve it. many thanks
    Distribution List Expansion Web Service failed to initialize.
    Exception: The server is not operational.
    Cause: Unexpected exception occurred during initialization.
    Resolution:
    Examine exception details in event to determine the resolution.
    Best Regards
    Thomas

    Hi,
    You can do the following steps to solve the issue:
    Please double check the Windows Firewall is turned off.
    Please check if the CMS replication update to the latest version.
    Make sure Lync Server update to the latest version.
    Best Regards,
    Eason Huang
    Eason Huang
    TechNet Community Support

  • [ANN] Online seminar - Web services management and security seminar

    Join us now (Thu 09:00am) for a live seminar about Web services management and security here:
    http://www.oracle.com/technology/tech/java/newsletter/seminars.html

    I have got the following error when i run the WebServicesAssembler.jar
    D:\Oracle\Oc4j\j2ee\home>java -jar d:/oracle/oc4j/webservices/lib/WebServicesAss
    embler.jar -config etc/config.xml
    Exception in thread "main" java.util.zip.ZipException: The system cannot find th
    e path specified
    at java.util.zip.ZipFile.open(Native Method)
    at java.util.zip.ZipFile.<init>(ZipFile.java:105)
    at java.util.jar.JarFile.<init>(JarFile.java:110)
    at java.util.jar.JarFile.<init>(JarFile.java:52)
    D:\Oracle\Oc4j\j2ee\home>java -jar WebServicesAssembler.jar -config etc/config.x
    ml
    Exception in thread "main" java.lang.InstantiationException: Unknown deployment
    tag in JMS Web Service Example: <option>
    at com.evermind.xml.XMLConfig.parseDeploymentMainNode(XMLConfig.java:293
    at oracle.j2ee.ws.tools.WsAssemblerConfig.parseDeploymentMainNode(WsAsse
    mblerConfig.java:68)
    at com.evermind.xml.XMLConfig.parseRootNode(XMLConfig.java:268)
    at com.evermind.xml.XMLConfig.init(XMLConfig.java:147)
    at com.evermind.xml.XMLConfig.init(XMLConfig.java:88)
    at oracle.j2ee.ws.tools.WsAssemblerConfig.init(WsAssemblerConfig.java:30
    at oracle.j2ee.ws.tools.WsAssembler.main(WsAssembler.java:17)

  • Web Services Error When running Sample Application

    When I was testing "Create a New Customer" from the Sample application in Oracle's provided free new HTML DB 2.0 environment (just out last night), I got the following error message.
    ORA-20001: The webservice was unreachable because either the URL you supplied was invalid, or your environment requires a valid proxy server address for HTTP requests.
    I was using my laptop through SBC Yahoo DSL service (dynamic IP address) to test this HTML DB Sample application.
    Any suggestion for this Web Services Error?

    cckung,
    Oracle's IT team has disabled the ability to call web services from htmldb.oracle.com. We are working with them to resolve this, but I don't have an ETA.
    Thanks,
    - Scott -

  • LS Join Launcher Web Service error 64008

    I getting multiple
    LS Join Launcher Web Service errors (id 64008) on my Front-end servers (LHPv2) and online meetings stopped working. I have reinstalled Web components, but it didn't
    help. Any ideas?
    An exception was encountered when sending Conference Error Report.
     Conference Error Report + Exception Details. CER = Machine:SERVERNAMEBrowserId:Join
    attempted at(UTC):12/10/2013 6:28:13 AMError: request context was lostException = System.NullReferenceException: Object reference not set to an instance of an object.
       at Microsoft.Rtc.Internal.JoinLauncher.JoinLauncherTelemetryProxy.SendCERReport(JoinLauncherAsyncContext asyncContext)
    Cause: Failed to report Conference Error Report. Please look through the exception details for more information.
    Resolution:
    Please check if the Data collection agent is running fine & Storage Service is accepting connections

    Process I followed on my FE servers:
    1. stop-cswindowsservice
    2. net stop w3svc
    3. unistalled Web Components and URL-Rewrite
    4. rebooted FE server
    5. run Bootstrapper and install Web
    Components and URL-rewrite module
    6. run LyncserverUpdateInstaller.exe
    from LHPv2 ISO image and install recent updates for Web Components.
    7. one more reboot 
    Now, Lync Online Meetings are working,
    but LS Join Launcher error 64008 is still there, repeating every 15-20 seconds on every FE servers(I have five)
    I tried Lync Server 2013 Logging Tool
    on one of my FE servers and I found these additional errors:
    TL_ERROR(TF_COMPONENT) [5]0DC8.0FF0::12/12/2013-07:45:57.785.00000117 (JoinLauncher,JoinLauncherProxyRouter.ComputeIncomingURL:3166.idx(2740))
    (0000000000403C61)URL Path is either NULL / empty or points to resources directory
    TL_ERROR(TF_COMPONENT) [5]0DC8.0FF0::12/12/2013-07:45:57.785.00000135 (JoinLauncher,Default_aspx.Page_Load:849.idx(1915))
    (00000000010FCA91)Context flag is missing !
    TL_ERROR(TF_COMPONENT) [5]0DC8.0FF0::12/12/2013-07:45:57.785.00000137 (JoinLauncher,Default_aspx.Page_Load:849.idx(1961))
    (00000000010FCA91)Proxy module didnt find this meeting to be valid. Preparing to send the correct error response !
    TL_ERROR(TF_COMPONENT) [5]0DC8.0FF0::12/12/2013-07:45:57.785.00000138 (JoinLauncher,JoinLauncherTelemetryProxy.SendCERReport:1579.idx(152))
    (0000000003581F88)Failed to report CER to the DB.

  • HP Photosmart 7520 unable to connect to web services error

    I've used my HP Photosmart 7520 for years without issue scanning to email.  Now I get "Unable to connect to Web Services" error message.  I've done all the procedures listed in the blog, including changing the manual DNS server configuration and still get the same error.  Help!

    Hi @ajbond77,
    Welcome to the HP Support Forums.  I understand that you are getting a connection error message when attempting to use the scan to email feature of your Photosmart 7520 printer.
    If you have already set a manual IP address and manual DNS servers, then please call HP’s Cloud Services at 1-855-785-2777 if you live in the USA/Canada region. If you live outside the USA/Canada region please click here to find the Technical Support number for your country/region.
    Regards,
    Happytohelp01
    Please click on the Thumbs Up on the right to say “Thanks” for helping!
    Please click “Accept as Solution ” on the post that solves your issue to help others find the solution.
    I work on behalf of HP

Maybe you are looking for