Client side proxy class properties and APIs

I used clientgen to generate client side proxy from WSDL.
Generated class has name <ServiceName>Soap_Stub and extends
weblogic.webservice.core.rpc.StubImpl class.
I am looking for answers to the following questions:
1. Does this proxy have default value of client side timeout?
2. If it has one then what its value?
3. What API will retrieve this value from the instance of my proxy object?
4. What API will set this value?
5. What API can be used to set the characteristics of connection between client
and
server? Something like "keepAlive".
Is there some documentation available which gives the answers to these questions?
Thank you,
Igor Malkiman

Hello,
From the release notes [1] for WLS 8.1 SP2 (CR111881) concerning a
timeout on webserivce invocation on the client-side, see if this answers
most of your questions.
For more information about the weblogic.webservice.binding package, see
the Javadocs [2].
Regards,
Bruce
RESOLUTION:
1. Requires weblogic.jar on the client side
2. Set system property "weblogic.webservice.UseWebLogicURLStreamHandler"
to
be true, i.e: -D"weblogic.webservice.UseWebLogicURLStreamHandler=true"
3. set timeout on the stub:
with API for BindingInfo:
BindingInfo bInfo = (BindingInfo)
stub._getProperty("weblogic.webservice.bindinginfo");
bInfo.setTimeout(5 /* secs */);
with stub property:
stub._setProperty("weblogic.webservice.rpc.timeoutsecs", "5" /* secs
CHANGED BEHAVIOR:
Yes. Prior to 8.1sp1, BindingInfo.setTimeout(5000/*millisecs*/) takes
milliseconds as paramter. But it has no effect on the client side. With
8.1sp2, the parameter will be seconds insteadof milliseconds, i.e:
BindingInfo.setTimeout(5/*secs*/).
[1]
http://e-docs.bea.com/wls/docs81/notes/resolved.html
[2]
http://edocs.bea.com/wls/docs81/javadocs/index.html
Igor Malkiman wrote:
>
I used clientgen to generate client side proxy from WSDL.
Generated class has name <ServiceName>Soap_Stub and extends
weblogic.webservice.core.rpc.StubImpl class.
I am looking for answers to the following questions:
1. Does this proxy have default value of client side timeout?
2. If it has one then what its value?
3. What API will retrieve this value from the instance of my proxy object?
4. What API will set this value?
5. What API can be used to set the characteristics of connection between client
and
server? Something like "keepAlive".
Is there some documentation available which gives the answers to these questions?
Thank you,
Igor Malkiman

