ABAP client proxy   401 error

Hi i have generated a ABAP client proxy in my ECC system and sending an outbound message to XI.  i get the following error.
HTTP response contains status code 401 with the description Unauthorized Error while sending by HTTP (error code: 401, error text: Unauthorized)
I have tested the following.
1) My sld and ECC system have the integration engine and pipeline  settings for the XI Server: http://server:8000/sap/xi/engine?type=entry
2) logon to the URL http://server:8000/sap/xi/engine  with user XIAPPLUSER and pwd in the browser because of the error 'Der Aufruf der URL http://server:8000/sap/xi/engine wurde aufgrund fehlerhafter Anmeldedaten abgebrochen'
any sugestions ?  using a proxy as target works fine

Hi ,
You seem to have a problem with the XIAPPLUSER logon. Can you check that the user has the appropriate authorizations? Maybe the user is locked? Maybe the password has been incorrectly entered?
XIAPPLUSER should have the role SAP_XI_APPL_SERV_USER.
Also, check that the XI engine service has been activated.
Transaction SICF. Default_host->sap->xi Activate the entire node with all subtrees.
Cheers
Manish

Similar Messages

  • ABAP client proxy create error

    Hi,
    When I try to create a client proxy web service (se80), I get the error "Error when creating HTTP client: URL: Error:Connection Parameters (Host or Service) Not Availa Message no. SPRX137"
    I want to consume a web service (by reading a wsdl from an url) from my own network. the ICM seems to work fine.
    Any ideas?
    thanks,
    Raymond Does

    Hi Praveen,
    Actualy I am not using XI. I would like to connect to the web service by creating a client proxy and then calling the web service with an ABAP program.
    I that case, do I have to do the SPROXY settings as well?
    While debugging the creation of the client proxy I saw that the urls to the wsdl and xsd files (my wsdl is refering to them) did not have the complete http://..etc.. text but only the last part (like 'SystemGetInfo.wsdl'). It seems that the client proxy generation program cannot handle this url data.
    Please let me know what to do.
    Regards,
    Raymond

  • ABAP Client proxy Code Error

    Hi Experts,
    I am working on File To Proxy Scenario. I am writing the below program under the method ZII_MATERIAL_TARGET1_SI~EXECUTE_ASYNCHRONOUS. The program is throwing the Error as "The type ZMAT_TEST is unknown". Please check and do the needful.
    method ZIIII_MATERIAL_TARGET1_SI~EXECUTE_ASYNCHRONOUS.
    *** **** INSERT IMPLEMENTATION HERE **** ***
      TYPES: BEGIN OF  TY_MAT,
             MATERIAL_NUMBER TYPE  ZMAT_TEST-MATERIAL_NMBER,
             MATERIAL_DESCRIPTION TYPE ZMAT_TEST-MATERIAL_DESCRIP,
        MAINTENANCE_STATUS TYPE ZMAT_TEST-MAINTAIN_STATUS,
        CREATED_BY TYPE ZMAT_TEST-CREATEDBY,
        CREATED_ON TYPE ZMAT_TEST-CREATEDON,
        END OF TY_MAT.
        data:wa_material type ZIIMATERIAL_TARGET1,
            it_material like STANDARD TABLE OF wa_material,
            wat_material TYPE TY_MAT,
            itt_material TYPE  TABLE OF TY_MAT.
      wat_material-MATERIAL_NUMBER = INPUT-MATERIAL_TARGET_MT1-MATERIAL-MATERIAL_NUMBER.
      wat_material-MATERIAL_DESCRIPTION = INPUT-MATERIAL_TARGET_MT1-MATERIAL-MATERIAL_DESCRIPTION.
      wat_material-MAINTENANCE_STATUS = INPUT-MATERIAL_TARGET_MT1-MATERIAL-MAINTENANCE_STATUS.
      wat_material-CREATED_BY = INPUT-MATERIAL_TARGET_MT1-MATERIAL-CREATED_BY.
      wat_material-CREATED_ON = INPUT-MATERIAL_TARGET_MT1-MATERIAL-CREATED_ON.
      INSERT INTO Zmat_test  VALUES waT_material.
    endmethod.
    Regards,
    GIRIDHAR

    Hi Giridhar,
    Yes you cannot use TABLES in Method.
    Request you to use Data-element that you have specified while creating the table.
    Use as eg:
    TYPES: BEGIN OF  TY_MAT,
             MATERIAL_NUMBER TYPE  MATNR,
             CREATED_ON      TYPE ERDAT,
        END OF TY_MAT.
    Regards,
    Ganesh Lathi

  • Error With ABAP Client proxy

    Hi All,
       I am trying to use ABAP Client Proxy(Sync). I am getting the error.
    1. Message from SXMB_ADMIN on Business system.
    <b>  <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <SAP:ErrorHeader xmlns:SAP="http://sap.com/exchange/MessageFormat">
      <SAP:Context />
      <SAP:Code p1="400" p2="ICM_HTTP_CONNECTION_FAILED" p3="" p4="">HTTP.HTTP_CLIENT_RECEIVE_FAILED</SAP:Code>
      <SAP:Text language="EN">Error during http receive: Error code: 400 Error text: ICM_HTTP_CONNECTION_FAILED</SAP:Text>
      </SAP:ErrorHeader></b>
    2. No message On XI server.
    3.Went through the Ravikumar Allampallam's blog
    on ABAP ClientProxy .
    4. Went through the  vijaya kumari's " How do you activate ABAP Proxies?"
    5. created connections (sld)and one http connections in SM59. Tested the connections.
    6. Went throught the Forms.
    Any help would be appriaciated.
    Thank you
    Ganges Leaves.

    Vijaya Kumari,
       1. I have checked it. For XI server these are the values.
        Business System Role  : Integration Server.
        Pipe Line url : http://server:8000/sap/xi/engine?type=entry.
    8000 is the http port which i see in the SMICM+shift F1.
    Thank you
    Ganges Leaves

  • Problem in ABAP Client Proxy

    Hai All,
    I am working on ABAP Client Proxy to RFC.
    Here i generated the proxies and wen i execute it i am able to see in sxmb_moni but its showing in Green color which is still in process.but i was unable to find the the receiver business system and receiver interface.
    I hope some HTTP connection problem.
    Can anyone explain me in detail how to create the http connection as i confused here.
    Lets say XI(sender) to R3(Receievr)
    where proxy is been created in XI system itself and also generated in XI system only.
    Can anyone suggets me here as this interface is totally asynchronous.
    Thanks,
    Kalyan.

    Hai Seshagiri,
    Thanks a lot.
    Am giving you points buddy.Its working.
    Cud u plz give me ur Email id.
    This is fine but i want implement this interface to further there i am getting errors.So that i can send u the screenshots of those.
    Thanks,
    Kalyan.
    Please read the Forum's Rules of Engagement,
    i.e.,
    [/thread/117188 [original link is broken];
    and refrain from using email correspondence as the main objective of the Forums is to share knowledge.
    SDN PI/XI Forum Moderator

  • Fault message handling in abap client proxy

    Hi experts,
    i have scenario like this SAPECC---XI---WEBservice
    i was decided to using the ABAP CLIENT proxy in sender side and soap adapter communication in receiver side
    i will be get the wsdl file form client
    problem is i am in bit of confusion like  am i need to create fault message for this asychronous scenario?
      how can i create the fault message for this scenario(that WSDL) and how the abaperwill  handle those error
    thanks in advance

    Hi.
    You can use fault message but it won´t return a error to your ABAP Proxy because your interface is ASSYNC. The fault message generated will stop in Adapter Engine.
    If you need a return of the error, you have to change your interface to Sync mode.
    To get more information, follow the link below:
    Fault Message Type
    http://help.sap.com/saphelp_nwpi711/helpdata/en/dd/b7623c6369f454e10000000a114084/frameset.htm
    Best Regards.
    Bruno

  • ABAP client proxy from WSDL

    I have 2 problems in creating abap client proxies using wsdl
    1.when i try to create client proxy by giving RPC style wsdl(generated by SAP itself for a RFC) the system throws an error and not allowing to create the proxy
    2.The client proxy which i have created for a wsdl(either SAP created document type/any wsdl from commercial websites) gives an error "No receiver could be found"
    could somebody please clarify and help me to solve the problem.
    Thanks in advance.
    Vasanth.

    Hi Vasanth,
    There are many threads and blogs on this topic.
    Choose the search Forum on the Forum page and select "All categories" in the Category field and enter your topic "ABAP client proxy from WSDL" in the search field.
    Rgds,
    Sam Raju

  • ABAP client proxy wildcard/unicode problem

    Hello,
    i have an abap client proxy. The target system is a non sap system. For one input field of the request, a wildcard search is possible (with sign %, field type = string).
    If i exceute the proxywith the wildcard sign '%' i get following error message:
    SOAP:1.001 CX_SXML_PARSE_ERROR...Error in conversion from UTF-8 to type C or
    type CSTRING: 48696C6673736368FC747A65 is not a
    valid UTF-8
    If i call the target system directly (for examle with jmeter), i get a response even with wildcard sign '%'.
    It seems that there is a generell conversion problem at the sap client proxy. Do you have any ideas?
    Is the problem maybe the transformation of the request, or the calling of the target system?
    Thanks a lot!

    any idea?

  • ABAP client proxy send message fialed

    I developed one ABAP client proxy to send msg.  status in SXMB_MONI is error.
      <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Receiver Identification
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
      <SAP:Category>XIServer</SAP:Category>
      <SAP:Code area="RCVR_DETERMINATION">NO_RECEIVER_CASE_ASYNC</SAP:Code>
      <SAP:P1 />
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>No receiver could be determined</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    After I test it  in RWB,I'm sure that IR and ID is right. Then what's wrong?

    > There are two scenarios with the same outbound interface.Is it the problem?
    >
    > ABAP proxy send message, and then there are two route.
    Yes this could be the reason, because at the time of Receiver Determination it tries to send the message to both the interface. Are both the scenario Proxy to XI??
    Try to change the Message Interface in IR and accordingly change in ID also and then try.
    Regards,
    Sarvesh
    Edited by: Sarvesh Singh on Oct 17, 2008 2:24 PM

  • ABAP Client proxy message not reaching AAE

    Hi Experts,
    I am facing a strange issue in one of my proxy interfaces. ABAP client Proxy is used to post message to AAE in SAP PI 7.3. The messages are being generated and pushed out of ECC successfully. I can see them in the SXMB_MONI t-code with checkered flag. These messages are reaching the Integartion Engine instaed of the Adapter Engine.
    I have configured the following:
    1. Sender / Receiver ID  in SXMSIF:
    2. Configured the corresponding Runtime parameter in SXMB_ADM
    I have few other such ABAp client proxy i/f's which work fine and their message are being sent to the Adapter engine. Howveere, only this one interface is posing a problem. What can be the issue?
    Please advice.
    Thanks in advance.
    Elizabeth.

    Hi Elizabeth,
    It will be great if you could please let me know all the user profile configured in userID of Logon&Security tab of SM59 for connecting ECC system to post the message via AAE.
    I have used
    SAP_XI_APPL_SERV_USER
    SAP_XI_DEVELOPER_J2EE and
    SAP_XI_IS_SERV_USER
    profiles in my UserID for Basic authentication.
    Currently I am doing the same scenario what you have done with integrated configuration.The message is getting failed in ECC with 403 Forbidden error.
    Please help me.
    Thanks
    Ray...

  • Async ABAP Client Proxy Queuing

    Hi all,
    We've successfully set up an asynchronous ABAP client proxy on a WAS 6.20 instance to connect to our XI 3.0 box.  Our concern is if XI is down the messages won't get queued up for delivery.  As I understand it, failed messages won't get queued up for delivery if a delivery error occurs.  Is this correct?  If queuing is not possible with a standard WAS 6.20 installation, what options do we have to make queuing possible?
    Many thanks,
    --jtb

    I believe queuing should be supported on a WAS 6.20 system so long as you have installed APPINT 200_620 (XI 2.0 add-on), SL 6.  You need level 6 in order to communicate with XI 3.0 (or at least that's how I understand it).  This above mentioned add-on is a basically the ABAP side of a 2.0 integration server.  In our scenario we set the role of the business with the 2.0 add-on as an application server.

  • Exception when creating ABAP client proxy using WSDL

    Hi Experts,
    I tried to create a client proxy on the CRM system for a web service URL (where the WSDL exists), in the transaction SE80.
    When I tried creating this, i got exception as follows.
    Exception occured in communication framework:error in HTTP framework:404 conn failed http://inld50054696a:8080/clearspace/rpc/rest?forumservice?wsdl
    Please let me know, how to tackle this problem.
    What are all the settings that needs to be done in this regard.
    Regards
    Lakshman

    Hi Vasanth,
    There are many threads and blogs on this topic.
    Choose the search Forum on the Forum page and select "All categories" in the Category field and enter your topic "ABAP client proxy from WSDL" in the search field.
    Rgds,
    Sam Raju

  • ABAP Client Proxy from ECC 6.0 to XI message irregular recieving

    Hi Gurus
    Any one has come across issue whereby the ECC 6 system trigger ABAP Client proxy to SAP PI 7.0. The first time the PI is able to recieve it in the SXI_MONITOR. But subsequent trigger from the ECC 6.0 system the SAP ABAP program to trigger the Client Proxy, the PI seem to lost connectivity and did not recieve any message. This is pretty strange and hopefully someone in SDN and enlighten me.
    Thanks
    Regards
    On behalf of malcolm

    Hi Santosh
    I went to SMQR and register the queue, but it still did not reflect the locked queue when i trigger the ECC 6 to SAP PI 7.0. The green flag - schedule still appear in the SXMB_MONI queue. But i am quite puzzle as why the ABAP client proxy after sending message the first time and second time, the third time it stuck? And also it is not practical to everytime go to the SMQ1 or SMQ2 to unlock the queue. I don't think it a good solution for solving my problem, it is just a temporary solution.

  • How does ABAP client proxy determine the sender business system

    When we use ABAP client proxy to send a message in XI-SOAP format to the integration engine, how does the client proxy determine what is the sender business system, i.e. how does it know what value it should insert in the sender service field in the SOAP envelop.
    For example, at first, the business system X8A_105 corresponds to the technical system X8A_105, so when the client proxy sends out a message, the sender service is X8A_105. Then I delete the business system X8A_105 in the SLD, and create a new business system that is associated with the technical system X8A_105.when the client proxy sends out a message, the sender_service is still X8A_105, why?

    Hi Annie,
    Execute the following function module in your business system and see what name it returns..
    LCR_GET_OWN_BUSINESS_SYSTEM.
    You can always debug the code inside the above FM to find out how it gets the business system name...
    I think the issue should be related to cache. I would also suggest you to logoff from your business system and then login again.
    Regards,
    Sumit
    Message was edited by:
            Sumit Khetawat

  • ABAP client proxy to File scenario

    Hi,
    I am doing ABAP client proxy to File scenario.
    I have followed Ravikumar allampallam blog i.e https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1387. [original link is broken] [original link is broken] [original link is broken] [original link is broken]
    My abap proxy has successfully created 4 objects:
    1)ABAP Class ( ZCO_ MIOA_ABAP_PROXY).
    2. Structure for the message type in ABAP Data Dictionary (ZMT_PROXY).
    3. Structure for the data type in ABAP Data Dictionary (ZDT_PROXY_SRC).
    4) Table type (ZSTRING_TAB).
    can u tell me how can i fetch data from database table into structure?

    Hi,
    see first create the data type,msg type, msg interface and go to R3 instance of Xi and use SPROXY transaction , locate your SWCV,namespace, intreface ( outbound) and create the proxy , later give the name starts with z, later in ABAP program create the internal table of type of the Structure for the message type in ABAP Data Dictionary (ZBLOGEMP_PROFILE_MSG )
    so follow the code and explained about each ob, structure of Msg ..
    Regards
    Chilla

Maybe you are looking for

  • REUSE_ALV_HIERSEQ_LIST_DISPLAY without colors

    Hi, I'm printing a list with REUSE_ALV_HIERSEQ_LIST_DISPLAY but I don't want the headers coloured because we need to print it in a Black and white printer... Is it possible?? Thanks!

  • Does dismissViewControllerAnimated:completion: retain previous view controllers?

    I am having memory leaks and crashes in my app and I would like to know if they could be due to the way my container View Controller switches between View Controllers. The app should allow the user to navigate a long series of pages. Each page is lai

  • Safari 6 won't accept enter key

    Hi, safari 6 worked fine for me until today: if I enter a term in the search/URL bar which is not an adress the enter key won't work. I press enter and nothing happens. It's different when I type a URL like "apple.com" then it will bring me to that p

  • BAPI/ FM for Order Confirmation Tcode IW41

    Hi Experts , I want to do auto order confirmation  using the Tcode iw41, is there any BAPI or Function module available to the order confirmation  , Please suggest if any other way we can do Babumiya Mohammad

  • Diff n creating table and complexsection- table

    hai > whats the difference in creating table directly in smartforms or creating thro complexsection and table. >what is the use of command >I need to display smartform o/p in table format  with borders could any one pls suggest me with examples