Register dll on client side through applet

hi
can any on e tell how to register a dll on client side from a signed applet.
thanx

I am not very sure. But you can try this:
public class Dialup {
public static void main(String[] args) throws Exception {
Process p = Runtime.getRuntime().exec("register_dll.bat");
p.waitFor();
System.out.println("Done.");
where register_dll.bat is your dll registration (regsvr x.dll)
Let me know if this works
Adina

Similar Messages

  • Printing report oracle10g at client side through form

    Report Mode : CHARACTER.
    I am running report through oracle10g from in browser based environment from client machine.
    My application server running that form. My code is following for setting the report destination type:
    IF :B01.S_REPORT_TO = 'S' THEN
    SET_REPORT_OBJECT_PROPERTY(REP_ID,REPORT_DESTYPE,CACHE);
    ELSIF :B01.S_REPORT_TO = 'P' THEN
    SET_REPORT_OBJECT_PROPERTY(REP_ID,REPORT_DESTYPE,PRINTER);
    ELSIF :B01.S_REPORT_TO = 'F' THEN
         SET_REPORT_OBJECT_PROPERTY(REP_ID,REPORT_DESTYPE,FILE);
    SET_REPORT_OBJECT_PROPERTY(REP_ID,REPORT_DESNAME,'c:\temp\abc.txt');
    END IF;
    vrep := RUN_REPORT_OBJECT (vrepid,PRAM_ID);
    web.show_document( 'http://servername:port/reports/rwservlet/getjobid'||
    SUBSTR (vrep, INSTR (vrep, '_', -1) + 1)|| '?'|| 'server=REPserver','_blank');
    But when i am using destype as print , the report output is directed to Application Server's printer and not in clinet computer's printer. as well as detination type is file , then specified file is stored in Application Server and not in client machine.
    HOW CAN I PRINT REPORT DIRECTLY AT DEFAULT PRINTER OF CLIENT COMPUTER OR SAVE THE FILE AT CLIENT COMPUTER'S HARDDISK

    Lionel wrote:
    Java bean is not supported anymore !
    [http://fdegrelle.over-blog.com/article-22717699.html|
    I strongly suggest that you read the article carefully and understand it it before you start spreading unverified rumors and mislead people.
    The article you pointed out in your post is a [url http://en.wikipedia.org/wiki/Disclaimer]Disclaimer wrote by the author of the Java Beans/PJCs found on that site.
    I will try to explain to you what Francois, the author of the site is trying to tell you in that Article and I'll be more than happy if Francois corrects me when I'm wrong.
    The article is clearly stating;
    Quoting the article:
    This material, these articles do not come from Oracle, have nothing to do with Oracle and are certainly not taken into account by the Oracle support.
    This mean's that the material pointed and the articles are not made, distributed or related to Oracle Corp. and "Oracle Support" will not help you if you have any questions or clarifications about these articles and/or materials. And the only person(s) will help you with them is the person(s) who wrote them and they are not from Oracle and if you have any questions you should ask send it to the e-mail address found on the homepage and not Oracle.
    This does not mean by any scope or dimension or by any mean that Java Beans are not supported to be used with Oracle Forms.
    Java Beans ARE supported to be used with Oracle Forms and in the next release Java has more integration with Forms.
    Francois, please correct me If I'm wrong.
    Thanks
    Regards
    Tony

  • Printing client side with Applet!!!

    Hi,
    Does anyone can help me with my applet. It must get the current page and print it in landscape out over at the user side (local printer).
    Here some sample of my source to help....
    // JavaScript part
    function print(){
    var myURL = document.location.href;
    alert(myURL);
    testApplet.print(myURL);
    // Applet part
    public class MyClass extends Applet implements Pageable, Printable {
    // .... some source ...
    public void print(String myURL) throws IOException, PrinterException {
    PrinterJob job = PrinterJob.getPrinterJob();
    PageFormat landscape = job.defaultPage();
    Paper sheet = new Paper();
    sheet.setImageableArea(0,0,landscape.getImageableWidth()+ (landscape.getImageableX()*2),landscape.getImageableHeight()+(landscape.getImageableY()*2));
    landscape.setPaper(sheet);
    landscape.setOrientation(PageFormat.LANDSCAPE);
    JTextPane txt = new JTextPane();
    txt.setPage(myURL);
    // this method initialise the parameters for the printing
    initialise(txt.getText(), landscape);
    job.setPageable(this);
    job.print(); ///// THE PROBLEM IS HERE
    java.awt.print.PrinterException: No print service found.
    at sun.print.RasterPrinterJob.print(Unknown Source)
    at sun.print.RasterPrinterJob.print(Unknown Source)
    at PageableText.test1(PageableText.java:151)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at sun.plugin.com.MethodDispatcher.invoke(Unknown Source)
    at sun.plugin.com.DispatchImpl.invoke(Unknown Source)
    I have printers define and they worked well. Also, I have use the same code but without the Applet (calliing it from the main and with a static url) and it work perfectly. I'm pretty sure it's the Applet who's causing trouble.
    Anyone has any idea or sample to help me?
    Thanks

    It has to do with the JS call to the print method. I got around it by calling my printData() method in a separate thread...
    try something like this:
    ============================
    public void jsPrintData()
    if ( isPrinting )
    return;
    isPrinting = true;
    Thread runner = new Thread()
    public void run()
    printData();
    runner.start();

  • Cannot work with two client side applications at the same time!!

    Hi guys,
    I developed two client side applications(applets). Locate the on Apache/Tomcat. There is also a Index.html file with two links, so when user clicks on each link the associated application will downloaded on his PC and ready to work. (In index.html I used window.open(�) to load the applications)
    Now please see this scenario:
    1-I ran/loaded both application in two separate browsers(IE5.5). And tried to work with them(minimized one and work with another). Soon I faced unexpected frizzing/locking or very slow running on both applications.
    2-Then closed/killed one of them(killed IE). Then re-executed same application again. The application loaded with the last activated screen . Seems it never killed and it was still alive.
    3- The only way to successfully working is one by one.
    means execute & work with one, then kill that, and then execute and work with another.
    To Debug:
    When both applications were running(each on it�s own IE), I opened the Task Manager and saw there was only one IEXPLORER.EXE was running, also there was only one Java VM (a small bird icon) on right-bottom of the screen.
    I believe this causes the problem. seems they both running in the same session. Since I opened two applications in two IE I was expected to see two IEXPLORER.EXE with two JVM. Am I right? Do you think so?
    Any way, Now I am seeking to find the solution. My primary mind says probably I should not use window.open(..) in index.html to load the applications.
    Would appreciate any command on this.

    Cross post
    http://forum.java.sun.com/thread.jsp?thread=184829&forum=31&message=589933

  • Opening an EXCEL on client side

    Hi,
    I have an "EXCEL" file on server side and I need to open or save it on client side through jsp. How can I achieve this.
    If anyone knows please give me a reply on, how to open a server side EXCEL file on client side.
    Thank you.

    Thanks for your reply.
    I tried with this also, but it is not working.The code I gave should just work. You're the first one who said that it doesn't. Probably you changed one bit too much or are doing other things wrong.
    Here is the code:
    http://forum.java.sun.com/thread.jspa?threadID=5205333&tstart=0
    That's poor coding. This won't work in all clients (the contentlength is missing), this may perform slow (no memory buffering used), this is not reuseable (filepath and filename are hardcoded), this won't work in UNIX environments (c:, what is that?), you're leaking resources by not closing the streams and finally the exception trace is suppressed (bad practice).

  • Interacting with client system using Applet

    Hi,
    I want to interact with client system and access files on his system using applet,could u suggest the way to do it or any other siurce where I can find this information.
    It's very urgent,pl reply soon
    thanq

    hi,
    These steps will get your applet signed and you could interact with your client system through applets.
    IRENE 10 steps : http://forum.java.sun.com/thread.jsp?forum=63&thread=132769
    best wishes
    Rajesh

  • How to install and register CrystalDecisions.ReportAppServer.Controllers.dll on client machine

    Hi All,
    I have a windows application developed in visual studio 2010 and i have installed Crystal Report CRforVS_13_4 in my development machine. now when i install and try to run the crystal report i gives me below error :
    System.Runtime.InteropServices.COMException (0x80040154): Class not registered - ICRReportPrinterPageRange   at CrystalDecisions.ReportAppServer.Controllers.ISCRPrintReportOptions.AddPrinterPageRange(Int32 rangeStart, Int32 rangeEnd)   at TestApplicationClient.Reporting.PrintReport(String PrinterName, Int32 Copies)   at TestApplicationClient.frmReport.CreateReport()
    i also installed Crystal Report runtime at client side, but the error is still there, and i am also unable to find rystalDecisions.ReportAppServer.Controllers.dll at client machine at "C:\Program Files (x86)\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Common\SAP BusinessObjects Enterprise XI 4.0\win32_x86\dotnet"
    please help me in solving this issue.

    PLEASE search first, lots of info and posts on how to deploy CR runtime.
    Don

  • Applet without JMF installation at client side

    hello,
    I am trying developing an applet SIP phone based on Jain Sip Applet Phone( which originally can only deal with audio signal). But I found a big problem that I have to make every client install the JMF, however the clients hope there is no software to be installed locally.
    In application, I can run it without JMF installation by copying all the dlls to system32 directory and add some related JMF source code into my own project. Or just simply put the jmf.property to the "lib" directory, which also works.
    However, as for the applet, it dosen't that simple for the security thing. Here is the output in cosole:
    @mediaManager.detectSupportedCodes- number of capture devices: 2
    - name of the capture device: JavaSound audio capture
    - format accepted by this AUDIO device: LINEAR, 44100.0 Hz, 16-bit, Stereo, LittleEndian, Signed
    - format accepted by this AUDIO device: LINEAR, 44100.0 Hz, 16-bit, Mono, LittleEndian, Signed
    - format accepted by this AUDIO device: LINEAR, 22050.0 Hz, 16-bit, Stereo, LittleEndian, Signed
    - format accepted by this AUDIO device: LINEAR, 22050.0 Hz, 16-bit, Mono, LittleEndian, Signed
    - format accepted by this AUDIO device: LINEAR, 11025.0 Hz, 16-bit, Stereo, LittleEndian, Signed
    - format accepted by this AUDIO device: LINEAR, 11025.0 Hz, 16-bit, Mono, LittleEndian, Signed
    - format accepted by this AUDIO device: LINEAR, 8000.0 Hz, 16-bit, Stereo, LittleEndian, Signed
    - format accepted by this AUDIO device: LINEAR, 8000.0 Hz, 16-bit, Mono, LittleEndian, Signed
    - name of the capture device: vfw:Microsoft WDM Image Capture (Win32):0
    - format accepted by this VIDEO device: YUV Video Format: Size = java.awt.Dimension[width=352,height=288] MaxDataLength = 202752 DataType = class [B yuvType = 32 StrideY = 704 StrideUV = 704 OffsetY = 0 OffsetU = 1 OffsetV = 3
             - format accepted by this VIDEO device: YUV Video Format: Size = java.awt.Dimension[width=160,height=120] MaxDataLength = 38400 DataType = class [B yuvType = 32 StrideY = 320 StrideUV = 320 OffsetY = 0 OffsetU = 1 OffsetV = 3
             - format accepted by this VIDEO device: YUV Video Format: Size = java.awt.Dimension[width=176,height=144] MaxDataLength = 50688 DataType = class [B yuvType = 32 StrideY = 352 StrideUV = 352 OffsetY = 0 OffsetU = 1 OffsetV = 3
             - format accepted by this VIDEO device: YUV Video Format: Size = java.awt.Dimension[width=320,height=240] MaxDataLength = 153600 DataType = class [B yuvType = 32 StrideY = 640 StrideUV = 640 OffsetY = 0 OffsetU = 1 OffsetV = 3
             - format accepted by this VIDEO device: YUV Video Format: Size = java.awt.Dimension[width=640,height=480] MaxDataLength = 614400 DataType = class [B yuvType = 32 StrideY = 1280 StrideUV = 1280 OffsetY = 0 OffsetU = 1 OffsetV = 3
    java.lang.RuntimeException: No permission to capture from applets
    -> Couldn't connect to audio capture device
    java.lang.RuntimeException: No permission to capture from applets
    -> Couldn't connect to video capture device
          I found that my applet can detect two device which is correct but has "no permission to capture from applets".
          In the progress of installation the JMF, and option is "permit recording from an applet". I read the source code, and found it dose the following works:
          if I choose "permit recording from an applet",  then "allowCapture=1", and in "settingPanel.java" it dose:
         "boolean allowCapture = checkAllowCapture.getState();
          Registry.set("secure.allowCaptureFromApplets", new Boolean(allowCapture));"
          I want to do what the installation progress did to give permition to applet, however, when I do the following:
           private static final String PROP_ALLOW_CAPTURE_FROM_APPLETS
            = "secure.allowCaptureFromApplets";
           Registry.set(PROP_ALLOW_CAPTURE_FROM_APPLETS, new Boolean(true));
           Registry.commit();
          in my project , it throws exception like this: "Failed to initially commit JMFRegistry. Ignoring err.java.lang.SecurityException: commit: Permission denied"
          The code which i thought could give applet the rights is denied.
          Till now, I have also read some similar questions in different forums, but there is no good answer.
          Can you help me? Is there any possibility to run the applet without installation on the client side ? Is my method right? If not, how should I do?                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    xljiayuan wrote:
    ..I am trying developing an applet SIP phone based on Jain Sip Applet Phone( which originally can only deal with audio signal). If this is pure audio, can it be done using JavaSound?
    ..But I found a big problem that I have to make every client install the JMF, however the clients hope there is no software to be installed locally.To run an applet, the applet needs to be 'installed' on the user machine. Same with anything else.
    BTW - have you investigated JavaFX? It is effectively the replacement for JMF, and possibly has a better end-user experience than trying to install JMF.
    However, as for the applet, it dosen't that simple for the security thing. Here is the output in cosole:
    in my project , it throws exception like this: "Failed to initially commit JMFRegistry. Ignoring err.java.lang.SecurityException: commit: Permission denied"Is your applet digitally signed? If not, it has no hope of intercepting sound on the client. It is that simple.
    Imagine if you visited a web page with a 1px x 1px applet (effectively invisible) that could hear everything you say, and transmit it back to the server. Sun is not about to allow that, unless the end-user has granted the applet extended permissions.

  • Error running a client side program through the worklist app

    I am trying to run a simple client side application (actually just a command script
    that does a pause). I construct a send xml to client with a "call-program" message
    with attributes of name="c:\testscript" and mode of async.
    It appears that I need to register the program - how do I do this?
    SecurityException: Cannot execute the system command "c", because it has not been
    registered in the
    WLPI Security Manager configuration file C:\Documents and Settings\nvernon\WLPISec.properties
    java.lang.SecurityException: Cannot execute the system command "c", because it
    has not been registered in the
    WLPI Security Manager configuration file C:\Documents and Settings\nvernon\WLPISec.properties
         at com.bea.wlpi.client.common.WLPISecurityManager.checkExec(WLPISecurityManager.java:141)
         at java.lang.Runtime.exec(Runtime.java:548)
         at java.lang.Runtime.exec(Runtime.java:477)
         at com.bea.wlpi.client.worklist.WorklistPane$6.run(WorklistPane.java:1441)
         at java.lang.Thread.run(Thread.java:484)

    The reason I asked about the computer OS was in case you needed to do a clean install of iTunes. It works differently on the Mac computer than on Windows. A complete uninstall and reinstall on a Windows computer requires you to follow specific instructions in a support document, while on a Mac, I have read you just have to reinstall over the old one.
    I'm not sure if installing/updating to iTunes 11 would be the same on Windows or not, but since you report using a Mac, then it is probably a mute point. Good luck.

  • How to start streaming from server side after applet initialized on client

    Hi,
    I am using JSP for on demand streaming server.
    I have included an applet in jsp page which start new player on client side after on streamreceive event.
    But my problem is how to give call to server that applet on client side has been initialized and now streaming can go on.
    Is there any method / way to call class file which will start streaming?

    Oracle is designed to support connection from client to server. The client originates the connection.
    If you want the server to initiate the connection, you need to make the server pretend it is a client. Oracle even does this internally, when they want to use 'External Procedures'
    You may also use Oracle's Message Queue mechanism, called 'Advanced Queueing' to use a 'publish subscribe' model instead of a connection model. That is discussed in the Advanced Queue manual in the documentation at http://docs.oracle.com
    Finally, you can explore the possibility of using RMI from the database, as discussed in the Java related documentation at the same location.

  • Copy a .swf file from server side to client using signed applet

    Hello All,
    I already have my applet signed and its working pretty well. However I want to know how can I import a .swf file into clients machine. The .swf file initially is on server side, my applet checks whether this .swf file exists already on client machine. If not it copies it to his machine.
    I know how to chk if the file already exits on client machine but I am not sure how to copy this .swf file to his machine if its missing.
    May be I need to set some input buffers from server side and then copy them to his machine.
    Can some one throw some light on this issue ??

    Hello to all Java Code Masters out thr,
    I am trying to copy a .swf file from server side to client side, however I am unsuccessful in writing the correct data. By correct data I mean that , the data does gets saved on the client side in the .swf file, and the size of the .swf file on client side is as expected, but some how I don't know why the data is not the same as expected.
    I tried opening up both the swf file, one which is on server side and the other which is on client side. And both looked different in the notepad.
    When I opens up the client side .swf file on browser it shows nothing while the .swf file on server side worked fine.
    Here is a snap shot of the two .swf files when opened in notepad:
    clientside.swf
    坃ࡓ죃鱸뷤瀉�ᡚ穸s歒斷뛉쭬ⶲ뉯緤░뉋쭬틲��毳띵뺤畮祮୹釯烉쉍‼➀Ƿℵ㼤ꦅ㼌⡉⁈ș㖩䈼ꦓɊጵꨘ妆ၸ쇠鳳ﯯ龜괯䪅�쿾칿칷컹緶履殖㋿罣쯻杬�懨�E�翂䶙幷鿠︡拡ﬦ댨꾖政ᯋὣꯤ糥䧩缿䨗捫嶺깼瘶羋⯞勹쪾癞ঞ頁韧୘롻ⱖ撯貊攗閩㫙↳萰Ⳁ⼈쳂荡᧰ﻶ顠꓈鸎싔㿄㰧柂䪄러䂀좹㏠ꕊ㌏힟䘜㦴⌙⍈㽾ꙴ㿯렑㽔serverside.swf
    CWS�� x���     p��ZxzS�Rk�e��l��-o��}�%K�l�������]��ku���nu��nyy���pM�< �'�5!$����I
    (H �
    5<B
    ��J5��Yx��������/����J������w����}���
    k�2c��lg���a��\�%��serverside.swf is what I expect to be saved, but clientside.swf is what i get.
    Below is a code snippet which I am trying :
      public void writeswftoclient(String swfcontent) {
        String userHome = System.getProperty("user.home" );
        String ImoracleDirectory = userHome + "\\MyFolder";
        File fdirectory = new File(ImoracleDirectory);
        if(!fdirectory.isDirectory()) {
          fdirectory.mkdir();
        String playlist = ImoracleDirectory + "\\clientside.swf";
        File fplaylist = new File(playlist);
        try {
          Writer output = null;
          output = new BufferedWriter(new FileWriter(fplaylist,true));
          *System.out.println(swfcontent);*
          *output.write(swfcontent);*
          output.close();
        catch (Exception e) {
          System.out.println("Cannot create or write to the playlist");
      }In above code I am trying to write the string swfcontent, which contains the data shown above in serverside.swf, to clientside.swf.
    Interesting thing is that I am doing System.out.println(swfcontent); just before writing the data to clientside.swf using output.write(swfcontent);. And System.out.println does print the write data on the java console. However I dont know out of what reason the data doesnt get written correctly on the client's computer.
    Kindly help me in this plzzzzzzzzzz.

  • Client Side applet connection

    I have a server-side applet (ThreadedLoanCalcServer) and want my applet (LoanCalcClient) connects on the same port from the client side. All CLASSes are in the same location.
    java ThreadedLoanCalcServer 8080
    8080 is port number I chose.
    How do you make the connection?
    tia

    I think I got a majority of them.
    public void init(){
    try {
    socket = new Socket("myhostxyz",8765);
    catch (UnknownHostException e){
    MPLabel.setText("Unknown Host");
    catch (IOException e){
    MPLabel.setText("IO Exception: socket connection");
    return;
    bla ...
    public void actionPerformed(ActionEvent ae) {
    DecimalFormat money = new DecimalFormat("$###,###.00"); // $ format
    String aString = null;
    BufferedReader fromServer = null;
    PrintWriter toServer = null;
    bla ....
    String str =
    "INTEREST="+txtRat.getText()+"&"+"AMOUNT="+txtAmo.getText()+"&"+
    "PERIOD="+txtTerm.getText()+"&"+"FREQUENCY="+Freq;
    // send my str to the server
    try {
    toServer = new PrintWriter(socket.getOutputStream(), true);
    catch (IOException ex){
    MPLabel.setText("IO Exception: PrintWriter");
    toServer.println(str);
    try {
    fromServer = new BufferedReader(
    new InputStreamReader(socket.getInputStream()));
    catch (IOException ex){
    MPLabel.setText("IO Exception:BufferedReader");
    // Receive the line from the server
    String aString;
    try {
    aString = fromServer.readLine();
    catch (IOException ex){
    MPLabel.setText("IO Exception");
         StringTokenizer parser = new StringTokenizer(aString, "ERROR&");
    bla ...
    Thank you,
    Daniel

  • Opening a Java Window from a jsp page on the client side

    Hi all,
    Thanks in advance to all who could help me for this problem.
    I've written some jsp pages. In one of them, I open a new Java Window,
    which is a simple Java Frame. If I test this directly on the Tomcat
    server, everything works well.
    But when I call the jsp page through a web browser of a distant client
    (normal use), and when I want to see the java window, no window pops
    up. It appears that the Java Window pops up on the server, and not on
    the client side, which is what I wanted.
    Could someone tell me how to make the Java frames appear on the client
    side ? (Is it linked to the code or to the configuration of Tomcat ?)
    Thanks in advance,
    Alexis.

    JSP always run on the server. On the client you only see the results.
    But you can use applets on the client side: http://java.sun.com/docs/books/tutorial/uiswing/components/applet.html

  • Has Anyone tried to use DDE through Applets

    I would like to update a client side opened Excel file via the web using DDE ( Windows protocol used to cut and paste between apps ) and an applet.
    I guess that the level of security of the sand-box will limit the interaction with the excel application unless the applet jar is signed and certified.
    Has anyone tried to develop such application ?
    I didnt go through all the DDE technology yet and I am just wondering if there are some great difficulties to overcome.
    Any "difficult to find" hints are welcome
    Thanks

    Thanks for the hint. A good one as I did not know this link.

  • Client-side handler: static config?

    I would like to provide a client-side JAX-RPC handler that would
    be invoked without any modification to existing client code.
    The idea is that user's would only need to modify a config file
    (something like the web-services.xml file, but on the client-
    side) to use our handler.
    We are already doing this in axis (uses a client-side deployment
    descriptor: client_deploy.wsdd), but based on another thread
    ("Client Handler Chain - help ??"), it looks like there is
    currently no equivalent in WLS?
    Are there plans to add the ability to statically configure
    client-side handlers in WLS via some sort of client-side config
    file/descriptor, or is the programmatic method of modifying
    the HandlerRegistry in the client code the only way?
    Any help/ideas would be greatly appreciated!
    --Terry

    In 7.0, you can do this in a handler:
    import weblogic.webservice.binding.soap.HttpClientBinding;
    String url = http://my/new/address/;
    sslAdapter = null; //only needed for ssl
    Binding binding = new HttpClientBinding( url, sslAdapter );
    context.setProperty( WLMessageContext.BINDING_PROP,
    binding );
    HTHs
    -manoj
    http://manojc.com
    "William Cassidy" <[email protected]> wrote in message
    news:[email protected]...
    >
    Is there a similar way to set the endPointAddress.
    "manoj cheenath" <[email protected]> wrote:
    Ok, I will add this as a feature request.
    If you are ok with using WLS internal APIs (This APIs may change in
    the future), try this:
    weblogic.webservice.Operation operation
    =
    ((weblogic.webservice.WLMessageContext)messageContext).getOperation();
    >>
    weblogic.webservice.Port port = operation.getPort();
    String endPointAddress = port.getAddress();
    regards,
    -manoj
    "Terry Martin" <[email protected]> wrote in message
    news:[email protected]...
    Manoj, thanks for the response.
    We'd definitely like to see a client side dd at some point, but
    can work with the API's for now. Thanks much for adding this as
    a feature request.
    On another subject:
    I need to determine the target/endpoint URL from my client-side
    request handler. Again, this was something we were able to do in
    axis, but is currently not part of the JAX-RPC standard (JSR101).
    I could be missing something, but haven't seen any way of
    determining the target URL given only the SOAPMessageContext.
    The only way seems to be if it were passed as a "standard"
    property in the SOAPMessageContext (this is one way it is done
    in axis).
    I imagine this will someday be standardized in JAX-RPC (I can
    think of many uses for this feature, other than our own). In the
    meantime, could you also add this as a feature request for WLS?
    Thanks again,
    -Terry
    "manoj cheenath" <[email protected]> wrote:
    True. In WLS 7.0 there are no client side dd in which you can specify
    the handler chain. We did not comeup with ourown client side dd,
    hopeing that JSR109 will define the dd.
    It is quite easy to register the handlers through APIs. Let us know
    if
    that will not help you.
    I will add client side dd as a feature requst for the next release.
    regards,
    -manoj
    "Terry Martin" <[email protected]> wrote in message
    news:[email protected]...
    I would like to provide a client-side JAX-RPC handler that would
    be invoked without any modification to existing client code.
    The idea is that user's would only need to modify a config file
    (something like the web-services.xml file, but on the client-
    side) to use our handler.
    We are already doing this in axis (uses a client-side deployment
    descriptor: client_deploy.wsdd), but based on another thread
    ("Client Handler Chain - help ??"), it looks like there is
    currently no equivalent in WLS?
    Are there plans to add the ability to statically configure
    client-side handlers in WLS via some sort of client-side config
    file/descriptor, or is the programmatic method of modifying
    the HandlerRegistry in the client code the only way?
    Any help/ideas would be greatly appreciated!
    --Terry

Maybe you are looking for

  • HT1692 Do I need outlook to sync my iPhone and ipad calendar?

    Do you need to setup outlook to be able to sync your ipad and iPhone calendars?

  • USB hard drive is not recognized on MBP running Lion

    Hello, I have: - Freecom ToughDrive Pro USB hard drive - New MBP running Lion 10.7.3 When I plug the disk in an USB port in the MBP, the light that indicates operation starts blinking but very lighltly colored and the disk is not recognized by the co

  • Oracle SOA 11g Performance Issue

    Hi, We have set up Oracle SOA Suite on AIX environment. Java which we are using is IBM Jdk 1.6. Recently we are hit with performance issue. Frequently we are getting out of memory exception and we need to restart the server and sometimes physically r

  • Razercfg PKGBUILD... help please.

    I was attempting to make a pkgbuild for this little utility. A friend wanted it for controlling his mouse, so I decided to take it on and see what I could do. Everything goes smoothly, except the make install process does something strange with a scr

  • Sending Interactive Forms from CRM to recipient

    Hi, Small question. Was wondering if someone could explain me how IF are sent via mail to recipients. Our scenario involves CRM appointments from which an IF needs to be sent to the 'Employee Responsible' of the appointment. The IF contains the prefi