Similar Messages

  • DI-Proxy Client side(4.2.0) and Proxy Side (4.1.2)

    Hi all,
    I am getting following error when i was try test connection In B1if SAP B1 Database "DI-Proxy Client side(4.2.0) and Proxy Side (4.1.2)" . Here Sap B1 One server database diffrerent server. DI proxy Installed on Database server.  Please advice me how to solver
    Thanks & regards
    B.Lakshmi narayanan

    Integration framework upgrade again. it's solved

  • Failed to load class properties and qualifiers for class BDD_UsePackage in task sequence. 0x80041002

    Following situation. In SCCM we have one Standalone Primray Site Server and two Site Server. The two site server are also SMS Provider. MDT 2012 was installed on all three Servers and the Config Manager Integration was run. When starting the Console
    on any of this server and editing an MDT Task Sequence, it occasionally pops up an error "An error occured when loading the task sequence". TaskSequenceProvider.log File throws a lot of errors:
    [PID: 2824] Invoking method SMS_TaskSequence.LoadFromXml TaskSequenceProvider 20.06.2012 10:28:50 4916 (0x1334)
    Failed to load class properties and qualifiers for class BDD_UsePackage in task sequence. 0x80041002 (2147749890) TaskSequenceProvider 20.06.2012 10:28:50 4916 (0x1334)
    Failed to load node Use Toolkit Package from XML into WMI 0x80041002 (2147749890) TaskSequenceProvider 20.06.2012 10:28:50 4916 (0x1334)
    Failed to load children steps for node "Applikation" from XML 0x80041002 (2147749890) TaskSequenceProvider 20.06.2012 10:28:50 4916 (0x1334)
    Failed to load children steps for node "" from XML 0x80041002 (2147749890) TaskSequenceProvider 20.06.2012 10:28:50 4916 (0x1334)
    Failed to load XML for the task sequence into WMI 0x80041002 (2147749890) TaskSequenceProvider 20.06.2012 10:28:50 4916 (0x1334)
    [PID: 2824] Done with method SMS_TaskSequence.LoadFromXml TaskSequenceProvider 20.06.2012 10:28:50 4916 (0x1334)
    Tried removing the integration on all SMS Provider Machines and readded them. It does not make a differenence. Does anyone know if MDT supports the use of multiple SMS Providers? When I only use one Provider and deinstall the other two, it works ok.

    Some more info from the log files:
    TaskSequenceProvider.log
    [1680680 PID:5228] Initializing provider for namespace root\sms\site_P01 TaskSequenceProvider 20.06.2012 10:51:38 4424 (0x1148)
    [1680680  PID:5228] Initialization of provider for namespace root\sms\site_P01 succeeded TaskSequenceProvider 20.06.2012 10:51:38 4424 (0x1148)
    [PID: 5228] Invoking method SMS_TaskSequence.ExportXml TaskSequenceProvider 20.06.2012 10:51:38 4424 (0x1148)
    Failed to load class properties and qualifiers for class BDD_UsePackage in task sequence. 0x80041002 (2147749890) TaskSequenceProvider 20.06.2012 10:51:38 4424 (0x1148)
    Failed to export task sequence to XML 0x80041002 (2147749890) TaskSequenceProvider 20.06.2012 10:51:38 4424 (0x1148)
    [PID: 5228] Done with method SMS_TaskSequence.ExportXml TaskSequenceProvider 20.06.2012 10:51:38 4424 (0x1148)
    Setting status complete:  status code = 0x80041002; Failed to load class properties and qualifiers for class BDD_UsePackage in task sequence. TaskSequenceProvider 20.06.2012 10:51:38 4424 (0x1148)
    [PID: 5228] Invoking method SMS_TaskSequence.LoadFromXml TaskSequenceProvider 20.06.2012 10:51:38 4424 (0x1148)
    Failed to load class properties and qualifiers for class BDD_UsePackage in task sequence. 0x80041002 (2147749890) TaskSequenceProvider 20.06.2012 10:51:38 4424 (0x1148)
    Failed to load node Use Toolkit Package from XML into WMI 0x80041002 (2147749890) TaskSequenceProvider 20.06.2012 10:51:38 4424 (0x1148)
    Failed to load children steps for node "Applikation" from XML 0x80041002 (2147749890) TaskSequenceProvider 20.06.2012 10:51:38 4424 (0x1148)
    Failed to load children steps for node "" from XML 0x80041002 (2147749890) TaskSequenceProvider 20.06.2012 10:51:38 4424 (0x1148)
    Failed to load XML for the task sequence into WMI 0x80041002 (2147749890) TaskSequenceProvider 20.06.2012 10:51:38 4424 (0x1148)
    [PID: 5228] Done with method SMS_TaskSequence.LoadFromXml TaskSequenceProvider 20.06.2012 10:51:38 4424 (0x1148)
    Setting status complete:  status code = 0x80041002; Failed to load class properties and qualifiers for class BDD_UsePackage in task sequence. TaskSequenceProvider 20.06.2012 10:51:38 4424 (0x1148)
    SMS Provider logs the following:
    CExtUserContext::EnterThread : User=A2\trth1 Sid=0x0105000000000005150000001BB949E9D7F6AADBC3309AA56BAB0000 Caching IWbemContextPtr=0000000005777900 in Process 0x9f8 (2552) SMS Provider 20.06.2012 10:51:47 3008
    (0x0BC0)
    Context: SMSAppName=SMS Administrator Console SMS Provider 20.06.2012 10:51:47 3008 (0x0BC0)
    Context: MachineName=vswlieca2146.A2.loc SMS Provider 20.06.2012 10:51:47 3008 (0x0BC0)
    Context: UserName=A2\trth1 SMS Provider 20.06.2012 10:51:47 3008 (0x0BC0)
    Context: ObjectLockContext=fdf8ab87-cf50-43bd-a48a-d5bb99c8034f SMS Provider 20.06.2012 10:51:47 3008 (0x0BC0)
    Context: ApplicationName=Microsoft.ConfigurationManagement.exe SMS Provider 20.06.2012 10:51:47 3008 (0x0BC0)
    Context: ApplicationVersion=5.0.0.0 SMS Provider 20.06.2012 10:51:47 3008 (0x0BC0)
    Context: LocaleID=MS\0x409 SMS Provider 20.06.2012 10:51:47 3008 (0x0BC0)
    Context: __ProviderArchitecture=32 SMS Provider 20.06.2012 10:51:47 3008 (0x0BC0)
    Context: __RequiredArchitecture=0 (Bool) SMS Provider 20.06.2012 10:51:47 3008 (0x0BC0)
    Context: __ClientPreferredLanguages=en-US,en SMS Provider 20.06.2012 10:51:47 3008 (0x0BC0)
    Context: __GroupOperationId=590802 SMS Provider 20.06.2012 10:51:47 3008 (0x0BC0)
    Context: __WBEM_CLIENT_AUTHENTICATION_LEVEL=6 SMS Provider 20.06.2012 10:51:47 3008 (0x0BC0)
    CExtUserContext : Set ThreadLocaleID OK to: 1033 SMS Provider 20.06.2012 10:51:47 3008 (0x0BC0)
    CSspClassManager::PreCallAction, dbname=CM_P01 SMS Provider 20.06.2012 10:51:47 3008 (0x0BC0)
    ExecMethodAsync : SMS_ObjectLock::ReleaseLocks SMS Provider 20.06.2012 10:51:47 3008 (0x0BC0)
    Requested class =SMS_ObjectLock SMS Provider 20.06.2012 10:51:47 3008 (0x0BC0)
    Requested num keys =0 SMS Provider 20.06.2012 10:51:47 3008 (0x0BC0)
    CExtProviderClassObject::DoExecuteMethod ReleaseLocks SMS Provider 20.06.2012 10:51:47 3008 (0x0BC0)
    CSspSEDO::ReleaseLocks: ********** Releasing SEDO Lock for object SMS_TaskSequencePackage.PackageID="P010013A" for user A2\trth1. ********** SMS Provider 20.06.2012 10:51:47 3008 (0x0BC0)
    CExtUserContext::LeaveThread : Releasing IWbemContextPtr=91715840 SMS Provider 20.06.2012 10:51:47 3008 (0x0BC0)

  • Client-side Conversion using  NumberConverter and DateConverter

    Hi,
    In our application we have a custom input text component and we are using the same component to capture date, number, currency and string values .As we are using the same component to capture date/number/string values I can't add number/date converter to it.
    At run time I have to read the user entered values and need to convert them into date/ number /currency values. I am planning to use Client-side Converters to format the values.
    Please let me know how make use of NumberConverter and DateConverter in java script to convert the values at client side.
    Regards,
    Kiran

    Hi Gabrie,
    Thanks for your response.
    ADF is providing NumberConverter / DateConverter to convert date/number/currency values. Instead of writing my own custom converters can I use the framework provided converters to convert the values at client side?

  • Javaws, classpath, and OpenOffice client-side resources

    I've developed an application on top of OpenOffice which uses the installed openoffice jars and .dll's. I can't get the dll's to load using javaws. My root problem seems to be a non-standard way that openoffice is trying to load system libraries - from the OpenOffice forums, they use the location of a jar and then "go up one directory". My app works fine when I can provide control over the classpath (for example, from a batch file, ant, or eclipse) but I am stuck trying to webstart. The OpenOffice community has no answers.
    I've tried a huge number of permutations of things, based on advice from this forum:
    -- jar'ing up the installation jars and deploying them (works for the OpenOffice java classes, but not for the DLL loads)
    -- creating a custom class loader (again, works to load the java classes but not the DLL's)
    -- jar'ing up the installation DLL's and deploying them (doesn't have any effect)
    -- setting the system classpath in my code to the known client-side location of the installation (doesn't work - get NoClassDefFoundError)
    String cp = System.getProperty("java.class.path");
    String newcp = cp + System.getProperty("path.separator") +
                  "C:\Program Files\OpenOffice.org1.1.4\program\classes";
    System.setProperty("java.class.path", newcp);I would have thought the last attempt would have worked - I don't understand why the classes cannot be found. Does anyone have any positive experiences with manipulating classpath via javaws?
    Thanks,
    Dave Santo

    I've solved this issue.
    I had to create a shell application, launched via jnlp. The shell app grabs the webstart cached jar files, builds a classpath string with all these jars and the client-side OpenOffice installation location, and launches the real application, i.e.
    public static void main(String[] args)
        File tmpdir = new File(System.getProperty("java.io.tmpdir"));
        // build the constructedClasspathString, based on this class (see thread referenced below)
        String[] launchArgs = new String[4];  // or more if you want to copy in other arguments
        launchArg[0] = "java";
        launchArg[1] = "-cp";
        launchArg[2] = constructedClasspathString;
        launchArg[3] = targetClassNameString;
        // copy in other arguments as desired...
        Process p = Runtime.getRuntime().exec(launchArg, null, tmpdir);
        StreamGobbler out = new StreamGobbler(p.getInputStream(), "OUT");
        out.start();
        StreamGobbler err = new StreamGobbler(p.getErrorStream(), "ERR");
        err.start;
        int result = p.waitFor();
    }You definitely want to inherit this instance's environment, so don't override the 2nd argument to exec().
    The StreamGobbler stuff can be found here:
    http://www.javaworld.com/javaworld/jw-12-2000/jw-1229-traps.html
    The 'grabbing the webstart cached jar files' stuff can be found here (you'll want to modify it a little ...)
    http://forum.java.sun.com/thread.jspa?forumID=38&threadID=71208
    - Dave

  • Alternative table name on client side

    Hi,
    i'm using java api for my publication and i have to use an alternative table name on client side. For example the table name on database back-end is 'EMP', but, the statement for the snapshot is "SELECT * FROM EMP" but i would like using another name on client side, not 'EMP'. The API doc does'not help me.
    Thanks

    I do not believe this is possible. When publishing you get an error if the publication item name is not found in the schema database.
    More complicated, but would work, would be to create a view in your main schema create view v_emp as select * from emp
    you can then use v_emp as the name, and this is what will be created on the client. Depending on the view complexity, you may need to create instead of ionsert/update/delete triggers for it, and in the publication item define the base tabe and PK values

  • Client Java Proxy

    Hi,
    I have a Java Proxy to BAPI scenario.
    On the sender side I have "ExchangeRates_Out" Outbound Service Interface. I have created a client java proxy for this and deployed it.
    I dont know how to test this proxy or run the interface end to end.
    Please help.
    Thanks,
    Aravind

    Check some links on proxies.
    Concepts and examples for Proxy, Abap Client Proxy and Abap server Proxy
    JAVA Proxies:
    Asynchronous inbpund java Proxies
    /people/prasad.ulagappan2/blog/2005/06/27/asynchronous-inbound-java-proxy
    More on Java Proxy-
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/7d4db211-0d01-0010-1e8e-9b07fc2113ab
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/a068cf2f-0401-0010-2aa9-f5ae4b2096f9
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/f272165e-0401-0010-b4a1-e7eb8903501d
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a068cf2f-0401-0010-2aa9-f5ae4b2096f9
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f272165e-0401-0010-b4a1-e7eb8903501d
    http://help.sap.com/saphelp_nw04/helpdata/en/14/80243b4a66ae0ce10000000a11402f/frameset.htm
    SAP Exchange Infrastructure 3.0: Java Proxy Runtime 3.0 - J2EE Integration
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/30572c6a-d311-2a10-99ab-f646ec3b5b12
    How to Work with Java Proxies
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/d06315a6-e66e-2910-039c-ba8bbbd23702
    Java Proxies in XI
    https://www.sdn.sap.com/irj/sdn/advancedsearch?cat=sdn_all&query=java+proxy&adv=false&sortby=cm_rnd_rankvalue#
    Java Proxies in XI
    https://www.sdn.sap.com/irj/sdn/advancedsearch?cat=sdn_all&query=java+proxy&adv=false&sortby=cm_rnd_rankvalue#
    SAP Network Blog: Pre requisites for Client Java Proxies
    /people/yugapreetha.t/blog/2007/12/03/pre-requisites-for-client-java-proxies

  • Client-side transient model for storing temporary data

    We've been using the ODataModel in our UI5 application for retrieving data from Gateway and now we have a requirement to store temporary (session based) client-side data.  Ideally it would be stored in such a way that it can be shared across views and controllers and can be bound from UI components via property bindings.  The data in most cases will be OData entities.  As an example a user would view a list of PO's (from the ODataModel) in the first view, then select a subset of POs and move onto the next view to "work" on those POs.  We'd want to store this subset of POs in a client model so the second view can bind to the model and display them.
    My first thought is to create another model separate from our ODataModel in which we could add transient client-side data (OData entities and custom data) and make it available to all views and controllers in the app.  I realize we could probably also just store such data in global JS variables, however a client-side model seems like a cleaner approach to me.
    I'd appreciate any suggestions on how this can be achieved.

    Hi Derek,
    why don't you just use sap.ui.core.Core.setModel? You can store multiple models and access them in your entire SAPUI5 app.
    Except for SAPUI5-apps, these requirements are often realized with HTML5 Web Storage JavaScript API. As you can see in the following blog post, you can easily store even complex entities and access your items in the entire web-application: Client-side Session Management.
    I can't recommend the approach with global variables. A lot of developers had negative experiences with this design pattern. At least, use namespacing techniques to store your functions and variables in one central scope. I've written a simple example on jsFiddle to show you this. As you can see, you could also handle your transient model as an additional variable of your own namespace.
    Regards Michael

  • Client Side Rendering on Terminal Servers

    I’m having horrible printer issues on my Terminal Servers such as slow printing, slow to add printers, some applications load slowly because they are enumerating the list of printer (thanks Procmon), slow logons, etc. I'm trying to get Client Side Rendering
    (CSR) disabled. From what I can tell it still appears to be on. Terminal Server are Windows Server 2008 SP2 x86.
    On my print servers I have verified that all printers have Render print jobs on client computer unchecked. I have a Group Policy linked to the OU that the Terminal Servers are in that has
    Always render print jobs on the server set to enabled. Per
    http://blogs.technet.com/b/askperf/archive/2008/02/10/ws2008-client-side-rendering.aspx I have verified that on each Terminal Server in
    HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Printers the
    ForceCSREMFDespooling value is present & set to 1 so the GP is being applied.
    However I still have tons of entries in HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Print\Providers\Client Side Rendering Print Provider\Servers\<SERVERNAME>\Printers.
    I have found KB958656 which seems to describe my problem that CSR is not being disabled. However one of the files it updates is older than a file that I have (win32spl.dll) & one is newer (printcom.dll).
    Printcom.dll in hotfix is 6.0.6001.22288 mine is 6.0.6001.18000
    Win32spl.dll in hotfix is 6.0.6001.22288 mine is 6.0.6002.18005
    Has anyone else seen this behavior & been able to get CSR disabled?
    Has anyone else had success with the KB hotfix mentioned or know whether or not installing it would causing any issues (since it has that older file)?
    Thanks in an advance to any input.
    Patrick Hoban
    http://patrickhoban.wordpress.com

    Alan/Patrick,
    Hi, sorry, went away on leave for a while so didn’t respond.
    Alan – our case was REG:112081612189183.
    For someone who has been dealing with MS support for about 20 years, this was the most disappointing of any support call I’ve ever had raised – to have the call shut
    down, without a perfmon trace, process explorer analysis, or hang dump analysis (of spooler) – and simply blame “3<sup>rd</sup> party drivers” without any proof – is utterly deplorable.
    Anyway, for anyone’s benefit who has similar problems – trying to do direct printing from RDS – I’ve managed to get a solution working. 
    Here are the details;
    A nightly print spooler clean-up script that;
    Stops the spooler
    Deletes the entire key under “HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Print\Providers\Client Side Rendering Print Provider”
    Re-creates the key (empty) and sets the value "RemovePrintersAtLogoff"=dword:00000000
    Note, this was vital. 
    MS support had recommended we set this to 1, along with some other keys (InactiveGuidPrinterAge, 
    InactiveGuidPrinterTrim) with specific values.  If we used these MS support recommended values, our RDS serer would not enumerate printers for more than 3-4 hours before requiring a restart of the spooler.
    Restart the spooler
    Map a printer (just to make sure it works)
    Clean up the USERS\.DEFAULT\Printers key on all existing servers
    There was heaps of crap here, the default user NTUSER.DAT was over 800MB in size
    Modify the security on the registry, using GPO to deny SYSTEM write access as below, to stop the crap writing here again;
    USERS\.DEFAULT\Printers
    Deny Set value
    Deny Create Subkey
    Run NGREGOPT on all servers to compress the DEFAULT and SOFTWARE hives back down.
    Even though we had deleted the crap from “Client Side Rendering Print Provider” and the DEFAULT user hive, the registry files were still large of course, and needed to be compressed to reduce
    paged pool usage.
    Note, make sure no users are on the server when this is run !
    With the nightly spooler ‘refresh’ and the registry security changes, we are no longer seeing any problems. 
    In addition the paged pool has gone down from 5GB to 1GB – which I believe was related to the registry bloat that had occurred previously. 
    Cleaning up the keys and using NGREGOPT has fixed this.
    In addition, I am running a spooler check script every 30 minutes on each of the 13 servers. 
    This script checks how long it takes to enumerate the printers for the specific test user. 
    If it takes more than 20 seconds, we get an alert.
    Since I have made the changes above, we no longer have any printing problems… touch wood.. even using HPD 5.4 for most printers, and other (RICHO) 3<sup>rd</sup> party
    drivers.
    If anyone wants the scripts (the spooler refresh or the check script) let me know on david.frith<at>glfconsulting.com.au
    ta

  • Uix Client Side Validation

    Hi there,
    is it possible to create additional client side validators, is there an API? Does anybody know? It would be pretty nice to write more complex validators in Javscript but still rely on the field validation mechanism before submit.
    Regards
    Jan

    Thanks. This is how I solved it. I just thought, when there is a onBlurValidator/onSubmitValidator element, why not add a script option so it could look like :
    <onBlurValidater>
    <scriptValidator>
    return (value==".");
    </scriptValidator>
    </onBlurValidater>
    Of course the example above is quite stupid, but nevertheless such an option would sometimes be very valuable.

  • Forms client-side pl/sql procdures run in DB or Forms server?

    Hi,
    Does anyone know where Forms client-side pl/sql procdures and pll actually run?
    We plan to convert forms application to web-based application. We want to take out and re-use only business logic in forms procdure/pll and still want to keep them in pl/sql language.
    Our first option is to put the business logic as pl/sql stored procedures in DB server. But my clients worry about the DB server performance. My clients think that forms procedures run in forms server and moving them into DB server will result in additinal workload in DB server.
    Every body says that the best place to execute pl/sql is
    in the database. However if Forms client-side pl/sql procdures run in Forms server, is my client right?
    If so, does anybody know how to make pl/sql procedure in a client-side PL/SQL package and call it from other language (Java or else)?
    Hyunsu Kim

    Forms PL/SQL will run in the Forms Server - if y want to share business logic accross multiple applications you could put it onto the database as you mention. You won't know if performace will be good or bad until you do some tests but its a pretty common scenario - and remember - what you MAY lose in terms of slower processing because of load, you will gain by eliminating network transfers between the Forms server and the database.
    Regards
    Grant Ronald
    Forms Product Management

  • Client-side file I/O

    hi,
    we are trying to do client-side file I/O from PL/SQL. we have Oracle 8.1.7 here and looks like they have discontinued TEXT_IO after Ora-8. can someone give any ideas how we could write stuff in a file on the client-side in Oracle 8.1.7 ?
    alternatively, how can i increase the display of DBMS_OUTPUT so i can print out a VARCHAR2(4000) variable.
    thanks in advance,
    Briti

    TEXT_IO is a Forms built-in package, which is available to the client-side PL/SQL engine and accesses the client's filesystem.
    UTL_FILE is a database package that is usuable from server-side code only, and accesses the server's filesystem.
    I'm not quite sure what your problem is - could you elaborate?

  • Calling client-side Java?

    Is there a way to call a client-side java class from
    ActionScript? Server-side is clearly available, but I'd like to do
    some expensive processing locally.
    Thanks

    The Flash Player security sandbox virtually prohibits access
    to any client-side resources whatsoever.
    Tracy

  • Connection Problem while client is behind proxy and server out side proxy

    hello
    i implemented ChatApplication in JAVA, for that i used socket connection when client and server both are in same network then it's working fine.
    but when my server is on internate and client is behind proxy and try to connect with server
    it not able to connect i get exception.
    i serch most of forum i got same answer and i try it but i was not success.
    any kind of help is appriciated.
    i attached my code(which i implement for testing ) pls reply me
    thanks in advance.
    Server.java
    import java.lang.*;
    import java.io.*;
    import java.net.*;
    class Server {
       public static void main(String args[]) {
          String data = "you are successfully connected with server.";
          try {
             ServerSocket srvs = new ServerSocket(1234);
             Socket skt = srvs.accept();
             System.out.print("Server has connected!\n");
             PrintWriter out = new PrintWriter(skt.getOutputStream(), true);
             System.out.print("Sending string: '" + data + "\n");
             out.print(data);
             out.close();
             skt.close();
             srvs.close();
          catch(Exception e) {
             System.out.print("Whoops! It didn't work!\n");
    ProxyClient.java
    import java.io.*;
    import java.net.*;
    import java.util.*;
    class ProxyClient{
       public static void main(String args[]) {
         String host="61.17.212.29";
         int port=1234;
               String line;
         Properties properties = System.getProperties();
         /*properties.put("firewallSet", "true");
         properties.put("firewallHost", "192.168.0.1");
         properties.put("firewallPort", "808");*/
         properties.put("socksProxySet","true");
         properties.put("socksProxyHost", "192.168.0.1");
         properties.put("socksProxyPort", "1080");
         System.setProperties (properties);
         try {
         /*SocketAddress addr = new InetSocketAddress("192.168.0.1", 1080);
         Proxy proxy = new Proxy(Proxy.Type.SOCKS, addr);
         Socket skt = new Socket(proxy);
         InetSocketAddress dest = new InetSocketAddress("61.17.212.29",1234);
         skt.connect(dest);*/
             System.out.println("before socket taken");
             Socket skt = new Socket(host,port);
             System.out.println("after socket taken");
             BufferedReader networkBin = new BufferedReader(new InputStreamReader(skt.getInputStream()));
             System.out.println("Received string: '");
             line = networkBin.readLine();     // Read one line
          while(true)
                 System.out.println(line);     // Output the line
                 line = networkBin.readLine(); // Read the next line, if any
          catch(Exception e) {
             System.out.print("Whoops! It didn't work!\n");
         e.printStackTrace();
    }

    Now look here. I could not care less about this
    code. I don't know anything about it, I don't
    want to know, I have already recommended you don't
    use it, and I have also given you a simpler and
    better solution. If you don't want to take my advice
    that is your privilege and your problem.ya i has understand system propertis i have setted and u can see it in the code i have tried by both system properties and also J2SE 5.0 proxy class but i got a same problem malformed Exception server refuse to connection.
    is there any problem at sever side?
    can u tell me in which way u r teling to set the propery i m looking forward for ur reply.
    ya i m sure u will give me.................reply "ejp".
    Thnx in advance.

  • How to set username and password when using Proxy class for SOCKS5?

    Hi all,
    I use the proxy class for SOCKS5, so need to set username and password, I don't find where can I set the value. whether the API support it.
    Thanks in advance!

    System.getProperties().put("proxySet", "true");That does nothing. Remove.
    System.getProperties().put("proxyHost", getProxyHost());
    System.getProperties().put("proxyPort", getProxyPort());You should be setting socks.proxyHost and socks.proxyPort here.
    System.setProperty("java.net.socks.username", getSOCKSUsername());
    System.setProperty("java.net.socks.password", getSOCKSPassword());
    Authenticator.setDefault(new ProxyAuth(getSOCKSUsername(), getSOCKSPassword()));You either need the first two lines or the third, not both. See the last link posted above.
    1. After I set the value, I connect internet by proxy, how the proxy server knows the values?Because Java tells it during the SOCKS handshake.
    2. In my app, I just set the values in the system properties, then JVM does remaining work? Remaining work is not concerned?Should be OK unless you have to connect to a different SOCKS proxy from the same JVM, but that kind of thing is problematic anyway due to the curious Authenticator design which is set globally, not per connection as you might expect.

Maybe you are looking for

  • How do I download an MP3 from the web to iTunes

    I received an email with a link to an MP3 I'd like to load onto iTunes so I can listen to it on my iPod.  But when I click on the link, it opens Safari, and the only thing on the screen is a progress bar with a start/stop and a volume control.  I can

  • Substitution variable in the functions

    Can we call substitution variable in the functions in essbase calc scripts for example fix (@IRSIBLINGS(&mois_en_cours_reprev));

  • Program not responding-elements 8

    I'm using Elements 8 with Windows 7 on a Dell Studio XPS computer and am having several problems. When I open Elements 8, I get a screen that says "Buy more storage" following which I get a screen that says "Welcome to Elements!" and offers tour opti

  • Hotmail incoming mail server question

    What is the Hotmail incoming mail server? Thanks.

  • Jsp 2.0 Expression Language Performance

    Hi,           We're using EL throughout our application JSPs and Tags (${x} expressions), and we've discovered that for each dynamic expression used, the weblogic implementation creates a new ExpressionEvaluator object, a new Parser object, performs