How to catch the response of external system
Hi i have a scenario like to send a request and get the response
If we use invocation type as realtime for outbound message type in external system then we can add both request xsl and also response xsl
but if we use invocation type as xai for outbound message type ,where can we add the response xsl file
how to convert the raw response
plz help me.
shanker,
We are currently developing Outbound Messages at my client. This stuff is new to me and unfortunately, the documentation does not go into a lot of detail, but I'll give you an explanation of how I understand the differences in the response processing for XAI & Outbound Messages.
If you define the Outbound Message with a processing method of 'Real-time', XAI will send the request and it expects an immediate response. It keeps the connection open until it receives the response. There is even a Context parameter you can set how long you wish to wait for a response before it times out. So unlike XAI which is asynchronous, this processing method 'appears' to be synchronous, because the request waits for a response and when it is received, will update the Outbound Message with the response. And since you expect a response, CC&B allow you to define a response XSL on the External System / Outbound Message Type configuration.
What is still unclear to me is the setting of HTTP Transport Method in the Context Tab. Possible values are 'send' and 'sendReceive'. How is the different values affect XAI & Real-time messages?
Any comments are welcome.
Andries
Similar Messages
-
How to reset the response status and response header
Dear Masters
Actually we are using NTLM Authentication process to get the system login id for our web application. The problem which I am getting is after running the NTLM Authentication Code I am not able to call the action class. It is telling 400 Server error bad request. I am using Struts Dispatch Action Class. In Dispatch Action I will be passing a name (eg. method) as a parameter in struts-config.xml file and using that parameter I will be calling the respective method in the Action class. The problem which I am facing is after running the authentication code I am not able to fire the action class. It is telling the error in the console as "parameter named method is not found". Actually in NTLM Authentication code they are setiing the response status to www-authenticate,NTLM. If I reset the response status back to the normal form I think i will be able to fire the action class. Please give me a suggestion on how to reset the response status and response header back to the normal form. Any solution to this is appreciated. Please respond your reply as soon as possible. Thanks in advance.
Regards
RameshHi,
I think, a servlet filter is what you need. Please check the following URLs on how to go about creating a filter.
http://dev2dev.bea.com/pub/a/2005/05/decorators.html
http://www.onjava.com/pub/a/onjava/2003/11/19/filters.html
http://www.onjava.com/pub/a/onjava/2004/03/03/filters.html?page=1
Cheers,
vidyut -
How to catch the error occurred in Integration Process, and then save it?
1. how to catch the error occurred in Integration Process, and then save the detailed error message to the file?
2. there are fault message type for inbound message interface, how to use the fault message type in IR?
Thanks,
Michael
Message was edited by: Spring Tang
inital
Message was edited by: Spring Tang
detailed message output
Message was edited by: Spring Tang
fault message typeHi Spring,
If u give an exception step along with your Transformation Step, whenever some error occurs in your message mapping, this exception block wil be triggered.
You can configure your exception block to do all exception processing that you want. This exception handling is like any other java Exceptio n Handler. You can do anything that you want in your exception handler block on the basis of your requirements.
<i>If an exception is triggered at runtime, the system first searches for the relevant exception handler in surrounding blocks. If it does not find the correct exception handler, it continues the search in the next block in the block hierarchy.
When the system finds the correct system handler, it stops all active steps in the block in which the exception handler is defined and then continues processing in the exception handler branch. Once the exception handler has finished processing, the process is continued after the block.
If the system fails to find an exception handler, it terminates the integration process with an error.</i>
Regards,
Bhavesh -
How to catch the user defined exception in application service
Hi All,
How to catch the user defined exception in application service when it is throwed by the external service..
Regards,
Thirumurugan.Hi,
Thanks for your reply,
Actually I am calling validate Login method of External service from the application service. When the login fails, my external service will throw user defined Exception.I want to catch the user defined Exception.
But in the application service , validate Login method can catch only Invocation Exception and Engine Exception.
These two exception are present in the Application service remote interface.
public com.sap.comptest.extsrv.accrjavawsvi__document.output.
Ns1_validateLoginResponse validateLogin(com.sap.comptest.extsrv.accrjavawsvi__document.input.Ns1_validateLogin input) throws com.sap.caf.mp.base.exception.InvocationException, com.sap.caf.mp.base.exception.EngineException;
User defined exception is not present there. When i include the webservice as external service in CAF, it suppossed to generate the java file for the custom exception of validate Login method and this generated file should be included in the application service remote interface..
public com.sap.comptest.extsrv.accrjavawsvi__document.output.
Ns1_validateLoginResponse validateLogin(com.sap.comptest.extsrv.accrjavawsvi__document.input.Ns1_validateLogin input) throws com.sap.caf.mp.base.exception.InvocationException, com.sap.caf.mp.base.exception.EngineException,
(generated file name of user defined Excpetion.
Then only validate login method of application service can catch the user defined Exception which is thrown by the external service.
regards,
Thirumurugan.p -
How To Display the directories of a System.
How To Display the directories of a System.
Hmm I think you need to be more specific. Do you mean like this:
File f = new File("c:/");
File[] fs = f.list();That lists all the files in that folder, then you can use the method isDirectory to check it. Mind you, you would have to go though every folder. -
How to take the data from sage system to sap r/3
hi expects,
how to take the data from sage system to sap r/3? which adapter is to be used?what is the format of data in sage system?how the scenarios will work ? please help me in solving this problem?hi rohit,
the data transfer can be done by using SOAP adapter
do chk this link
http://www.sage.org/lists/sage-members-archive/2001/msg01718.html
http://www.sage.org/lists/sage-members-archive/2001/msg01739.html
thanx
Sampath -
How to change the language of administrator system message in outlook
I wonder where is the option which changes the language of the text
related
to : Your mailbox is over its size limit send by the system
administrator ?
Some mailboxes get this message in French and other in
English ?
Is anyone can help me ?
I work with French Outlook 2003 sp2 and
English Exchange server 2000 sp3
I try to change the regional setting on the
server but nothing has changed.
Thanks,Hi,
Please refer to this duplicate thread below:
http://social.technet.microsoft.com/Forums/en-US/5afe1e1a-82a9-445f-bcce-a76173ceb6bb/how-to-change-the-language-of-administrator-system-message-in-outlook?forum=outlook
Regards,
Melon Chen
TechNet Community Support
It's recommended to download and install
Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
programs. -
How to catch the value in sum(control break statement).
hi,
can any one tell me how to catch the value in sum in control break satament.
ex.
at end of brtwr.
sum.
endat.
I need to print the value in sum only.
I tried to declare a varaible of type i and assigned sum to this variable.
it is giving syntax error that sum is not identified.
How should i do this.
regards.Hi Siva,
In control break statement when we use SUM. it added all the amount fields and stores its in the work area of that field.
look below code.
DATA : BEGIN OF itab OCCURS 0,
name(10),
num TYPE i,
END OF itab.
DATA : num TYPE i .
itab-name = 'salman'.
itab-num = 100.
APPEND itab.
itab-name = 'salman'.
itab-num = 200.
APPEND itab.
itab-name = 'akshay'.
itab-num = 500.
APPEND itab.
LOOP AT itab.
AT END OF name.
SUM.
WRITE : / itab-num.
ENDAT.
ENDLOOP.
here the SUM value is stored in Workarea,
the output will be 300 & 500.
regards
Kumar M -
How to change the response of human task if we are using the skip rule
Hi,
We have developed the request workflow in OIM11g for this we are using the Beneficiary Manager approval composite to approve the request by his manager.
We are using the skip rule in the human task component to skip the user if the requester is beneficiary manager.
After the skip rule is executing the the request is going to failed state because of the response it is sending to the OIM
The skip rule is working as expected but the response sending to OIM is COMPLETED instead of APPROVE.
Please let us know the steps to change the response to Approve after the skip rule is executed or how to add the response COMPLETED in OIM.
ThanksYou will have to write a conditional block outisde the task where you would check if the skip condition is met and if yes then you will have to hard code the approved conditions into the payload for the task outcome.
<assign name="SetAutoApproveConditions">
<copy>
<from expression="string('APPROVE')"/>
<to variable="ApprovalTask_1_globalVariable"
part="payload"
query="/task:task/task:systemAttributes/task:outcome"/>
</copy>
<copy>
<from expression="string('COMPLETED')"/>
<to variable="ApprovalTask_1_globalVariable"
part="payload"
query="/task:task/task:systemAttributes/task:state"/>
</copy>
</assign>HTH,
BB -
How to find the Version of CRM system
Hi All,
I have to install CRM system and I dont have any other information other than the EWA Report, Can any one let me know how to find the Version of CRM system and we dont have Java installed in it (Generally we check WEBCUIF but as we dont have Java I cannot see the Package). Can I go with the CRMUIF ?? .
I have Pasted the information of Support Package Maintenance, that is available in EWA Report.
BBPCRM
600
4
13
SAP BBPCRM Server
CRMUIF
600
4
17
SAPK-60004INCRMUIF
SAP CRM User Interface Framework
PI_BASIS
2005_1_700
16
26
SAP R/3 Basis Plug-In
SAP_ABA
700
16
29
SAP Application Basis
SAP_AP
700
13
29
SAP_BASIS
700
16
29
SAP Basis Component
SAP_BW
700
18
31
SAP Business Information Warehouse
ST-A/PI
01P_700
0
SAPKITAB7I
SAP Service Tools for Applications Plug-In
ST-PI
2008_1_700
6
8
SAP Solution Tools Plug-In
Please let me Know. Thanks in Advance.
VijayHi,
Logically your Status bar should show that.
Login to gui. --> system -> Status
and then you should see the crm version in your Component version.
SAP CRM ABAP 6.0
You should go with
BBPCRM
600
Thanks
Rishi abrol -
How to active the transformations in production system
HI
How to active the transformations in production system when Time stamp error occured in SAP BI.
In SAP BW we use RS_TRANSTRU_ACTIVATE_ALL for tranfer rules activation.Is there any chance Activation allowes in production system witout any ABAP programme running.Hi Gkreddy,
There is a specific program for that: RSDG_TRFN_ACTIVATE. It will also re-activate the related DTPs.
Please check the following SAP Notes:
#1408161 - Program for transformation activation.
#1471117 - SP25:RSDG_TRFN_ACTIVATE skips if M version has OBJSTAT 'INA'.
BR -
How to check the BW and BIA systems are up and working fine.
Hi friends,
how to check the BW and BIA systems are up and working fine. And also what is ICM, how to check whether it is working properly or not.
ANd what is name resolution and IP , how to check whether this is running fine.
regards, balu.Hi,
you can use process monitoring or the alert function in the standalone TREXAdmin tool.
ICM:
http://help.sap.com/saphelp_nw04/helpdata/EN/0a/a7903febb15a7be10000000a11405a/content.htm
name resolution
http://en.wikipedia.org/wiki/Domain_Name_System
IP:
http://en.wikipedia.org/wiki/IP
Please also have a look at the transactions TREXADMIN and RSDDBIAMON2.
I think it´s better if you use the forum search and google/wikipedia before you ask such questions.
Best Regards,
Jens -
How to improve the response speed
Dear Consultants,
In BI 7.0 EP Environment, displaying 40000 detailed records wasted 3 minutes, this speed is slowly.
How to improve the response speed ?
Please give me some proposals and methods to solve this question.
Thanks a lot & Best Regards
RickyHello,
3min. is not so bad for 40000 rows of data. Firstly you can analyze where the time spent is it olap or DB. you can use RSRT for analysis.
Then,
1. Create aggregates
2. Use caching and precalculation
3. check 'Use Selection of Structure Elements' from properties of query in RSRT
4. Remove unnecessary calculations from query
5. remove unnecessary rows. try to make them free characteristics.
6. If there is unused data in infocube, you can archive this data.
regards, -
How to catch the ApplicationStart event??
how to catch the application start event??
i want to do some actions (Java code) that will be run once when the application started
this like ApplicationStart event in ASP.NET
how ???Google for javax.servlet.ServletContextListener. You need to write a class that implements this interface and register it in web.xml.
Please ask questions like this in the JDeveloper or OC4J forum since they are not related to JHeadstart.
Steven Davelaar,
JHeadstart Team. -
How to Catch the state of the Entity Object
I have Location Entity object. With JClient I am testing it.
I want to insert the data,
due to validations (wrong data) insert fails.
Then I am correcting data, still to another view object it is passing old data.
After correcting the data when I try to click commit it is not executing the code from getEntityState = STATUS_NEW
Can someone also please let me know how to catch the state of the entity
ThanksHi Juli,
I am totally new to using Jdeveloper and I need ur humble help letting me know how to access an Entity object for invoking the insert, update and delete statements. It would be great if u can provide me with some error-free sample code.
Waiting for some help from U.
Maybe you are looking for
-
Not able to get the records in PAYR
Hi, I created one payment method as K for Bank Transfers. I done necessary settings like assign payment medium program, house bank, bank accounts also. in f110 it is working fine but i am not able to these payment information in PAYR table. guide me
-
Producer-Consumer example: why is this wrong?
Hi, i wrote the following, which i know, that it is wrong. However, i cannot explain why. public class Buffer private int num; //state: true-isFull, false-isEmpty; private boolean state; public Buffer() this.state=false;
-
Is it better to encode a FLV before uploading to Youtube?
Does Youtube apply additional compression to a FLV even after it was obviously encoded in Flash as a FLV? If so, what is the best format to start with when uploading to Youtube, or what is the best way to prepare a FLV before uploading? Thanks!
-
yet another challange. Everytime I print in pages it will spit out a second blank page. It says "page 1 of 1" but it always, when done with the print, kick out another sheet of blank paper. weird
-
Sort photos with newest on top?
Can't seem to find any way to sort photos in "newest on top" order. Is there a way?