PI 7.0 - Error HTTP 401 when calling XISOAPAdapter/MessageServlet

Hi experts,
I am trying to call a web service, published from our XI system. (SAP PI 7.0 SP 15).
I generated the Web Service & saved the WSDL successfully from Integration Directory.
The whole scenario is well designed and configured, because it had been working well for some time.
I am using XMLSpy to send a request (something that have been working well) but now, we are unable to log on to the system.
It doesnt matter with which user we try to log on. Its simply not possible. It raises a HTTP 401 ERROR.
The configuration channel SOAP SENDER is configured like this.
- SOAP - SENDER
- Transport Protocol HTTP
- HTTP Security Level : HTTP
- QOF - BEST EFFORT.
Another symptom
when i call the service http://<host>:<50nn00>/XISOAPAdapter/MessageServlet (on DEV system) it doesnt work.
"401   Unauthorized
  Cannot authenticate the user.
  Details:   No details available"
when i call the same service (but on QA system) it works well.
(the calls from XMLSpy work fine, and the interface executes well)
Message Servlet is in Status OK
Status information:
Servlet com.sap.aii.af.mp.soap.web.MessageServlet (Version $Id: //tc/xi/NW04S_14_REL/src/_adapters/_soap/java/com/sap/aii/af/mp/soap/web/MessageServlet.java#1 $) bound to /MessageServlet
Classname ModuleProcessor: null
Lookupname for localModuleProcessorLookupName: localejbs/ModuleProcessorBean
Lookupname for remoteModuleProcessorLookupName: null
ModuleProcessorClass not instantiated
ModuleProcessorLocal is Instance of com.sap.aii.af.mp.processor.ModuleProcessorLocalLocalObjectImpl0_0
ModuleProcessorRemote not instantiated
I will appreciate if you could give me some advice, which configuration i need to check, or any usefull information.
Thanks!
Cristian.

Hi Supriya, thanks for your reply.
I ve tryed with my user, which is not locked, and also with other users, none of them locke. With SAP_ALL and SAP_NEW profiles. And it didnt work.
The url is something like that.
for DEV:
http://myhost:50000/XISOAPAdapter/MessageServlet
for QA:
http://myhost:50200/XISOAPAdapter/MessageServlet
Since DEV and QA instances are on the same server.
Thanks.
Cristian.

Similar Messages

  • Error:Type conflict when calling a function module RFC_ERROR_SYSTEM_Failure

    Hi Experts,
    When I run my Application in Portal, i am getting the following error.
    Type conflict when calling a function module., error key: RFC_ERROR_SYSTEM_FAILURE
    When I execute the BAPI, it is getting executed.
    My Bapi Strucute:
    Import Parameters
    IM_MAT_Search --> ZPTIP_MAT --> Import Parameters
    Tables
    IT_INFO_REC --> ZMM_GET_ITEM --> Output Parameters
    When I import the model, i am getting the structure like this
    BAPI_Name > ZMM_BAPI_Input> IM_MAT_Search(respective Parameters) , Output (respective Tables and their parameters)
                        > ZMM_Input1> Parameters
    This is the way, how i am executing in webdynpro java
    Zmm_Bapi_Ptip_Search_Input eleInput = new Zmm_Bapi_Ptip_Search_Input();
    wdContext.nodeZmm_Bapi_Ptip_Search_Input().bind(eleInput);
    Zptip_Asset eleInputAsset = new Zptip_Asset();
    eleInputAsset.setSearch("ACRS");
    wdContext.nodeZptip_Asset().bind(eleInputAsset);
    eleInput.setIm_Ast_Search(eleInputAsset);
    wdContext.nodeZmm_Bapi_Ptip_Search_Input().bind(eleInput);
    wdContext.nodeZmm_Bapi_Ptip_Search_Input().currentZmm_Bapi_Ptip_Search_InputElement().modelObject().execute();
    wdContext.nodeOutput().invalidate();
    Please let me know, how to do the same.
    Thanks in advance.
    Regards,
    Palani

    Hi David,
    I checked for the Parameter of setIm_Ast_Search, it is of Zptip_Asset.
    Hi Saleem,
    When I changed the same, i am getting the Type conflict error,
    Type conflict when calling a function module., error key: RFC_ERROR_SYSTEM_FAILURE
    Please let me know,what can be done in this regard to solve the problem.
    My BAPI Structure when imported as model
    SearchBAPI
    --> ZMM_BAPI_SEARCH_INPUT
    > IM_AST_SEARCH(zPTIP_ASSET)
    >Zptip_Asset
    >Search (Parameter)
    > OutPut(ZMM_BAPI_Search_Output)
    >IT_Asser_Rec(ZMM_Asset)
    >ZMM_Asset
    >TXT100 (output Parameter)
    --> ZMM_BAPI_SEARACH_OUTPUT
    --> ZPTIP_ASSET
    >Search (Parameter)
    Thanks & Regards,
    Palani
    Edited by: Palani Appan on Nov 11, 2009 5:31 PM

  • MSS - Business Event Details - Error Unexpected Exception when Calling RFC

    Dear Experts,
    Manager is getting the Error "Unexpected Exception when Calling RFC from Profile Application 'Business Event' when he tries to get the Training history of ONE employee in MSS. However, he is getting the details for the other employees of his department.
    Any inputs on this?
    Thank you.

    I believe it is our custom iView that is incorrect.

  • HTTP Error (302) Found when calling Web Service on XI

    Hi,
    I have a scenario where a Client is calling a web service in XI using SOAP. The Client gets the response (302) Found. I don't see any message in XI Monitoring (SXMB_MONI).
    The URL which is called has the following structure:
    http://host:port/XISOAPAdapter/MessageServlet?channel=:<service>:<channel>&nosoap=true
    Any idea why the call fails, i.e. what the error message (302) Found means?
    Thanks in advance.
    Alex

    Hi Alex,
    This link would give u the reason of the error
    http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html
    Also have a look at this note
    SAP Note 857596 - Message server: Status code for redirect requests
    Regards,
    Prateek
    Message was edited by:
    Prateek Srivastava

  • ERROR: -Type conflict when calling a function module

    hi to all,
    when iam executing the program in browser   Type conflict when calling a function module  error is showing, i have bind all the attribute correctly still iam getting error, WHEN I  CLICK ON THE SEARCH BUTTON DATA IS NOT COMING  TO MY TABLE ITAB1 plz help me....
      DATA:
          NODE_IP_SELECTION                   TYPE REF TO IF_WD_CONTEXT_NODE,
          ELEM_IP_SELECTION                   TYPE REF TO IF_WD_CONTEXT_ELEMENT,
          STRU_IP_SELECTION                   TYPE IF_PLANNING_HISTORY=>ELEMENT_IP_SELECTION ,
          ITAB TYPE TABLE OF ZSL_PL_UPDATE1,
          WA TYPE ZSL_PL_UPDATE1.
      navigate from <CONTEXT> to <IP_SELECTION> via lead selection
        NODE_IP_SELECTION = WD_CONTEXT->GET_CHILD_NODE( NAME = `IP_SELECTION` ).
      get element via lead selection
        ELEM_IP_SELECTION = NODE_IP_SELECTION->GET_ELEMENT(  ).
      get all declared attributes
        ELEM_IP_SELECTION->GET_STATIC_ATTRIBUTES(
          IMPORTING
            STATIC_ATTRIBUTES = STRU_IP_SELECTION ).
    CALL FUNCTION 'ZBAPI_PL_UPDATE'
            EXPORTING
              GV_LIFNR           =  STRU_IP_SELECTION-LIFNR
              GV_MATNR           = STRU_IP_SELECTION-LIFNR
              GV_GJAHR           = ' '
            GV_WEEK_LOW        =   STRU_IP_SELECTION-FROM_WEEK
             GV_WEEK_HIGH       =  STRU_IP_SELECTION-TO_WEEK
          IMPORTING
            RETURN             =
            TABLES
              GT_PL_UPDATE       = ITAB
             DATA:
               NODE_PLANN_NODE                     TYPE REF TO IF_WD_CONTEXT_NODE,
               ELEM_PLANN_NODE                     TYPE REF TO IF_WD_CONTEXT_ELEMENT,
               STRU_PLANN_NODE                     TYPE IF_PLANNING_HISTORY=>ELEMENT_PLANN_NODE,
               WA1 TYPE IF_PLANNING_HISTORY=>ELEMENT_PLANN_NODE,
               ITAB1 TYPE TABLE OF IF_PLANNING_HISTORY=>ELEMENT_PLANN_NODE.
              LOOP AT ITAB INTO WA.
               MOVE-CORRESPONDING WA TO WA1.
               APPEND WA1 TO ITAB1.
              ENDLOOP.
           navigate from <CONTEXT> to <PLANN_NODE> via lead selection
             NODE_PLANN_NODE = WD_CONTEXT->GET_CHILD_NODE( NAME = `PLANN_NODE` ).
             CALL METHOD NODE_PLANN_NODE->BIND_TABLE
               EXPORTING
                 NEW_ITEMS            = ITAB1
                SET_INITIAL_ELEMENTS = ABAP_TRUE
                INDEX                =
    ENDMETHOD.

    CALL FUNCTION 'ZBAPI_PL_UPDATE'
    EXPORTING
    GV_LIFNR = STRU_IP_SELECTION-LIFNR
    GV_MATNR = STRU_IP_SELECTION-LIFNR
    GV_GJAHR = ' '
    GV_WEEK_LOW = STRU_IP_SELECTION-FROM_WEEK
    GV_WEEK_HIGH = STRU_IP_SELECTION-TO_WEEK
    IMPORTING
    RETURN =
    TABLES
    GT_PL_UPDATE = ITAB
    Problem is here
    check out the type GV_GJAHR whether it accepts string type.
    thanks
    sarbjeet singh

  • DTP error: Type conflict when calling FM - after transport to Prd

    Hi ,
    i have asset_attr datasource.it was working in my BW dev.
    however after transport to BW prod. when i try to upload data using DTP it gives me an Abrupt error
    "0ASSET_ATTR IPDCLNT030 : Type conflict when calling a function module (fiel
    Message no. RSDS666"
    no more information is given, & the request ends in red.
    This is first time i'm using this Infoobject upload.
    however all my other transaction data & other master data all are getting uploaded fine.
    even Asset_text datasource is working fine.
    Did anyone face similiar probs ?
    can anyone guide me on this error ?
    thanks
    ramesh

    Hi
    Take a look at note 1130907.
    Regards,
    Chandu.

  • Invalid Response Code 401 when calling webservice via wsil

    Hi Experts,
    I have some web services which use destinations which I maintained in Visual Admin under Web Service Security. For authentication I use SAP Logon Tickets. Everything worked fine until I applied SPS14 for nw04s. No I suddenly get the following Exeption:
      com.sap.engine.services.webservices.espbase.discovery.BaseIOException: Invalid Response Code 401 while accessing URL: http://localhost:80/inspection.wsil. Response Message: Unauthorized. Content Type: text/html. Body Content: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> <title>Error Report</title> <style> td {font-family : Arial, Tahoma, Helvetica, sans-serif; font-size : 14px;} A:link A:visited A:active </style> </head> <body marginwidth="0" marginheight="0" leftmargin="0" topmargin="0" rightmargin="0"> <table width="100%" cellspacing="0" cellpadding="0" border="0" align="left" height="75"> <tr bgcolor="#FFFFFF"> <td align="left" colspan="2" height="48"><font face="Arial, Verdana, Helvetica" size="4" color="#666666"><b>  401 &nbsp Unauthorized</b></font></td> </tr> <tr bgcolor="#3F73A3"> <td height="23" width="84"><img width=1 height=1 border=0 alt=""></td> <td height="23"><img width=1 height=1 border=0 alt=""></td> <td align="right" height="23"><font face="Arial, Verdana, Helvetica" size="2" color="#FFFFFF"><b>SAP J2EE Engine/7.00 </b></font></td> </tr> <tr bgcolor="#9DCDFD"> <td height="4" colspan="3"><img width=1 height=1 border=0 alt=""></td> </tr> </table> <br><br><br><br><br><br> <table width="100%" cellspacing="0" cellpadding="0" border="0" align="left" height="75"> <tr bgcolor="#FFFFFF"> <td align="left" colspan="2" height="48"><font face="Arial, Verdana, Helvetica" size="3" color="#000000"><b>  No login module succeeded.</b></font></td> </tr> <tr bgcolor="#FFFFFF"> <td align="left" valign="top" height="48"><font face="Arial, Verdana, Helvetica" size="2" color="#000000"><b>  Details:</b></font></td> <td align="left" valign="top" height="48"><font face="Arial, Verdana, Helvetica" size="3" color="#000000"><pre>  No details available</pre></font></td> </tr> </body> </html>
        at com.sap.engine.services.webservices.server.management.discovery.DestinationsResolver.resolveURL(DestinationsResolver.java:220)
        at com.sap.engine.services.webservices.server.management.discovery.DestinationsResolver.resolveEntity(DestinationsResolver.java:120)
        at com.sap.engine.services.webservices.espbase.query.WSQueryImpl.initialize(WSQueryImpl.java:184)
        at com.sap.engine.services.webservices.espbase.query.WSQueryImpl.findWSInterfaces(WSQueryImpl.java:151)
        at com.sap.engine.services.webservices.server.management.discovery.ServiceDiscoveryImpl.getWSDLUrl(ServiceDiscoveryImpl.java:71)
        ... 58 more
    The strange thing is, when I set the destination to use basic authentication with user and pwd it works again. But then the given user account is used for authentication and not the account of the calling user. If I return to logonTickets it works correctly! When I restart the server I get the error again.
    Strange problem. I have this problem since I applied SPS14. Do I have to configure something additionally? I know there were changes made in the topic of web service security. Or could it be a bug of sps14?
    Any help is appreciated!
    Regards Manuel

    Hi,
    in sps14 the security levels are a bit stricter than before. So in my case, I was not allowed to access the inspection.wsil with web services. I solved my problem by changing the
    [sap.com/com.sap.engine.services.webservices.tool*inspection.wsil] authentication stack (policy configuration) to look like this:
    EvaluateTicketLoginModule SUFFICIENT
    BasicPasswordLoginModule REQUIRED
    CreateTicketLoginModule SUFFICIENT
    and additionally I had to map the WSIL_SecurityRole security role only to the
    role SAP-J2EE-Engine/all.
    I hope this helps.
    Regards Manuel

  • Native webservice access results in error:  HTTP 401 - Unauthorized

    I'm trying to use the native webservice functionallity of the 11g database (11.1.0. 6.0). According to some examples and the XML DB Developer's guide I have performed the following steps:
    1: Configuring Web Services for Oracle XML DB
    2: Enabling Web Services for Specific Users
    3: Defined access to my server via the Access Control List (package DBMS_NETWORK_ACL_ADMIN)
    When I try to access the url http://host:port I'm asked to authenticate. If I log in, I get a file-index.
    When I try to access the url http://host:port/orawsv?wsdl I'm asked to authenticate. If I log in, I get the follwoing error:
    ORA-29268: HTTP client error 401 - Unauthorized
    I don't know what the reason for this error is.

    Have a look at Marks example here Testing Protocol Server  WSDL functionality
    Check your ACL file, DBMS_NETWORK_ACL_ADMIN and XDB_WEBSERVICES_XXXX roles for the account you use to connect

  • APEX 4.0.2 Error in jquery When Calling $a_report

    Hello,
    I have run across an interesting issue when trying to relaod a report on a page. The call to $a_report is getting a JavaScript error, apparently in the jquery-1.4.2.min.js module. The error specifics are as follows:
    User Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; WOW64; Trident/5.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; InfoPath.3; MS-RTC LM 8)
    Timestamp: Wed, 2 Nov 2011 15:47:46 UTC
    Message: Unable to get value of the property '_defaults': object is null or undefined
    Line: 29
    Char: 285
    Code: 0
    URI: https://sunapp01.y12.doe.gov/i4/libraries/jquery/1.4.2/jquery-1.4.2.min.js
    The call to $a_report is made as follows:
    var reportid = document.getElementById("P78_EQUIPMENT_REPORT_ID").value;
    $a_report(reportid,'1','48','48');
    I am at a loss as to why it is getting this error since there are several pages in the app that reload reports without error. All of the pages use the same template. This worked fine before the app was converted to APEX 4.0.2. If it is something in the page processing itself I can't see what it would be.
    Any thoughts or suggestions would be greatly appreciated.
    Rick Fanning

    I too had this same problem and determined that the problem was due to a missing underscore character between the literal "report" and the report Id in the report template.
    I guess some themes include this underscore and some don't.
    I had to debug the apex_4.0.js to determine this - not easy as it's not nicely formatted.
    It only seems to stop Pagination working in an Updatable Tabular Form Report.
    Edit the Report Template. Go to the "Before Rows" region and edit the Before Rows text box. Locate where it defines the report id and insert an underscore between report#REGION_ID#
    Previous
    &lt;div id="report#REGION_ID#"&gt;
    Fixed
    &lt;div id="report_#REGION_ID#"&gt;

  • Getting error code 1 when calling SSIS package from a stored procedure (SQL Server 2008 R2)

    Hello,
    I am trying to execute a SSIS package from SQL Server 2008 R2 stored procedure but getting error code 1 (as per my knowledge, error code description is as below:
    0 The package executed successfully.
    1 The package failed.
    3 The package was canceled by the user.
    4 The utility was unable to locate the requested package. The package could not be found.
    5 The utility was unable to load the requested package. The package could not be loaded.
    6 The utility encountered an internal error of syntactic or semantic errors in the command line.
    Details:
    I have a stored procedure named "Execute_SSIS_Package" (see below sp) which executes 'Import_EMS_Response' SSIS package (when I execute this package directly from SQL Server BID it works fine it means package itself is correct) and calling
    it from SQL as:- EXEC Execute_SSIS_Package 'Import_EMS_Response'.
    Here I receives error code 1.
    Can anyone help me to resolve this issue please?
    Thanks in advance!
    CREATE PROCEDURE [dbo].[Execute_SSIS_Package]
     @strPackage nvarchar(100)
    AS
    BEGIN
     -- SET NOCOUNT ON added to prevent extra result sets from
     -- interfering with SELECT statements.
     SET NOCOUNT ON;
     DECLARE @cmd VARCHAR(8000)
     DECLARE @Result int
     DECLARE @Environment VARCHAR(100)
        SELECT @Environment = Waarde
     FROM  Sys_Settings
     WHERE Optie = 'Omgeving'
     --print @Environment
     SET @strPackage = '"\W2250_NGSQLSERVER\BVT\' + @Environment + '\' + @strPackage + '"'
     SET @cmd = 'dtexec /SQL ' + @strPackage +  ' /SERVER "w2250\NGSQLSERVER"  /Decrypt "BVT_SSIS" /CHECKPOINTING OFF /REPORTING E'
     --print @cmd
     EXECUTE @Result = master..xp_cmdshell @cmd, NO_OUTPUT
     --print @Result
    END

    It has something to do with the security.
    E.g. cmdshell is not enabled or the caller has not rights over the package.
    There could be a syntax error, too.
    I suggest you make the package runnable off a SQL Agent job then trigger the job from the stored proc with
    sp_start_job <job name>
    Arthur
    MyBlog
    Twitter

  • Trapping error in webdynpro when calling a function

    Hi all,
    I am using Adobe interactive forms and within the onsubmitevent I have webdynpro code which calls a standard function 'FMFR_CREATE_FROM_DATA' to do commitments. See code snippet below. The problem is when there is an error from the function the function simply hangs and does not come out of it.. I have tested this function as standalone via SE37 and works perfectly and also from a normal ABAP program the error can be trapped. Is it possible to trap this within webdynpro?
              CALL FUNCTION 'FMFR_CREATE_FROM_DATA'
                EXPORTING
                  I_FLG_CHECKONLY           = ' '
                  I_FLG_COMMIT              = 'X'
                    TABLES
                      T_POSDATA                 = wa_fid_tab
                    CHANGING
                      C_F_HEADDATA              = wa_fih
                EXCEPTIONS
                  DOCTYPE_NOT_ALLOWED       = 1
                  ERROR_OCCURED             = 2
                  OTHERS                    = 3
                    IF SY-SUBRC <> 0.
                       MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                       WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
                       RAISE EXCEPTION TYPE ZCX_NO_CC_BUDGET.
                    ELSE.
                        " Update RFP table with consolidated amount
                        " per CC/PC and commitment no. 
                        UPDATE ZAD_RFP_T
                        SET CURRENCY_AMOUNT = RFP_TOTAL1
                                     AMOUNT = RFP_TOTAL1
                            COMMITMENT_NO = wa_fih-belnr
                        WHERE DOCUMENT_ID = RFP_ID
                        AND LINE_ID = line_one .
                    ENDIF.

    Thanks guys but i already tried this ie. uncommenting the exception but it never returns to the next line ie to theIF SY-SUBRC line in the code snippet below. The program simply hangs!!!
              CALL FUNCTION 'FMFR_CREATE_FROM_DATA'
                EXPORTING
                  I_FLG_CHECKONLY           = ' '
                  I_FLG_COMMIT              = 'X'
                    TABLES
                      T_POSDATA                 = wa_fid_tab
                    CHANGING
                      C_F_HEADDATA              = wa_fih
                 EXCEPTIONS
                   DOCTYPE_NOT_ALLOWED       = 1
                   ERROR_OCCURED             = 2
                   OTHERS                    = 3.
                    IF SY-SUBRC <> 0.
                       MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                       WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
                       RAISE EXCEPTION TYPE ZCX_NO_CC_BUDGET.
                    ELSE.
                        " Update RFP table with consolidated amount
                        " per CC/PC and commitment no.  -
                        UPDATE ZAD_RFP_T
                        SET CURRENCY_AMOUNT = RFP_TOTAL1
                                     AMOUNT = RFP_TOTAL1
                            COMMITMENT_NO = wa_fih-belnr
                        WHERE DOCUMENT_ID = RFP_ID
                        AND LINE_ID = line_one .
                    ENDIF.

  • Error PLS-00231 When Calling a Local Function In a Procedure

    I hope someone can help me find a workaround to this problem:
    I have a function defined within a PL/SQL block. When I call the function from a SQL statement, I get the PLS-00231 error, which says "Function <fn name> may not be used in SQL.". I don't really understand why I can't do this, since the function works perfectly if I create it in the database. Unfortunately, storing the function in the database is not a desirable option.
    Below is a very simple example program to illustrate the point. Any feedback would be greatly appreciated. Thanks. Brian
    DECLARE
    var INTEGER;
    FUNCTION return_it (i IN INTEGER) RETURN INTEGER IS
    BEGIN
    RETURN i;
    END;
    BEGIN
    SELECT return_it (4)
    INTO var
    FROM dual;
    END;
    --

    Your function return_it is not part of database so you cant use in query.
    Here is what you can do
    08:18:20 SQL> ed
    Wrote file afiedt.buf
    1 DECLARE
    2 var INTEGER;
    3 FUNCTION return_it (i IN INTEGER) RETURN INTEGER IS
    4 BEGIN
    5 RETURN i;
    6 END;
    7 BEGIN
    8 var := return_it (4);
    9 DBMS_OUTPUT.PUT_LINE('var = '||var);
    10* END;
    08:18:26 SQL> /
    var = 4
    PL/SQL procedure successfully completed.

  • Queue returning error while exiting when calling subvi within main vi

    Hello
    I am having issues with using queues in a project where a subvi is called from main vi. After calling subvi first time, when I press any button labview returns following error.
    "LabVIEW:  An input parameter is invalid. For example if the input is a path, the path might contain a character not allowed by the OS such as ? or @ ".     
    Please find attached the vi and project explorer file. I will appreciate feedback.  I am using Labview development suite 2010. 
    Kind Regards 
    Austin                                              
    Solved!
    Go to Solution.
    Attachments:
    building autocycles project.lvproj ‏2 KB
    building autocycles screen.vi ‏19 KB
    modifying vi.vi ‏30 KB

    Hello Austin,
    It looks like you are releasing your queue in the sub vi when it exits (Force destroy is set to TRUE therefore it destroys the queue, not just the reference to the queue)
    I tested this by putting a diagram diable structure around the the release queue vi in the sub vi and it now works without throwing an error.
    Set Force destroy to false so that it only destroys a single reference to the queue.
    Chris
    Don't forget to give Kudo's for a good answer !
    LabVIEW Champion
    Certified LabVIEW Architect
    Certified TestStand Architect

  • Errors in client when calling web service:

    Here is my code:
    public static void main(String[] argv) throws Exception
    // Setup the global JAXM message factory
    System.setProperty("javax.xml.soap.MessageFactory",
    "weblogic.webservice.core.soap.MessageFactoryImpl");
    // Setup the global JAX-RPC service factory
    System.setProperty("javax.xml.rpc.ServiceFactory",
    "weblogic.webservice.core.rpc.ServiceFactoryImpl");
    Stub stub = createProxy();
    stub._setProperty(javax.xml.rpc.Stub.ENDPOINT_ADDRESS_PROPERTY, argv[0]);
    stub._setProperty("javax.xml.rpc.security.auth.username", "weblogic");
    stub._setProperty("javax.xml.rpc.security.auth.password", "weblogic");
    HelloWorldPort port = (HelloWorldPort) stub;
    String returnVal = port.sayHello(4, "A");
    System.out
    .println("The client passed the Values 4 and A to the webservice, "
    + "and got back this result:");
    System.out.println(returnVal);
    -------------- ERRORS -----------------------------------
    [java] <Jun 9, 2005 10:26:50 AM EDT> <Info> <WebService> <BEA-220024> <Hand
    ler weblogic.webservice.core.handler.WSSEClientHandler threw an exception from i
    ts handleRequest method. The exception was:
    [java] weblogic.xml.security.SecurityConfigurationException: Service requir
    es signed requests, but no Token was provided.>
    [java] java.rmi.RemoteException: SOAP Fault:javax.xml.rpc.soap.SOAPFaultExc
    eption: Exception during processing: weblogic.xml.security.SecurityConfiguration
    Exception: Service requires signed requests, but no Token was provided (see Faul
    t Detail for stacktrace)
    [java] Detail:
    [java] <detail>
    [java] <bea_fault:stacktrace xmlns:bea_fault="http://www.bea.com/servers
    /wls70/webservice/fault/1.0.0">weblogic.xml.security.SecurityConfigurationExcept
    ion: Service requires signed requests, but no Token was provided
    [java] at weblogic.webservice.core.handler.WSSEClientHandler.processSpe
    cs(WSSEClientHandler.java:324)
    [java] at weblogic.webservice.core.handler.WSSEClientHandler.handleRequ
    est(WSSEClientHandler.java:100)
    [java] at weblogic.webservice.core.HandlerChainImpl.handleRequest(Handl
    erChainImpl.java:143)
    [java] at weblogic.webservice.core.ClientDispatcher.send(ClientDispatch
    er.java:231)
    [java] at weblogic.webservice.core.ClientDispatcher.dispatch(ClientDisp
    atcher.java:143)
    [java] at weblogic.webservice.core.DefaultOperation.invoke(DefaultOpera
    tion.java:457)
    [java] at weblogic.webservice.core.DefaultOperation.invoke(DefaultOpera
    tion.java:443)
    [java] at weblogic.webservice.core.rpc.StubImpl._invoke(StubImpl.java:2
    90)
    [java] at mil.dss.dcii.webservice.client.HelloWorldPort_Stub.sayHello(H
    elloWorldPort_Stub.java:27)
    [java] at mil.dss.dcii.webservice.client.Client.main(Unknown Source)
    [java] </bea_fault:stacktrace>
    [java] </detail>; nested exception is:
    [java] javax.xml.rpc.soap.SOAPFaultException: Exception during processi
    ng: weblogic.xml.security.SecurityConfigurationException: Service requires signe
    d requests, but no Token was provided (see Fault Detail for stacktrace)
    [java] at mil.dss.dcii.webservice.client.HelloWorldPort_Stub.sayHello(H
    elloWorldPort_Stub.java:32)
    [java] at mil.dss.dcii.webservice.client.Client.main(Unknown Source)
    [java] Caused by: javax.xml.rpc.soap.SOAPFaultException: Exception during p
    rocessing: weblogic.xml.security.SecurityConfigurationException: Service require
    s signed requests, but no Token was provided (see Fault Detail for stacktrace)
    [java] at weblogic.webservice.core.ClientDispatcher.receive(ClientDispa
    tcher.java:313)
    [java] at weblogic.webservice.core.ClientDispatcher.dispatch(ClientDisp
    atcher.java:144)
    [java] at weblogic.webservice.core.DefaultOperation.invoke(DefaultOpera
    tion.java:457)
    [java] at weblogic.webservice.core.DefaultOperation.invoke(DefaultOpera
    tion.java:443)
    [java] at weblogic.webservice.core.rpc.StubImpl._invoke(StubImpl.java:2
    90)
    [java] at mil.dss.dcii.webservice.client.HelloWorldPort_Stub.sayHello(H
    elloWorldPort_Stub.java:27)
    [java] ... 1 more
    [java] Exception in thread "main"
    [java] Java Result: 1

    I got it, I coded the WS with message-secured not access control.
    thanks,
    JT

  • ORA-06502 PL/SQL: numeric or value error ORA-06512 when calling a procedure

    Hi,
    I have been using ODP.net for a while now and have been calling lots of procedures without issue, however today I put together one to insert key, value parameters into a simple table and it is failing on me Intermittently with the ORA-06502... I have checked the code and I do not see any problems and am thoroughly frustrated... When I call the procedure directly it all works perfectly so the problem is not in the db!
    Please can you help? Code follows:
    Table defined as:
    CREATE TABLE REPORT_REQUEST_PARAMETERS
    (     REQUEST_ID NUMBER,
         PARAM_NAME VARCHAR2(50 BYTE),
         PARAM_VALUE VARCHAR2(255 BYTE)
    Stored procedure defined as:
    create or replace PROCEDURE SP_WRITE_REQUEST_PARAMS
    ( in_request_id number, in_param_name char, in_param_value char )
    AS
    BEGIN
    INSERT INTO REPORT_REQUEST_PARAMETERS ( REQUEST_ID, PARAM_NAME, PARAM_VALUE )
    VALUES
    ( in_request_id, in_param_name, in_param_value );
    END SP_WRITE_REQUEST_PARAMS;
    Finally the ODP.net code which calls this looks like:
    using (OracleConnection connection = new OracleConnection(...blah...))
    using (OracleCommand command = connection.CreateCommand())
    command.CommandType = CommandType.StoredProcedure;
    command.CommandText = "SP_WRITE_REQUEST_PARAMS";
    OracleParameter p1 = new OracleParameter("in_request_id", OracleDbType.Int32);
    OracleParameter p2 = new OracleParameter("in_param_name", OracleDbType.Char);
    OracleParameter p3 = new OracleParameter("in_param_value", OracleDbType.Char);
    p1.Direction = ParameterDirection.Input;
    p1.Value = requestId;
    p2.Direction = ParameterDirection.Input;
    p2.Size = paramName.Length;
    p2.Value = paramName;
    p3.Direction = ParameterDirection.Input;
    p3.Size = paramValue.Length;
    p3.Value = paramValue;
    command.Parameters.Add(p1);
    command.Parameters.Add(p2);
    command.Parameters.Add(p3);
    connection.Open();
    command.ExecuteNonQuery();
    connection.Close();
    }

    What version of database? If it's 9206 this is a known database problem, and should be resolved by patching the database to 9208. I don't have the bug number handy though.
    Simply because it succeeded in sqlplus doesnt mean it's not a database problem, as the problem was intermittent and succeeded from odp sometimes too.
    Thanks
    Greg

Maybe you are looking for

  • Replacement for Acrobat 9 Pro Extended

    Is there a replacement for Acrobat 9 Pro extended or a Acrobat 3 D version available Sergius

  • Anyone have experience with RED 4k on an iMac?

    I've just been called in to teach editing with PPro CS5 on an iMac here at the school where I work, at 9:30 tomorrow morning. I've not used macs very much, and I've never used PPro on the Mac. The class had been using FCP (that was the editor of choi

  • Airport Disk Utility not working on Intel mac...

    Ok here's a new one... I just got a new macBook (intel) to replace my 12inch G4. On the 12inch, Airport Disk Utility worked just fine recognizing my lacie drive hooked up to AEBS. I used a firewire cable to import settings to the intel macbook and th

  • Changing album artwork via click-and-drag gone in iTunes 12?

    Is there any way to still click-and-drag album artwork for CDs I import. I just built a brand new machine and now half of my CDs artwork is either not recognized, incorrect or just not what I want. Now as a party DJ I have a lot of CDs to import and

  • Nokia C7 contact default phone number

    I have a Nokia C7-00 and are using Nokia Ovi Suite 3.0.0.290. As soon as I have edited a contact with several phone numbers, one of the numbers is marked as default number. After synchronizing, there is only the default number visible for voice call.