I want to test a java program[UDDI JAVAse1.4/2004] that uses:
I want to test a java program[UDDI JAVAse1.4/2004] that uses:
1.http://test.uddi.microsoft.com/inquire
2.https://test.uddi.microsoft.com/publish
wel las of today(now) these urls changed or remain and are functional the same? if non, tell me new ones?
According to Wikipedia
IBM, Microsoft, and SAP announced they were closing their public UDDI nodes in January 2006.UDDI didn't take off as much as was hoped and public UDDI nodes never were much use. These days UDDI is used very rarely and mostly in-house.
Similar Messages
-
I want to write a java program that can add a user to a role or sub role to the Profile Database in iPlanet Portal Server 3.0. Does anyone has any idea or a sample program do such thing? Thanks, Tommy
// create the user profile, get the handle back,
// and set the membership profile attributes.
ProfileAdmin newProfile = null;
try {
// the users profile name is the domain
// he belongs to plus their userName
// you will request.domain if your doing this from a servlet, domain_name is the domain_name the user belongs too
String profileName = domain_name + "/" + user;
if (debug.messageEnabled()) {
debug.message("creating profile for " + profileName);
// create the user profile object
newProfile = ProfileManager.createProfile(
getSession(), profileName ,Profile.USER);
UserProfile userProfile = (UserProfile)newProfile;
// set the role the user is a member of. Default is to set
// the users to the default role of the domain they surfed to
StringBuffer roleName = new StringBuffer(64);
// request.domain instead of domain_name if your doing this from a servlet ..
Profile dp = getDomainProfile(domain_name);
roleName.append(dp.getAttributeString("iwtAuth-defaultRole"));
if (debug.messageEnabled()) {
debug.message("setting role for " + user + " = " + roleName);
userProfile.setRole(roleName.toString());
newProfile.store(false);
} catch (ProfileException pe) {
debug.error("profile exception occured: ",pe);
return;
} catch (ProfileException pe) {
debug.error("login exception occured: ",le);
return;
HTH .. -
I want to learn latest Java Programming
Hello,
I learned Java programming in 2006 in India. I am a student of NIIT and completed Diploma in IT.
Right now, I am SEO Manager in leading IT company.
I want to restart my java study at my own.
So, How can I learn latest Java programming?
If you have any ideas so, help me.Mistry-Anand wrote:
Hello,
Right now, I am SEO Manager in leading IT company.
I want to restart my java study at my own.
So, How can I learn latest Java programming?
If you have any ideas so, help me.stick to management. Your attitude shows you're well suited to that, utterly unsuited to doing work of your own that involves any independent creative thought whatsoever. -
Java programming in mySAP ERP 2004
Greetings
With mySAP ERP 2004, Can I do java programming instead of abap programming?. My intention is not to depend on ABAP programmers for simple tasks.
Thanks
GonzaloNo, the core system still runs on ABAP. You cannot use java to develop business logic in R/3. It all runs on ABAP. You can however use java on the frontend and talk to the mySAP ERP 2004 system on the backend via RFC calls.
Regards,
Rich Heilman -
How do I exit a java program based on condition can i use system.exit
I have java program that is called by another program that I dont have control on. My program returns a bigdecimal... but if the ordernumber is empty in my program i dont wnat to do anything.. does system.exit work in that condition... i put it int he else if ordernumber is empty condition.. but i dont think that is the right approach..
When software module is expected to bring some result, it should bring the result, positive or negative. I think you should check what your counterpart software expects as positive or negative result. And then implement your software this way. You can use System.exit, but this call is employed usually to indicate status with the software after it's completion and not to return any resulting value.
http://java.sun.com/j2se/1.4.2/docs/api/java/lang/System.html#exit(int) -
Can you give me url to download movie to test in videoTransmit.java program
Hello friends,
I want to test VideoTransmit.java program which is available in java site.
I want to test that program but I have one movie and tested with that but it gave some error.
error:
C:\tempdownloads\webcam>java VideoTransmit file:/C:/tempdownloads/webcam/sample
_100kbit.mov 172.16.16.112 42050
Video transmitted as:
JPEG/RTP, 192x240, FrameRate=15.0
The input format is not compatible with the given codec plugin: com.sun.media.co
dec.video.colorspace.RGBScaler@1fee6fc
Failed to realize: com.sun.media.ProcessEngine@194df86
Cannot build a flow graph with the customized options:
Unable to transcode format: SVQ3, 192x242, FrameRate=15.0, Length=7522
to: JPEG/RTP, 192x240, FrameRate=15.0
outputting to: RAW/RTP
Error: Unable to realize com.sun.media.ProcessEngine@194df86
Error : Couldn't realize processor
S0, i requesting you can you give url to download small clips with extension
(*.mov) to test my program
thank you
ravikumarHello friends,
I want to test VideoTransmit.java program which is available in java site.
I want to test that program but I have one movie and tested with that but it gave some error.
error:
C:\tempdownloads\webcam>java VideoTransmit file:/C:/tempdownloads/webcam/sample
_100kbit.mov 172.16.16.112 42050
Video transmitted as:
JPEG/RTP, 192x240, FrameRate=15.0
The input format is not compatible with the given codec plugin: com.sun.media.co
dec.video.colorspace.RGBScaler@1fee6fc
Failed to realize: com.sun.media.ProcessEngine@194df86
Cannot build a flow graph with the customized options:
Unable to transcode format: SVQ3, 192x242, FrameRate=15.0, Length=7522
to: JPEG/RTP, 192x240, FrameRate=15.0
outputting to: RAW/RTP
Error: Unable to realize com.sun.media.ProcessEngine@194df86
Error : Couldn't realize processor
S0, i requesting you can you give url to download small clips with extension
(*.mov) to test my program
thank you
ravikumar -
How to invoke the .bat(batch file ) from the java program
i want to run some commands when i run one java program.
I wrote those dos commands on the batch file and i want to include the bat file in the java program so that i can execute the bat file when i run the java program.
tell me the way that i can run my bat file inside the java program.i tried this :
a .bat file named test.bat, with this code : copy test.bat test2.bat
a java class, Test.class, in the same directory
public class Test {
public static void main(String[] args) {
try {
Runtime rt = Runtime.getRuntime();
Process proc = rt.exec("cmd /c test.bat");
proc.waitFor();
int exitVal = proc.exitValue();
System.out.println("Process exitValue: " + exitVal);
catch (Throwable t) {
t.printStackTrace();
} -
How to execute an external executable in my java program?
hi,
i want to write a java program to execute some external executables.
for example, i had an executable which takes a string as its input parameter, and:
it writes to stdout a string : "[stdout] hello, "+parameter+"!";
it writes to stderr a string : "[stderr] hello, "+parameter+"!".
and it exits with an error code 1.
my java program looks like this:
public class Test {
public static void main(String[] args)
throws Exception {
String inputParameter = "heavyz";
String stdoutOutput = null;
String stderrOutput = null;
int exitCode;
// Do something here to launch the executable,
// providing inputParameter as its input,
// getting its stdout output to String stdoutOutput,
// and its stderr output to String stderrOutput,
// and its exit code to int exitCode.
return;
}anybody can help me to complete the program above?
thanks a lot.
heavy ZHENGcheck out Runtime.getRuntime().exec();
-
JAVA Exe+JAVA Program Scheduling
I have following 3 subquestions:
1. How do I convert a .class file to .exe
2. How do i add my java program to a scheduler so that it runs periodically
3. How do I make my java program run in background
Please mail me at [email protected]I have following 3 subquestions:
1. How do I convert a .class file to .exeYou can try for instance InstallAnywhere from ZeroG.
2. How do i add my java program to a scheduler so that
it runs periodicallyJust make a batch file including the command to run your application and schedule it to be executed.
3. How do I make my java program run in background
It depends on what you mean: if you want to run the application without the visible shell window use javaw. -
How Can we stop the execution of java program which contain infinite loop
Dear All,
I create one .bat file which which execute the simple java program
I write one java program which execute above .bat file using instance of Runtime Class of java
It's work fine if java program which is executed by .bat file is simple(Which has normal termination)
But if that program contain inifinte loop then that file will goes on executing untill I close it manually
So i want a solution in java which close that bat file (command window ) which is in running condtion
If there any solution please replay me
I try to close that .bat file using destroy() ,stop() method of Process and Runtime , Thread Class
but it did not give me correct output
.bat file still running !!!!!!!!!
Thanks in advanceWhy not use javaw.exe to make the app run so you don't need the dos window (which is presumably what you are actually talking about when you say bat file).
-
How to run a java program in command prompt
hi i want to run a java program from in command prompt from another directory
i want to run a file named First in C:\Program Files\Java\jdk1.6.0_07\bin
so when i give the command
java "C:\Program Files\Java\jdk1.6.0_07\bin\First"
it doesnt works it shows
C:\>java "C:\Program Files\Java\jdk1.6.0_07\bin\First"
Exception in thread "main" java.lang.NoClassDefFoundError: C:\Program Files\Java
\jdk1/6/0_07\bin\First
Caused by: java.lang.ClassNotFoundException: C:\Program Files\Java\jdk1.6.0_07\b
in\First
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
Could not find the main class: C:\Program Files\Java\jdk1.6.0_07\bin\First. Pro
gram will exit.but it prints
C:\>java -cp "C:\Program Files\Java\jdk1.6.0_07\bin\" First
Usage: java [-options] class [args...]
(to execute a class)
or java [-options] -jar jarfile [args...]
(to execute a jar file)
where options include:
-client to select the "client" VM
-server to select the "server" VM
-hotspot is a synonym for the "client" VM [deprecated]
The default VM is client.
-cp <class search path of directories and zip/jar files>
-classpath <class search path of directories and zip/jar files>
A ; separated list of directories, JAR archives,
and ZIP archives to search for class files.
-D<name>=<value>
set a system property
-verbose[:class|gc|jni]
enable verbose output
-version print product version and exit
-version:<value>
require the specified version to run
-showversion print product version and continue
-jre-restrict-search | -jre-no-restrict-search
include/exclude user private JREs in the version search
-? -help print this help message
-X print help on non-standard options
-ea[:<packagename>...|:<classname>]
-enableassertions[:<packagename>...|:<classname>]
enable assertions
-da[:<packagename>...|:<classname>]
-disableassertions[:<packagename>...|:<classname>]
disable assertions
-esa | -enablesystemassertions
enable system assertions
-dsa | -disablesystemassertions
disable system assertions
-agentlib:<libname>[=<options>]
load native agent library <libname>, e.g. -agentlib:hprof
see also, -agentlib:jdwp=help and -agentlib:hprof=help
-agentpath:<pathname>[=<options>]
load native agent library by full pathname
-javaagent:<jarpath>[=<options>]
load Java programming language agent, see java.lang.instrument
-splash:<imagepath>
show splash screen with specified image
C:\> -
Running the Java program as service.
Hi,
I want to create have java program, which runs continously. This would hit check a table in Database for any new records and if there is anything it would post a message to another service. It would keep track of how many messages were posted and how many were completed at any point of time.I should have the ability to stop this service. When a stop sequence is initiated, it should wait till all the messages are processed and shutdown. I am looking for inputs on how to invoke the java program as service and the second part (stopping the service). I dont want to Java wrapper service or commons daemon api. I am on JDK 1.4.2
Thanks in Advance.
Regards,
Arul.Do you want to write a daemon? I dont think you can do it without some explicit OS support..
Well, lemme know if you find a way -
Java program for installing font on windows
Hi,
I want to write a java program that installs required fonts on windows machine. On my machine windows is installed on "C:\WINDOWS" directory.
So, naturally "c:\WINDOWS\Fonts" directory I want to paste my font files.
I am writing file handling code for the same. But, how to know dynamically the location of windows installation directory?
I tried using System.getProperty("windir"), but it is not working?
Can somebody help me?
regards,
Anand1) Use VB
2) Who said that such a property exists?
3) In Java 1.5, use System.getEnv() -
Hi I need to want to load a java program on startup and I don't know how. Is it possible to have a script that tells the operating system to load it on startup or can it only be done through the operating system's settings?
On Windows you put a batch file in your startup that contains: javaw <myapp name> or edit your registry settings to achive the same result. On Linux and Unix derivatives there are also startup files you can edit and put entries in to achive that result.
-
How to call java program from ABAP
Hi Experts,
My requirement is to call java programs from ABAP. For that i have set up SAP JCO connection by using this link http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/739. [original link is broken] [original link is broken] [original link is broken] Connection gets sucessfully. After this how to call java program from ABAP as per our requirement. Please help me out.
Also i tried this way also.. but while executing the DOS Command line appear & disappear in few seconds. So couldnt see the JAVA output. Please help me out to call java programs in ABAP..
DATA:command TYPE string VALUE 'D:Javajdk1.6.0_20 injavac',
parameter TYPE string VALUE 'D:java MyFirstProgram'.
CALL METHOD cl_gui_frontend_services=>execute
EXPORTING
application = command
parameter = parameter
OPERATION = 'OPEN'
EXCEPTIONS
cntl_error = 1
error_no_gui = 2
bad_parameter = 3
file_not_found = 4
path_not_found = 5
file_extension_unknown = 6
error_execute_failed = 7
OTHERS = 8.
Thanks.This depends on the version of your Netweaver Java AS. If you are running 7.0, you will have to use the Jco framework. The Jco framework is deprecated since 7.1 though. If you want to build a RFC server in 7.1 or higher, it is adviced that you set it up through JRA.
Implement an RFC server in 7.0:
http://help.sap.com/saphelp_nw04/helpdata/en/6a/82343ecc7f892ee10000000a114084/frameset.htm
Implement an RFC server in 7.1 or higher:
http://help.sap.com/saphelp_nwce72/helpdata/en/43/fd063b1f497063e10000000a1553f6/frameset.htm
Maybe you are looking for
-
Downloaded new itunes now it won't open, downloaded new itunes now it won't open
downloaded new itunes on Mac OS X and now my itunes will not open..what's up?
-
Since my work machine was upgraded to a Windows 7.1 pc, I can no longer connect remotely with my Macbook Pro with 10.6.8. I need to know the most efficient and economical way of doing this and if I can skip versions to get where I need to be. Suppo
-
Hello B2B Gurus, I am able to process B2B inbound files successfully from Trading Partner --> B2B --> BPEL. When it comes to BPEL i am not able to parse/transform the received XML as i am getting selection failures in assign and empty nodes in trans
-
SNMP is enabled in Cat os sup-720 in 8.4(5). No response for the SNMP server poll and no traps are forwarded to SNMP server. Any one experienced this kind of issue can throw some light on this. Find the configuration and sh snmp output set snmp com
-
Simple finder results in huge slow sql query -- why WHERE clause?
Hi all, wondering about the poor performance of my finder methods I took a look into the SQL that went to the database. "SELECT DISTINCT OBJECT(p) FROM Person p" results in SELECT PersonID, FirstName, LastName, [etc.] FROM person WHERE (PersonID='535