Determining service name and operation name in handler
Hello.
Is there a way to determine the name of the web service and the name of operation being invoked from inside the JAX-RPC handler class?
By the name of the web service I mean the name that was used in its deployment descriptor file.
With axis, I was able to determine service name using 'MessageContext.getTargetService()' and 'MessageContext.getOperation()' .
are there similar ones in weblogic?
Using Weblogic v8.1 I was also able to get the port and operation via DefaultMessageContext. However, this no longer works on WebLogic v9.0.
Any idea how to do this in v9? I think I have the Operation Name by using another undocumented API:
weblogic.wsee.ws.server.OperationName (it's a property in the MessageContext). There's also an EndpointReference class that has 'portName' and 'serviceName' but for my server these are always null??
Any ideas?
Similar Messages
-
Determine Service Name in SQL+
I am trying to connect to a different database, on a different server. From what I understand, I need to know the service name. And the service name is made up of databasename.domain.
I can log into both databases in SQL+...but all I have to enter is the ID, Password, and Database. How can I figure out the domain/service name of the database using SQL+?google tom kyte for this and he might have a solution for your need.
ben -
Synchronous interface without Service Interface and Mapping
Hi all,
Short and simple question: Is it possible to set up a synchronous interface without using Service Interfaces and (Operation and Message) Mapping?
In my case I would like to create an interface with a SOAP and File adapter.
Cheers,
MacHi Mac,
>>Short and simple question: Is it possible to set up a synchronous interface without using Service Interfaces and (Operation and Message) Mapping?
Yes possible provided you have both Sync adapter as sender and receiver. For eg: Soap sender --> PI --> HTTP adapter
>>In my case I would like to create an interface with a SOAP and File adapter.
Sync scenario using File adapter as receiver is not possible. Because File adapter works asynchronously.
Regards
Suraj -
How to get service name and listening host to connect to oracle DB server?
I have successfully installed oracle db client 10g release 2 on my winXP. But when I tried to use Net Congiguration Assistance to connect to oracle db server. I do not know what is the "service name" and listening "host" I supporse to enter. Where can I get the names?
PLEASE HELP! THANKS!machine name or IP = machine name or IP address of the database server
To know the service name do the following on the server :
$ lsnrctl services
LSNRCTL for Linux: Version 10.1.0.3.0 - Production on 30-DEC-2005 00:24:28
Copyright (c) 1991, 2004, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=127.0.0.1)(PORT=1521)))
Services Summary...
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:0 refused:0
LOCAL SERVER
Service "test10" has 1 instance(s).
Instance "test10", status READY, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:0 refused:0 state:ready
LOCAL SERVER
The command completed successfully
$The service name is test10 in my case. Of course you have to use yours. -
Service name and database name are different.
Hi,
I had created a database with name PROD, latter i changed DB name to PRODT as per management request.
But i notice the following things.
1. At OS level ORACLE_SID variable is still PROD.(.bash_profile too have this entries)
2. From sql prompt DB_NAME is PRODT.
3. In Listener service name is showing PRODT and instance name is PROD.
can any one please explain me, why oracle is behaving like this.
Our all the applications are working fine with out any issues till now.
[oracle@qual ~]$ echo $ORACLE_SID
PROD
[oracle@qual ~]$ sqlplus '/ as sysdba'
SQL*Plus: Release 10.2.0.1.0 - Production on Tue Mar 5 10:35:01 2013
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Connected to an idle instance.
SQL> startup
ORACLE instance started.
Total System Global Area 608174080 bytes
Fixed Size 1220868 bytes
Variable Size 209719036 bytes
Database Buffers 394264576 bytes
Redo Buffers 2969600 bytes
Database mounted.
Database opened.
SQL> select name from v$database;
NAME
PRODT
SQL> !lsnrctl status
LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 05-MAR-2013 10:38:30
Copyright (c) 1991, 2005, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=qual.com)(PORT=1521)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for Linux: Version 10.2.0.1.0 - Production
Start Date 05-MAR-2013 10:36:54
Uptime 0 days 0 hr. 1 min. 35 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /u001/app/oracle/product/10.2.0/network/admin/listener.ora
Listener Log File /u001/app/oracle/product/10.2.0/network/log/listener.log
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=qual.com)(PORT=1521)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC0)))
Services Summary...
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
Service "PRODT" has 1 instance(s).
Instance "PROD", status READY, has 2 handler(s) for this service...
Service "PRODT_XPT" has 1 instance(s).
Instance "PROD", status READY, has 2 handler(s) for this service...
The command completed successfully
SQL> exit
Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining options
[oracle@qual ~]$Hello,
I had created a database with name PROD, latter i changed DB name to PRODT as per management request.Using NID ?
But i notice the following things.
1. At OS level ORACLE_SID variable is still PROD.(.bash_profile too have this entries)ORACLE_SID is the instance name. Changing DB name does not change the instance name. You can manually change it by creating a new PFILE/SPFILE and Password file for the new instance.
2. From sql prompt DB_NAME is PRODT.Yes, as you have changed the DB name from PROD to PRODT.
3. In Listener service name is showing PRODT and instance name is PROD.Database name is PRODT and the instance associated with it is PROD. There can be multiple instances for a single database.
Regards,
Shivananda -
How do I get a new value for the service name field and update it in Connection Properties?
I am running Windows Vista. I just upgraded to Firefox 4. When I try to log on to the internet, it tells me the proxy server is refusing connections. A diagnostic reported Error 815 and said the remote server is not responding because there is an invalid value for the "Service Name" field. It said to get a new value and update it in Connection Properties. How do I do this?
When you create a new film script, the first page you see is a title page.
The page after this title page is the one where you generally type in your scenes.
It looks like you are facing some issue and not able to delete any text.
Can you please send me this script so that I can have a better look at your issue?
You can save this script to disk by using option 'File -> Save to disk'. This will create a '.stdoc' file on your system.
Just mail this '.stdoc' file to me at 'roverma <at> adobe <dot> com'
Thanks -
"Service Name" and "Routine Name" in tmadmin
In tmadmin console, there is "Service Name" and "Routine Name". What is the differences between them? Do they have relation with "Server Name"? Thx.
See http://download.oracle.com/docs/cd/E13161_01/tuxedo/docs10gr3/rfcm/rfcmd.html#wp1750061
In 'buildserver' when you use the "-s" option you can specify the service name and optionally the routine/function name. The function/routine name is compiled and included in the server executable that 'buildserver' creates.
Typically the service name and routine name are the same.
Harvey -
Given IP and port number, Is there a way to find the service name?
Hi,
In the Java language, if I am given the IP and the Port number, is there way to lookup the corresponding service name?
thanks, graceThere are a number of standard services by port number. You can get that from /etc/services on any nx system and put it into a map or array. That list doesn't change all that often.
In general though, as Dave says, no.
Assuming the service is not one of the standard ones and the same port may provide different services on different IP addresses, there would need to be some standard protocol for naming services that you could access at those IPs--either a "list of ports/services" service that's at a known port, or a request/response that would be standard across all IPs and ports. As far as I know, neither of those exist. -
Webservice​s remove service name and port from the URL
Hi community,
so I have a server PC called "superlab"(*) and I also have a webservice called "superlab"(*). Now the users need to enter superlab:8001/superlab to the browser to access the service. I'd like them simply enter superlab.
So my questions:
1. how can I remove the service name from the URL
2. how can I remove the port number from the URL
3. (not related but I have difficulty to understand what it the point in "publishing" a webservice while simply starting it does the job as well)
thanks!
*Not the real nameLuis,
Then, as inolau's notice, create logon screen (or use the default one) and force the users to logon at runtime. Do not pass username/password as parameters.
inolau,
True that if the connection is specified in the config it will be the same for everyone. However, every case is different. For example one of our apps gets S3 credentials (from non-Oracle S3) as session parameters. It uses this common db connection to validate some stuff with the database, read security definitions and then it re-connects the forms using the credentials. -
Host name, port number and service name
Hi!
I have a question that will sound easy and stupid, but not for me.
during the instal of 9iAS.There is a screen ask to provide the host name,port number and service name.
Did host anme is only the name of my PC?
and what is the port number?(windows XP)
what is the format of the service name (orcl)?
Thanks
Kamalif you used LDW as the connection/service name when you setup this connection to CMS DB, then no further changes to BOE configurations will be needed.
If you used the service name PO and now it is changes to NEW_PO - then you'll have to update CMS DB connection info in CCM>SIA>Properties>Connection.
See Admin guide for details.
p.s.
BOE services should be stopped while your changes on Oracle side are done and before you change the TNS file and connection info in CCM. -
Table names for Ordercosts and Operational Data
Hi Gurus,
I am working on Ordercosts and Operational Data.I want the table names to pull operations data.
In IW32,there is Operaionts tab,i want to pull all the fields in that tab in my bw reports.
Can anyone help the table names and the datasources which can fullfill my report requirement.
Thanks in Advance.
Thanks,
Surya.what module is this for? also you could click on status and find out the technical name of fields from system menu tab which will give you more info where the fields are stored.
-
Getting all service names and users
Hi all,
Can i ger all service names in database and users related to that service names .
Thanks in advance.Hi,
I don't think that's possible in one query given the fact that you can connect to only one instance/database at a time...
You could post this question also at the [Database-General|http://forums.oracle.com/forums/forum.jspa?forumID=61&start=0] forum, though... -
Gateway hostname and gateway service name for XI
Hi,
Where can i find the Gateway hostname and gateway service name for XI Integration server. I need this info to input for creating RFC for SAPSLDAPI.
Thanks in advance. SriSri,
You can find this info from t-code SMGW
Choose menu Goto->Parameters->Display and search for entries
gateway hostname and gateway service (usually sapgw00)
Reward if helpfull
Vijay Kothapalli -
Service and operation options are not visible in catch event.
I have created a file adapter service and calling the same using throw and catch event.I have created service call type conversation which is configured in throw event with default conversation option.But when i am trying to config same in catch event my service name and operation does come up.
Any idea ?
http://postimg.org/image/orb03h29x/Hi Madhu,
My Understanding:
1. When you enter the main/header product in the item details, the item catefory for the header product gets determined.
2. Your components can also be seen below as sub-items automatically, but the item category is not determined.
Tell me if my understanding is correct.
If Yes, u need to maintain the item category determination for the sub-items or components as well.
Transaction Type: Put the service order transaction type
Item Category Group: Check the item category group of your component product in COMMPR01 (Material tab/ Sales and Distribution Tab)
Item Category Usage: Leave it Blank
Main Item Category: Put the header product item category
Item category: Put the desired item category here.
Also ensure that in the customizing of the header item category, u have maintained the Structure Scope as A- Single Level Explosion of Structured Products.
Regards,
Shalini Chauhan -
EM doesn't allow creation of tnsnames.ora entry with service name orcl11gr2
Dear all,
I'm trying to create a net service name with EM Database Control, via Net Services Administration link. On the service name field, under the 'Edit Net Service Name' screen, I key in orcl11gr2, and it throws the the following error:
Validation Error
Examine and correct the following errors, then retry the operation:
Service Name - Specify a valid service name.
I wonder what is the extra validation that EM is checking. I assume it's checking the number of characters to be 8 characters or less.
Also, because of this extra validation that is in EM, all tnsnames.ora entry that have service name = orcl11gr2, I will not be able to use EM to modify them, as I will get the same above error.
But why does Oracle implements this extra validation, when the same validation is not implemented on other Oracle tools? For instance:
1. dbca allows me to create a database with instance_name greater than 8 characters, and the outcome of initialization parameters will be as follow:
db_name=orcl11gr -- truncated to 8 characters
instance_name=orcl11gr2
db_unique_name=orcl11gr2
service_names=orcl11gr2
2. Oracle Net Manager supports service name of orcl11gr2. The created Net Service Name, I have no problem connecting to the database.
3. Listener support orcl11gr2 service name
I'm using Oracle 11g R2 (11.2.0.1.0) for Microsoft Windows (x64), running on Windows 7.For your reference, here is the bug numbner: 10278345.
-Mughees
Maybe you are looking for
-
Brightness doesn't work in Windows 7 on Mini 210 HD
Hi, I've bought a Mini 210 HD a month or two ago, and i promptly removed XP to put Windows 7 Ultimate (32-bit) on it. This has worked more or less OK, but ever since upgrading i have been unable to use the brightness functions of the lap-top in any w
-
Collect Operation using BPM and
Hi Experts, I have a scenario where Proxy to file communication happens. 1.i have to collect all the data in XI that has sent from proxy ( Sender System ) via BPM and send to file system only after every 15 mins. 2. For the same scenarion without usi
-
What is this mobilebackup volume that just appeared?
I just noticed a new volume, Mobilebackup. I appears to be a few days old, and appears to have the same kind of files that Time Machine does. It has backup files of two volumes (of four), and has one folder for the first day, and varying numbers of f
-
Why is my connection not working?
my ipod is not recieving any networks at all when im right next to my router and when i go to a friends house it still doesnt work help!!
-
Filter on attribute of 0MATERIAL filters charac. values without master data
Hi SAP-Gurus, I've a problem while executing a query (this query is based on a MultiProvider). I got the message "Filter on attribute of 0MATERIAL filters charac. values without master data" and I don't know why. When I don't use the filter on the na