Debug ABAP consumer proxy -- which URL?

Hi experts,
I've a question concerning the URL to be used when debugging cunsumer proxies...
So, I take transaction SICF on my ECC 6.0 backend system.
In the menu Client --> Recorder --> Activate recording.
There I just take the user I'm logged on with. Should this user also exist on the SAP PI system?
Next, I need to fill in the Client URL Path. What should I do there?
Thanks a lot!
Dimitri

Hi guys,
I'am still facing the same problem. Queues in PI are registered, the async outbound proxy call gives the same message "Call successful - Empty result". But no messages are shown in SXMB_MONI. I've followed the link above. Other messages from sync scenarios are shown. Services (EO, EOIO) are registered and activated.
In Adapter Monitoring no messages are shown. I am using XI adapter as sender and JMS sender as receiver.
I've stopped JMS-sendin-Queue and there is no message too.
My issue was resolved by COMMIT WORK of proxy-call.
Thanks in Advance,
Stefan
Edited by: Stefan Burghardt on Jul 12, 2011 6:32 PM

Similar Messages

  • ABAP Consumer Proxy error after upgraded from 7.0 SP14 to 7.01 SP3

    The ABAP consumer proxy was created in ECC6 with Netweaver 7.0 SP14.  After the system was upgraded to Netweaver 7.01 SP3 the proxy call started to get error back.
    The first error message from the service provider said "SoapException: Server did not recognize the value of HTTP Header SOAPAction".  This error was resolved by manually putting the correct action in the SOAManager configuration.
    Ran the same test again and then the service provider complained about the To field in the SOAP Header.  The error message said "SoapHeaderException: SOAP header To was not understood".
    Below is the To field in the Requesting XML message from the 7.0 SP14 system that worked fine:
    <n3:To soap-env:mustUnderstand="1" xmlns:n3="http://schemas.xmlsoap.org/ws/2004/08/addressing"
    xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope">
    http://localhost:50081/AddSix.asmx
    </n3:To>
    Below is the To field in the Requesting XML message from the 7.01 SP3 system that did not work:
    <wsa:To soap-env:mustUnderstand="1" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing"
    xmlns:soap-env="http://www.w3.org/2003/05/soap-envelope">
    http://localhost:50081/AddSix.asmx
    </wsa:To>
    It looks like the issue is with the xmlns:soap-env element that has different values in these two systems.  Searched in SDN but could not find any related information.  Please help if anyone has experienced similar issue or knows how to fix it. 
    Thanks,
    Jiannan

    Got solution from SAP through an OSS message.  Below is SAP's solution:
    Either the Message ID protocol should be switched off on the SAP
    consumer side or turn on this protocol support on the .NET provider.
    To switch off the Message ID protocol:
    1. start the soa manager
    2. find the consumer proxy
    3. find the corresponding logical port
    4. jump to the 'Messaging' tab
    5. choose the 'Suppress ID Transfer' from the dropdown list of the Message ID Protocol field
    Besides this setting I also have to specify the operation in the Operation specific tab of the logical port configuration.

  • ABAP Consumer Proxy. Not working?

    Hello
    I've created consumer proxy in ABAP. Configured logical port in SOAMANAGER. When I test call operation from this proxy I get "Call successful - Empty result" because it is async interface. But it seems that PI (which serves this service) doesn't get anything from ABAP program. How can I monitor or check the log of whar this proxy sends?
    best regards
    Maciej

    Hi guys,
    I'am still facing the same problem. Queues in PI are registered, the async outbound proxy call gives the same message "Call successful - Empty result". But no messages are shown in SXMB_MONI. I've followed the link above. Other messages from sync scenarios are shown. Services (EO, EOIO) are registered and activated.
    In Adapter Monitoring no messages are shown. I am using XI adapter as sender and JMS sender as receiver.
    I've stopped JMS-sendin-Queue and there is no message too.
    My issue was resolved by COMMIT WORK of proxy-call.
    Thanks in Advance,
    Stefan
    Edited by: Stefan Burghardt on Jul 12, 2011 6:32 PM

  • Webservice consumption in abap working, but which URL to be checked.

    Dear Experts,
    I am working on Consumer Proxy in SOAMANGER,
    I have created a logical port and have done all the settings.
    When i click on Ping Webservice, it is returning the message as ping is successfull.
    When through ABAP also i am not facing any error.
    But where do i check data that is going to that URL
    I am using SOAP UI.
    Regards,
    Kartheek.

    Hi Kartheek,
    Traces are active for some time like 2 hours.
    Check below thread for config
    Get the XML/SOAP request created by an ABAP Web... | SCN
    Once you save config in SRT_UTIL, it will again show the web service calls.

  • ABAP consumer proxy generation for xMII WSDL's

    Hi friends,
    I have a question related to generation of consumer proxies in ECC Box. I am trying to create a consumer proxy for xMII WSDL's using URL method. For the first WSDL, I was able to create a service consumer proxy successfullly. It created with the name "XacuteWSSoap". Now, when I am trying to create another consumer proxy, I am always getting the error saying the proxy object already exists. Then, I went to WSDL and compared all of them, they all are having port type as XacuteWSSoap. I believe this is the reason why, it is not allowing me to create a new proxy object for the second WSDL. Does any one know how to overcome this problem?
    Thanks in advance,
    Regards,
    Adithya K

    Hi Gaurav,
         I tried both of the ways. Here are the results.
         If I delete the proxy and create with new prefix its still the same issue I am having.
         And changing the port type seems to work, it allowed me to create a new proxy object. But, again there are few structures which are getting regenerated and overwriting the existing values. Here is the sample WSDL: If you see closely, the complex type "InputParams",  Port type name "XacuteWSSoap",  Input message name "s0:XacuteSoapIn", Output message name "s0:XacuteSoapOut" are the things which are creating problem for me. If I rename all the above things that I mentioned like port type, input message, etc. Its working for me.  But, I dont think this is the correct way of developing these. So, I want to know whether there is any problem with SAP generating the things or I am doing any wrong.
    <?xml version="1.0" encoding="UTF-8" ?>
    - <definitions xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:s0="http://www.sap.com/xMII" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" targetNamespace="http://www.sap.com/xMII">
    - <!--  Types
      -->
    - <types>
    - <s:schema elementFormDefault="qualified" targetNamespace="http://www.sap.com/xMII">
    - <s:complexType name="InputParams">
    - <s:sequence id="InputSequence">
      <s:element maxOccurs="1" minOccurs="0" name="Mode_Read" type="s:string" />
      <s:element maxOccurs="1" minOccurs="0" name="Mode_Write" type="s:string" />
      <s:element maxOccurs="1" minOccurs="0" name="Server" type="s:string" />
      <s:element maxOccurs="1" minOccurs="0" name="TagGUID" type="s:string" />
      <s:element maxOccurs="1" minOccurs="0" name="TagInput" type="s:string" />
      </s:sequence>
      </s:complexType>
    - <s:element name="XacuteRequest">
    - <s:complexType>
    - <s:sequence>
      <s:element maxOccurs="1" minOccurs="0" name="LoginName" type="s:string" />
      <s:element maxOccurs="1" minOccurs="0" name="LoginPassword" type="s:string" />
      <s:element maxOccurs="1" minOccurs="0" name="InputParams" type="s0:InputParams" />
      </s:sequence>
      </s:complexType>
      </s:element>
    - <s:complexType name="Rowset">
    - <s:sequence>
      <s:element maxOccurs="unbounded" minOccurs="0" name="Row" type="s0:Row" />
      </s:sequence>
      <s:attribute name="Message" type="s:string" />
      </s:complexType>
    - <s:complexType name="Row">
    - <s:sequence id="RowSequence">
      <s:any maxOccurs="132" minOccurs="1" type="s:string" />
      </s:sequence>
      </s:complexType>
    - <s:element name="XacuteResponse">
    - <s:complexType>
    - <s:sequence>
      <s:element maxOccurs="1" minOccurs="0" name="Rowset" type="s0:Rowset" />
      </s:sequence>
      </s:complexType>
      </s:element>
      </s:schema>
      </types>
    - <!--  Messages
      -->
    - <message name="XacuteSoapIn">
      <part element="s0:XacuteRequest" name="parameters" />
      </message>
    - <message name="XacuteSoapOut">
      <part element="s0:XacuteResponse" name="parameters" />
      </message>
    - <!--  Ports
      -->
    - <portType name="XacuteWSSoap">
    - <operation name="Xacute">
      <input message="s0:XacuteSoapIn" />
      <output message="s0:XacuteSoapOut" />
      </operation>
      </portType>
    - <!--  Bindings
      -->
    - <binding name="XacuteWSSoap" type="s0:XacuteWSSoap">
      <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" />
    - <operation name="Xacute">
      <soap:operation soapAction="http://www.sap.com/xMII" style="document" />
    - <input>
      <soap:body use="literal" />
      </input>
    - <output>
      <soap:body use="literal" />
      </output>
      </operation>
      </binding>
    - <!--  Service mapping
      -->
    - <service name="XacuteWS">
    - <port binding="s0:XacuteWSSoap" name="XacuteWSSoap">
      <soap:address location="http://abc.dx.com:50000/XMII/SOAPRunner/Test%20-%20DoNotDelete/OPC/Trx-OPCTag_Prototype" />
      </port>
      </service>
      </definitions>
      Appreciate if you can help.
    Thanks,
    Adithya K

  • ABAP consumer proxy generation for xMII WSDL

    Hi friends,
    I have a question related to generation of consumer proxies in ECC Box. I am trying to create a consumer proxy for xMII WSDL's using URL method. For the first WSDL, I was able to create a service consumer proxy successfullly. It created with the name "XacuteWSSoap". Now, when I am trying to create another consumer proxy, I am always getting the error saying the proxy object already exists. Then, I went to WSDL and compared all of them, they all are having port type as XacuteWSSoap. I believe this is the reason why, it is not allowing me to create a new proxy object for the second WSDL. Does any one know how to overcome this problem?
    Thanks in advance,
    Regards,
    Adithya K

    Hi Friends,
        I would appreciate if anyone can help me with this issue.
    Thanks,
    Adithya K

  • Transport Binding in ABAP Consumer Proxy

    Hello Gurus,
    I am trying to call a webservice using ABAP Proxy in Netweaver SPS 15.
    We donot have XI in our landscape.
    This is a siebel web service ( on our intranet ) and the url to call is
    http://abc12345.abc.com:80/eai/wsprj?SWEExtSource=WebService&SWEExtCmd=Execute&Username=TEST_USR&Password=TEST_USR
    I tried to create a logical port ( Transaction LPCONFIG ) and  put this whole URL and it works fine.
    But abc12345 will be different on QA & PRD systems so I have to change in DEV and transport it which is not optimal solution.
    I tried creating an HTTP Destination  and put this into LPCONFIG with a URL suffix of
    "eai/wsprj?SWEExtSource=WebService&SWEExtCmd=Execute" and it fails with Soap Error.
    Is the special character "?" or "&" causing the issue??
    I also tried to create a logical port in Soamanager using manual config and put "eai/wsprj?SWEExtSource=WebService&SWEExtCmd=Execute" in URL access path and it results in Soap error at runtime.
    I tried WSDL based configuration with URL also but cannot even save the port as it gives error is HTTP destination creation. I also tried WSDL based configuration with local file. It creates the port but ignores the "?SWEExtSource=WebService&SWEExtCmd=Execute" part of URL which again gives saop error at runtime.
    Any pointers on where I am going wrong. I want to be able to change these runtime parameters in QA/PRD either using HTTP destination with LPCONFIG or by creating a logical port using soamanager.
    Thank You
    Sanjay

    i can't open your URL link.Can you send WSDL.I think there is some error in URL or in WSDL.When you create  
    logical port in LPCONFIG you can give URL directly just putting ?WSDL at th end of URL and When you click operation tab you will find SOAP Action Name .Provide same in SOAP Action.
    Regards
    Snehasish
    Edited by: Snehasish Das on Nov 23, 2008 12:33 PM

  • Public webservice for ABAP consumer proxy?

    Hello All,
    for a soon coming customer project I want to get familar with the implementation of a ABAP webservice consumer. We're on Netweaver 7.0, no XI/PI.
    So I simply started at SE80, and tried to create a service consumer, and entered the URL http://soap.amazon.com/schemas2/AmazonWebServices.wsdl as the source for the WSDL.
    Unfortunately that gave me an exception CX_SWSDL11_WSIBP11 (A wsdl:binding in a DESCRIPTION MUST use the value of "literal" for the use attribute in all soapbind:body, soapbind:fault, soapbind:header and soapbind:headerfault elements.).
    As I'm not focussed on this special webservice - does anybody know a public webservice for which a ABAP webservice consumer could be created easily?
    Any help is appreciated.
    Thanks & best regards,
    Karsten

    [Amazon Associates Webservice|http://ecs.amazonaws.com/AWSECommerceService/2008-08-19/DE/AWSECommerceService.wsdl] is literal.
    More Details to be found [here|http://docs.amazonwebservices.com/AWSECommerceService/latest/DG/index.html]
    Have fun!
    anton

  • Create a abap server proxy and consume the service with the pi WS Navigator

    hi all:
    i create a abap server proxy ,i use the t_code "sproxy"  to generate the proxy, and then write the abap code to implemente the method;    then i use the T-code (soamanager)  to define the  endpoint,  but when i click the " Open WSDL document for selected binding" to get the WSDL  file ; some error occur,the error is follow:
    ==========================================================================
    Service cannot be reached
    What has happened?
    URL http://foxxi:50000/sap/bc/srt/wsdl/bndg_000C2938EF591DEE8A9A8D3DD5CCB6AD/wsdl11/allinone/ws_policy/document call was terminated because the corresponding service is not available.
    Note
    The termination occurred in system XIF with error code 403 and for the reason Forbidden.
    The selected virtual host was 0 .
    What can I do?
    Please select a valid URL.
    If it is a valid URL, check whether service /sap/bc/srt/wsdl/bndg_000C2938EF591DEE8A9A8D3DD5CCB6AD/wsdl11/allinone/ws_policy/document is active in transaction SICF.
    If you do not yet have a user ID, contact your system administrator.
    ErrorCode:ICF-NF-http-c:000-u:SAPSYS-l:E-i:FOXXI_XIF_00-v:0-s:403-r:Forbidden
    HTTP 403 - Forbidden
    Your SAP Internet Communication Framework Team
    ==========================================================================
    when i go to the ws navigator to consume the service  i can not find the service which i define, but some system content display ,  what's the problem

    had a chance to look at this?
    /people/jitender.chauhan/blog/2009/04/20/service-enabling-in-abap

  • Debugging ABAP proxy

    Hi all,
    Can anyone please tell me how to debug abap proxy.
    In my scenario i chnaged the code in proxy.(file to r/3)
    I want to debug the code which i have changed..According to me it should be debugged in sm50 (testing client), which i couldnt do?
    Any Ideas greatly appreciated..
    Regards,
    smith

    Hi Paul,
    Checkout these links..
    http://help.sap.com/saphelp_nw2004s/helpdata/en/3b/6f5c3c3806af06e10000000a11402f/frameset.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/14/555f3c482a7331e10000000a114084/frameset.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/81/845f3c31727d59e10000000a114084/frameset.htm
    Transaction Code SPROXY
    Hope they help you!
    cheers,
    Prashanth
    P.S : Please mark all helpful answers

  • Web Service Call From Consumer Proxy in ABAP: Security Settings

    Hello All,
    Have a couple of questions:
    We are working on a scenario where we have to connect to a web service from ABAP. We have extracted the WSDL, and generated the client proxy, and configured a Logical Port. However, at the time of actual call, we receive an error message "Header http://schemas.xmlsoap.org/ws/2004/08/addressing:Action for ultimate recipient is required but not present in the message.". We suspect that this is a problem with the SOAP Header, which might be missing some tags, which are required by the Web Service. Problem is, we can not trace the Web Service SOAP Header. We can not see it in SOAMANAGER, or any other transaction as such.
    1. Does any body have an idea where to look for the complete SOAP Request, in case of a Consumer Proxy call?
    2. After re-configuring the Logical Port in SOAMANAGER, our scenario is now stuck at an error which says: 'SoapFaultCode:1  Security requirements are not satisfied because the security header is not present in the incoming message.'. This is probably happening because the target web service is WSE 3.0 compliant, and hence it is asking for UsernameToken and TimeStamp attributes in SOAP Header. In SOAMANAGER Logical Port configuration, we do not see a placeholder for providing this information. However, in earlier LPCONFIG transaction, there was a field for providing WS Security Profile for Operations. Where does this config lie in SOAMANAGER?
    Awaiting Replies.
    Thanks and Regards,
    Sid

    Hi Sid,
    The setting username/password in the manual logical port configuration will send the username and password in the http header as basic authentication. That's why you don't see a security header.
    To configure usernametoken you have to create the logical port out of a WSDL. This WSDL needs to contain WS-Security Policies . So in the policy section of the WSDL you see an XML element called UsernameToken.
    In order to let .Net generate a compatible WSDL you have to configure your WCF Web Service to use a CustomBinding with authentication "UsernameOverTransport". This is a username token in the security header send over SSL. So therefore you need an HTTPSTransport (instead of HTTPTransport) in the binding of your .Net WCF endpoint as well.
    For an example of such a WCF service configuration see my comment on http://weblogs.sdn.sap.com/cs/user/view/cs_msg/59671.
    Regards,
    Mathias

  • Problem with Consuming ABAP Server Proxy WSDL in InfoPath

    Tried to design a InfoPath (MS Office 2003) form from a WSDL file of a web service generated from an ABAP Server Proxy in a NW2004s SP10 system.  InfoPath rejected this WSDL with error “InfoPath cannot use the selected Web service method for receiving data because the method does not provide valid XML data”.  Tried other WSDL files from other web services from ABAP Proxy with InfoPath, all got rejected.
    Validated the WSDL file with XMLSPY, no error.  Tried to import the WSDL into XI 3.0, no error.  Also tried the WSDL in .NET C#, also worked fine.  It seemed only InfoPath does not like this WSDL from ABAP Proxy. 
    Created a similar web service in XI 3.0 and InfoPath had no problem with its WSDL.  Then I compared the two WSDL files.  There are differences.  After try and error on changing the differences, I have nailed down to the XML tag that caused the problem.  Please see the extracted WSDL line attached at the end.  In the XI 3.0 generated WSDL the wsdl:message and the wsdl:part have the same name.  In the ABAP Proxy generated WSDL the wsdl:part has the name “Parameters” which is different from the wsdl:message.  After I copied the wsdl:message name to the wsdl:part name, InfoPath accepted the WSDL file without any problem.
    I know the fix but I like to find out the root cause.  Is this a known issue?  Did we miss some configuration setting that’s causing this issue?  Any help will be much appreciated.
    WSDL from NW2004s SP10 ABAP Proxy
    <wsdl:message name="RegionR3GetList_Req_MT">
        <wsdl:part name="Parameters" element="tns:RegionR3GetList_Req_MT"/>
    </wsdl:message>
    <wsdl:message name="RegionR3GetList_Resp_MT">
        <wsdl:part name=" Parameters" element="tns:RegionR3GetList_Resp_MT"/>
    </wsdl:message>
    WSDL from XI 3.0 Interface
    <wsdl:message name="RegionR3GetList_Req_MT">
        <wsdl:part name="RegionR3GetList_Req_MT" element="tns:RegionR3GetList_Req_MT"/>
    </wsdl:message>
    <wsdl:message name="RegionR3GetList_Resp_MT">
        <wsdl:part name="RegionR3GetList_Resp_MT" element="tns:RegionR3GetList_Resp_MT"/>
    </wsdl:message>

    Anne Tarnoruder has pointed out to me that her SDN article "Consuming SAP Enterprise Services in a Microsoft Office InfoPath Form" has described the the cause and workaround of this issue on page 9.  I am extracting it below and mark this thread as answered.  Thanks to Anne but not sure how I can award point to her.
    Currently SAP supports only the Document style of WSDL, and not the Microsoft-specific RPC style, which causes a problem when consuming SAP services in the Microsoft environment. In this example, you need to apply a workaround that involves a minor correction of locally-stored WSDL files:
    a. In the Project Explorer toolbar, click the Show all files icon and expand the Web reference folder.
    b. For each Web reference in the project, perform the following steps:
    c. Open the WSDL file, replace all instances of <wsdl:part name="parameters" with <wsdl:part name="parameter" (remove the s in parameters) and save the file.
    d. Right-click the Reference.map file and choose Run Custom Tool to invoke a utility that generates code for XML Web services. This recreates the local proxy.

  • How to debug XI--- R/3 (abap server proxy) code,  SYSFAIL in SMQ2

    Hi
    i have a XI (BPM) to R/3 (ABAP server proxy) scenario,
    when the data goes from XI to R/3, it is getting stuck at R/3 inbound queue (SMQ2), with status : SYSFAIL and error text: "No roll storage space of length
    3391496 available for internal storage",
    we tried activating the queue/ reexecute the LUW, but it still shows the same error status after running for some time,
    how can i debug the ABAP server proxy,
    pls tell me how can i debug the ABAP proxy code in the R/3
    very critical issue

    Have a look at SAP Note 17965 - No storage space available
    Regards,
    Prateek

  • Error in creating create Consumer proxy:

    Hi all ,
                    while creating create Consumer proxy: in SE80 ,by giving the URL of the webservice i am getitng a error which is
    Exception occurred in communication framework:Error in HTTP Framework:404conn failedhttp, i am new to this SOA, please help me
    Thanking you
    Sridhar

    Hi.
    Can you tell us how did you solve it?? I´m getting the ( missing) error too.
    Thanks in advance.

  • Error while creating logical port for Consumer Proxy in SOAMANGER

    Hi,
    While creating logical port for my consumer proxy in SOAMANGER, I am getting the error shown below
    SRT Framework exception: HTTP: Current user does not have the required authorization to access the HTTP destination
    I have searched in the forums but none of the answers helped me.
    I have specifed my PI user ID and password and the user has the followwing roles assigned to it.
    SAP_BC_WEBSERVICE_SERVICE_USER
    SAP_BC_WEBSERVICE_ADMIN_TEC
    SAP_BC_WEBSERVICE_CONSUMER
    SAP_BC_WEBSERVICE_ADMIN
    Current user in the error message refers to the PI user that i have specified or the user with which i have logged in the backend ABAP system?
    Please help me reslove this issue.
    Thanks and regards
    Sreehari Nambiar

    Hi,
    Please add the following roles as well.
    SAP_BC_WEBSERVICE_ADMIN_BIZ
    SAP_BC_WEBSERVICE_DEBUGGER
    SAP_BC_WEBSERVICE_OBSERVER
    Also make sure that you are doing the role comparison  after adding all SAP* roles in your profile.
    Let me know if this works?
    Thanks,
    Sridhar

Maybe you are looking for