Problem Dequeueing JMS_TEXT_MESSAGE payload
I am writing a .net app to dequeue messages using ODP.net 11g Release 2 (11.1.0.7.20). The payload type is SYS.AQ$_JMS_TEXT_MESSAGE.
When I make the dequeue call (DEQUEUE or DEQUEUEARRAY) I am get the following error:
ORA-25215: user_data type and queue type do not match
Which message type (RAW, XML or UDT) should be used for SYS.AQ$_JMS_TEXT_MESSAGE?
Below is the script that creates the queue table and queue:
SYS.DBMS_AQADM.CREATE_QUEUE_TABLE
QUEUE_TABLE => 'EEGADMIN.EEG_TOPIC_TAB'
,QUEUE_PAYLOAD_TYPE => 'SYS.AQ$_JMS_TEXT_MESSAGE'
,COMPATIBLE => '10.0.0'
,STORAGE_CLAUSE => '
TABLESPACE DDRP_DATA
PCTUSED 0
PCTFREE 10
INITRANS 1
MAXTRANS 255
STORAGE (
INITIAL 64K
MINEXTENTS 1
MAXEXTENTS UNLIMITED
PCTINCREASE 0
BUFFER_POOL DEFAULT
,SORT_LIST => 'ENQ_TIME'
,MULTIPLE_CONSUMERS => TRUE
,MESSAGE_GROUPING => 0
,COMMENT => 'Keep eeg events in XML format'
,SECURE => FALSE
SYS.DBMS_AQADM.CREATE_QUEUE
QUEUE_NAME => 'EEGADMIN.EEG_TXT_TOPIC'
,QUEUE_TABLE => 'EEGADMIN.EEG_TOPIC_TAB'
,QUEUE_TYPE => SYS.DBMS_AQADM.NORMAL_QUEUE
,MAX_RETRIES => 2147483647
,RETRY_DELAY => 0
,RETENTION_TIME => 86400
,COMMENT => 'EEG event topic'
Any help would be greatly appreciated.
Ski...Thank you for the assistance! That did the trick. Once I created the .Net class and set the UdtTypeName I was dequeueing fine.
Unfortunately, I now have one more issue. The MessageId is now null for the messages dequeued. I say "now", because previously I was dequeueing with a third party library (dotConnect for Oracle by Devart) and the MessageId was populated on the messages dequeued. According to the ODP for .NET Developers Guide,
"Dequeued buffered messages have a null value for MessageId".
But, I have verified that the queue is persistant and I am setting the message delivery mode to persistent in my code. I know the ids are in the queue and are returned with the third party library. I realize you can't speak to the third party library. I reference it here to demonstrate that the id's are there. Since the third party library basically wraps the Oracle DBMS_AQ.Dequeue() as I would imagine ODP does as well, that would seem to imply that the queue is persistent and the Dequeue is returning the ids and that I am missing something on my side. Am I missing something else?
Thanks again.
Similar Messages
-
Problem dequeueing even with sys privilege - DEQUEUE ANY
On one database instance we are seeing this; Connected user has DEQUEUE ANY sys privileges;
However, a dequeue fails saying insufficient privileges; This works on other database instances?
Any ideas? This is with database - (10.2.0.3.0 - 64bit Production)
Thanks
Vijay
SQL> select * from USER_SYS_PRIVS;
USERNAME PRIVILEGE ADM
PUBLIC DEQUEUE ANY QUEUE NO
PUBLIC ENQUEUE ANY QUEUE NO
PUBLIC DEBUG CONNECT SESSION NO
PUBLIC DEBUG ANY PROCEDURE NO
PUBLIC SELECT ANY DICTIONARY NO
6 rows selected.
SQL> DECLARE
2 dOpt dbms_aq.DEQUEUE_OPTIONS_T;
3 mprop dbms_aq.message_properties_t;
4 deq_msgid RAW(16);
5 payLoadData MyPayload;
6 BEGIN
7
8 dOpt.wait := 1;
9
10
11 dbms_aq.dequeue(
12 queue_name => 'MyQueue',
13 dequeue_options => dOpt,
14 message_properties => mprop,
15 payload => payLoadData,
16 msgid => deq_msgid);
17
18 END;
19 /
DECLARE
ERROR at line 1:
ORA-01031: insufficient privileges
ORA-06512: at "SYS.DBMS_AQ", line 335
ORA-06512: at line 11
SQL>Thanks for the comment;
I don't think this is a design flaw; Design is such that queues are owned by a separate
schema user; Our install/upgrade architecture requires that the DDL be executed by
a separate user. This prevents me from granting object level privileges on the queues
because they have to be granted as the owner of the queue; I get around that by
granting "DEQUEUE ANY QUEUE" sys privilege which can be granted by a non
queue object owner (by SYS or DBA).
See this related topic.
Granting queue privileges as a DBA user to queues not owned by DBA
Also, if this was a design flaw, then why would it work on other database instances?
The fact that I am granting "DEQUEUE ANY QUEUE" to PUBLIC should be sufficient for
any database user to dequeue the message. -
Problem regarding the Payloads in IDOC to file scenario
Hi All
My scenario is IDoc to file where I use to get 5 IDocu2019s (in it there will be 10 segments) at a time and in one IDoc there will be only 9 segments, and that IDoc (with 9 segments) must be the last payload (I.e. file) at the target side (i.e. IDocu2019s with 10 segments must be at the first and the IDoc with 9 segments must be at last in the target payload).
Thanks in advanceHi,
as the thread is marked as question you should not forget to ask something
Regards,
Udo -
XMLType payload fails with oci8 driver when doing getStringVal
I have a queue with an XMLType payload (I'm using 9.2). When I try to do a getStringVal() or getClobVal() on the dequeued XMLTYpe payload it works fine with the thin driver but when I switch to oci8 I get the following -
ORA-21608: duration is invalid for this function
I have to use the oci8 driver so anyone have any idea what the problem might be.
ThanksWell, in the first example, TABLE2 was created, but not TABLE1. So why would I need to grant create table?
Also, it is a policy decision not to give the users DDL rights, all DDL work should be done with ADMIN1.
/Stefan -
Some of the messages aren't dequeued using JMS/AQ
Hi.
I am having strange problems dequeuing messages from an Oracle9i Release 2 database. I have a trigger that sends a message everytime a table is updated. When I have SQL worksheet and update the table through a SQL statement then I only recieve about 50-70% of the events. When I use Oracle Enterprise Manager Console I can see the rest of the messages are lying in the queue as 'READY'.
I need this to be VERY reliable so if anyone have any ideas I would really appreciate it. I used PL/SQL in the DB because of the speed increase but maybe a Java Stored Procedure will work better? I have included the code in question below.
Best regards
Christer Nordvik
JAVA code
//get a DB connection to use with JMS
dbconn = prevision.database.DBPool.getConnection();
//try to estabilish a connection to the JMS server to recieve alarm updates
tconn = AQjmsTopicConnectionFactory.createTopicConnection(dbconn);
/* Create a Topic Session */
tsess = (AQjmsSession)tconn.createTopicSession(true, Session.DUPS_OK_ACKNOWLEDGE);
tconn.start();
topic = ((AQjmsSession)tsess).getTopic("TS",strTopic) ;
tsub1 = tsess.createDurableSubscriber(topic, "T");//unique id
while (!done)
//waits forever
logger.debug("Waiting for alarms...");
dtxtmsg = (TextMessage)(tsub1.receive());
//found a message
logger.debug("Recieved alarm " + dtxtmsg.getText());
PL/SQL code
AS
BEGIN
DECLARE
Enqueue_options DBMS_AQ.enqueue_options_t;
Message_properties DBMS_AQ.message_properties_t;
Message_handle RAW(16);
User_prop_array SYS.AQ$_JMS_USERPROPARRAY;
Agent SYS.AQ$_AGENT;
Header SYS.AQ$_JMS_HEADER;
Message SYS.AQ$_JMS_TEXT_MESSAGE;
Message_text VARCHAR2(100);
gt1 number;
BEGIN
Message_properties.expiration := 3600; --Set the time to live for the message
gt1:= DBMS_UTILITY.GET_TIME;
Agent := SYS.AQ$_AGENT('',NULL,0);
User_prop_array := SYS.AQ$_JMS_USERPROPARRAY();
Header := SYS.AQ$_JMS_HEADER( Agent, '', 'aq1', '', '', '', User_prop_array);
Message_text := 'Message 1 from PL/SQL';
Message := SYS.AQ$_JMS_TEXT_MESSAGE(Header, LENGTH(Message_text), Message_text, NULL);
--setting the id of the sender
Message_properties.correlation := 'tst';
--Message_properties.correlation := gt1;
DBMS_AQ.ENQUEUE(queue_name => 'ts.tstopic',
Enqueue_options => enqueue_options,
Message_properties => message_properties,
Payload => message,I figured it out. Was something wrong with the trigger in the DB...
-
Enqueue AQ$_JMS_OBJECT_MESSAGE via PLSQL to JMS and Dequeue via Bean
Hi,
I want to be able to enqueue on to AQ$_JMS_OBJECT_MESSAGE queue and the dequeue to via Java Bean.
Unfortunately I am having problems dequeuing via the messege driven bean as it is not able to dequeue any of the messages enqueued via oracle SQL plus
I am able to enqueue and dequeue via the bean. I am also able to enqueue and dequeue via oracle SQL plus and able to dequeue and messages enqueued via the Java bean . Hoever I am not able to enqueue via Oracle SQL plus and dequeue via Java bean
I am thinking that I have not set sumthing properly but I have checked everything I know
P.S. - I am still learning all about AQ, so if I have missed an obvious solution, please let me know.
my code is quite simple - see below
l_enqueue_options dbms_aq.enqueue_options_t;
l_message_properties dbms_aq.message_properties_t;
l_msg_id xxaq.xxaq_imran_qt.msgid%type;
-- specifics for JMS Queues
l_queue_name varchar2(30) := 'XXAQ.XXAQ_IMRAN_Q';
l_payload SYS.AQ$_JMS_OBJECT_MESSAGE;
l_header SYS.AQ$_JMS_HEADER;
l_properties sys.AQ$_JMS_USERPROPARRAY;
l_replyto sys.aq$_agent;
l_data_items xxserror.xxsys_event_logs.data_items%type;
l_messages xxserror.xxsys_event_logs.message%type;
e_error exception;
l_bytes_len number(38);
l_bytes_raw raw(2000);
begin
l_properties := SYS.AQ$_JMS_USERPROPARRAY(
SYS.AQ$_JMS_USERPROPERTY('JMS_OracleDeliveryMode'
,100
,'2'
,null
,27));
l_properties.extend;
l_properties(2) := SYS.AQ$_JMS_USERPROPERTY('APPLICATION_ID' -- name
,200 -- type
,null -- str_value
,p_app_id -- num_value
,24); -- java_type
l_properties.extend;
l_properties(3) := SYS.AQ$_JMS_USERPROPERTY('TRIGGER'
,100
,p_event_type
,null
,27);
-- The replyto element seems to contain the following values
l_replyto := sys.aq$_agent(' ', null, 0);
l_header := sys.aq$_jms_header
(l_replyto
,null
,'XXAQ' -- User
,null
,null
,null
,l_properties);
-- Now build up the message.
-- l_header.properties := l_properties;
l_bytes_raw := utl_raw.cast_to_raw(p_app_id);
l_bytes_len := length(l_bytes_raw);
l_payload := sys.aq$_jms_object_message
(l_header
,l_bytes_len
,l_bytes_raw
,null);
dbms_aq.enqueue(queue_name => l_queue_name
,enqueue_options => l_enqueue_options
,message_properties => l_message_properties
,payload => l_payload -- payload + header
,msgid => l_msg_id);Hi, have you got the solution of the problem? I am encountering the same issue here too. Thank you!
-
Sender RFC Scenario Error:Payload Is Missing
I am facing an issue in 'RFC2JDBC' scenario which is mentioned below:
here our scenario is 'RFC2JDBC'.here our 'RFC' is having 2 fields in tables parameter
i.e. empno & empname.
the results of the 'RFC' is coming as:
Personnel Number Employee Name
00000100 Rasmiraj
00000200 Tanmay
00000300 Kanhu
00000400 Debabrata
00000500 shantanu
i am triggering the 'rtfc' through a program.
when i am triggering the 'RFC',in monitor of PI it's coming as sucessful.however in the payload one of the field value is missing i.e. employee name.(same also updating in the legacy database)
in the payload it's appearing as:
[ <?xml version="1.0" encoding="UTF-8" ?>
- <rfc:ZSAM_SEND_RFC_PI xmlns:rfc="urn:sap-com:document:sap:rfc:functions">
- <EMP_DTLS>
- <item>
<EMPNO>00000100</EMPNO>
<EMPNAME />
</item>
- <item>
<EMPNO>00000200</EMPNO>
<EMPNAME />
</item>
- <item>
<EMPNO>00000300</EMPNO>
<EMPNAME />
</item>
- <item>
<EMPNO>00000400</EMPNO>
<EMPNAME>a</EMPNAME>
</item>
- <item>
<EMPNO>00000500</EMPNO>
<EMPNAME />
</item>
</EMP_DTLS>
</rfc:ZSAM_SEND_RFC_PI> ]
please,suggest.(here,we are using sender 'RFC' communication channel & an 'RFC'destination of type 'T'(with parameter registered server program,gateway host,gateway service)Hi rasmiraj tripathy,
I am also facing the same problem (Sender or Payload is missing) while integrating R3 to B1 using IDOC. When I resend IDOC, it capture by B1iSN but doesn't work, it gives me error. When I look into xml document, it is found that there is no receiver payload.
My R3 system is non-unicode and it is difficult to change it to unicode as it requires updation.
Can you please confirm that this error is coming due to Non-Unicode, and can be resolved by setting it to Unicode.
Note: There is no double definition of any object. -
How to test the huge payload in IR in XI/PI
Hi experts,
I am stuck up with the testing of the sender payload. Because of the data which is containing in sender payload is huge.
Actually i am getting the error in SXMB_MONI mapping error.
<SAP:Category>Application</SAP:Category>
<SAP:Code area="MAPPING">EXCEPTION_DURING_EXECUTE</SAP:Code>
<SAP:P1>com/sap/xi/tf/_MyOneZCUSTToMPAPpapiNetDeliveryMes~</SAP:P1>
<SAP:P2>com.sap.aii.utilxi.misc.api.BaseRuntimeException</SAP:P2>
<SAP:P3>RuntimeException in Message-Mapping transformatio~</SAP:P3>
<SAP:P4 />
<SAP:AdditionalText />
<SAP:ApplicationFaultMessage namespace="" />
<SAP:Stack>com.sap.aii.utilxi.misc.api.BaseRuntimeException thrown during application mapping com/sap/xi/tf/_MyOneZCUSTToMPAPpapiNetDeliveryMes: RuntimeException in Message-Mapping transformatio</SAP:Stack>
<SAP:Retry>M</SAP:Retry>
In IR when i paste this payload(in test tab) i am unable to get the result.Because of this sender payload is huge. Is there any other way for testing of this payload and find out the solution where the exactly the problem in sender payload.
<< Moderator message - Please do not offer points >>
Regards
Mahesh
Edited by: Rob Burbank on Oct 8, 2010 2:14 PMHi Tarang,
Actually the error occured in the production server. When i test in RWB this same error will occur in the SXMB_MONI. Eventhough i dont know whether this test is acceptable in my project.
I observed this error occured because of the target node element value is not populated properly. So i need to know to which segment field (Sender payload is IDoc) this Detail Value is mapped. Normally whenever we done testing easily we can find this. But here when i copy this payload and paste their(in IR) i got nothing because of huge payload.
<Trace level="1" type="T">com.sap.aii.utilxi.misc.api.BaseRuntimeException: RuntimeException in Message-Mapping transformation: Cannot produce target element /DeliveryMessage/DeliveryMessageLineItem/Product/Paper/PaperCharacteristics/BasisWeight/DetailValue. Check xml instance is valid for source xsd and target-field mapping fulfills requirements of target xsd.
Regards
Mahesh -
Urgent!!!! How to dequeue XMLType ObjectPayLoad
Hi I know how I can work with XMLType payload with AQjmsADTMessage.
I want to know how can I dequeue XMLType Payload with AQMessage?
Here is what I am trying to do
aqSession = AQDriverManager.createAQSession(conn);
AQQueue aqQueue = aqSession.getQueue("thdb", "TH_QUEUE");
AQDequeueOption deOptions = new AQDequeueOption();
AQMessage msg = aqQueue.dequeue(deOptions,XMLType.getORADataFactory());
AQObjectPayload objPayLoad = msg.getObjectPayload();
XMLType xmlType = (XMLType)objPayLoad.getPayloadData();
System.out.println(xmlType.getStringVal());
but I am getting Exception
oracle.AQ.AQOracleSQLException: XMLTypeFactory can only work with OPAQUE
Please help me
Thanks in advanceHi
copy
%ORACLE_HOME%\rdbms\jlib\aqapi.jar
to
%OC4J%\j2ee\home\lib
restart oc4j
The majority of these type exceptions are caused mismatched jars files
The exception you was seeing was been generated in xdb.jar
I always consult the following documentation
http://download-west.oracle.com/docs/cd/B10501_01/appdev.920/a96609/toc.htm
to, look up the class, to find the jar and directory.
Warwick -
Payload validation Error - Outbound flow
Hi,
I am trying to create an outbound flow to send a X12,4010,810 document to a trading partner.
Got the error - Payload Validation error.
Payload is as below
<?xml version = '1.0' encoding = 'UTF-8'?><Transaction-810 xmlns="http://www.edifecs.com/xdata/200" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" XDataVersion="2.0" Standard="X12" Version="V4010" CreatedDate="2007-04-10T17:16:24" CreatedBy="ECXEngine_837" GUID="{12345678-1234-1234-1234-123456789012}"><Internal-Properties><Data-Structure Name="Interchange"><Lookup Name="InterchangeControlVersion">00401</Lookup><Lookup Name="InterchangeReceiverID">MarketInc</Lookup><Lookup Name="InterchangeReceiverQual">ZZ</Lookup><Lookup Name="InterchangeSenderID">OracleServices</Lookup><Lookup Name="InterchangeSenderQual">ZZ</Lookup><Lookup Name="InterchangeUsageIndicator">I</Lookup><Lookup Name="Standard">X12</Lookup><Property Name="ElementDelimiter">0x7e</Property><Property Name="InterchangeAckRequested">0</Property><Property Name="InterchangeAuthorizationInfo">Authorizat</Property><Property Name="InterchangeAuthorizationInfoQual">00</Property><Property Name="InterchangeChildCount">1</Property><Property Name="InterchangeComponentElementSep">0x5c</Property><Property Name="InterchangeControlNumber">000000001</Property><Property Name="InterchangeControlStandard_RepeatingSeparator">U</Property><Property Name="InterchangeControlVersion">00401</Property><Property Name="InterchangeDate">140313</Property><Property Name="InterchangeReceiverID">MarketInc</Property><Property Name="InterchangeReceiverQual">ZZ</Property><Property Name="InterchangeSecurityInfo">Security I</Property><Property Name="InterchangeSecurityInfoQual">00</Property><Property Name="InterchangeSenderID">OracleServices</Property><Property Name="InterchangeSenderQual">ZZ</Property><Property Name="InterchangeTime">1727</Property><Property Name="InterchangeTrailerControlNumber">000000001</Property><Property Name="InterchangeUsageIndicator">I</Property><Property Name="SegmentDelimiter">0x0d0x0a</Property><Property Name="Standard">X12</Property><Property Name="SubelementDelimiter">0x5c</Property></Data-Structure></Internal-Properties><Segment-ST><Element-143>IN</Element-143><Element-329>0001</Element-329></Segment-ST><Segment-BIG><Element-373>20140313</Element-373><Element-76>I</Element-76></Segment-BIG><Segment-TDS><Element-610>2</Element-610></Segment-TDS><Segment-SE><Element-96>4</Element-96><Element-329>0001</Element-329></Segment-SE></Transaction-810>
Can someone suggest what is the problem with this payload.More detail --
Below is the message that is displayed in Oracle B2B Reports -> Business Message
Id
7F000001144BE0AB3A100000231A6860
Message Id
11d1def534ea1be0:-7e1384fb:144bd539c55:-8000-0000000000007dfc
Refer To Message
Refer To Message
Sender Type
Name
Sender Value
OracleServices
Receiver Type
Name
Receiver Value
MarketInc
Sender
OracleServices
Receiver
MarketInc
Agreement Id
OS_MI_X12_4010_810_OutboundInvoiceAgr
Agreement
OS_MI_X12_4010_810_OutboundInvoiceAgr
Document Type
IN
Document Protocol
EDI_X12
Document Version
4010
Message Type
REQ
Direction
OUTBOUND
State
MSG_ERROR
Acknowledgement Mode
NONE
Response Mode
NONE
Send Time Stamp
Mar 13, 2014 7:42 PM
Receive Time Stamp
Mar 13, 2014 7:42 PM
Document Retry Interval(Channel)
0
Document Remaining Retry(Channel)
0
Document Retry Interval(Agreement)
0
Document Remaining Retry(Agreement)
0
Native Message Size
Translated Message Size
2344
Business Action Name
Business Transaction Name
Xpath Name1
XPathName1
Xpath Value1
Xpath Expression1
Xpath Name2
XPathName2
Xpath Value2
Xpath Expression2
Xpath Name3
XPathName3
Xpath Value3
Xpath Expression3
Correlation From XPath Name
CorrelationFromXPathName
Correlation From XPath Value
Correlation From XPath Expression
Correlation To XPath Name
CorrelationToXPathName
Correlation To XPath Value
Correlation To XPath Expression
Wire Message
Wire Message
Application Message
Application Message
Payload Storage
Payload Storage
Attachment
Attachment
Label
soa_b2b_ - Thu Mar 17 08:30:33 CDT 2014 - 8
Collaboration Id
7F000001144BE0AB37E00000231A6850
Collaboration Name
Collaboration Version
Business Action Name
Exchange Protocol Name
Generic File
Exchange Protocol Version
1.0
Interchange Control Number
Group Control Number
Transaction Set Control Number
Error Code
B2B-51507
Error Description
Machine Info: (XXXX) Description: Payload validation error.
Error Level
ERROR_LEVEL_COLLABORATION
Error Severity
ERROR
Error Text
Error Brief : XEngine error.
Application Message :
Id7F000001144BE0AB22400000231A6820Sender Id TypeSender ValueOracleServicesReceiver Id TypeReceiver ValueMarketIncDocument TypeINDocument Definition810_DefDocument Protocol NameEDI_X12Document Protocol Version4010Refer To Application Message IdRefer To Application Message IdApp Conversation IdApp Message property{fabric.enterpriseId=-1, b2b.documentProtocolVersion=4010, b2b.documentDefinitionName=810_Def, b2b.messageId=11d1def534ea1be0:-7e1384fb:144bd539c55:-8000-0000000000007dfc, MESH_METRICS=null, b2b.messageType=1, tracking.parentReferenceId=mediator:954F1AF0AB1111E3BF8A5F99BC4D6B4E:954F6910AB1111E3BF8A5F99BC4D6B4E:oneway, tracking.compositeInstanceId=20012, tracking.ecid=11d1def534ea1be0:-7e1384fb:144bd539c55:-8000-0000000000007dfc, b2b.toTradingPartnerId=MarketInc, b2b.fromTradingPartnerId=OracleServices, tracking.compositeInstanceCreatedTime=Thu Mar 13 19:42:55 CDT 2014, tracking.conversationId=snbwNIP3idSWrxOB_9mfQZizjgj_IKJyb-EozcpIyP4., tracking.parentComponentInstanceId=mediator:954F1AF0AB1111E3BF8A5F99BC4D6B4E, b2b.documentTypeName=IN}DirectionOUTBOUNDStateMSG_COMPLETEError CodeError TextError DescriptionCreatedMar 13, 2014 7:42 PMModifiedMar 13, 2014 7:42 PMMessage Size2344PayloadPayloadBusiness MessageBusiness MessageRetry Interval0Reattempt CountRemaining Retry0ECID11d1def534ea1be0:-7e1384fb:144bd539c55:-8000-0000000000007dfcComposite Instance Id20012Parent Composite Instance Idmediator:954F1AF0AB1111E3BF8A5F99BC4D6B4EConversation IdsnbwNIP3idSWrxOB_9mfQZizjgj_IKJyb-EozcpIyP4.Domain NamedefaultComposite NameOSToMIOutboundInvoiceProjectComposite Version1.0Reference NameB2BOSToMarketIncOutboundUrl
Payload Storage :
<?xml version = '1.0' encoding = 'UTF-8'?><Transaction-810 xmlns="http://www.edifecs.com/xdata/200" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" XDataVersion="2.0" Standard="X12" Version="V4010" CreatedDate="2007-04-10T17:16:24" CreatedBy="ECXEngine_837" GUID="{12345678-1234-1234-1234-123456789012}"><Internal-Properties><Data-Structure Name="Interchange"><Lookup Name="InterchangeControlVersion">00401</Lookup><Lookup Name="InterchangeReceiverID">MarketInc</Lookup><Lookup Name="InterchangeReceiverQual">ZZ</Lookup><Lookup Name="InterchangeSenderID">OracleServices</Lookup><Lookup Name="InterchangeSenderQual">ZZ</Lookup><Lookup Name="InterchangeUsageIndicator">I</Lookup><Lookup Name="Standard">X12</Lookup><Property Name="ElementDelimiter">0x7e</Property><Property Name="InterchangeAckRequested">0</Property><Property Name="InterchangeAuthorizationInfo">Authorizat</Property><Property Name="InterchangeAuthorizationInfoQual">00</Property><Property Name="InterchangeChildCount">1</Property><Property Name="InterchangeComponentElementSep">0x5c</Property><Property Name="InterchangeControlNumber">000000001</Property><Property Name="InterchangeControlStandard_RepeatingSeparator">U</Property><Property Name="InterchangeControlVersion">00401</Property><Property Name="InterchangeDate">140313</Property><Property Name="InterchangeReceiverID">MarketInc</Property><Property Name="InterchangeReceiverQual">ZZ</Property><Property Name="InterchangeSecurityInfo">Security I</Property><Property Name="InterchangeSecurityInfoQual">00</Property><Property Name="InterchangeSenderID">OracleServices</Property><Property Name="InterchangeSenderQual">ZZ</Property><Property Name="InterchangeTime">1727</Property><Property Name="InterchangeTrailerControlNumber">000000001</Property><Property Name="InterchangeUsageIndicator">I</Property><Property Name="SegmentDelimiter">0x0d0x0a</Property><Property Name="Standard">X12</Property><Property Name="SubelementDelimiter">0x5c</Property></Data-Structure></Internal-Properties><Segment-ST><Element-143>IN</Element-143><Element-329>0001</Element-329></Segment-ST><Segment-BIG><Element-373>20140313</Element-373><Element-76>I</Element-76></Segment-BIG><Segment-TDS><Element-610>2</Element-610></Segment-TDS><Segment-SE><Element-96>4</Element-96><Element-329>0001</Element-329></Segment-SE></Transaction-810>
I have set the following b2b headers in SOA before sending it to B2B outbound
Constant: 4010_810_Def Property: b2b.documentDefinitionName
Constant: 4010 Property: b2b.documentProtocolVersion
Constant: OracleServices Property: b2b.fromTradingPartnerId
Constant: MarketInc Property: b2b.toTradingPartnerId
Constant: 1 Property: b2b.messageType
Constant: IN Property: b2b.documentTypeName ( I defined my docuemnt with name 'IN')
Property: tracking.ecid Property: b2b.messageId -
Hey guys, i m trying to play RTP stream video but everytime i play, it give me the following error.
No format has been registered for RTP Payload type 33
Does anyone has any idea about this?? I am using VLC media player to stream the output. Please help me how to get rid of this error.
Maybe a codec or a plugin problem ?Hi,
Payload Type 33 is MP2T, seems like the receiving side don't know what you are sending, which means the receiving side is not supported.
Anyway, for more information on the payload type, please refer to RFC3551.
Best Regards
Ferdinand Ng -
Messages in Oracle SOA-ESB queues duplicate - enqueing with same ENQ_TXN_ID
Hi,
We have a flow which accepts payloads from a third party application and this payload is enqueued into an advanced queue. Another process dequeues these payloads and does further processing. During the process of enqueuing, we observe that one payload gets enqueued more than once. I have observed that these messages get the same ENQ_TXN_ID. Please note that this issue happens sporadically.
Please advice if there is any patch that should be applied to fix the multiple enqueue issue.
This issue is seen in the production instance.
We are able to reproduce this error in QA also. But so far, no solution is working.
Below is the script used to create our queue.
BEGIN
dbms_aqadm.stop_queue(queue_name=>'SAVE_REQUISITION_Q');
dbms_aqadm.drop_queue(queue_name=>'SAVE_REQUISITION_Q');
dbms_aqadm.drop_queue_table(queue_table=>'SAVE_REQUISITION_Q_TAB');
dbms_aqadm.create_queue_table(queue_table=>'SAVE_REQUISITION_Q_TAB',
queue_payload_type=>'sys.aq$_jms_text_message',multiple_consumers=>true);
dbms_aqadm.create_queue(queue_name=>'SAVE_REQUISITION_Q', queue_table=>'SAVE_REQUISITION_Q_TAB');
dbms_aqadm.start_queue(queue_name=>'SAVE_REQUISITION_Q');
END;
Please help.
Thanks,
Ved
Edited by: user582595 on Mar 1, 2012 7:56 AMAnyone with JMS queue knowledge please help me fix this problem. This is happening in production and Oracle support is not able to suggest a resolution yet. They are working with me, but I would need to resolve this issue ASAP.
Thanks much,
ved -
Hi All,
I am doing a File to RFC async scenario. I have done the related development in ESR and ID. While testing the file adapter picks the file does the required content conversion and is successful . When I check the RFC adapter it also shows successful. But the problem is the payload is the same as it was in the sender adapter. I mean after mapping the payload must change to the target message. Somehow in the RFC adapter I am seeing the same source payload. I deleted the Service interfaces, deleted the channels, deleted the ICO and recreated everything again but still the same issue. Can someone please provide inputs on the same. All configurations look correct. Ideally the message has not reached ECC but atleast the payload conversion should have happened.Hi Amit
Check the log in message monitoring and see whether the operation mapping has been called or not.
Also with the default configuration we can only see the payload before mapping in RWB.
If you need to see the payload after the mapping then you need to add the below entries in NWA
Goto configuartion-->infrastructure-->Java system properties--->services
Choose the service XPI Adapter:XI and change the below property
Then once you open the message in RWB, you see one more entry with AM which will show the payload generated after mapping. -
Hi
we are experiencing problems in BPM Collect pattern, error is not clear.
Our payload before input to BPM
<record>
<row>
<key>1</key>
<val1>1</val1>
</row>
<row>
<key>1</key>
<val1>1</val1>
</row>
</record>
this is given to BPM, and BPM is following exact collect pattern in SAP Documentation like
1. Block with restricted by correlation (/record:key1), deadline with 1 minute, used by correlation
2. within Block, unlimited loop, with started recieve step, activated correlation, and append records with container operation
3. multi-mapping transform step, with multiple records to single record and followed by send step.
we are getting error in the blok step, no description of error.
BPM is activated without any errors
Please advise, appreciate all ur help.Any body got the solution for this . I am having same problem .
My Payload as follows
<?xml version="1.0" encoding="UTF-8" ?>
- <ns0:BpmPatternCollectMessageToBeCollected xmlns:ns0="http://sap.com/xi/XI/System/Patterns">
<ID>1</ID>
<OverallNumber>1</OverallNumber>
</ns0:BpmPatternCollectMessageToBeCollected>
for BPMPattrenCollectTime BPM and I amhaving error on outbound side in BPE
when I dig into technical details The BPM details as follows
Error during result processing of work item for Reciving Message Step
Regards
Murali -
Posting custom headers in B2B via ESB
Hi All,
I am dequeue a payload from IP_IN_QUEUE using AQ Adaptor(ESB) and using Transformation and routing service of ESB(XSLT), I populate few headers and enqueue to IP_OUT_QUEUE. I am successfully able to populate FROM_PARTY,TO_PARTY, etc in the headers.
My question now is, how do I populate custom header attributes??? Is it possible... How this will do in EDI X12 and EDIFACT messages???
The TO_PARTY I populate in header goes as AS2-Identifier... similarly how the custom header attributes will go???
Regards,
PraveenHi Praveen,
As far as I know, B2B passes all headers which it receives from the back-end. For few mapping is system defined, so they get mapped but additional headers will get passed as it is.
You may like to refer-
AQ Header - B2B IP IN QUEUE
Re: AQ-Header parameters/ IP_MESSAGE_TYPE parameters
Custom AQ - Dequeue is not happening
[Urgent]How to assign Payload in Payload Header.
Regards,
Anuj
Maybe you are looking for
-
My wife, kids, and I each have our own ipods. Can we have one family iTunes account or do we need one for each for our own devices?
-
Update the functional area (AUFK-FUNC_AREA) directly in the table AUFK
Hello, The OSS note 150959 gives a report, which directly updates the table field AUFK-PRCTR (profit center). Have you ever tried the same thing with the Functional Area (I am afraid to cause database incoherencies, if I do this) ? We have to do this
-
How to bind korean parameters in XSQL????
Hi, I am binding english parameters in XSQL very well. But when I am trying to bind japaneese or korean it is not displaying rows. I am giving the sample code. hello.xsql <?xml version="1.0" encoding="euc-kr"?> <xsql:query connection="scs" xmlns:jsp=
-
I too have this problem since day before yesterday. Kaspersky told me to upgrade to FLASH 11 .0.1.152 because 10.3.183.7 has vulnerabilities. (In the recent past I had problems upgrading to 10.3.183.7 from 10.3.183.5. I was finally able to successf
-
unable to get movie to start??