How to specify the JMS Client ID in Proxy Service of OSB 11.1.1.5 version ?
Hi All,
I am looking for an option to set the JMS clientID for a JMS Proxy services in OSB. Can this feature available in OSB 11.1.1.5 version?
Thank you,
Ram.
These links will helpful for you.
http://jdevadf.oracle.com/adf-richclient-demo/docs/tagdoc/af_train.html
http://download.oracle.com/docs/cd/E15523_01/apirefs.1111/e12419/tagdoc/af_train.html
Similar Messages
-
How to retrieve the java object in a proxy service in osb -- Plz help
Hi all,
I have a singleton java class which runs whenever the weblogic server gets started and store the output in its object. I need to access this java object from a proxy service in osb.
We tried using java call out and retrieved that object but we couldn't know how to parse that object into XML.
We are not sure of using the java call out in osb to solve this purpose because whenever we use a java callout, that particular java code will run which is not the case of singleton class.
So kindly help us how to retrieve the java object which holds the output without running the java code every time because its already run and holding the output in its object.
Regards
Prabhuhere the doc http://download.oracle.com/docs/cd/E13159_01/osb/docs10gr3/userguide/context.html#wp1106656
but I guess you are already at the stage of getting a POJO in a first Java Callout and passing the POJO to a second Java Callout, which should then return it to OSB as a XMLObject.
My recommendation is to write a Java function which returns a XMLObject and uses a XMLCursor to populate it with the values of the POJO.
An XMLObject returned to the OSB is automatically transformed in a "XML" variable (which in reality is represented as a XMLObject in the Pipeline context)
Here some code sample:
http://www.javamonamour.org/2010/09/how-to-create-xmlobject-using-xmlcursor.html -
How to specify the target name while deploying a code in OSB-- Plz Help
Hi all,
Am working in creating a cluster environment. For my testing i created a new managed server(OSB_Server) in 9001 port in the admin console itself and that server started running. The default managed server(Admin_Server) is in 7001 port. So when i deploy a code in 7001 sb console the WSDL gets exposed in 7001 because the default admin server port is 7001. While deploying a code in service bus admin console we are not specifying the target name. So how to specify the target name while deploying the code in service bus admin console. Plz help me.
Regards
PrabhuHi Prabhu,
There are three kind of server architecture possible for OSB -
1. Single server - Everything gets deployed on Admin server itself
2. Admin Server + Single Managed Server for OSB -- OSB configuration gets deployed on OSB managed server. OSB resources (proxy service, WSDL, Schema) will remain available on OSB managed server port only and NOT on admin server port
3. Admin Server + OSB cluster -- OSB configuration gets deployed on OSB cluster. OSB resources (proxy service, WSDL, Schema) will remain available on OSB Cluster port(s) only and NOT on admin server port
Converting one type of server architecture to any other type, requires a manual tedious process, so it is suggested that you create domain accordingly i.e. if you need clusters then while creating domain itself, create OSB cluster, so that all OSB applications gets deployed to OSB cluster. I will suggest you to create a clustered domain from scratch and import the configuration from your existing domian to this new clustered domain.
You may refer-
http://download.oracle.com/docs/cd/E17904_01/doc.1111/e15022/toc.htm
Regards,
Anuj -
Can anyone help me what is the use of business and proxy service in osb?
Hi,
I am new in Osb what is the use of business service and proxy service in osb.
I know little bit proxy service is used for actual message flow. I saw some project proxy service invoking the (using service callout,routing and publish) service,but the wsdl of the services of the proxy and business service is same.
Please can anyone explain the flow while executing through soapUI?(that means it will hit 1st business services or proxy service)
I have this project structure
business service
1.reference.biz----> this is the wsdl of ex:reference.wsdl
2.external.biz----> this is the wsdl of ex:external.wsdl
proxy service
1.referece.proxy--->this is the wsdl of ex:reference.wsdl(in this proxy we are routing to reference.biz proxy service both contains same wsdls why?)
xqueries of request and response.
Best Regards,
Raju.
Edited by: 996674 on Apr 2, 2013 10:53 PMHi Raju,
Proxy Service - It is the starting point of you OSB application which deal with receiving messages, inducing logic in it like transformation, if-else, replace, java call outs,etc. You can put in your program logic here and then invoke a business service to route it to your Database or to any other queue as per your requirement.
Business Service - It is generally used for routing purposes, like inserting the input in your Database or sending it to a different queue or BPEL process, etc..
Cheers,
Rit -
How the JMS client detect if the JMS server is still running?
I have a JMS server running on Weblogic and a JMS client running as a standalone application on my local machine. I ran into the problem that if the JMS server is down for a period of time and then get re-started, the JMS client will lose its connection to the server. Since JMS client is just passively listening to the topic it subscribes, it will have no information about the status of the JMS server. Therefore it will not be able to receive any new message if the JMS server is restarted.
I wonder if there is a way I can have the JMS client automatically detect if the connection to the server is lost or reset. I tried to use a while loop in JMS client that does a JNDI loopup every minute to check if the JMS server is up. But if the WL server is down, the JMS client will just catch an exception and crash.Hi,
You should use an exception listener that allows a client to be notified of a problem asynchronously. As your client only consumes messages, it would have no other way to learn that its connection has failed.
Hence, you should implement the interface ExceptionListener (let says MyExceptionListener) and define your reconnection logic in the method onException(JMSException exception). MyExceptionListener has to be registered with your connection with the method:
public void setExceptionListener(ExceptionListener listener) throws JMSException
Hope it helps,
Arnaud
www.arjuna.com -
How to upgrade the Oracle Client silently ?
Hi all,
I have to upgrade the Oracle Client from 8.1.6.0.0 to 9.2.0.1.0.
I use the -record option for creating the destination file or edit the response file manually for being able to install the new client. But I have no idea, how to remove the old client.
The following command doesn't work:
C:\Program Files\Oracle\oui\install\setup.exe" -deinstall DEINSTALL_LIST={"oracle.client","8.1.6.0.0"}
What am I doing wrong? How to remove the Oracle Client silently?
Thanks for the help and best wishes from Frankfurt.
DimitriI created a instant client silent DE-INSTALL for version 10.1.0.2 on XP.
setup.exe -silent -deinstall -responseFile Z:\yyyyyy\xxxxxx.rsp
These are parameters are in my response file...
ORACLE_HOME="C:\oracle\InstantClient\10.1.0"
ORACLE_HOME_NAME="OraInstantClient10g_home1"
TOPLEVEL_COMPONENT={"oracle.client","10.1.0.2.0"}
DEINSTALL_LIST={"oracle.client","10.1.0.2.0"}
SHOW_SPLASH_SCREEN=false
SHOW_WELCOME_PAGE=false
SHOW_END_SESSION_PAGE=false
SHOW_EXIT_CONFIRMATION=false
SHOW_DEINSTALL_CONFIRMATION=false
SHOW_DEINSTALL_PROGRESS=true
REMOVE_HOMES={"c:\oracle\ora81","c:\oracle\InstantClient\10.1.0"}
You still have to manually update/remove the PATH & TNS_ADMIN environment variables and the file system directories. -
How to configure the JMS application in WSAD 5.0
hi
i need to configure an JMS application in WSAD 5, but while configuring the application i am checked with intial context exception. but i have configured the jndi in the server. but i cant able to run the application.
can anybody help me like how to configure the JMS application in WSAD (can we configure it without MQ simulator if yes i need the steps)
thanks in advanceHi,
did you check the WebSphere documentation or ask a question on an IBM forum?
Frank -
Numbers to CSV export script: how to specify the encoding?
Hi,
I'm using the following script to export a Numbers document to CSV:
# Command-line tool to convert an iWork '09 Numbers
# document to CSV.
# Parameters:
# - input: Numbers input file
# - output: CSV output file
# Attik System, Philippe Lang
# Creation date: 31 mai 2012
# Modification date:
on run argv
# We retreive the path of the script
set myPath to (path to me)
tell application "Finder" to set myFolder to folder of myPath
# We get the command line parameters
set input_file to item 1 of argv
set output_file to item 2 of argv
# We retreive the extension of the file
set theInfo to (info for (input_file))
set extname to name extension of (theInfo)
# Paths
set input_file_path to (myFolder as text) & input_file
set output_file_path to (myFolder as text) & output_file
if extname is equal to "numbers" then
tell application "Numbers"
open input_file_path
save document 1 as "LSDocumentTypeCSV" in output_file_path
close every window saving no
end tell
end if
end run
It works fine, except that I don't know how to specify the encoding of the text in the CSV file (Latin1, MacRoman, Unicode). This option is available in the export dialog of Numbers. Any hint on how to do that is welcome. (GUI Scripting?)
Where can I find documentation on the iWork "vocabulary" available? Is there a definitive documentation somewhere? I tried to record an manual export in the script editor, without success. Script is more or less empty.
Thanks!
Philippe LangA further note from Yvan. He's made some revisions to the script sent earlier.
--{code}
--[SCRIPT export to CSV with selected encoding]
I added some features.
(1) Defining the encoding thru the preferences file apply only if
the application is not in use because the file is read only once in a session.
A test urge you to quit Numbers if it is running.
(2) info for is deprecated so it may be removed by Apple tomorrow.
I no longer use it.
(3) just for the fun, I added a piece of code allowing you to select the encoding on the fly.
Thanks to the property chooseEncodingInScript, at this time the script use Unicode (UTF-8)
(4) I'm wondering which tool is used to launch this script,
I don't know the way to pass arguments when I run one.
Yvan KOENIG (VALLAURIS, France)
2012/06/13
property chooseEncodingInScript : false
true = the script will ask you to select the encoding
false = the script use the embedded encoding
on run argv
set input_file to (item 1 of argv) as text
set output_file to (item 2 of argv) as text
set myPath to (path to me) as text
tell application "System Events"
set theProcesses to name of every application process
set myFolder to path of container of (disk item myPath)
set input_file_path to myFolder & input_file
set output_file_path to myFolder & output_file
set extname to name extension of (disk item input_file)
end tell
if extname is "numbers" then
if "Numbers" is in theProcesses then error "Please, quit “Numbers” before running this script !"
if chooseEncodingInScript then
set theList to {"Mac OS Roman", "Unicode (UTF-8)", "Windows Latin 1"}
set maybe to choose from list theList with prompt "Choose the default encoding applying to export as CSV"
if maybe is false then
error number -128
else if item 1 of maybe is item 1 of theList then
30 -- Mac OS Roman
else if item 1 of maybe is item 2 of theList then
4 -- Unicode (UTF-8)
else
12 -- Windows Latin 1
end if
else
4 -- Unicode (UTF-8)
end if
do shell script "defaults write com.apple.iWork.Numbers CSVExportEncoding -int " & result
tell application "Numbers"
open input_file_path
save document 1 as "LSDocumentTypeCSV" in output_file_path
close every window saving no
end tell
end if
end run
--{code}
Regards,
Barry -
How to specify the type of table in the form parameters
How to specify the type of table in the form parameters. for example, how to specify the type of table "vacancies".
FORM getcertainday
USING
vacancies TYPE STANDARD TABLE
efirstday LIKE hrp9200-zfirst_day
lfristday LIKE hrp9200-zfirst_day.Hi
Are you asking about subroutine program to declare a variable for perform statement etc
if it so check this coding
DATA: NUM1 TYPE I,
NUM2 TYPE I,
SUM TYPE I.
NUM1 = 2. NUM2 = 4.
PERFORM ADDIT USING NUM1 NUM2 CHANGING SUM.
NUM1 = 7. NUM2 = 11.
PERFORM ADDIT USING NUM1 NUM2 CHANGING SUM.
FORM ADDIT
USING ADD_NUM1
ADD_NUM2
CHANGING ADD_SUM.
ADD_SUM = ADD_NUM1 + ADD_NUM2.
PERFORM OUT USING ADD_NUM1 ADD_NUM2 ADD_SUM.
ENDFORM.
FORM OUT
USING OUT_NUM1
OUT_NUM2
OUT_SUM.
WRITE: / 'Sum of', OUT_NUM1, 'and', OUT_NUM2, 'is', OUT_SUM.
ENDFORM.
If your issue is some other can u explain me clearly
Regards
Pavan -
HOw to test the jms connection?
HI all,
how to test the jms connection in xi?
regards
kishHI,
We can see the JMS sender or reciver side .. in RWB .. see communicaiton channel mononitoring,., also..
We can access it through browser.. it depends upon the proocol type .. like sonic or webspeare MQ..or ...
see below links
http://help.sap.com/saphelp_nw04/helpdata/en/cf/886a3c3a860657e10000000a114084/frameset.htm
/people/alessandro.guarneri/blog/2006/01/04/jms-sender-adapter-handling-too-short-lines
/people/william.li/blog/2006/11/13/how-to-use-saps-webas-j2ees-jms-queue-in-exchange-infrastructure
content conversion https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/f02d12a7-0201-0010-5780-8bfc7d12f891
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/97171dd3-0401-0010-5195-b43f556e6ce9
Chilla -
How to specify the database file path when create FDM application
Dear All,
How to specify the database file path (MSSQL) when create FDM application?
Right now, all data file are placed in the D:\ . I want to specify the database files (log and mdf file) in other place. How to do it?
Thanks.Where is the highS2.xml located on the disk? If you add it to your project you should set its Build Action to Content and its Copy To Output Directory to Always in Visual Studio:
Please remember to close your threads by marking helpful posts as answer once your issue has been solved and then start a new thread if you have a new question. -
How to control the jms transactiion in WLI
Hi,
I’m new to WLI integration area; I have JPD which will subscribe message from message broker channel via JMS event generator. i have requirement to put business validation and needs to rollback the message if validation fails with few seconds time delay(Thread. sleep(1000)). Not sure how to handle the JMS transaction explicit in JPD,
Any one have idea how to do the JMS transaction in JPD ?
thanks
Edited by: user650952 on Jul 26, 2009 7:35 PM
Edited by: user650952 on Jul 26, 2009 7:36 PMI'm not familiar with WLI, but if you're using WebLogic JMS as the source destination, you can configure a "redelivery delay" on the destination and then force a message redelivery.
I assume that your JPD code doesn't have direct access to the javax.jms connection or session? In which case, you might be able to force a message redelivery by rolling back the current XA/JTA transaction (if there is one), or throwing a runtime exception. If the code is running from within an MDB, you can throw a "weblogic.ejb.NonDestructiveRuntimeException" exception to avoid the overhead of the MDB automatically destroying and recreating itself in response to the exception.
Tom -
How to access the JMS queues in the XI J2EE Engine?
Hi Gurus,
Can anybody know how to access the jms dead message queues in the WAS J2EE Engine?
I have read in the SAP documentation that we can use some JMS commands from the telnet. I don't know how to use those commands.
Can anybody provide a step-by-step process to access these queues?
Thanks
Kalyan1) Open a command prompt
2) type
telnet localhost 50008
where the port is the same as your http, but with 8 as last digit.
3) Login
4) Issue the following set of commands
jump 0
add jms
jms list deadmsgs
Check by man jms other possible options.
HTH
Peter -
How to get the real client ip from HttpClusterServlet?
Hi All,
WL 6.0 sp2 on Linux.
When HttpClusterServlet is used, invoking HttpServletRequest.getServerName()
will return the server name of the proxy server where HttpClusterServlet
installed,
rather than the actual client's ip which we are interested in.
Anybody knows how to get the correct client ip through the proxy server? Any
workaround? Or does a patch exist?
Any help will be appreciated,
Lynch
Sorry I mean HTTPServlet.getRemoteAddr()
"Lynch" <[email protected]> ¼¶¼g©ó¶l¥ó
news:3baea0c5$[email protected]..
> Hi All,
>
> WL 6.0 sp2 on Linux.
>
> When HttpClusterServlet is used, invoking
HttpServletRequest.getServerName()
> will return the server name of the proxy server where HttpClusterServlet
> installed,
> rather than the actual client's ip which we are interested in.
>
> Anybody knows how to get the correct client ip through the proxy server?
Any
> workaround? Or does a patch exist?
>
> Any help will be appreciated,
> Lynch
>
>
-
How to know the class method behind an enterprise service
Hi,
SAP has provided enterprise services for Room booking in Real Estate module. They are even shipping the complete application for a nominal price. But the standard version is not suitable for our client requirement so they want to develop this application inhouse.
Now my question is: I know the enterprise services used in this application. How to know the implementing methods behind these enterprise services ?
If possible suggest which approach will be a better option for the inhouse development.
1. Webdynpro ABAP and use directly methods behind the enterprise services.
2. Webdynpro ABAP and create client proxy class for the enterprise services.
3. Webdynpro JAVA and use the enterprise services.
4. Using visual composer modelling the application.
Please suggest the best alternative.
Best Regards,
Aleem Mohiuddin.Hi
They are even shipping the complete application for a nominal price. But the standard version is not suitable for our client requirement so they want to develop this application inhouse.
I assume you are talking about xApps.
How to know the implementing methods behind these enterprise services ?
In sproxy transaction you can search service and then you can see class and method implemented behind that particular service.
1. Webdynpro ABAP and use directly methods behind the enterprise services.
In my opinion not recommended to bypass ES and use method behind it.
2. Webdynpro ABAP and create client proxy class for the enterprise services.
Not sure why you want to create proxy of ES.
3. Webdynpro JAVA and use the enterprise services.
4. Using visual composer modelling the application.
You can use either Webdynpro (ABAP or Java) or VC to model your application which consume ES in backend. Both options are good, you can chose Java or ABAP flavor of dynpro based on skill available in team. VC is very effective in rapid modelling and can be used in protyping or in development of complete application.
Regards,
Gourav
Maybe you are looking for
-
Hi Experts, I am facing the problem to have junk characters in IT0001. These junk characters are constant. I am unable to remove it. It is also reflecting on the name of Employee. Ex : EMP NAME : "Mr. Abhinav Shrivastav ########" , It is reflecting i
-
Trying to add a value to REG_NONE in the Registry
I'm trying to add a value to the Windows Registry with key type of REG_NONE. I looked here, among other places, and it was no help: http://superuser.com/questions/331811/how-to-create-registry-key-of-type-reg-none Here's the command I am using: reg a
-
Hi! 1. How can you through ABAP and select statements count the number of rows in one table? 2. I want to read all rows from one table to an internal table. Can this be done dynamically or do I first have to count the number of rows in the table and
-
Calculations in Page /Dashboard Prompts in OBIEE doesnt work for me .
Hi , Iam trying to create a Custom Aging Report instead of using the OOB Aging report . In the report I created column ( only at this report level) "% of Outstanding Amount in AR Past Due 1- 30 Days" by changing the "Fx" and Now I can see the $$ amou
-
I relaized I was not hearing any sounds and was missing calls. I did not change the settings, but have tried playing around with settings and still not working. Any suggestions? Thanks!