Abstract asynchronous message interface for fault (exception) messages
Hi,
Has anyone yet discovered how to create an abstract asynchronous message interface for a fault message so that said message can be referenced in an Integration Process? I am currently at a loss as to how to reference the exception message returned by a synchronous RFC call, and how to return the fault message of a synchronous MI from a BPM.
Thanks for any help you can provide on this issue - please do not refer me to existing blogs or forum messages if they do not specifically answer this question in a positive manner. I have just been through the SAP Notes and the SDN forum and Google and while I have seen many questions about this topic I have not seen any answers.
Stephen
hi stephen,
never worked on this but out ofcuriosity after seeing ur question i tried to create one:
but i found these:
fault message types will only be used in case of synchronous messages.....if it is asynchronous the fault message type radio button it self will not seen while creating message interface..just check.
you need to create a Fault message type to use it in an interface...u can add your own fields also if u want.
in your present case you mentioned you are using synchronous RFC...try creating a synchronous abstract interface there you can give fault message type also...just check by creating one...
correct me if i am wrong...
regards.
Similar Messages
-
Do we need to create message interfaces for idocs and rfcs thatare imported
do we need to create message interfaces for idocs and rfcs thatare imported
from sap server
in scenarios from sap system to file or vice versa
i knew that we need not create message types
do we also skip creating message interfaceshi,
you create an abstract message interface for IDOC only if you want to use
them in a BPM (integration process)
for more about IDOCs have a look at my book:
<a href="/people/michal.krawczyk2/blog/2006/10/11/xi-new-book-mastering-idoc-business-scenarios-with-sap-xi"><b>Mastering IDoc Business Scenarios with SAP XI</b></a>
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> -
Using one Message Interface for all mappings
Hi Folks,
I am using a BPM in which i m getting a file from file system which have system ID in it.
I am having three send Synchronous step following that.
What i need is to use the Message interface for file to be used for receiver determination based on system id in case of Synchronous interfaces.
DO i need to include this File msg. interface in each mapping, if i do so will it be possible to send req. and get response for synchronous call.
OR is there any way to to use the file msg. interface for each mapping.
we are on SP17,I also tried Extended mapping but i am having SYNCHRONOUS send steps.
Plz help me out
SachinBhavesh
<i>1. You receiver a file in your BPM . This has a field called SYSTEM ID?
2. On the basis of the System ID field you need to determine the Receiver to which the Synchronous Request message has to be sent?</i>
Sorry for that...because I was confused with jai's ans.. that's why said like that
<b>You are absolutely correct</b>
This is what i want to do.
i can't use switch step here. my BPM looks like this
RecFile->sync send->transformation1->transformation2->sync send2->transformation3->BLOCK
in BLOCK
Sync Send3->transformation4 and so on...
I am using three different Sync ABS Interface for each Sync send steps.
In receiver determination i want to get the data from respective R/3 system based on system ID i.e. logical system in File MI.
Say if it T90CLNT90 then get data from BS_SAPR3_4.6 else from BS_4.7
Sachin
Message was edited by:
Sachin Dhingra -
Usage of Abstract Message Interface for non-BPM
Hi,
I have a message that I am using as both as an inbound and an outbound for 2 different mapping. I am not using BPM. Is it better to create 2 message interfacesone for outbound and one for inboundor should I just create 1 abstract message interface that can be used in both mappings? What are the advantages and disadvantages of using 2 message interfaces (1 inbound and 1 outbound) against 1 abstract message interface? Would using abstract cause a lot of problems or performance problems in the future?
Thanks in advance.
Regards,
Elberthi,
abstract messages are only used for BPMs
so I suggest creating 2 instead if you don's use a BPM
http://help.sap.com/saphelp_nw2004s/helpdata/en/e3/3355d5617d0a4cb0fe8e042c752caa/content.htm
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> -
CcBPM - How to use 1 Message Interface for 2 different Business System
Hi,
I have this bpm scenario below :
JDBC QUERY (ASYN) ---> RFC (SYNC) -
> JDBC INSERT (ASYN) -
> MAIL (ASYN).
So Both JDBC INSERT and MAIL using the same data input from RFC response for instance i will named as MI_RFC_RES_ASYN_ABS. I have problem to configure in the integration directory, how make the xi smart enough to routing in the correct business system.
JDBC -
> BS_JDBC and MAIL -
> BS_MAIL base on the send step in BPM because the interface is the same.
Cheers
FernandHi,
If you want to send the same mesg to diff systems and also need to have the control on seq,
then define 2 diff abstract interfaces for messages going out of BPM (with same message type so that structure is same).
One will be used to define send step for JDBC and other for BPM.
Define 2 send steps in BPM one for JDBC and other for mail using these abstract interfaces.
Now you will have 2 receiver determinations.
Since recr is determined based on sender system interface name and name space,
system name ( BPM ) and name space will be same for both the messages going out of BPM.
for JDBC abstract interface BS_JDBC will be recvr.
and for Mail abstract interface BS_MAIL will be your receiver.
hope it answers your qn.
Regards
Pushkar -
Message Interface for HTTP to JDBC synchronous scenario
Hi Experts,
Could you please explain the Message Interface from the below blog. Actually, I am confused with the Outbound Interface. Is it correct?
/people/siva.maranani/blog/2005/09/16/xi-how-to-on-jdbc-receiver-response
1. LoginData_Sync_OUT_MI
Input Message : Role_MT
Output Message : LoginData_MT
2. LoginData_DB_Sync_IN_MI
Input Message : LoginData_DB_DT
Output Message : Dummy_DT
Regards
SaraHi All,
Here is my Interface mapping's problem details.
Scenario : I have to pass EmpId as a request from webservice to JDBC, If we have the EmpId address in the JDBC then we have to return the address of the employee as a response to Webservice.
Please find the below datatype, message type and etc., which I have used it for the scenario.
1. Data Types:
a) DT_REQUEST ( Webservice to XI request)
1. EmpId
b) DT_JDBC_REQUEST ( XI to JDBC request)
1. EmpId ,2. EmpName, 3. Company,4. AddressLine1
5. AddressLine2,6. City,7. State
c) DT_JDBC_RESPONSE (JDBC to XI response)
1. EmpId ,2. EmpName, 3. Company,4. AddressLine1
5. AddressLine2,6. City,7. State
d) DT_RESPONSE (XI to Webservice response)
1. EmpId ,2. EmpName, 3. Company,4. AddressLine1
5. AddressLine2,6. City,7. State
2. Message Type created according to the Data Type.
3. Message Interface:
a) MI_Outbound
<b>Output Message :</b> MT_REQUEST
<b>Input Message :</b> MT_JDBC_RESPONSE
b) MI_Inbound
Input Message : MT_JDBC_REQUEST
Output Message : MT_RESPONSE
4. Message Mapping:
a) MM_REQUEST[EmpId mapping]
Source Message : MT_ REQUEST
Target Message : MT_JDBC_REQUEST
b) MM_RESPONSE [Mapping for all the fields]
<b>Source Message : MT_JDBC_RESPONSE
Target Message : MT_RESPONSE</b>
5. Interface Mapping
IM_WEB_DB
Source Interface : MI_Outbound
Target Interface : MI_Inbound
Request :
Source Message : MT_REQUEST
Target Message : MT_JDBC_REQUEST
Response :
<b>Source Message : MT_RESPONSE
Target Message : MT_JDBC_RESPONSE</b>
Here the source Message should be MT_JDBC_RESPONSE and the Target Message should be MT_RESPONSE. But when I tried to create the Interface Mapping I am getting the above bolded Response Messages automatically populated by XI.
Actually, I have followed Siva's blog to do this scenario. Finally confused with the Interface Mapping's response messages. So, please help me out with this scenario steps.
Regards
Sara -
I am not viewing message interface for sender service in sender agreement
Hi Experts,
Right now we have one interface setup in XI for sending the data to three customers using BPMs.
Now i want to add to one more customer in to current xi setup and send the data.
so i have created all the types like message type, message interface and interface mapping.
Already i have scenario in ID i have created Comm channles.
so when i create sender agreement i am unable to find message Interface which i have created in IR for sender business service.
I have not created new scenario but using the same scenario.
Kindly help me out from this.
Appreciate for your response.
Thanks,
BhaskerHi,
Make sure to add the inbound and outbound message interfaces in the Business Service so that they will be available in Sender Agreement.
Hope this helps.
Thanks and Regards,
Kalpesh -
Generate Message Interface for SOAP Adapter
Hi All,
I want to implement a scenario like this:
ABAP System -> RFC Adapter -> XI -> SOAP Adapter -> Web Service
Currently the WSDL of the web service is known. It is http://www.abysal.com/soap/AbysalEmail.wsdl
How can I generate the inbound message interface in XI according to the WSDL?
Thanks
Jerome
Message was edited by: Jerome Zhao
Message was edited by: Jerome ZhaoHi Jerome,
Import the WSDL as an external definition and then you can create a inbound Message interface based on that external definition.
Regards,
Sridhar -
Message signature for NTLMv2 Authentication message
Hi,
I'm implementing NTLMv2 support for SMBv2 and I have encountered some problems calculating the correct checksum for the authentication message.
Authentication packet:
4E 54 4C 4D 53 53 50 00 03 00 00 00 18 00 18 00 AE 00 00 00 42 01 42 01 C6 00 00 00 1E 00 1E 00 58 00 00 00 1A 00 1A 00 76 00 00 00 1E 00 1E 00 90 00 00 00 10 00 10 00 08 02 00 00 15 82 88 E2 06 01 B1 1D 00 00 00 0F 57 7C 17 17 5E DF 25 D8 8C 06 8D E6 75 5F
62 65 57 00 49 00 4E 00 2D 00 34 00 37 00 50 00 30 00 39 00 4E 00 51 00 42 00 4B 00 49 00 38 00 41 00 64 00 6D 00 69 00 6E 00 69 00 73 00 74 00 72 00 61 00 74 00 6F 00 72 00 57 00 49 00 4E 00 2D 00 51 00 32 00 33 00 49 00 36 00 4F 00 34 00 55 00 55 00 44 00
53 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 67 E7 1D 8A 39 CC A0 52 A7 01 51 02 E9 5A DF 7B 01 01 00 00 00 00 00 00 7F D2 02 FD 80 6C D0 01 2A 01 01 16 D7 E9 11 F7 00 00 00 00 02 00 1E 00 57 00 49 00 4E 00 2D 00 34 00 37 00
50 00 30 00 39 00 4E 00 51 00 42 00 4B 00 49 00 38 00 01 00 1E 00 57 00 49 00 4E 00 2D 00 34 00 37 00 50 00 30 00 39 00 4E 00 51 00 42 00 4B 00 49 00 38 00 04 00 1E 00 57 00 49 00 4E 00 2D 00 34 00 37 00 50 00 30 00 39 00 4E 00 51 00 42 00 4B 00 49 00 38 00
03 00 1E 00 57 00 49 00 4E 00 2D 00 34 00 37 00 50 00 30 00 39 00 4E 00 51 00 42 00 4B 00 49 00 38 00 07 00 08 00 7F D2 02 FD 80 6C D0 01 06 00 04 00 02 00 00 00 08 00 30 00 30 00 00 00 00 00 00 00 00 00 00 00 00 30 00 00 20 28 45 5A F8 71 0C F9 CC 5A EB A1
F5 FB C3 17 49 CE 76 FF 1B 32 31 4D 52 E7 0E D8 B0 BA C5 F9 0A 00 10 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 09 00 22 00 63 00 69 00 66 00 73 00 2F 00 31 00 39 00 32 00 2E 00 31 00 36 00 38 00 2E 00 31 00 2E 00 31 00 31 00 00 00 00 00 00 00 00 00
00 00 00 00 03 AC 9B EA 78 DD DF 49 BB D8 2D 66 0C 4F 22 61
By offline testing of packets I was able to get
ExportedSessionKey: 945d257f88b6be1a4b201748e3f134c5
and from there calculate the correct MIC (based on the negotiation,challenge and authentication messages).
But now when I am trying to calculate the checksum for the message signature I can't get this right.
The SignKey equals to md5(concat(ExportedSessionKey,"session key to client-to-server signing key magic constant")):
2643d035ac56345368b321df5059f9b0
The SealKey equals to md5(concat(ExportedSessionKey,"session key to client-to-server sealing key magic constant"))
dbb66166a80c4be9b876a6f4ec1dd3a5
and the sequence number is: 0
I'm using this function to calculate the checksum:
rc4(sealKey,hmac_md5(SignKey,concat(Sequence Number,message) ) ) [0 .. 7] = 0790d273a21186ce
That's an incorrect checksum, the real checksum should have been: 524102bf5e86c109 (captured from the packet).
These are the negotiation flags of this session that are set:
NegotiateUnicode,RequestTarget,NegotiateSign,NegotiateNTLM,NegotiateAlwaysSign,NegotiateNTLM2,
NegotiateTargetInfo,NegotiateVersion,Negotiate128,NegotiateKeyExch,Negotiate56
The only thing I wasn't sure about is if I need to calculate the checksum from the message with Z(16) instead of the mic or with the real calculated mic. Nevertheless I don't get the checksum on both ways.
I've also added the packets from the relevant session.
https://www.dropbox.com/s/eepcpmim3rj2zkd/ntlm.cap?dl=0
Thanks in advance!Hi Guy:
The details for how to calculate a MechListMIC are described in RFC 4178 (http://www.rfc-editor.org/rfc/rfc4178.txt) section 5(a).
Any details specific to Windows are described in MS-SPNG (https://msdn.microsoft.com/en-us/library/cc247021.aspx) documents.
I will give you an example here how the client calculates MechListMIC in case of NTLM.
For this example, I used an actual SMB2 session set up exchange. If you need the network trace that I used, please send an email to dochelp at microsoft dot com to my attention referencing this thread.
server challenge: 0x91, 0xA7, 0xB5, 0xA0, 0x93, 0xD1, 0x28, 0x73
Password: Password01!
client's MechTypes from first session set up message : 30 0C 06 0A 2B 06 01 04 01 82 37 02 02 0A
Security blob from the session set up command that contains the authenticate message:
A1 82 01 CD 30 82 01 C9 A0 03 0A 01 01 A2 82 01
AC 04 82 01 A8 4E 54 4C 4D 53 53 50 00 03 00 00
00 18 00 18 00 86 00 00 00 FA 00 FA 00 9E 00 00
00 0C 00 0C 00 58 00 00 00 06 00 06 00 64 00 00
00 1C 00 1C 00 6A 00 00 00 10 00 10 00 98 01 00
00 15 82 88 E2 06 03 80 25 00 00 00 0F 82 C4 C5
F7 7B 08 49 FD A2 87 0E A3 05 EC 77 AB 66 00 6F
00 72 00 4D 00 44 00 4D 00 61 00 62 00 63 00 4D
00 49 00 4E 00 49 00 4E 00 54 00 2D 00 36 00 37
00 31 00 30 00 38 00 46 00 4B 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 30 0B A0 EF 0B 39 38 45 54 E6 ED 4F B4
FD 6D B6 01 01 00 00 00 00 00 00 72 23 6C 58 68
6D D0 01 B5 FF F2 9D 10 1B 35 60 00 00 00 00 02
00 0C 00 46 00 4F 00 52 00 4D 00 44 00 4D 00 01
00 0C 00 46 00 4F 00 52 00 4D 00 44 00 4D 00 04
00 0C 00 66 00 6F 00 72 00 4D 00 44 00 4D 00 03
00 0C 00 66 00 6F 00 72 00 4D 00 44 00 4D 00 07
00 08 00 72 23 6C 58 68 6D D0 01 06 00 04 00 02
00 00 00 08 00 30 00 30 00 00 00 00 00 00 00 01
00 00 00 00 20 00 00 15 7C 95 BD E7 02 DE 3B C9
8D F1 46 91 04 AC 4D 16 61 03 F1 BF 42 77 85 B2
82 B7 83 2E CB 1E 3F 0A 00 10 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 09 00 22 00 63
00 69 00 66 00 73 00 2F 00 31 00 39 00 32 00 2E
00 31 00 36 00 38 00 2E 00 31 00 2E 00 34 00 30
00 00 00 00 00 00 00 00 00 00 00 00 00 8E 07 9F
C9 F1 50 97 65 F3 BD A8 C1 32 8A 52 56 A3 12 04
10 01 00 00 00 3B 1F D5 E0 2D 97 5F 97 00 00 00
00
My calculation are from servers perspective. Everything server needs to verify client's MechListMIC
is in the security blob and what is not in blob is already with the server (password, server challenge and client's MechTypes sent in an earlier message).
The KeyExchangeKey is NTLMv2 session base whose calculation is described in MS-NLMP (https://msdn.microsoft.com/en-us/library/cc236621.aspx) section "3.3.2 NTLM v2 Authentication"
KeyExchangeKey (NTLMv2 session base key)=ad6e6c75872afd2178533d2ebb8ad9ad
Using KeyExchangeKey to RC4 decrypt the Encrypted Random Session key, we get
Random Session Key: c7 9a 31 b6 8d b6 4e 3f 84 66 be a3 b2 22 3b c1
Using Random session key above and description in MS-NLMP, we calculate the signing and sealing keys.
Server Signing Key: 69 cb 53 69 d5 18 75 04 dc 7e 61 03 33 10 53 e9
Server Seal Key: 35 4e c9 d1 86 2d 4f a5 98 25 87 c4 b5 35 f2 33
Client Signing Key: a2 b2 1a ed a9 ec d3 f1 3d ff c3 3d e0 1b 59 30
Client Seal Key: 1e bb c6 f3 65 5b dc 13 b3 5b e4 e2 24 eb 71 e2
Now using the client signing and sealing keys, we proceed to calculate the NTLM signature of client's MechTypes as described in MS-NLMP section "3.4.4.2 With Extended Session Security":
Message number is 00 00 00 00
MechList with 0000 concatenated:
00 00 00 00 30 0c 06 0a 2b 06 01 04 01 82 37 02 02 0a
HMAC_MD5 of the above using client signing key (first 8 bytes): 28 d5 e1 57 a4 d4 58 24
checksum (RC4 encrypting the above using Client Sealing key): 3b 1f d5 e0 2d 97 5f 97
MechListMIC by appending version and sequence: 01 00 00 00 3b 1f d5 e0 2d 97 5f 97 00 00 00 00
As you can see this matches with what client sent.
Please let me know if it does not answer your question.
Regards, Obaid Farooqi -
Delegation of BP/Message processor for service desk message?
Dear All,
How do you i perform the delegation of service desk messages in solution manager ?
Message processor will assign the messages to some other person before he/she goes on leave but what will happen to the newly assigned messages? (Processor is auto determined)
Is there any process thorough which message processor will assign substiute for a particular period ?
(like we normally do in R3 for processing workitems)
I tried to search the forum with the substitute or delegation word but was unable find the relevant thread. So posting a new thread.
Best regards,
Vinod.Hi digesh,
Service desk and incident management are the same
Yes it is an old functionality and even was working earlier than workcenter
if ur workcenter is not workign no issues just goto BP for the person and then click tab relationships
now choose is replaced by and then bp for the new person who is replacing.
and similarly check or maintain REPLACES old person BP in the relationship tab of bp of the new person.
This is the idea and crux of ur solution which uses BP Relationship functionality
Hope ur prb is solved completely now
Regards
Prakhar -
Possible to use a message bridge for access to message copies?
I'd like to be able to consume copies of messages that go across a queue so that they can be validated during testing.
I've been unable to find any mechanisms for authenticated message monitoring which exists in other JMS brokers such as TIBCO EMS and so I'm going down the route of seeing whether a message bridge could help me. My thinking is that I can bridge from QueueA onto TopicA - where the message stays on QueueA and a copy is sent to Topic A which can be safely consumed by the testing tool
First question - is this a workable solution, ie does the message sent to QueueA stay on QueueA until is is consumed normally, or is the message forwarded to the bridged TopicA thus removing the original message?
Second question - I've tried to get a bridge working but encounter an error when trying to use it. The monitoring tab shows the bridge is up OK but I get the exception below in the admin console
<11-Oct-2010 13:55:12 o'clock BST> <Warning> <MessagingBridge> <BEA-200026> <Bridge "Bridge-0" encountered some problems in one of its adapters or underlying systems. It stopped transferring messages and will try to reconnect to the adapters shortly. (The exception caught was javax.resource.ResourceException: Error sending message.)>
Any help and advice appreciated
StuartOne approach is to use a topic; producers send to the topic and both of your application consumer and your auditing consumer consume from the topic. If you have multiple application consumers, you could have a bridge to forward the messages from the topic to a queue and your applications consumers can consume from the queue, while your auditing consumer consumes from the topic.
There is a message life cycle logging capability in WLS JMS, which may be helpful. It can be enabled on a per destination basis. It logs an event in a file when a message is produced, consumed, removed, expired and etc. However the message body is not available in the log. The details can be found at
http://download.oracle.com/docs/cd/E14571_01/web.1111/e13738/troubleshoot.htm#i1128815 -
Message Tracking for Outgoing TLS messages
I would like to monitor outgoing messages to a certain domain that we
use the TLS protocol. I have looked at the message log, and can find
each message for that domain, but it does not show anything regarding
the protocol used. Is there any way to configure the log to show this?
Any help would be appreciated. BarbaraBarbara,
It appears that in the past few days you have not received a response to your
posting. That concerns us, and has triggered this automated reply.
Has your problem been resolved? If not, you might try one of the following options:
- Visit http://support.novell.com and search the knowledgebase and/or check all
the other self support options and support programs available.
- You could also try posting your message again. Make sure it is posted in the
correct newsgroup. (http://support.novell.com/forums)
Be sure to read the forum FAQ about what to expect in the way of responses:
http://support.novell.com/forums/faq_general.html
If this is a reply to a duplicate posting, please ignore and accept our apologies
and rest assured we will issue a stern reprimand to our posting bot.
Good luck!
Your Novell Product Support Forums Team
http://support.novell.com/forums/ -
ALE-IDoc : Outbound message control for MIRO,IDoc message type for INVOIC
Dear Experts,
I am using the IDoc message type INVOIC. For that i have created the new output type. Then i assinged the the Program RSNASTED and form routine ALE_PROCESSING.
But when i am saving the transaction in MIRO i am getting the Update Error like VN 056: Processing log for program RSNASTED
Please help me to rectify this problemHi Dharmendiran,
We also have the same requirement to send status acconf messages on Inbound INVOIC idoc posting..
Can you let me know how you went about creating new output type..did you mean new output type in NACE for application MR?
Thanks. -
Message editor for compsoing mail messages
Is there a way to make Pages '08 or MS Word an editor when composing messages in Mail? (Such as we find in Outlook, option to use MS Word as an editor?)
Thanks much.no, no such option in Mail. you can compose your message in Pages or word and then append the result as an attachment to a Mail message but that's it.
-
Apple for the SMS message receiver for receiving a message that we ensure our message has been sent
Thank you Answer
Would you like to try that again. I don't understand what your question is.
Maybe you are looking for
-
Hi, I'm facing a little issue to calculate a distinct count of number of clients in SSAS OLAP Cube. The difficulty appears for the credited client's accounts, in other words, for the clients how have credit (quantity = -1) or for the clients how have
-
Delete a database option is not available in DBCA
Hello, I have HP-UX 11v3. I have installed Oracle Standard Edition 10.2.0.1 and after that I installed 10.2.0.4 Patch Set. I configured two databases using DBCA. At the end I save scripts (not create database) and run script from shell. The databases
-
Charge using AC/DC adapter?
I have a new 30 GB video IPOD. I travel a lot and want to be able to charge while in transit. I bought a car adapter today specifically for IPOD. i can use the car adapter both in auto and on some aircraft. My question: I have an old AC/DC adapter an
-
hello i am trying to get solaris 10 live update working, done a install from x86 dvd. when i run the live update tool i get an error message: ERROR Setup Not Installed i chose default for all the settings on install any ideas?
-
Windows guest accounts and lauching Adobe Reader
Can't get Adobe Reader 10+ to run/launch in a guest account. Windows 7. Is this normal?