How to send two or more XML request messages to call ALSB from ALBPM
Hi All,
I have a scenario where two or more XML messages needs to be sent to the ALSB component from the ALBPM part.
How can this be achieved using PBL coding.Please help me on this.
Thanks,
Prakash.
Hi,
Based on my test, I agree with Mr. KR, we could not open two or more xml files with the same name located in different folders with Excel 2013 at the same time, because XML is not the default format of Excel.
Would you like to tell us the reason about this behavior, we might try the other methods to get your goal.
If you have any update, please feel free let us know.
Regards,
George Zhao
Forum Support
Come back and mark the replies as answers if they help and unmark them if they provide no help.
If you have any feedback on our support, please click "[email protected]"
Similar Messages
-
How to send two request in the same connection with HttpURLConnection?
As the title, I want to send two or more requests in the same connection with HttpsURLConnection..I wish all requests are in the same session.
My code is as following:
package test1;
//import javax.net.ssl.*;
import java.net.*;
import java.io.*;
public class httptest {
public httptest() {
public void test() {
HttpURLConnection uc = null;
String urlStr="";
urlStr="http://172.16.245.151/test/page1.jsp";
try {
URL u = new URL(urlStr);
uc = (HttpURLConnection) u.openConnection();
uc.setRequestMethod("GET");
uc.setDoOutput(true);
// uc.connect();
OutputStream out = uc.getOutputStream();
out.flush();
out.close();
catch (Exception ex) {
System.out.println(ex.getMessage());
public static void main(String[] args) {
httptest tt = new httptest();
tt.test();
The sample class just can send a request..Now we think of the sentence :uc = (HttpURLConnection) u.openConnection();
Obviousely, a HttpURLConnection can just have a Object of the Class URL, and the Class URL have no setURL mothed. So I can't use a HttpURLConnection to send two request.
I just want the HttpURLConnect is the same to IE...Do you understand what I mean?
Any helps will be appreciated...As the title, I want to send two or more requests in the same connection with HttpsURLConnection..I wish all requests are in the same session.
My code is as following:
package test1;
//import javax.net.ssl.*;
import java.net.*;
import java.io.*;
public class httptest {
public httptest() {
public void test() {
HttpURLConnection uc = null;
String urlStr="";
urlStr="http://172.16.245.151/test/page1.jsp";
try {
URL u = new URL(urlStr);
uc = (HttpURLConnection) u.openConnection();
uc.setRequestMethod("GET");
uc.setDoOutput(true);
// uc.connect();
OutputStream out = uc.getOutputStream();
out.flush();
out.close();
catch (Exception ex) {
System.out.println(ex.getMessage());
public static void main(String[] args) {
httptest tt = new httptest();
tt.test();
The sample class just can send a request..Now we think of the sentence :uc = (HttpURLConnection) u.openConnection();
Obviousely, a HttpURLConnection can just have a Object of the Class URL, and the Class URL have no setURL mothed. So I can't use a HttpURLConnection to send two request.
I just want the HttpURLConnect is the same to IE...Do you understand what I mean?
Any helps will be appreciated... -
How to send an email using XML Publisher
Can any body help me how to send an email using XML Publisher.
Regards,
SureshSorry ,
when a http://blogs.oracle.com/xmlpublisher/newsItems/departments/documentDelivery
this it show this not answer the question.
Thanks
Welcome to Oracle Blogs
Welcome to the Oracle blogging community, where Oracle executives, employees, and non-employees exchange views about customer requirements and best practices.
We're sorry, the weblog you requested cannot be accessed.
- You may not have the necessary permission for access the weblog.
- This weblog does not exist.
You may wish to try again using one of the tools below.
- Check the URL and contact your System Administrator for access.
- Or click here to go back to Oracle Blogs homepage.
Powered by
Movable Type and Oracle
The views expressed on this blog are my own and do not necessarily reflect the views of Oracle. Terms of Use -
I want to join two or more xml files and create a nw xml or html file w/o using java!!
Is it possible with only xsl. if yes how?
RajuSure it's possible with XSLT.
Just use the document() function to refer to one or more additional source documents. I recommend using an <xsl:variable> to capture the secondary document in a variable so you can easily refer to it any number of times in the stylesheet.
So, at the top-level of your stylesheet, just do:
<xsl:variable name="otherDoc" select="document('otherDoc.xml')"/>
Then anywhere you want to select nodes from the secondary document (will the full power of XPath), just start your XPath expression with the $otherDoc variable like this:
select="$otherDoc/something/somethingelse[somepredicate-if-needed]"
In this way you can combine the values of the current node in the main source document to lookup corresponding nodes in the secondary document and do joins this way. -
HT1355 How to send 2 or more pdf files in e mail
How to send 2 or more pdf files in e mail...????????
Also i have a workspace created in html.oracle.com in that when i want to upload excel file or copy data from excel i am getting error as......
ORA-20001: create_table error: ORA-20001: Excel load run ddl error: ORA-01658: unable to create INITIAL extent for segment in tablespace FLOW_6868Looks like the data you're trying to load will exceed your workspace quota (2MB small, 5MB medium). Try loading fewer rows. -
Can I export my sidecar files to two or more hard drives at the same time from one computer?
Can I export my sidecar files to two or more hard drives at the same time from one computer? How do I do this, if it is possible?
Each image is imported into the LR Catalog from just one stated location on disk. And that is where the sidecar gets written.
But if you want, outside of LR, you can have a file sync utility replicate all physical changes within those folders on disk, into other corresponding locations on other drives - which hold a copy of all the same images, and a copy of the sidecars too. This might happen continuously, periodically or on demand depending on the particular tool you use... for example, the Dropbox desktop app.
If you also want to have your LR Catalog replicated, I think this can only be done when LR is not running and using that. -
How do you modify the web.xml to lock down the pages from a user role
how do you modify the web.xml to lock down the pages from a user role
I'll make a stab at your question:
The following is an example of where a URL is protected within a web.xml deployment descriptor. In this example, the URL /protectedA within the application is protected:
<!-- security constraints -->
<security-constraint>
<web-resource-collection>
<web-resource-name>protectedA</web-resource-name>
<url-pattern>/protectedA</url-pattern>
</web-resource-collection>
<!-- authorization -->
<auth-constraint>
<role-name>sr_developer</role-name>
</auth-constraint>
</security-constraint>
Sun's explaination here:
http://java.sun.com/j2ee/1.4/docs/tutorial/doc/Security4.html -
How to send multiple material in our own message type
Dear All,
Any idea about how to send multiple material in our own message type,In my outbound i have created a message type but able to send only one material through program. If i give range of material its in error status 26 in WE02 and failed to send.
Help me ASAP.
Thanks & Regards,
Arun.hi Gordon,
I want to receive the IDOC data for message type WPUUMS from a java server. Currently i am working on sample values for segments
E1WPU01
E1WPU02
E1WPU03
E1WPU04
E1WPU05
E1WXX01
I am facing problems in passing the correct values .
Its throwing a error message status 51.(Application document not posted) IDoc not fully processed.
can you help me with some dummy data for all the fields in the above segments.
reply ASAP
regards
arun
Edited by: Arun Kumaran on Aug 22, 2008 3:33 PM -
How do I run a JCA adapter when I am calling it from an EJB?
How do I run a JCA adapter when I am calling it from an EJB? Do I need to create an EJB client and place it in a Client container? If my EJB and JCA adapter are deployed is there a way to call my EJB from the command line?
MikeHi. When you look at the code I provided for you in other thread you will see that connecting to adapter is done through JNDI lookup. The creation of the adapter is done in your J2EE server. Here is some code for you where you can find mapping from code to ejb-jar and orion-ejb-jar.
ejb-jar.xml
<?xml version="1.0" encoding="UTF-8"?>
<ejb-jar xmlns="http://java.sun.com/xml/ns/j2ee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/ejb-jar_2_1.xsd"
version="2.1">
<!--
This file declares the interface (needs/promises) of the message-driven bean.
The MDB requires:
- a JMS queue (to receive messages from the client),
- a JMS exception queue (to send undeliverable messages back to the source), and
- a connection factory (to communicate with a JMS resource provider).
Note that communication with the resource provider may be (and for this
application is) via a JMS Connector rather than direct.
-->
<display-name>JMS Consume MDB - opp-ifs</display-name>
<enterprise-beans>
<entity>
<description>Entity Bean ( BMP )</description>
<display-name>EBEjbMecomsIFS</display-name>
<ejb-name>EBEjbMecomsIFS</ejb-name>
<local-home>EBEjbMecomsIFSLocalHome</local-home>
<local>EBEjbMecomsIFSLocal</local>
<ejb-class>EBEjbMecomsIFSBean</ejb-class>
<persistence-type>Bean</persistence-type>
<prim-key-class>java.lang.Long</prim-key-class>
<reentrant>false</reentrant>
<service-ref>
<service-ref-name>service/interceptor</service-ref-name>
<service-interface>javax.xml.rpc.Service</service-interface>
<wsdl-file>META-INF/wsdl/MHS5_Jms_In_RS.wsdl</wsdl-file>
<service-qname xmlns:ns="http://oracle.com/esb/namespaces/PilotOWSM_MustHavesScenario5">ns:ESB_MHS5_Jms_In_RS_Service</service-qname>
</service-ref>
</entity>
<message-driven>
<display-name>JMS Consume MDB - MDB</display-name>
<ejb-name>MDBEjbMecomsIFS</ejb-name>
<!-- name of bean in deployment descriptor (including orion-ejb-jar.xml file) -->
<ejb-class>MDBEjbMecomsIFSBean</ejb-class>
<!-- bean's fully qualified Java class name -->
<messaging-type>javax.jms.MessageListener</messaging-type>
<transaction-type>Container</transaction-type>
<!-- allow incoming messages to be included in transactions -->
<!-- The ejb requires a connection factory to access an external resource (JMS). -->
<ejb-local-ref>
<ejb-ref-name>ejb/local/EBEjbopp_ifs</ejb-ref-name>
<ejb-ref-type>Entity</ejb-ref-type>
<local-home>EBEjbMecomsIFSLocalHome</local-home>
<local>EBEjbMecomsIFSLocal</local>
<ejb-link>EBEjbMecomsIFS</ejb-link>
</ejb-local-ref>
<resource-ref>
<!-- The resource's connection factory must be accessible at jndi location "java:comp/env/jms/QueueConnectionFactory". -->
<res-ref-name>jms/QueueConnectionFactory</res-ref-name>
<!-- The resource's connection factory must implement the "javax.jms.ConnectionFactory" interface. -->
<res-type>javax.jms.ConnectionFactory</res-type>
<!-- container managed authorization -->
<res-auth>Container</res-auth>
</resource-ref>
</message-driven>
</enterprise-beans>
<assembly-descriptor>
<!--
Declare that a global transaction is required when the onMessage method of the ejb named
"MDBEjbName" is called. This will cause the app server to automatically initiate a
global (XA) transaction before calling onMessage (actually, before even receiving the JMS
message that triggers onMessage) and end the transaction after onMessage returns. The
JMS Connector will automatically rollback the transaction if onMessage throws an
exception. onMessage may also set the transaction to be "rollback only".
Participating in global transactions requires that the connection factory provided in the
activation spec (see the ConnectionFactoryJndiName property earlier in this file) must be
XA-capable (it must implement the javax.jms.XAConnectionFactory interface).
If this declaration is ommitted, then onMethod will not be part of any global
transaction. In that case the connection factory provided in the activation spec must
implement the javax.jms.ConnectionFactory interface.
-->
<container-transaction>
<method>
<ejb-name>MDBEjbMecomsIFS</ejb-name>
<method-name>onMessage</method-name>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
<container-transaction>
<method>
<ejb-name>EBEjbMecomsIFS</ejb-name>
<method-name>*</method-name>
</method>
<trans-attribute>Supports</trans-attribute>
</container-transaction>
</assembly-descriptor>
</ejb-jar>
orion-ejb-jar.xml
<?xml version="1.0" encoding="UTF-8"?>
<orion-ejb-jar xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNameSpaceSchemaLocation="http://www.oracle.com/technology/oracleas/schema/orion-ejb-jar-10_0.xsd">
<enterprise-beans>
<entity-deployment name="EBEjbMecomsIFS">
<service-ref-mapping name="service/interceptor">
<wsdl-location>http://on-poc62.ontw.alfa.local:7777/event/PilotOWSM/MustHavesScenario5/MHS5_Jms_In_RS?wsdl</wsdl-location>
<service-qname localpart="ESB_MHS5_Jms_In_RS_Service" namespaceURI="http://oracle.com/esb/namespaces/PilotOWSM_MustHavesScenario5"/>
<port-info>
<wsdl-port namespaceURI="http://oracle.com/esb/namespaces/PilotOWSM_MustHavesScenario5"
localpart="__soap_MHS5_Jms_In_RS_execute_ppt"/>
<service-endpoint-interface>javax.xml.rpc.Service</service-endpoint-interface>
<call-property>
<name>javax.xml.rpc.service.endpoint.address</name>
<value>http://on-poc62.ontw.alfa.local:7777/event/PilotOWSM/MustHavesScenario5/MHS5_Jms_In_RS</value>
</call-property>
<call-property>
<name>javax.xml.rpc.soap.http.soapaction.uri</name>
<value>execute</value>
</call-property>
<call-property>
<name>javax.xml.rpc.soap.http.soapaction.use</name>
<value>true</value>
</call-property>
<call-property>
<name>javax.xml.rpc.soap.operation.style</name>
<value>document</value>
</call-property>
<runtime enabled="owsm">
<owsm init-home="/oracle/product/SoaAs/10.1.3/owsm/config/interceptors/C0003002"
init-file="confluent.properties"/>
</runtime>
</port-info>
</service-ref-mapping>
</entity-deployment>
<message-driven-deployment name="MDBEjbMecomsIFS"
resource-adapter="OEMSJMSDRAopp-ifs"
enabled="true" max-instances="10">
<!--
The ejb requires a connection factory implementing the "javax.jms.XAConnectionFactory"
interface to be accessible at jndi location "java:comp/env/jms/QueueConnectionFactory". (see ejb-jar.xml and ....)
A suitable connection factory is already accessible at jndi location "OEMSJMSDRASubcontext/MyXACF" (see oc4j-ra.xml)
-->
<resource-ref-mapping location="OEMSJMSDRASubopp-ifs/MyXACF"
name="jms/QueueConnectionFactory"/>
<!-- don't misspell this or you'll get an RP CF which doesn't work -->
<!-- Required activation-spec properties. -->
<!--
ConnectionFactoryJndiName (string, no default)
This should be the JNDI location of an RA connection factory.
The JMS Connector will use this connection factory to create the JMS
connection it uses to receive messages for this MDB's onMessage. If the
exception queue is enabled (see UseExceptionQueue), the JMS Connector will
also use a connection created from this connection factory for the production
of messages to the exception queue.
This connection factory must be compatible with the message domain(s). (For
example, if the MDB is receiving messages from a queue, the connection
factory should implement javax.jms.[XA]QueueConnectionFactory or
javx.jms.[XA]ConnectionFactory.)
For XA/non-XA considerations, see the <container-transaction> comments later
in this file.
-->
<config-property>
<config-property-name>ConnectionFactoryJndiName</config-property-name>
<config-property-value>OEMSJMSDRASubopp-ifs/MyXAQCF</config-property-value>
</config-property>
<!--
DestinationName (string, no default)
This is JNDI location of the queue or topic from which messages to be
delivered to the MDB's onMessage method should be received.
The JNDI locations for RA destinations are defined in the
oc4j-connectors.xml file.
-->
<config-property>
<config-property-name>DestinationName</config-property-name>
<config-property-value>OEMSJMSDRASubopp-ifs/MyQ</config-property-value>
</config-property>
<!--
DestinationType (string, no default)
This must be set to the type of the destination named by the above
"DestinationName" property.
The EJB 2.1 spec states that this must be set to either javax.jms.Queue or
javax.jms.Topic. OracleGJRA also allows it to be set to
javax.jms.Destination (which works for both queues and topics).
-->
<config-property>
<config-property-name>DestinationType</config-property-name>
<config-property-value>javax.jms.Queue</config-property-value>
</config-property>
<!--
Other activation-spec properties.
The following activation-spec properties supported by OracleGJRA are optional
except where otherwise noted:
-->
<!--
ListenerThreadMaxPollInterval (milliseconds, 5000)
Listener threads "poll" to see if there is a message waiting to be processed.
The more frequently this polling is performed, the faster (on average) a given
listener thread can respond to a new message. The price for frequent polling is
overhead - the resource provider must process a receive request each time it is
polled.
Oracle's JMS Connector implementation applies an adaptive algorithm which
uses shorter polling intervals (high polling rates) during periods of activity
(once activity is noticed) and longer polling intervals (lower polling rates)
during periods of inactivity. The ListenerThreadMaxPollInterval property places
an upper limit on the polling interval used by this adaptive algorithm.
-->
<config-property>
<config-property-name>ListenerThreadMaxPollInterval</config-property-name>
<config-property-value>5000</config-property-value>
</config-property>
<!--
AcknowledgeMode (string, default = Auto-acknowledge)
This should be set to Auto-acknowledge or Dups-ok-acknowledge. This
controls the quality-of-service provided by listener threads which
consume messages and call the MDB's onMessage method.
MessageSelector (string, default = no message filtering)
This is the selector expression used to filter messages sent to the
MDB's onMessage method. (I.e., this is used as the messageSelector for
the JMS sessions created for the listener threads.)
SubscriptionDurability (string, default = NonDurable)
For topics this should be set to Durable or NonDurable. (This should
not be set for queues.) This controls the durability of the topic
consumer used by the listener thread. When SubscriptionDurability is
set to Durable (and DestinationType is javax.jms.Topic or
javax.jms.Destination), the SubscriptionName property is required.
SubscriptionName (string, no default)
This property is required when SubscriptionDurability is Durable (and
DestinationType is javax.jms.Topic or javax.jms.Destination). (In all
other cases it is ignored.) This is the name used when creating the
durable subscriber used by the listener thread. For a given JMS server,
a given subscription name should be assigned to at most one MDB (which
must have most one listener thread).
ClientId (string, no default)
If set, connection(s) used by the listener threads will be set to use
this client ID.
TransactionTimeout (milliseconds, default = 300,000)
This limits the amount of time that the JMS Connector will wait for a
message to arrive before exiting the current transaction. The
transaction manager limits the amount of time a transaction can last
(see transaction-timeout in transaction-manager.xml).
TransactionTimeout should be set such that the transaction manager will
not timeout the transaction during the onMessage routine unless
something is wrong. For example, If the transaction mananager timeout
is set to 30 seconds, and the onMessage routine will never take more
than 10 seconds unless something is wrong, then this property could be
set to 20 seconds (20000 milliseconds).
EndpointFailureRetryInterval (milliseconds, default = 60,000)
If an endpoint can not be processed (due to the app server WorkManager
not accepting new work), it will be scheduled to be retried this many
milliseconds later.
ReceiverThreads (integer, default = 1)
This sets the maximum number of listener threads to create for this
endpoint. For queues, using more than one thread may be useful in
increasing the rate at which messages can be consumed. For topics this
value should always be 1. (Each listener thread gets its own session
and TopicSubscriber. For durable subscribers it would be an error to
have more than one subscriber with the same subscription name. For
nondurable subscribers having more than one thread will not help because
more threads translates into more subscribers which translates into more
copies of each message.) See also: ListenerThreadMinBusyDuration
UseExceptionQueue (boolean, default = false)
When "UseExceptionQueue" is true:
- Messages that would otherwise be discarded are sent to the
exception queue. (Currently the only case where this happens is
when the max delivery count is exceeded. See MaxDeliveryCnt
property.) Rather than sending the original message directly to
the exception queue, the following procedure is used:
o Create a new message of the same type.
o Copy the properties and body from the original message to the
new message.
o If the headers were copied, sending the message to the
exception queue would cause most of them to be lost
(over-written by the resource-provider). So instead,
translate headers in the original to properties in the copy,
assigning each header obtained via "getJMS{Header}" to
property "GJRA_CopyOfJMS{Header}". Since
javax.jms.Destination is not a valid property type, translate
destination headers into descriptive messages.
(Currently this same service is not provided for JMSX*
properties, most notably the JMSXDeliveryCount property.)
o If some part of the copy process (above) or augmentation
process (below) fails, do not abort. Attempt to complete the
rest of the procedure. (For Bytes/Map/Stream message types,
this can mean that part of the body is copied and the rest is
not.)
o If the copy process is 100% successful, add a boolean property
called "GJRA_CopySuccessful" with the value "true".
o Add a string property called "GJRA_DeliveryFailureReason" which
indicates why the message was not delivered.
o If the MDB onMessage method generated an exception immediately
prior to the delivery failure, add a string property called
"GJRA_onMessageExceptions" which contains exception information.
o Send the resulting message to the exception queue.
Note that only one attempt is made to send the message to the
exception queue. Should this attempt fail, the message will
be discarded without being placed in the exception queue.
See IncludeBodiesInExceptionQueue property for potential variations
of the above procedure.
- The ExceptionQueueName property is required.
- In addition to being used for the primary destination, the
connection factory specified by the ConnectionFactoryJndiName
property will also be used for the exception queue. If the primary
destination (specified by the DestinationName property) is a topic,
then the connection factory must support both queues and topics.
(I.e., the <connectionfactory-interface> [see oc4j-ra.xml] for the
given connection factory must be either javax.jms.ConnectionFactory
or javax.jms.XAConnectionFactory.)
ExceptionQueueName (string, no default)
This is the JNDI location of the javax.jms.Queue object to use as the
exception queue. (See UseExceptionQueue property for information about
the use of the exception queue.) This property is required when
UseExceptionQueue is true, and ignored when UseExceptionQueue is false.
IncludeBodiesInExceptionQueue (boolean, default = true)
This controls whether or not messages sent to the exception queue will
include a message body. (See UseExceptionQueue property for information
about the use of the exception queue.) If many messages are sent to the
exception queue during normal operation and the message body is of no
use in the exception queue, then this property may be set false to
improve performance. This property is ignored when UseExceptionQueue is
false. There are two cases where this property does not apply:
- If the original message did not have a message body, then the
message sent to the exception queue will not have one either.
- If a copy of the original message can not be created for any
reason, then the original may be sent to the exception queue
instead. This may result in a message body being sent to the
exception queue.
MaxDeliveryCnt (integer, default = 5)
If a message has the "JMSXDeliveryCount" property and the value of that
property is greater than MaxDeliveryCnt, then the message will be
discarded (and not sent to onMessage). If the exception queue is
enabled (see UseExceptionQueue), a copy of the message will be sent to
the exception queue. If MaxDeliveryCnt is set to 0, no messages will be
discarded. (Note that when an MDB responds to a message by throwing an
exception, the message is not considered delivered and it may be
redelivered. If the MDB might always respond to a given message by
throwing an exception, and MaxDeliveryCnt is set to 0 to prevent the
message from ever being discarded, the result may be an MDB stuck in an
"infinite loop" - failing to process the same message over and over
again.)
-->
<config-property>
<config-property-name>MaxDeliveryCnt</config-property-name>
<config-property-value>0</config-property-value>
</config-property>
<!--
LogLevel (string, no default)
This controls the level of detail of messages logged by the JMS
Connector. These messages are primarily intended for debugging the
JMS Connector itself, but may also be useful when debugging issues
related to the use of the JMS Connector. This property should not be
set in production code. (It should only be set temporarily for
debugging purposes - specific log messages and log levels may be and
will be added/removed/modified in future versions of the JMS
Connector.) Currently the allowed values are:
ConnectionPool
ConnectionOps
TransactionalOps
ListenerThreads
INFO
CONFIG
FINE
FINER
FINEST
SEVERE
WARNING
OFF
ListenerThreadMaxIdleDuration (milliseconds, default = 300,000)
This is how long a listener thread which is not receiving any messages
will be kept around. (At least one listener thread will remain as long
as the endpoint is active.)
ListenerThreadMinBusyDuration (milliseconds, default = 10,000)
If a listener thread has just received a message, has not been idle (had to
wait for a new message to arrive) at any point during the past
ListenerThreadMinBusyDuration milliseconds, and the current number of
listener threads for this endpoint is less than ReceiverThreads, then
(application server willing) an additional listener thread will be created.
ResUser (string, default = null)
ResPassword (string, default = null)
These properties allow a user/password to be passed to the resource
provider. When neither of these properties are set, connections used for
this MDB's inbound message handling (as well as for exception queue
handling, if enabled) are created using the no-argument version of the
create*Connection method. When one or both of these properties are set,
they are passed to the create*Connection method as the user/password
arguments. (If only one property is not set, then 'null' is used for that
particular create*Connection argument.) The ResPassword property supports
the standard password indirection options (e.g., using "->joeuser" to
represent the password of "joeuser").
Note that the commas used in many of the above default values and examples are
included here for readability but can not be used in the actual activation spec.
(I.e., integer/milliseconds values in the activation spec must not include
embedded commas.)
-->
</message-driven-deployment>
</enterprise-beans>
<assembly-descriptor>
<default-method-access>
<security-role-mapping name="<default-ejb-caller-role>"
impliesAll="true"/>
</default-method-access>
</assembly-descriptor>
</orion-ejb-jar> -
How to send the dynamically generated XML file to other site for further processing?
I have a question regarding exchanging data between two systems
using XSQL servlet. The situation is descrbed as the follows:
Assume that we have a simple XSQL page named "emp.xsql"
<?xml version="1.0"?>
<?-- XSQL page file "emp.xsql" -->
<xsql:query xmlns:xsql="urn:oracle-xsql" connection="demo" >
SELECT * FROM EMP
</xsql:query>
and we can access it through the HTTP request likes
http://web_server_name/xsql/emp.xsql.
Usually we will the returned dynamic XML file and show it on the
screen. Now the problem is that we don't want to show the
generated XML file on the calling screen. Instead, we want to
send the generated XML file to other website for further
processing, say, using JSP or ASP likes
http://other_web_server_name/XMLProcessing.jsp?.....
How can it be implemented using XSQL servlet?
Any hint and outline of the solution is appreciated.
ThanksIke,
Do you have a sample. I am searched so much in this forum for samples. I looked on SAX Parser. I did not find any samples.
Please help me.
Thank you for your posting.
Padma. -
FEBA - How to post two or more transactions at the same time?
Hi,
one of our banks sends the statemets with many lines that belongs to the same transaction. We have to post partially one line, and afterwards the other line. Any of you know how to post two lines at the same time from the bank statement?
Thank you in advance,
MiguelHi,
I'm sorry for replying so late.
The solution I reached was to change the a few things in the standard.
Now I have a new "context menu item". I select two or more transactions and I right-click the mouse. I select that "context menu item" and the next part of the code adds the total amount of the transactions to look for the correct post for the first transaction. Once posted automatically, the next transaction is posted automatically by the system.
I hope you understand my English. I've problem with technical FI terms.
Here you are the code:
First I added a new contextual menu item:
CL_FEBAN_ALV_GRID=============CCIMP
call method e_object->add_function
EXPORTING
fcode = 'BS_POST_ITEMS'
text = text-002.
*{ INSERT DHTK904078 1
*--> Miguel Estu00E9vez - 16/06/2008
* RIPI 24/04/2008 - Conciliaciones
* Permitir conciliar mu00E1s de un apunte a la vez
call method e_object->add_function
EXPORTING
fcode = 'ZBS_POST_ITEMS'
text = text-Z02.
*<-- Miguel Estu00E9vez - 16/06/2008
*} INSERT
call method e_object->add_function
EXPORTING
fcode = 'BS_KILL_ADVICE'
text = text-004.
CL_FEBAN_ALV_GRID=============CCIMP
when 'BS_POST_ITEMS'.
call method cl_feban_propagator=>raise_event
EXPORTING
i_event = 'POST_ITEMS'
i_ref_to_item = l_ref_to_item.
*{ INSERT DHTK904078 2
*--> Miguel Estu00E9vez - 16/06/2008
* RIPI 24/04/2008 - Conciliaciones
* Permitir conciliar mu00E1s de un apunte a la vez
when 'ZBS_POST_ITEMS'.
call method cl_feban_propagator=>raise_event
EXPORTING
i_event = 'ZPOST_ITEMS'
i_ref_to_item = l_ref_to_item.
*<-- Miguel Estu00E9vez - 16/06/2008
*} INSERT
when 'BS_LOCK_ITEMS'.
call method cl_feban_propagator=>raise_event
EXPORTING
i_event = 'LOCK_ITEMS'
i_ref_to_item = l_ref_to_item.
CL_FEBAN_PROPAGATOR===========CM001
when 'POST_ITEMS'.
raise event post_items
exporting i_ref_to_item = i_ref_to_item.
*{ INSERT DHTK904078 1
*--> Miguel Estu00E9vez - 16/06/2008
* RIPI 24/04/2008 - Conciliaciones
* Permitir conciliar mu00E1s de un apunte a la vez
when 'ZPOST_ITEMS'.
data: zvalor(1) value '' .
export zvalor from 'X' to memory ID 'ZFEBA01'.
raise event post_items
exporting i_ref_to_item = i_ref_to_item.
*<-- Miguel Estu00E9vez - 16/06/2008
*} INSERT
when 'LOCK_ITEMS'.
raise event lock_items
exporting i_ref_to_item = i_ref_to_item.
Now, I proceed to calculate the total amount of the selected transactions to look for the correct one to post.
LNEW_FEBAF01
* user parameter
l_feban_position type c.
field-symbols: <items> type item_tab_type.
*{ INSERT DHTK904077 1
*--> Miguel Estu00E9vez - 16/06/2008
* RIPI 24/04/2008 - Conciliaciones
* Permitir conciliar mu00E1s de un apunte a la vez
data: zvalor(1) value '',
zkwbtr type kwbtr,
kwb type kwbtr.
import zvalor to zvalor from memory ID 'ZFEBA01'.
if ( zvalor is not initial ).
if not i_ref_to_item is initial.
assign i_ref_to_item->* to <items>.
loop at <items> into h_item.
select single kwbtr
into kwb
from febep
where kukey = h_item-kukey and
esnum = h_item-esnum.
zkwbtr = zkwbtr + kwb.
endloop.
endif.
export zkwbtr from zkwbtr to memory ID 'ZKWBTR'.
endif.
*<-- Miguel Estu00E9vez - 16/06/2008
*} INSERT
refresh g_picked_items.
if not i_ref_to_item is initial.
assign i_ref_to_item->* to <items>.
loop at <items> into h_item.
move-corresponding h_item to h_picked_items.
append h_picked_items to g_picked_items.
endloop.
endif.
submit rfebbu00 and return
user sy-uname
with anwnd = r_doc->*-anwnd
with s_kukey in s_kukey
with s_esnum in s_esnum
with buber = g_posting_area
with mregel = '1'
with function = 'C'
with mode = g_mode
with p_bupro = g_bupro.
*{ INSERT DHTK904077 2
*--> Miguel Estu00E9vez - 17/06/2008
* RIPI 24/04/2008 - Conciliaciones
* Permitir conciliar mu00E1s de un apunte a la vez
if ( zkwbtr is not initial ).
select single kwbtr
into kwb
from febep
where kukey = h_kukey-low and
esnum = h_esnum-low.
zkwbtr = zkwbtr - kwb.
export zkwbtr from zkwbtr to memory ID 'ZKWBTR'.
endif.
*<-- Miguel Estu00E9vez - 17/06/2008
*} INSERT
refresh s_kukey.
refresh s_esnum.
clear h_kukey.
clear h_esnum.
endloop. "loop over all picked items
call function 'CUSTOMIZED_MESSAGE'
EXPORTING
i_arbgb = 'NEW_FEBA'
i_dtype = '-'
i_msgnr = '110'.
RFEBBU00
* original transaction currency provided and posting area = 2.
ftclear-selvon = febep-fwbtr. "INSERT - mpEURO
ENDIF. "INSERT - mpEURO
CONDENSE ftclear-selvon NO-GAPS.
*{ INSERT DHTK903977 1
*--> Miguel Estu00E9vez - 16/06/2008
* RIPI 24/04/2008 - Conciliaciones
* Permitir conciliar mu00E1s de un apunte a la vez
data: zkwbtr type kwbtr.
import zkwbtr to zkwbtr from memory ID 'ZKWBTR'.
if ( zkwbtr is not initial ).
ftclear-selvon = zkwbtr.
clear zkwbtr.
endif.
*<-- Miguel Estu00E9vez - 16/06/2008
*} INSERT
APPEND ftclear.
** Begin of comment C5053248
* perform druck_buzei_ftclear using ftclear-agkon. -
How to join two or more surveys to one big survey?
Hello Experts,
how do I join two or more littel surveys to one big survey with one tile and varios sections and subsections?
Thanks for help.
CristinaAs I did not get any answer, I suppose it is not possible, unless you join the coding.
-
How to create two respone for one request
Hi
is there any way for us to create two response for one request
the scenario is as below
1. user click on update button for particular record in the datatable (
after its get updated and status get updated = 'UPDATED' it will remove the object from ObjectListDataProvider and clear the tablePhaseListener ).
2. After it gets updated successfuly , i want to prompt the user with generateExcel function which using response.getOutputStream() using Apache POI.
How can we combine 1 and 2 together
Here what i have tried and didnt work
1. i tried to put the generateExcel function in destroy() method after page is rendered but it gives me Exception
2. i tried to put the generateExcel function in prerender() method
but the page will only execute the generateExcel function
- the data still get updated to the database but it doesnt refresh the page ( i meant the removing object and tablephaseListener.clear() doesnt work )
3 . i tried to put generateExcel Function after it process the data
public String updateData()
//update data
if(success){
// prompt user to save excell sheet
return null;
}This one also doesnt work and gives the same behaviour as number 2
The Prompt to save excel sheet still gets popped up
but the page just doesnt get refreshed
Thanks
is anybody know the workaround?yea i did set some alert message and clear the table by calling
provider.removeRow and commitChanges
it just doesnt reflected in the page that we see
by actually is already removing the row from the provider
Thanks -
Cannot send XML request message - TREX doesn't return FQDN
Hello all,
is there any way to configure TREX, so that it always returns it's FQDN?
I get the following error message from our SAP XECO (Shop) Java System.
Full Message Text
Object with category com.sap.isa.catalog.trex.TrexCatalogServerEngine could not be instantiated. Reason: cannot send XML request to http://saptx3:30305/TREX; reason: saptx3 (Errorcode 7262)
The problem is, that TREX doesn't return it's FQDN.
The TREX service as such is correctly configured in TREX Service "nameserver.address", "tcpip://hostname.domain:30301".
I added the line
SAPGLOBALHOST=saptx3.domain
to the sapprofile.ini file. This didn't do the trick, unfortunately.
Thanks a lot for your advice !
Best Rgs,
ThorstenHI Thorsten,
Please ensure that your setting match that of note: 1479923 - TREX: Queue server missing in KM TREX Monitor
and also please check the following:
Also do you have any proxy or firwall between TREX and the portal?
It can to be that the problem is related to the proxy configuration in
the Portal. Could you please check if you specified proxy in the
System Administration -> System Configuration ->Service Configuration->
Applications (Content Catalog) -> com.sap.portal.ivs.httpservice ->
Services -> Proxy
If a proxy server is entered there, you have to enter the TREX host in
the http - bypass Proxy Servers.
many thanks
Orla. -
How to show two or more PDF in one PDF-Reader / Concatenate PDF-Files
Hi,
I want to show two or more PDF files in one PDF reader window or to concatenate two or mor PDF files to one file.
We use WD4A and ADS.
Have someone an idea to solve this without an external program?
Thx in advance
JürgenWe have done this successfully a few times using WDA - it wasn't easy - it took us 2 full weeks to figure it out, so i need to get full points for this one!
It's going to much easier to do this if you start a brand new WDA. If not, you'll have to re-do all your Context Node navigations within your methods.
The first thing you need to do is to define your Context properly:
You need a top level Node defined as 1:1 cardinality (as with all PDF development)
Next, you need another Container Node 1:n cardinality (this holds the collection of content nodes)
Finally, you have your PDF Content Node 1:n cardinality - This holds each instance of your PDF form
In our scenario, we are passed in a list of Project Numbers. We need to generate a PDF sheet for each project in the same PDF session.
pseudo code - i'm leaving out some of the unnessary details
Loop through the project number table.
ADD 1 TO v_cnt.
* navigate from <TOP> to <PDF_CONTAINER> via lead selection
lo_nd_pdf_container = lo_nd_top->get_child_node( name = wd_this->wdctx_pdf_container ).
* This is the Important Part - we check to see if there is an element where index = v_cnt
* If not, we create one where we can store the new set of data
* get element via lead selection
lo_el_pdf_container = lo_nd_pdf_container->get_element( index = v_cnt ).
IF lo_el_pdf_container IS INITIAL.
lo_el_pdf_container = lo_nd_pdf_container->create_element( ).
lo_nd_pdf_container->bind_element( new_item = lo_el_pdf_container
set_initial_elements = ' ' ).
ENDIF.
lo_nd_ideasheet_data = lo_el_pdf_container->get_child_node( 'IDEASHEET_DATA' ).
lo_el_ideasheet_data = lo_nd_ideasheet_data->get_element( index = 1 ).
* fill all the data then bind the structure
Select * from XXX into lt_XXX
where project_number = lt_project-project_number.
* Move Data to appropriate fields/tables
* Bind the info back to the element
lo_el_ideasheet_data->set_static_attributes( static_attributes =
ls_ideasheet_data ).
Endloop.
Maybe you are looking for
-
Country of origin issue to be populated on Goods receipt
We have multiple vendor PART NUMBERS assigned to 1 vendor i.e N - 1 Relationship, if we maintain PIR , which can be used only for 1 vendor to 1 part number we cannot use PIR in this case as it is N - 1 Relation. So, the situation is we need to maint
-
I've been reading some of the other threads about this issue, but most, if not all, suggest using iCloud. I'm wary of setting up an iCloud account because I've heard that "once your information is 'in the cloud' it can't be deleted", and I just don't
-
Pvlan (promiscuous port) not permitted on etherchannel
This is probably an often-asked question: I've read in the 7K v5.0(2) NX-OS docs, the 6500 12.2SXF/SXH IOS docs and the 5K docs that the pvlan feature cannot co-exist with etherchanneling on the same uplink. This would assumedly include promiscuou
-
Error in activating BI content objects first in P
Hello, We make an error and activate the BI Content objects as Infoarea, SAP components and application components, InfoObjects first in productiv system without begining with the project in DEV or QA. Now we find the error, would it be a big problem
-
Create process error =2 wat should i do
in this case i am interrupted wth create process error -2 wat shuld i do can any one help me out.in this case try is a batch file in same folder of the program static void call() try Process proc = Runtime.getRuntime().exec("try"); proc.waitFor(); ca