Debugging Synchronous Proxy
Hi All,
I am not able to debug the synchronous proxy as it is not stopping if i keep the external break point. How to solve this issue. Can any one provide the solution for the above issue.
Regards
Prakash
Have u tried this?
XI: Debug your inbound ABAP Proxy implementation
Regards,
Prateek
Similar Messages
-
Error in SOAP receiver channel in Synchronous Proxy to SOAP scenario
Hi all,
We are experiencing an issue with a synchronous Proxy to SOAP scenario. Getting below error message in the SOAP receiver communication channel for the response message.
SOAP: Response message contains an errorXIAdapter/HTTP/ADAPTER.HTTP_EXCEPTION - HTTP 500 Internal Server Error
Returning to application. Exception: com.sap.engine.interfaces.messaging.api.exception.MessagingException: Error encountered while executing mapping: com.sap.aii.af.service.mapping.MappingException: com.sap.aii.utilxi.misc.api.ResourceException: Could not determine mapping steps for message 1364b76e-ecbf-11e4-85f4-000023acfde6.
We are running PI 7.4.
Any help is appreciated.
Thanks,
PushpaHi,
Seems the Receiver Webservice is not reachable. Did you try to test it using SOAP UI tool.
1. Test a fresh message from local SOAP UI tool.
2. Pick 3rd party WSDL file and Import in SOAP UI tool.
3. Put some dummy data for mandatory fields
4. Trigger it msg and ckh if you get successful / response msg.
5. Check if firewall is open and that URL is not blocked.
Hope it helps
Regards,
Azhar -
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,
smithHi 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 -
Synchronous Proxy - SOAP Scenario (Error 500 in Response).
Hi
I've built a few Synchronous Proxy -> SOAP Scenarios,
with 'Do Not Use SOAP Envelope' option.
For two of them, I'm facing a common error.
The error is: ADAPTER.HTTP_EXCEPTION (HTTP 500 Internal Server Error).
When I paste the EXACTLY SAME payload picked up from XI, into the SOAP client, it works giving valid response.
Trying to figure out the issue.
R/3 System:
WAS 620 (Level 0041)
XI System:
PI 7.0 (Level 0007)
SOAP System:
BizRights (Approva) 3.0
Any help is appreciated.
Rajendra.Hi,
Following SAP notes may help you- 804124, 807000
Regards,
Moorthy -
Two Receiver DB in Synchronous Proxy to JDBC Scenario?
Hey,
Is it possible to develop a synchronous proxy to JDBC Scenario that have two different DBs as Receiver?
The response Datas are insert_count and update_count.
Thank.Park,
You can't have more than one receivers in Sychronous case. If you designed the scenario , then u will get the error as "TOO_MANY_RECEIVER CASE_BE".
-raj. -
Cant we use Synchronous RFC instead of Synchronous Proxy if we have to make a Synchronous interface which have RFC on the other side.
Please confirm if the below scenario is possible or not, provided that both the systems are ECC 6.0
Request: RFC 1----> XI -
> RFC 2
Response RFC 2 -
>xi -
> RFC1Kalyan,
Sure, We can use RFC
Cheers
Agasthuri Doss -
Regarding inbound synchronous proxy
Hii All,
Can anyone help me regarding inbound synchronous proxy (request-response scenario)
Regards,
RajHi Raj,
We declare flat structure like this :
wa_input like input-mt_get_notification-message_payload.
To move the data from proxy to work area :
move input-mt_get_notification-message_payload to wa_input.
Now ucan do your desired operation in a method passing it the input and receiveing the output from the method.
call method me->get_task_det_for_notif_no
exporting
p_input = wa_input
importing
p_output =
output-mt_notification_response-message_payload-sapresponse
Hope this will help.
Still you face any issue , please feel free to ask.
Regards ,
Vivek
Reward if Useful -
Developing AIF Inbound Synchronous Proxy interface
Hello! I'm trying to develop simple AIF Inbound Synchronous Proxy interface, but there is absolutely no information about it. Cookbook just covers async interfaces.
So, I just have Inbound sync ABAP-Proxy. I developed inbound AIF interface, entered the inbound proxy class. My interface is working, FM in Action is calling and works correctly.
But, I have two problems:
1) I don't understand, how should I get back a response to the Proxy?
2) I can't see a payload of my interface in AIF Monitoring.
SP level of AIF is 04.
Thank you in advance.1) I don't understand, how should I get back a response to the Proxy?
I really want to know how did you implement in you proxy class. In general, if you call /aif/cl_enabler_proxy=>process_message, this doesn't support your synchronous interface.
My idea is, in proxy class, you could call CALL FUNCTION '/AIF/FILE_PROCESS_DATA' to process your input request and add you own coding to get back a response or another function module /AIF/FILE_TRANSFORM_DATA to transform your own SAP data to your response data structure(This need you to define another outbound interface and mapping).
Brecht is right, this is similar to his outbound synchronous interface.
You could refer to function module /AIF/SEND_WITH_PROXY. This function module is designed to support synchronous outbound interface
2) I can't see a payload of my interface in AIF Monitoring.
If you want to see input and output structure in Error Handling, I think you need to use XML persistency engine to save your own payload and save this payload via class /aif/cl_persist_engine_xml method /aif/if_persistency_engine~update.
This also could be found in function module /AIF/SEND_WITH_PROXY for example.
Best Regards,
Eric. -
Disadvantage on synchronous proxy compared to asynchronous proxy
Hi friends,
Please tell me any disadvantage on Synchronous Proxy compared to asynchronous proxy.
My integration JDBC to PROXY and PROXY to JDBC. Inspite of using the proxy in syn mode i have used asyn proxy, now i have to give the proper answer y i have used asyn proxy, so please give me any drawbacks of syn proxy.
Thanks in advace
KarthikeyanHi Karthikeyan,
The main disadvantage of synchronous communication is for every request there should be corresponding response from the receiver, if for any reason receiver doesnt respond there will not be any further message processing. So, its better to go with asynchronous communication.
Thanks,
Bharath. -
Not able to debug server proxy
Hi All,
Iam doing File-Proxy scenario.
I set a break point in server proxy code.
But the breakpoint is not getting triggered.
Please help me in this regard.
Thanks.HI
If u need to debug the server proxy then just go through the below thread.
Debugging Inbound Proxy:
/people/stefan.grube/blog/2006/07/28/xi-debug-your-inbound-abap-proxy-implementation
Thnx
Chirag -
Synchronous Proxy to Synchronous JDBC scenario
Hi,
I have a scenario for a synchronous PROXY to a synchronous JDBC scenario. I have set 4 message types .
MT_PROXYOUT u2013 o/b synch with a response MT_PROXYIN
MT_JDBC - i/b synch with a response MT_JDBC_RESPONSE
I then set up an interface mapping for both the request and response message interfaces. The design looks good but I got stuck in the configuration part.
Since itu2019s a proxy sender, the sender agreement is not needed(Correct me if I am wrong). In the interface determination, there is provision for only the inbound interface which in case would be the JDBC (request/response) back to the proxy and the interface mapping is applied.
So do I need just one interface determination from the proxy as sender and jdbc as receiver and also one receiver determination again with the proxy as sender and the jdbc as receiver. I am confused here because when I try to create a receiver determination for the response back from JDBC to proxy receiver , the interface mapping comes blank. Is it taken in account by the single receiver determination in synchronous to synchronous scenarios??
TeresaHi Teressa,
Java Proxy to Synchronous JDBC scenario and SAP XI:
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a068cf2f-0401-0010-2aa9-f5ae4b2096f9
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f272165e-0401-0010-b4a1-e7eb8903501d
ABAP proxies-
Client proxy:
/people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy
Server Proxies
/people/siva.maranani/blog/2005/04/03/abap-server-proxies
Cheers
Sunil -
Hi
Can anyone tell me the steps for working on Synchronous ABAP Proxy.What are the design and configuration steps which i have to follow for the same.
Thanks
AbhishekHi,
Check below links for PROXY senarios.
Concepts and examples for Proxy, Abap Client Proxy and Abap server Proxy
Asyn Inbound java proxy
/people/prasad.ulagappan2/blog/2005/06/27/asynchronous-inbound-java-proxy
/people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy - ABAP Proxy to File
ABAP Proxy
How do you activate ABAP Proxies?
/people/vijaya.kumari2/blog/2006/01/26/how-do-you-activate-abap-proxies
ABAP Proxy Runtime
http://help.sap.com/saphelp_nw04/helpdata/en/02/265c3cf311070ae10000000a114084/frameset.htm
ABAP CLIENT PROXY
/people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy
ABAP SERVER PROXY
/people/siva.maranani/blog/2005/04/03/abap-server-proxies. [original link is broken]
To test a connection - /people/vijaya.kumari2/blog/2006/01/26/how-do-you-activate-abap-proxies
Client Proxy - /people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy
Server Proxy - /people/siva.maranani/blog/2005/04/03/abap-server-proxies
XI: Debug your inbound ABAP Proxy implementation
Testing proxy - /people/stefan.grube/blog/2006/07/28/xi-debug-your-inbound-abap-proxy-implementation
JAVA Proxies:
Asynchronous inbpund java Proxies
/people/prasad.ulagappan2/blog/2005/06/27/asynchronous-inbound-java-proxy
Proxy Generation- For ABAP and Java proxy, create a Message Interface and then generate a proxy for that message interface.
http://help.sap.com/saphelp_nw2004s/helpdata/en/86/58cd3b11571962e10000000a11402f/content.htm
More on Java Proxy-
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/7d4db211-0d01-0010-1e8e-9b07fc2113ab
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/a068cf2f-0401-0010-2aa9-f5ae4b2096f9
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/f272165e-0401-0010-b4a1-e7eb8903501d
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a068cf2f-0401-0010-2aa9-f5ae4b2096f9
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f272165e-0401-0010-b4a1-e7eb8903501d
ABAP Proxies:
Integration Builders through proxy server (Part - 2)
/people/sap.user72/blog/2005/12/13/integration-builders-through-proxy-server-part--2
/people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy
Regards,
Phani
Reward Points if Helpful -
Error in synchronous proxy to soap
Hi Experts,
I am doing synchronus proxy to synchronous soap
I am gettin the below error while i am testing.
java stack(RWB)
SOAP: response message contains an error XIAdapter/PARSING/ADAPTER.SOAP_EXCEPTION - soap fault: ErrorCode:104 - updatePerson operation failed: Failed to create context: [LDAP: error code 32 - No Such Object]
exception caught with cause com.sap.engine.interfaces.messaging.api.exception.MessagingException: SOAP: response message contains an error XIAdapter/PARSING/ADAPTER.SOAP_EXCEPTION -
- updatePerson operation failed: Failed to create context: [LDAP: error code 32 - No Such Object]
19.05.2011 05:30:58 Error Adapter Framework caught exception: SOAP: response message contains an error XIAdapter/PARSING/ADAPTER.SOAP_EXCEPTION - soap fault: ErrorCode:104 - updatePerson operation failed: Failed to create context: [LDAP: error code 32 - No Such Object]
Error Delivering the message to the application using connection SOAP_http://sap.com/xi/XI/System failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: SOAP: response message contains an error XIAdapter/PARSING/ADAPTER.SOAP_EXCEPTION - soap fault:
104 - updatePerson operation failed: Failed to create context: [LDAP: error code 32 - No Such Object]. Setting message to status failed.
ABAP STACK(MONI)
<SAP:AdditionalText>com.sap.engine.interfaces.messaging.api.exception.MessagingException: SOAP: response message contains an error XIAdapter/PARSING/ADAPTER.SOAP_EXCEPTION - soap fault: ErrorCode:104 - updatePerson operation failed: Failed to create context: [LDAP: error code 32 - No Such Object]</SAP:AdditionalText>
Kindly help the same
Edited by: eltonsaranya on May 19, 2011 8:56 AMErrorCode:104 - updatePerson operation failed: Failed to create context: LDAP: error code 32 - No Such Object</
It seems that you are trying to call an updatePerson operation through the WSDL and the call is failing at this stage.
Can you check if the request send by PI is correct in structure and that the WSDL is not facing any issue (check with the end system developer). -
Hi,
I have problem in ABAP Proxy. When i upload a XML and test the ABAP Proxy code it is working fine, but when i trigger the change from sender, its updating the wrong value in the database.
I checked the incoming and the converted XML, everything is correct and there is no prob in the XI.
Please tell me is there any way to debug the ABAP Proxy during the actual proccessing i,e. when the change is triggered from the sender.
Thanks and Regards,
ArunsriI've had the same problem before...everything seemed fine but the xml was not updating the desired values - you have 2 choices - 1. Enable the debugging, but if you have a high volume scenario, then it may cause some issues. Also, I am not sure if you plan to do this in production - as you know, debugging in production is a big No-No.
Option 2 is to just take the stream and store it as a file in the OS. This is what we followed and we were able to figure out the issue with the xml. Make sure you write it in such a way that you can turn it off immediately. In our case, it worked fine for all suppliers but one and this one supplier was sending a double spaced character in between, which was causing the issue.
Regards,
Srini -
Hi
How to debug the client proxy ?? this particular question is available on forum. But for that everybody replied with procedure for server proxy. All of them suggested the below links which are for server proxy. But atleast this time plz somebody explain me how we do debugging of client proxy ??
/people/stefan.grube/blog/2006/07/28/xi-debug-your-inbound-abap-proxy-implementation
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/3dfac358-0d01-0010-5598-d4900e81a30c
thanks
kumarHi,
1. is it an SAP proxy or customer dev ?
- if customer dev you just need to put a break point in your report
(or FM ) from which you invoke it... that's all
so it doesn't make sense to describe it
- if SAP proxy than you need to find the place
where SAP program calls send_asynchnous method
and put a break point before it and that's all
no special things to do just put a break point and you have client
proxy debugging
Regards,
michal
<a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>
Maybe you are looking for
-
"I don't get it..."
I thought I was doing something fairly simple. I want to capture a bunch of waveforms to a file on an RTOS unit. Start the capture based on an external input turning ON and stop when the same input turns OFF. The whole capture may last for up to 3 mi
-
Hello Everyone, I would like to have a discussion on the issues, which I am facing at the time of Exporting the Sales Price List and Purchase Price List for the Materials from SAP Business ByDesign (SAP Cloud). (1). Sales Price List : We have maintai
-
my imessage shows my old phone # and my iCloud email to send messages but my old # is blocked out so I can't delete or choose it , only lets me use my icloud for iMessages and it's driving me nuts!!
-
Howdy Y'all I have a client that needs a contract made up that can be emailed to clients for them to "fill in" and able to be saved to send back with all of the fields filled out. The original document was made in Word and I just exported it to a PDF
-
Writing binary files in block mode?
I am sampling two channels in continuous mode using labview basic version. I would like to take the two arrays of values as I am sampling them and write them out in block mode to a binary file. What's the best way to do that?