Ignore DTD reference in message monitoring (SXMB_MONI)
Hi All,
My Inbound Message (to be delivered to the target system) needs to have DTD reference as the target system mandates it.
In the mapping I have added the DTD Reference (<!DOCTYPE .../>).
Although the target system is happy ,massage monitoring is complaining that the DTD is missing when I want to display the XML message.This is a support issue as the inbound XML message is not diaplayed in SXMB_MONI.
Is there any way to work around it - Configuration or putting the DTDs somewhere in XI server.
Thanks in Advance,
Bikram
Rather than add the DTD reference in a message mapping, you could try add it in a Java module attached to the receiver/outbound module-chain of your target communication channel. This way the DTD line would not get added until after the message has left the integration server.
Check out the following guide:
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/02706f11-0d01-0010-e5ae-ac25e74c4c81
Let me know how you get on.
(+ please assign me some forum points if you found this useful).
Thanks,
Paul Digance.
Similar Messages
-
Make DocumentBuilder.parse ignore DTD references
Thanks to everyone in advance -
So this issue looks to be pretty popular, I have found a few solutions, but nothing seems to stop the downloading of dtd files, for instance ones sitting up on w3.org.
Here are some of the solutions i have found:
http://stackoverflow.com/questions/155101/make-documentbuilder-parse-ignore-dtd-references
http://forums.sun.com/thread.jspa?threadID=284209&forumID=34
When I use this solution:
myDocumentBuilder.setEntityResolver(new EntityResolver() {
public InputSource resolveEntity(java.lang.String publicId, java.lang.String systemId)
throws SAXException, java.io.IOException
if (publicId.equals("--myDTDpublicID--"))
// this deactivates the open office DTD
return new InputSource(new ByteArrayInputStream("<?xml version='1.0' encoding='UTF-8'?>".getBytes()));
else return null;
});it still continues to download the dtd.
Any suggestions?
Thanks,
SamMyDocumentBuilder.setEntityResolver(
new EntityResolver() {
public InputSource resolveEntity(java.lang.String publicId, java.lang.String systemId) throws SAXException, java.io.IOException {
if(true){
throw new IOException(publicId +"|"+ systemId);
return null ;
);Good eye - It looks like that IOException is never being called - any suggestions?
Thanks,
Sam -
I have an asynchronous scenario of HTTP-> XI -> RFC. In my RFC function application errors may occur. I defined fault message type in my asychron inbound interface corresponding to exceptions of my RFC function.I tried to raise exception in my RFC function in following way:
message e001(CJ) with msg1_hlp raising UPDATE_NOT_POSSIBLE.
But I could not get fault message displayed in XI message monitor (SXMB_MONI).
Could somebody tell me what is the easiest way to show error messages in my case?
As far as I understand either I need to use BPM, or I need to use ABAP server proxy for raising exceptions. Must I use ABAP Proxy instead of RFC function? Then I may need to generate a ABAP Proxy to use as a wrapper for my RFC function, correct?
Thanks,
HongboHi,
Have you checked this blog, It will help,
<a href="/people/shabarish.vijayakumar/blog/2006/11/02/fault-message-types--a-demo-part-1">Fault Message Types - A Demo</a>
Regards
Bhavesh -
JDBC to JDBC error in receiver but success in message monitoring
Hi,
I got some doubt about message monitoring (SXMB_MONI), I have JDBC (DB2) to JDBC (Oracle) scenario. The message monitoring always show me success eventhough it has error when inserting to the target system (Oracle).
I am only can trace use Communication Channel Monitoring to known that my transaction actually failed.
Is there any workaround to this problem
Thank you and Best Regards
FernandHi Raj,
The connection lost could be one of the possibility problem.
Can i use this scenario
Sender (JDBC, ansynchronous) -
> Receiver (JDBC, Synchronous), without BPM and then i still can see the message error whenever failed to insert into target system and restart the message.
or i have to use BPM for bridge between ansynchronous ---> synchronous mode.
Regards -
System Error in Message Monitoring while it shows checked flag in SXMB_MONI
Hia,
We are working on ABAP Proxy --> SAP PI 7.1 --> SOAP (Asynchronous Scenario).
(ECC -> PI -> Legacy CRM)
I have following queries:
1. While sending messge across to Legacy system, we can see CHECKED flag in SXMB_MONI but there is System Error in Message Monitoring. When checked legacy system is unable to receive any message. Cannot understand the issue.
2. Is there any way to check in PI system whether the message has reached Legacy System other than making scneario synchronous?
RegardsSystem is getting connected and able to send asynchronous messages to legacy system. But getting following error while sending synchronous error:
2010-05-10 13:15:05 Information Delivering to channel: CC_SOAP_SOReject_Out
2010-05-10 13:15:05 Information SOAP: request message entering the adapter with user J2EE_GUEST
2010-05-10 13:15:05 Information SOAP: completed the processing
2010-05-10 13:15:05 Information SOAP: continuing to response message f33caa90-5c07-11df-c659-96d147c2ff0f
2010-05-10 13:15:05 Error SOAP: response message contains an error XIAdapter/PARSING/ADAPTER.SOAP_EXCEPTION - soap fault: Server was unable to process request. ---> Object reference not set to an instance of an object.
2010-05-10 13:15:05 Error Adapter Framework caught exception: SOAP: response message contains an error XIAdapter/PARSING/ADAPTER.SOAP_EXCEPTION - soap fault: Server was unable to process request. ---> Object reference not set to an instance of an object.
2010-05-10 13:15:05 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: Server was unable to process request. ---> Object reference not set to an instance of an object.. Setting message to status failed.
2010-05-10 13:15:06 Error The message status was set to FAIL.
I have already checked Data Structure and it is fine.
Regards
In this scenarios we are using XSLT mapping using CDATA.
Please suggest solution. -
SOAP to RFC : Message visible in Message Monitoring , but not in SXMB_MONI
Hi Experts,
I'm doing a SOAP to BAPI scenario. The interface is a SYNCHRONOUS one . I'm using XML SPY as the soap client to test the interface. Even though i don't have the test for the BAPI after sending an empty request message i'm able to receive an empty response from the BAPI. I'm also able to see the message send in message monitoring .
But when i go inside SXMB_MONI its acting in a strange way . I'm not able to see the any of the messages. Any ideas??
Thanks & Regards,
Rahul.Hi Rahul,
Synchronous messages are not persisted on the Integration server unless logging is switched on in SXMB_ADM Tcode(Specific Configuration->RUNTIME(Category)->LOGGING_SYNC(Parameters)).
That's the reason you couldn't find SYNCHRONOUS message in SXMB_MONI.
Thanks,
Jag -
Payload different in SXMB_MONI and Message Monitoring
Hi All,
I am facing a problem. My message Payload in SXMB_MONI (after mapping) is different from what i got from Message Monitoring tab of RWB. In the message monitoring some entries are missing from my actual payload.
Payload from SXMB_MONI contains 300 entries
payload from Message monitoring contains 250 entries.
I am not using any module processor. Any pointer on "Why message payload got changed in RWB. ??
Thanks
AjayHi Nallam,
The structure is simple like 300 nodes for items after mapping and these are to be inserted in to SAP tables using RFC. But in the Adapter engine enteries found were 250.
The same message when sent again worked fine but we have to find the root cause of the error.
Thanks
Ajay -
False Monitoring Message in SXMB_MONI
Dear All,
We are working on a simple File-XI-File scenario. The reciever communication channel is inactive and the file is not getting created at the required destination.
It is giving an error message in Adapter Monitoring but its showing a success message in SXMB_MONI.
I am really surprised seeing this.
I am using XI 3.0 with SP-15. Please tell me what might be the probllem in the scenario or in the server as i am getting a success message in SXMB_MONI.
Warm Regards,
N.JainHi,
>>
when the receiver communication channel is inactive and the file has not got created at the target end then how it can show a success flag in SXMB_MONI?
It is showing success in sxmb_moni because in sxmb_moni ,you can monitor only the ABAP part of the pipeline. Whereas, if you goto message monitoring in RWB, you will find some error like "Waiting". also the adapter monitoring tracks the error as you see it
>>If I am doing Content Conversion at the receiver file adapter with some wrong parameters, it is showing error in the Adapter Monitoring (Red Status of Comm Channel) wheras it is showing a success message in SXMB_MONI.
Again, the concept remains the same. Errors related to the CC are not of a concern to SXMB_moni. At sxmb_moni, it shows the status of the message processed only until the message has been taken from the Outbound Queue. hence, you see success message in sxmb_moni
regards
krishna -
I'm trying to load an existing XML document that specifies the DTD as a relative reference:
<!DOCTYPE Overlay SYSTEM "overlay.dtd" >
When I have the DTD in the same directory as the XML file things work, when it's not there it fails with a file not found exception as expected:
java.io.FileNotFoundException: C:\...\overlay.dtd (The system cannot find the file specified)
However it still fails with that even when validation is disabled.
Is there any way to have the parser completely ignore the DTD reference?I'd suggest you shouldn't be putting those DTD references in your XML if they aren't going to be used. However perhaps you could write your own EntityResolver that catches references to that DTD and replaces them with a reference to some other DTD... maybe a trivial one that does no validation.
-
XI Message Monitoring - Mapping custom fields for search in monitor?
Is it possible to map a reference field so that searching for a specific message is more user friendly?
For example, we produce hundreds of outbound SHPMNT04 messages each day. Would it be possible to map a field such as E1EDT20.TKNUM (Shipment Number) to a field in the monitor (SXMB_MONI) such as "Outbound Reference" so we can easily search on this field?
Currently we use a combination of WE09 and IDX5 to find a specific message. Obviously, this is cumbersome and time-consuming.
Thanks in advance.Hi,
of course it is possible in many ways
there are at least two ways
the first one is to use Trex search for xi + standard
the second one is described in this weblog + but remember that
without indexing this will take long to search like this
/people/alessandro.guarneri/blog/2006/02/14/super-message-monitor-for-sap-xi
Regards,
michal -
How to delete the error message in the Web page Message Monitoring
Hi All:
I'd like to ask a question.If there is error message in the T-code sxmb_moni->Monitor for Processed XML Messages,I can cancel the error message manually and archive the message. After that,I can delete the message from "Monitor for Processed XML Messages".
But after those operation,I find in the web page " Message Monitoring", there are still messages in the "Messages from Component Integration Server and/or Adapter Engine".
How can I delete those message both successful and error.
Thanks All
ElliottHi Elliot,
SXMB_ADM
Integration Engine Configuration
Specific Configuration
Category: DELETION
Parameters: PERSIST_DURATION, PERSIST_DURATION_ERROR
Subparameters: SYNC, ASYNC
Change "Current Value".
and execute your delete job again!
Regards,
Udo -
Messages on Holding at Message Monitoring under Runtime Workbench
Hello Colleagues,
we have currently the problem that a lot of messages for some interfaces are in status Holding under Message Monitoring at Runtime Workbench for PI 7.1.
I'm not able to resend the messages with status Holding as well as change status to cancel.
Quality of Service for the Interfaces are Exactly Once in Order.
I assume an error message blocks the queue and due to the fact we have Exactly Once in Order configured all following messages be in status Holding.
Is my assumption right?
But, I am not abel to find any messages in status error with blocks the queue!
How can I solve that issue?
Many thanks in advance!
JochenI assume an error message blocks the queue and due to the fact we have Exactly Once in Order
configured all following messages be in status Holding.
AE should have least number of EOIO messages at a given instance...otherwise Holding is what you get.....and holding is common with EOIO....so see if you can chagne the QoS of some messages to EO
But, I am not abel to find any messages in status error with blocks the queue!
Never you will get an error in SXMB_MONI....or the queue blocked....
When your message goes out of IE...the corresposding message entry is marked with chequered flag...observe in MONI you will see this....however in AE the message can fail if not able to send to the target system....
For some more understanding refer my answer in this thread:
Re: Restarting Error's in SXMB_MONI
Regards,
Abhishek. -
Hi guys,
Have anyone configured Delta Message Monitor and Total Message Monitor in BPM?
I have followed document "Interface Monitoring with SAP Solution Manager Release ST 400, STSER
700_2008_2 and STA/PI 01L.
In spite of the fact I do have errors in PI trx. SXMB_MONI, BPM appears as everything ok. All the filters are correct and alert configuration was sucessfully generated.
Any tips?
Thanks,
RenatoJust as feedback: The only way it worked properly was implementing ST-SER 701_2008_2 SAPKITLOQ4.
In other words, we implemented EhP1 in our Solution Manager,
Renato -
In Message Monitoring Message showing holding status
Hi
Can anyone solve this problem.Its urgent for me.
My scenario is IDoc->XI->FILE
The file i am trying to generate is an xml file which i am dropping in XI application server using File system.
The problem is when i am going to see the message using transaction SXMB_MONI the perticular message interface is showing waiting for acknowladgement status .
But in message monitoring in runtime workbench the it is showing following status:
Adapter Engine
<b>Holding</b>
18.11.2005 05:42:09
CORP_SAP_DR2_030 http://limited.com/usa/sap_appl/retail/VendorsSAPAPOToMANU
MIIA_Create
BS_MANU
I am in SP14.
Also the output xml file is not getting created in the XI application server.
Please let me know the solution.
Thanks
Debraj RoyHi Debraj
HOLDING is a status which occurs normally for EOIO (Exactly Once In Order), so your message is set to Holding means some earlier message has not gone through. So until those messages are through this message will be in HOLDING state.
Have a look at this link which explains how to handle such scenarios.
http://help.sap.com/saphelp_nw04/helpdata/en/49/e3fb40ef74f823e10000000a155106/content.htm
cheers
Sameer
Assign points if it helped you -
In Message Monitoring Message showing Error:Message
Hi
Can anyone solve this problem.Its urgent for me.
My scenario is IDoc->XI->FILE
The file i am trying to generate is an xml file which i am dropping in XI application server using File system.
The problem is when i am going to see the message using transaction SXMB_MONI the perticular message interface is showing waiting for acknowladgement status .
But in message monitoring in runtime workbench the it is showing following status:
Adapter Engine
<b>Holding</b>
18.11.2005 05:42:09
CORP_SAP_DR2_030 http://limited.com/usa/sap_appl/retail/VendorsSAPAPOToMANU
MIIA_Create
BS_MANU
I am in SP14.
Also the output xml file is not getting created in the XI application server.
Please let me know the solution.
Thanks
Debraj Royhi debraj..
is ur mesage ie sxmb_moni in red staus or scheduled status...??
if in scheduled cud be errors with queues ...delete ur queues with tcodes : smq1 and smq2...
and also hopefully u must have configured ur idoc correctly..
https://websmp101.sap-ag.de/~form/sapnet?_SHORTKEY=01200252310000071155&_SCENARIO=01100035870000000202
regards..
vishal
Maybe you are looking for
-
How do I stop InDesign from trying to connect with a server?
I have a huge problem, either with InDesign or Apple I am not sure. Basically when I bring my computer home from work every time I open InDesing it tries to connect to a server and I get this error message: the server XXX.local may not exist or is un
-
Is it possible to export of the stage of a Flex application in vector format?
Is it possible to export of the stage of a Flex application in vector format? Right now our only option is to render our graphs to a (large, off-screen) bitmap and export that bitmap, which is a real shame because every component in Wondergraphs is 1
-
Problem with audio configuration after upgrading to iTunes 7.5
After being forced to upgrade to iTunes 7.5 (when downloaded a new song form the Music Store), an error message is displayed when I launch the application, "ITunes cannot run becuase it has detected a problem with your audio configuration". The appli
-
Payment differecne posting on vendor clearing document
Hello, Kindly let me know wehre is the payment difference accoutn and positng key configugured, my document is showing wrong postings to the cash discount expnse account instead of booking it to the vendor account itself 1 000001 50
-
Block List ALV Output Send As Email Attachment
Hi, All The ABAP Gurus, I have made a block ALV Report. I want that this output should be converted into .xls with HTML format and this should be send in email as attachment. This all will be made in a background job which will be scheduled daily. H