SOAP - Proxy Scenario
In my SOAP to Proxy scenario I have a proxy that will return "true" or "false" depending on the logic in my method. When I execute the proxy it returns the false value for cases that are false in SAP. The scenario does not return the "true" value when the logic is true in SAP. If I go into SAP and run the method, both the true and the false logic paths work and the method returns the correct value. If I hard code the variable in the method to "test" and execute the XI scenario it will return the word "test" for both cases, true and false. I have the same scenario in my XIQ system and it works fine.
So, what I have done...
I have flushed the cache, that did not work.
I have rebooted my XI system that has the problem.
I have compared my XI broken system with the one that is working and there are no differences.
Does anyone know how I can see what is truely being sent back to the SOAP side? Is there a way to debug the ABAP code from the XI / SOAP side?
Any help would be greatly appreciated.
Thanks
Skip Ford
Hi Ford
When you try with SAP its working right. Did you see that response in XI. If not then no need to touch XI.
Take the payload and try to debug the proxy. You will come to know if it really returns the true value or there is a data issue itself and no problem with XI and SAP.
Check in XI mapping as well. if the value from source is moving to target or not. If you make any changes or found problem do regenerate and activate proxy.
Thanks
Gaurav
Similar Messages
-
Alert in synchronous SOAP- PROXY scenario
Hi,
I am woking on a synchronous SOAP- PROXY scenario. The XI outbound interface has been exposed as web service which is invoked by .NET application to send the request. The inbound interface is ABAP proxy which is retrieving the data from R3 tables based on the selection criteria in request and sending back the same as response. Now it is required to send an alert to the specified recipient in case there is any application error on the receiver side.
Please help.Now it is required to send an alert to the specified recipient in case there is any application error on the receiver side.
Check this thread on similar topic....see my reply: Re: raising sap alert in case of "Application Error"
Regards,
Abhishek. -
SOAP- Proxy scenario, issue with WS adapter
Hi guys,
i've set up a soap->abap proxy scenario (on 7.1) and want to use the new WS adapter. unfortunately I'm facing some issues. The proxy has been generated properly and I also set it up in soamanager. I tested it from XML Spy and it works fine. So there shouldn't be any problem with it.
But when I try to run the scenario, I get following error:
WS_ADAPTER_SYS_ERROR
<sap:ExceptionChain xmlns:sap="http://www.sap.com/webas/710/soap/runtime/abap/fault/system/SystemFault"><sap:ChainedException><Exception_Name>CX_SOAP_FAILURE</Exception_Name><Exception_Text>SRT: Processing error in Internet Communication Framework: ("ICF Error when receiving the response: ICM_HTTP_CONNECTION_FAILED")</Exception_Text></sap:ChainedException><sap:ChainedException><Exception_Name>CX_SOAP_CORE</Exception_Name><Exception_Text>SRT: Processing error in Internet Communication Framework: ("ICF Error when receiving the response: ICM_HTTP_CONNECTION_FAILED")</Exception_Text></sap:ChainedException></sap:ExceptionChain>
System error while calling Web service adapter: <sap:ExceptionChain xmlns:sap="http://www.sap.com/webas/710/soap/runtime/abap/fault/system/SystemFault"><sap:ChainedException><Exception_Name>CX_SOAP_FAILURE</Exception_Name><Exception_Text>SRT: Processing error in Internet Communication Framework: ("ICF Error when processing Web service
I checked the /sap/xi/engine service on both - PI & ECC and it is activated.
Any hint, what could be wrong?
Thanks a lot,
OlianHi,
"ICM_HTTP_CONNECTION_FAILED" this error is relaed to ICM. Does your Type H connection "INTEGRATION_SERVER_HMI" works fine.And check integration engine configuration in SXMB_ADM.
And here is a similar thread.
Re: HTTP to Enterprise Services.
Regards,
Reyaz -
Acknowlegment in Client Proxy to SOAP Async Scenario
Hia,
We are working on ABAP Proxy --> SAP PI 7.1 --> SOAP (Asynchronous Scenario).
ECC -> PI -> Legacy CRM
I have few threads everyone is posting the following link:
http://help.sap.com/saphelp_nw04/helpdata/EN/f4/8620c6b58c422c960c53f3ed71b432/frameset.htm
but how to use in real time scenario is an issue?
Do we have write code in GET_ACKNOWLEDGMENT method while creating ABAP Proxy? I understood that the we can query an acknowledgment with the help of Message ID but how do we pass PI message id to this code?
Thanks a lot
Regardshey all!!
Please respond. -
SOAP to Proxy scenario communication error
Hi Friends,
Now i am developing SOAP to Proxy scenario, i am testing WSDL file using SOAP UI software and i am getting an error in SOAP UI tool.
<!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 {color : #0059AA;}
A:visited {color : #999999;}
A:active {color : #999999;}
</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> 403 Forbidden</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 NetWeaver Application Server </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>
<p><font face="Arial, Verdana, Helvetica" size="3" color="#000000"><b> Error: You are not authorized to view the requested resource.</b></font></p>
<p><font face="Arial, Verdana, Helvetica" size="2" color="#000000"><b> <a href="https://wiki.sdn.sap.com/wiki/x/wIN3Cw">SAP Technology Troubleshooting Guide</a></b></font></p>
<p><font face="Arial, Verdana, Helvetica" size="2" color="#000000"><table>
<tr>
<td valign="top"><b> Details:</b></td>
<td valign="top"><PRE>No details available.</PRE></td>
</tr>
</table></font></p>
</body>
</html>
I have tried with the same WSDL earlier it was working fine, now its not working and throwing the above error.
Kindly suggest me to overcome from this issue.
Regards,
Senthil.Hi Senthil,
Try with the authentication preemtive. Also, check your URL because that error seems that you are accessing to wrong PI section or your user has not the enough credentials, try with PIAPPLUSER or with the same roles that this user.
Regards. -
SET_PAYLOAD_FAILED error in SOAP to Proxy scenario
Hi PI Experts,
We have an inbound syncronus interface (Non sap system to SAP) using the SOAP to Proxy scenario.
When we test the interface using any soap tool like soapui it is working fine but when the interface is triggered end to end from source system then the below error is getting dispalyed on source system.
500 Internal Server Error
In XI below is the error message -
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
- <!-- Inbound Message
-->
- <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
<SAP:Category>XIProxy</SAP:Category>
<SAP:Code area="ABAP">SET_PAYLOAD_FAILED</SAP:Code>
<SAP:P1>IN</SAP:P1>
<SAP:P2>REQUEST</SAP:P2>
<SAP:P3 />
<SAP:P4 />
<SAP:AdditionalText />
<SAP:ApplicationFaultMessage namespace="" />
<SAP:Stack>Internal error when completing the message object (setting the payload, direction: IN message: REQUEST)</SAP:Stack>
<SAP:Retry>M</SAP:Retry>
</SAP:Error>
Can any please let me know what is the issue here?
Appreciate your help.
Regards,
JitenderWe had a similar issue with a Synchronous Interface
The interface worked perfectly when sending the request directly to the integration server, but when sending it using SOAP the issue appeared.
It was very tricky to solve it because we had similar interfaces that worked without any issues.
SOLUTION: Create a new Service interface with a new name different from the one failing. And make sure The Message Types are in the same namespace as the service interface.
Why?:
The issue turned out to be in the sender agreement, and name-spacing issues.
Our Outbound Service Interface belonged to one SWCV and ns, We will call it "ns1:SI_A_OUT".
In PI 7.3, and I believe 7.11 also, the you no longer assign a default interface in the to the SOAP communication channel sender agreement pair.
Therefore the SOAP adapter determines the soap method from the payload. If The internal message type in the soap message belong to different namespace, the the java method getMessage() does not find the correct XML node, therefore does not find the payload.
<"ns1:SI_A_OUT">
...<ns2:MT_element>
getMessage( ns1:MT_element)
We are not sure if the issue is the implementation of the SOAP protocol or in the WSDL generation. But this issues seem to create orphan object during runtime, and even if you re-implement the complete interface, the sender agreement seems to be corrupt.
Therefore the only was we could solve this, was to move our MT to the same namespace as the service interface and rename the interface "ns1:SI_A2_OUT"
Hope this helps someone.
Juan Francisco Zurita Duque
NNIT A/S -
No mapping logic : soap to proxy scenario
Hi,
I have a soap to proxy scneario with no mapping logic.wanted to confirm certain things.
Wanted to confirm certain things.
1) So i can exclude mapping and interface mapping step since i just need to pass value to proxy ?
2) in interface determination ,what i need to provide for interface mapping ?
3) sync proxy will be generated from one outbound message interface "( there will be only one outbound message interface which will be synchronous : which will be synchronous ?
4) in receiver business system , i need not put any message interface since we only have one outbound sync message interface
Thnxhow many message interfaces wil be needed for synchronous scneario without mapping ?
Two....one for Sender (Outbound) and one for receiver (Inbound)
in case ur answer is 2 for above ? proxy needs to be generated from outbound or inbound interface?
For your SOAP --> XI/ PI --> PROXY, scenario the proxy should be generated for the inbound interface
1) So i can exclude mapping and interface mapping step since i just need to pass value to proxy ?
If both the source and target structures are the same , then you do not need to perform mapping....do not create message and Interface mapping .....you should however create Interface Determination with appropriate Source and Target interfaces.
2) in interface determination ,what i need to provide for interface mapping ?
Nothing.....including a mapping is not mandatory.
4) in receiver business system , i need not put any message interface since we only have one outbound sync message
interface
The message interface needs to be associated with the Business System.....it will be the inbound interface for SOAP --> XI --> PROXY scenario.
Regards,
Abhishek. -
FTP to ABAP Proxy Scenario - getting error CO_TXT_CHANNEL_PASSWORD_ERROR
We have transported PI and EP data from development server to respective production, every thing is running fine except the abap proxy scenarios i.e. PI reads file from ftp location and calls the abap proxy but we are getting following errors:
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!-- Call Adapter
-->
<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="OUTBINDING">CO_TXT_CHANNEL_PASSWORD_ERROR</SAP:Code>
<SAP:P1 />
<SAP:P2 />
<SAP:P3 />
<SAP:P4 />
<SAP:AdditionalText />
<SAP:ApplicationFaultMessage namespace="" />
<SAP:Stack>Unable to read user password from communication channel of type Error when accessing the secure store (access ID = FD768D4A8772DB50E1000000AC10041E) Error while reading from the secure store: ERROR_UNKNOWN: Cannot find entry in secure store (SECSTORE,023)</SAP:Stack>
<SAP:Retry>M</SAP:Retry>
</SAP:Error>
Any solution?
Please note that I have searched and applied solutions given on SDN forums but didn't get any success. So I am looking for new suggestions.
Regards,
Jawed AliJawed ,
Please test the HTTP destination of your receiver comm channel.
Which is the RFC connection to your R3 system.
Transaction SM59 and check the logon parameter for the connection you are using.
Regards, -
Error in FILE 2 Proxy Scenario
Hi All,
I am doing File to Proxy Scenario i am getting following error
Could any one provide the solution for this.
*<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>*
*- <!-- Call Inbound Proxy*
-->
- <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
<SAP:Category>XIProxy</SAP:Category>
<SAP:Code area="ABAP">INTERFACE_REGISTRATION_ERROR</SAP:Code>
<SAP:P1>ifmmessif</SAP:P1>
<SAP:P2>MI_Emp_Sender</SAP:P2>
<SAP:P3>Namespace</SAP:P3>
<SAP:P4 />
<SAP:AdditionalText />
<SAP:ApplicationFaultMessage namespace="" />
<SAP:Stack>No implementing class registered for the interface (ABAP interface, request message MI_Emp_Sender, request message, namespace )</SAP:Stack>
<SAP:Retry>M</SAP:Retry>
Thanks in Advance
Mahesh
</SAP:Error>
Edited by: Mahesh Reddy on Jul 10, 2008 12:47 PMHi Mahesh,
1) Use SPROXY transaction.
Menu-> Proxy -> Activate All.
2) check in the interface determination if u are using correct
inbound interface.
3) If this if fine....try deleting all proxy objects of the interface
and create new.
Regards,
Praveen K -
Hi All,
I am doing File-to-ABAP Proxy Scenario, in the sender side side it is picking the file, but in sxmb_moni it is giving the error:
*<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>*
*- <!-- Call Adapter*
-->
- <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
<SAP:Category>XIProtocol</SAP:Category>
<SAP:Code area="MESSAGE">DUPLICATE_DETECTED</SAP:Code>
<SAP:P1>4CFF4691EEE211DC85E30019D1522982</SAP:P1>
<SAP:P2>CENTRAL</SAP:P2>
<SAP:P3 />
<SAP:P4 />
<SAP:AdditionalText />
<SAP:ApplicationFaultMessage namespace="" />
<SAP:Stack>Message ID 4CFF4691EEE211DC85E30019D1522982 already exists in called system (pipeline CENTRAL)</SAP:Stack>
<SAP:Retry>N</SAP:Retry>
</SAP:Error>
Can u plz tell me why this error is occurring and how we can resolve this error.
Thanks & Regards,
VikasHi Vikas
make a dummy change and activate your object then make a full refresh
you can make it through in 3 ways
1) tcode SXI_CACHE
2) go to ID -> environment and make a full cache refresh
3) http://<host>:5<sys#>00/CPACache/refresh?mode=full Full CPA cache refresh
when you do the developement then these are stored in ABAP data dictionary table which can be refreshed by delta cache
while full cache will delete this temporary object and make this cahe into runtime
hope this will help you
thanks
sandeep
if helpful reward points -
INTERNAL - AMF_ERROR in XML -- ABAP proxy scenario
Hi Experts,
Can any one help me to solve this following issue please, it is happening while I am executing the scenario between XML File to ABAP Proxy scenario.
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
- <!-- Call Adapter
-->
- <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="INTERNAL">AMF_ERROR</SAP:Code>
<SAP:P1>1</SAP:P1>
<SAP:P2 />
<SAP:P3 />
<SAP:P4 />
<SAP:AdditionalText />
<SAP:Stack>Error when processing message number 1 in package No object type found for the message. Check that the corresponding process is activated An exception has occurred.</SAP:Stack>
<SAP:Retry>M</SAP:Retry>
</SAP:Error>.
This XML message has got 5 Lines Header and more than 100 Lin Items, this kind of Header and Lin item message 3 to 4 in one XML, I am using multi mapping. Message mapping shows working fine, OM also shows working fine. BPM is splitting messages to send messages to ABAP Proxy on SNC 7.0. After I have done all with SDN experts support, still I am having the above issue. can any one experties might help to resolve this?
I will appreciate your support.
Thanks & Regards
SanCan you please explain the solution.
Regards,
Rashi -
HTMLError in sxmb_moni, Idoc to ABAP Proxy Scenario
Hi Friends
I am trying to send data from R3 to SCMTM system(SAP System), via Idoc to ABAP Proxy Scenario ,I am getting the following under HTMLError in sxmb_moni
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
- <!-- Call Adapter
-->
- <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="INTERNAL">CLIENT_RECEIVE_FAILED</SAP:Code>
<SAP:P1>400</SAP:P1>
<SAP:P2>ICM_HTTP_CONNECTION_FAILED</SAP:P2>
<SAP:P3>(See attachment HTMLError for details)</SAP:P3>
<SAP:P4 />
<SAP:AdditionalText />
<SAP:Stack>Error while receiving by HTTP (error code: 400, error text: ICM_HTTP_CONNECTION_FAILED) (See attachment HTMLError for details)</SAP:Stack>
<SAP:Retry>A</SAP:Retry>
</SAP:Error>
Any ideas will be helpful.Hi,
I faced similar problem. it was due to configuration problem in SXMB_ADM. corss check specific server confiration in SXMB_ADM.
/people/krishna.moorthyp/blog/2006/07/23/http-errors-in-xi
Regards,
Reyaz -
Configure ABAP Proxy scenario in PI7.3
Hello Experts,
Can someone please let me know if we have somewhere step by step procedure to configure an ABAP Proxy scenario in PI7.3, I couldn't find How-to guide related to this on SDN.
Thanks a lot.
Best Regards,
ShwetaI dont know abt your installation whether you have java stack alone or both java stack and abap stack.
AAE or local processing:
You can do using soap adapter as transport protocol and message protocol as XI for proxy. This way you can use local processing using AAE. I dont see documents in SDN as of now. But it is pretty simple. Just follow the steps what I mentioned.
Classical processing or abap engine:
Still the same as previous versions. -
SOAP-IDOC scenario- HTTP 500 error
Hi All,
We are working on SOAP- IDOC scenario.
We are getting a request from Sender which should come via Reverse Proxy server to PI.
We generated WebService on PI and the URL(X) is shared with Proxy team, wherein they mapped that URL (X)with other URL(Y). This URL (Y)is shared to sender and he is trying to send some requests now.But below is the error message.
[09/02/13 15:26:12] ID=app01 (trace) Delivered HTTP Direct outbound message, containing details...
Destination URL=https://XXXXXXXXXXXXXXXXXXXXXXXXXXXXX
User=ZZZZZZZ
Status Code=500
[req]Content-Length=7148
[req]X-HTTPS-ClientAuthCertificate=/AAAAAAAAAAAAAAAA
[req]X-HTTPS-ClientAuthCertificateForm=PKCS12
[req]Authorization=Basic RjRGSU5GWEQxMDA6c3luZ2VudGEx
[req]X-HTTPS-CACertificatePath=/BBBBBBBBBBBB
[req]X-HTTPS-PrivateKey=/CCCCCCCCCCCCCCCCC
[req]JMSReplyTo=sga.ws.test.response
[req]messageuniqueid=6d65d89f-ffff-ffc0-00ee-3aa7032c3299
[req]adpnextmlemarkersequence=3
[req]X-HTTPS-PrivateKeyPassword=ZZZZZ[maid
[req]Content-Type=text/plain
[resp]content-type=text/xml; charset=utf-8
[resp]set-cookie=saplb_*=(SERVERNAME)226695750; version=1; path=/
[resp]set-cookie=saplb_*=(SERVERNAME)226695750; version=1; path=/
Any ClueHi,
Check this
HTTP 500
o Internal error in J2EE
o Check SAP Note 807000 - Http requests are not fully read
after timeout
Regards,
Sreenivas -
Hi Experts,
I am working on File To Proxy Scenario. I am getting the below Error: The Messages in SXMB_MONI are going to AUtomatically Restart Status. I see some Queues with RETRY Status in SMQ2. When i am testing from SPROXY, the Table is Updated with the Corresponding Values. But when i place the file in the ftp folder then i am getting this error.
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
- <!--
Call Adapter
-->
- <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="INTERNAL">CLIENT_SEND_FAILED</SAP:Code>
<SAP:P1>500</SAP:P1>
<SAP:P2>Internal Server Error</SAP:P2>
<SAP:P3>(See attachment HTMLError for details)</SAP:P3>
<SAP:P4 />
<SAP:AdditionalText />
<SAP:Stack>Error while sending by HTTP (error code: 500, error text: Internal Server Error) (See attachment HTMLError for details)</SAP:Stack>
<SAP:Retry>A</SAP:Retry>
</SAP:Error>
Please check and do the needful .
Regards,
GIRIDHARHi Giridhar,
The problem is with connection. Please check the below discussion
HTTP returns status is 500(Internal Server Error)
Problem in ABAP proxy........ | SCN
regards,
Harish
Maybe you are looking for
-
HELP: Apps Downloaded Under Expired Email Can't Be Updated on IPAD
My wife's MobilMe address has expired. She also had an older MacBook that couldn't update ITunes to the ICloud. So, she purchased a new MacBook and changed her email to a .mac account in ITunes. Here's the problem: When she tries to update apps on
-
I only edit videos every few months and the last time I edited a video was around 6-9 months ago. At that time, I noticed AME was only using a single core of the CPU and contacted Adobe who instructed me to disable core parking, which worked. After
-
I updated my itunes and lost my entire library. I found it again as a .xml file How do I take this file and get it to look like my library used to? (I am dumb with computers and need step by step instructions) Thanks!
-
Retrieve deleted messages in SXI_MONITOR
I'm trying to access some old messages from sxi_monitor. i have the message ID for reference. i saw the message in the SXMSPHIST table in se16 but with a REORG status of DEL. Is there a way to retrieve this message to view the audit log? Thank you. I
-
Hi guys, Does anyone has a sample on flash remoting inside director 2004 mx? Thanks. Kind Regards Jun Canonigo