How to dynamic client limitation in tuxedo ?
I want to limit client concurrent session per tux-user in tuxedo 8.0.
But, I don't want to limit maximum WSH in UBB config file.
How should I do for this case ?
have you tried
binder.getLocal("REMOTE_ADDR");
Let us know how you get on
Tim
Similar Messages
-
How to pass in complex data to a web service using dynamic client
I wrote to dynamic client to access the complex example in weblogic 7.000, I would
like to know how I passed in a complex type to a dynamic client.An example of using dynamic client is attached:
regards,
-manoj
"fkeita" <[email protected]> wrote in message
news:3d051775$[email protected]..
>
I wrote to dynamic client to access the complex example in weblogic 7.000,I would
like to know how I passed in a complex type to a dynamic client.[call4.jar] -
How to use wsdl in dynamic client
In wls 700, I want to know how to write a dynamic client to invoke a webservice by
passing wsdl?
In the example directory, there is an example, but I would like to know how I can
customize to use my own wsdl? clientgen puts wsdl in client jar file why is that?Hi fkeita,
If you haven't already done so, you should check out the following link in the BEA
product documentation:
http://edocs.bea.com/wls/docs70/webServices/client.html#1049007
Outside of that, you can always stayed tuned to the "dev2dev" page :-)
Regards,
Mike Wooten
"fkeita" <[email protected]> wrote:
>
Hi Mike,
Can you elaborate more how I can find the url of wsdl?
Do you know any documentation which explains the process of using dynamic
clinet?
Thanks.
"Michael Wooten" <[email protected]> wrote:
Hi fkeita,
The client.jar contains a "static" WSDL, because some folks like to avoid
making
a network (or internet) call to retrieve the "dynamic" one :-)
If you try to use "user-defined" types, with a WSDL and a "dynamic" client,
you will
experience "difficulties". This is due to the way the JAX-RPC defines the
createService()
method on the ServiceFactory class. Normally, this is the method you pass
the URL
to the WSDL you want to use. Currently, we call the WSDL parser in this
method, which
has a "side-effect" of needing to have the type mappings for your "user-defined"
types, already registered when it is called. With "stub-style" clients,
this is not
a problem (because the plumbing does this for you), but with "dynamic"ones
it doesn't.
Right now, the only real workaround is to have your client class extend
our weblogic.webservice.core.soap.SOAPElementImpl
class, as in the following code fragment:
#### START OF EXTRACT #####
import javax.xml.rpc.Call;
import javax.xml.rpc.namespace.QName;
import weblogic.webservice.core.rpc.ServiceImpl;
public class ServiceClient extends ServiceImpl
public ServiceClient(String schemeHostPort) throws Exception
// We pass the URL for the "dynamic" WSDL in the
// first argument. The second argument is the
// path to the XML file that the <clientgen> Ant
// task recorded your typemapping info in. It is
// in your client.jar, along with the "static"
// WSDL I mentioned :-)
super(
(schemeHostPort == null ? "http://localhost:7001" : schemeHostPort)
+
"/mea/gateway?WSDL",
"examples/webservices/jaxrpc/consumer/anamitra/dii/MEAGatewayService"
//define qnames
String targetNamespace = "http://www.bea.com/examples/MEAGateway";
QName serviceName = new QName( targetNamespace, "MEAGatewayService" );
QName portName = new QName( targetNamespace, "MEAGatewayServicePort");
//create call
Call call = super.createCall(
portName,
new QName(targetNamespace, "processExternalDataBatch")
ArrayList alist = new ArrayList();
alist.add(new String("One"));
alist.add(new String("Two"));
alist.add(new String("Three"));
alist.add(new String("Four"));
alist.add(new String("Five"));
String result = (String)call.invoke( new Object[]{ alist } );
System.out.println("result=" + result);
public static void main( String[] args ) throws Exception
System.setProperty("javax.xml.soap.MessageFactory", "weblogic.webservice.core.soap.MessageFactoryImpl");
System.setProperty("javax.xml.rpc.ServiceFactory", "weblogic.webservice.core.rpc.ServiceFactoryImpl");
new ServiceClient(args[0]);
//private:
private final static boolean debug = false;
### END OF EXTRACT ###
Happy coding :-)
Regards,
Mike Wooten
"fkeita" <[email protected]> wrote:
In wls 700, I want to know how to write a dynamic client to invoke a webservice
by
passing wsdl?
In the example directory, there is an example, but I would like to know
how I can
customize to use my own wsdl? clientgen puts wsdl in client jar file why
is that? -
How to dynamically determine Receivers within BPM
Im trying to design a way to determine my receivers within my BPM process during runtime. My Scenario is as follows:
SAP IDOC
V
XI
XI uses JAVA Mapping MT1 to determine vendors and if customer receives PIDX
JAVA Mapping MT2 to creates the PIDX output file if required
V
SENDs to required Vendor (PIDX if required otherwise email)
My problem is how to dynamically determine the appropriate receiving vendor for my PIDX.
I can not use the condition editor on the standard Receiver Determination because the output message (PIDX) doesn't have specific enough information to determine the vendor.
Other than the customer number there are no other values and we don't want to use customer number because each vendor can have multiple customer numbers (hundreds).
I've tried various attempts but none seem to work. This could also be because I have limited knowledge of BPMs and this is my first complex development. Below are the different attempts I've made at dynamically determining the receiver. Any input would be appreciated.
Receiver Scenario 1
I developed an interface mapping with MT1 as input and the SAP Receiver Determination as output. The problem is for me to use this, the interface mapping had to reference the PIDX output (MT2 instead of MT1) which has no data that I can use to determine the receiver.
Receiver Scenario 2
I added a receiver step right before my send step and used the receiver list. This appears to send the PIDX to everyone in the list and there is no way to evaluate or eliminate a name from the list.
Receiver Scenario 3
I created a context object in the Integration Builder and assigned it to a field in MT1. I then added a switch step with a branch for each vendor. Within each specific branch there is a Send step that has the context object name I created in the "Send Context" field. However, on the configuration side Im unable to access the context object which I created on the design side. Whenever I open the condition editor and select the radiobutton for "Context Object" the list does not include the context object I created in the Integration Builder.Hi,
Try using the enhaced receiver determination concept.
Maybe based on certain field values you can write a UDF which calculates the receiver.
Try this Blog out
Link : [
http://help.sap.com/saphelp_nw70/helpdata/en/43/a5f2066340332de10000000a11466f/frameset.htm]
Regards,
Abhishek
Award if helpful. -
I have created a dynamic client to invoke a Web Service that uses non-built-in data types as parameter and return type in weblogic8.1 using ant task autotype and JAX-RPC. Now we are moving toward weblogic 9.0 but i could find equivalent way of creating dynamic client. So how can we create dynamic client in weblogic 9.0? I would also like to mention that our clients are standalone client. Thanks in advance for your help.
Thanks for your response.My requirement is, if we change interface means return object or parameters then we don't want to do redeployment of client jar. we want if there is any changes to the interface then it should be taken automatically.
-
I modified the EchoDom example (http://webservice.bea.com/dom.zip) client to be
dynamic (with WSDL) and deployed the service as a document type service. The ear
file is deployed correctly and I am able to execute the service from the URL without
any errors. However when I run the dynamic client, I see the following exception
trace. I see a similar error (serialization fails on class weblogic.apache.xerces.dom.DocumentImpl)
when I deploy the service as rpc. What am I doing incorrectly? Please help.
Sriram
run:
[java] javax.xml.rpc.JAXRPCException: failed to invoke operation 'echoDom
' due to an error in the soap layer (SAAJ); nested exception is: Message[ failed
to serialize interface javax.xml.soap.SOAPElementweblogic.xml.schema.binding.Se
rializationException: mapping lookup failure. class=interface javax.xml.soap.SOA
PElement class context=TypedClassContext{schemaType=['http://examples.org']:echo
Dom}]StackTrace[
[java]
[java] javax.xml.soap.SOAPException: failed to serialize interface javax.x
ml.soap.SOAPElementweblogic.xml.schema.binding.SerializationException: mapping
l
ookup failure. class=interface javax.xml.soap.SOAPElement class context=TypedCla
ssContext{schemaType=['http://examples.org']:echoDom}
[java] at weblogic.webservice.core.DefaultPart.invokeSerializer(Default
Part.java:328)
[java] at weblogic.webservice.core.DefaultPart.toXML(DefaultPart.java:2
97)
[java] at weblogic.webservice.core.DefaultMessage.toXML(DefaultMessage.
java:619)
[java] at weblogic.webservice.core.ClientDispatcher.send(ClientDispatch
er.java:206)
[java] at weblogic.webservice.core.ClientDispatcher.dispatch(ClientDisp
atcher.java:143)
[java] at weblogic.webservice.core.DefaultOperation.invoke(DefaultOpera
tion.java:444)
[java] at weblogic.webservice.core.DefaultOperation.invoke(DefaultOpera
tion.java:430)
[java] at weblogic.webservice.core.rpc.CallImpl.invoke(CallImpl.java:53
9)
[java] at weblogic.webservice.core.rpc.CallImpl.invoke(CallImpl.java:39
2)
[java] at examples.dom.Client.diiCall(Client.java:132)
[java] at examples.dom.Client.main(Client.java:164)
[java] Caused by: weblogic.xml.schema.binding.SerializationException: mappi
ng lookup failure. class=interface javax.xml.soap.SOAPElement class context=Type
dClassContext{schemaType=['http://examples.org']:echoDom}
[java] at weblogic.xml.schema.binding.RuntimeUtils.lookup_serializer(Ru
ntimeUtils.java:151)
[java] at weblogic.xml.schema.binding.RuntimeUtils.invoke_serializer(Ru
ntimeUtils.java:187)
[java] at weblogic.xml.schema.binding.RuntimeUtils.invoke_serializer(Ru
ntimeUtils.java:174)
[java] at weblogic.webservice.core.DefaultPart.invokeSerializer(Default
Part.java:324)
[java] ... 10 more
[java] ]
[java]
[java] at weblogic.webservice.core.rpc.CallImpl.invoke(CallImpl.java:55
9)
[java] at weblogic.webservice.core.rpc.CallImpl.invoke(CallImpl.java:39
2)
[java] at examples.dom.Client.diiCall(Client.java:132)
[java] at examples.dom.Client.main(Client.java:164)
[java] Exception in thread "main"
[java] Java Result: 1Hi Bruce,
I made the changes that you suggested. It didn't work. I still see the same deserialization
exception.
Sriram
Bruce Stephens <[email protected]> wrote:
Hi,
Try this format in your dynamic client:
call.setProperty("javax.xml.rpc.security.auth.username", "username");
call.setProperty("javax.xml.rpc.security.auth.password", "password");
HTHs,
Bruce
Sriram Chavali wrote:
If I had a weblogic security role enforcement in place for my WS EJB,how do I
pass the user credentials from a dynamic client? I set the USERNAME_PROPERTYand
PASSWORD_PROPERTY properties on the Call, but I see a deserializationerror on
the response and the SOAPElement interface.
A static client works fine when I pass the user credentials from thegetMyWSPort(String,
String) call.
Please help,
Sriram
"Sriram Chavali" <[email protected]> wrote:
Hi Bruce,
It worked perfectly.
Thanks for your help
Sriram
Bruce Stephens <[email protected]> wrote:
Hi Sriram,
OK, we are getting close. It looks like the problem is with the
helloComplexWorldResponse so looking at the client, I would change
the
invoke to look something like this:
String result = (String) call.invoke(new Object[] {doc});
If that still has problems, then try it without the return, i.e.make
it
a void return in the HelloWorldServiceEJB.java and go from there.
Regards,
Bruce
Sriram Chavali wrote:
Hi Brue,
Your example works fine for me. I am building an EJB implementationthat follows
your example where I see the error. The attached zip file has the
server
and client
(dynamic, which follows your example). The build file is build1.xml.
Thanks
Sriram
Bruce Stephens <[email protected]> wrote:
Hi Sriram,
hmmm...the sample I provided sends a Document with a dynamic client,
so
I'm confused as to where/why you are still seeing the same failure
as
the original post. Would you go back and look carefully at the
client
code (ClientHotelDyn.java) and note two important features:
1) adding the call.setProperty(Call.OPERATION_STYLE_PROPERTY,
"document");
2) adding the typemapping for the Document
If you are still experiencing problems, please post your codeand/or
open a dialog with our super support team: http://support.bea.com
or
[email protected]
Thanks,
Bruce
Hi Bruce,
The consumers for the service that I am building will be non-java
clients.
I wish
to demonstrate a reference implementation for them without using
the
generated
client side classes and hence the dynamic client.
Thanks for your example code. It worked fine. Just to add a
twist
to
your latest
example, I modified sample10 from Manoj's website (an EJB example)to accept an
org.w3c.dom.Document. I took your build file and tailored it
to
building
the sample10
and it worked fine for a static client, however when I modified
the
client to
be dynamic, I see the trace pasted at the end of this message.
Any
suggestions
run:
[java] javax.xml.rpc.JAXRPCException: failed to invoke
operation
'helloComp
lexWorld' due to an error in the soap layer (SAAJ); nested exceptionis: Message
[failed to deserialize xml:weblogic.xml.schema.binding.DeserializationException:
mapping lookup failure for xml type ['http://www.bea.com/servers/wls70/samples/
examples/webservices/basic/javaclass']:helloComplexWorldResponse
and
java interf
ace javax.xml.soap.SOAPElement]StackTrace[
[java]
[java] javax.xml.soap.SOAPException: failed to deserialize
xml:weblogic.xml
schema.binding.DeserializationException: mapping lookup failurefor
xml type
http://www.bea.com/servers/wls70/samples/examples/webservices/basic/javaclass']:
helloComplexWorldResponse and java interface javax.xml.soap.SOAPElement
[java] at weblogic.webservice.core.DefaultPart.toJava(DefaultPart.java:
389)
[java] at weblogic.webservice.core.DefaultMessage.toJava(DefaultMessage
java:458)
[java] at weblogic.webservice.core.ClientDispatcher.receive(ClientDispa
tcher.java:297)
[java] at weblogic.webservice.core.ClientDispatcher.dispatch(ClientDisp
atcher.java:144)
[java] at weblogic.webservice.core.DefaultOperation.invoke(DefaultOpera
tion.java:444)
[java] at weblogic.webservice.core.DefaultOperation.invoke(DefaultOpera
tion.java:430)
[java] at weblogic.webservice.core.rpc.CallImpl.invoke(CallImpl.java:53
9)
[java] at weblogic.webservice.core.rpc.CallImpl.invoke(CallImpl.java:39
2)
[java] at tutorial.sample10.client.Main.<init>(Main.java:105)
[java] at tutorial.sample10.client.Main.main(Main.java:40)
[java] Caused by: weblogic.xml.schema.binding.DeserializationException:map
ping lookup failure for xml type ['http://www.bea.com/servers/wls70/samples/exam
ples/webservices/basic/javaclass']:helloComplexWorldResponse
and
java
interface
javax.xml.soap.SOAPElement
[java] at weblogic.xml.schema.binding.RuntimeUtils.invoke_deserializer(
RuntimeUtils.java:325)
[java] at weblogic.webservice.core.DefaultPart.toJava(DefaultPart.java:
384)
[java] ... 9 more
[java] ]
[java]
[java] at weblogic.webservice.core.rpc.CallImpl.invoke(CallImpl.java:55
9)
[java] at weblogic.webservice.core.rpc.CallImpl.invoke(CallImpl.java:39
2)
[java] at tutorial.sample10.client.Main.<init>(Main.java:105)
[java] at tutorial.sample10.client.Main.main(Main.java:40)
BUILD SUCCESSFUL
Thanks
Sriram
Bruce Stephens <[email protected]> wrote:
Hi Sriram,
Give this example a spin and see if it fits your needs.
Just curious, why do you need to have a dynamic client?
Thanks,
Bruce
Sriram Chavali wrote:
I am using WLS 8.1 on Windows XP.
Sriram
"Sriram Chavali" <[email protected]> wrote:
I modified the EchoDom example (http://webservice.bea.com/dom.zip)
client
to be
dynamic (with WSDL) and deployed the service as a document
type
service.
The ear
file is deployed correctly and I am able to execute the
service
from
the URL without
any errors. However when I run the dynamic client, I see
the
following
exception
trace. I see a similar error (serialization fails on class
weblogic.apache.xerces.dom.DocumentImpl)
when I deploy the service as rpc. What am I doing incorrectly?Please
help.
Sriram
run:
[java] javax.xml.rpc.JAXRPCException: failed to invoke
operation
'echoDom
' due to an error in the soap layer (SAAJ); nested exceptionis:
Message[
failed
to serialize interface javax.xml.soap.SOAPElementweblogic.xml.schema.binding.Se
rializationException: mapping lookup failure. class=interface
javax.xml.soap.SOA
PElement class context=TypedClassContext{schemaType=['http://examples.org']:echo
Dom}]StackTrace[
[java]
[java] javax.xml.soap.SOAPException: failed to serializeinterface
javax.x
ml.soap.SOAPElementweblogic.xml.schema.binding.SerializationException:
mapping
l
ookup failure. class=interface javax.xml.soap.SOAPElement
class
context=TypedCla
ssContext{schemaType=['http://examples.org']:echoDom}
[java] at weblogic.webservice.core.DefaultPart.invokeSerializer(Default
Part.java:328)
[java] at weblogic.webservice.core.DefaultPart.toXML(DefaultPart.java:2
97)
[java] at weblogic.webservice.core.DefaultMessage.toXML(DefaultMessage.
java:619)
[java] at weblogic.webservice.core.ClientDispatcher.send(ClientDispatch
er.java:206)
[java] at weblogic.webservice.core.ClientDispatcher.dispatch(ClientDisp
atcher.java:143)
[java] at weblogic.webservice.core.DefaultOperation.invoke(DefaultOpera
tion.java:444)
[java] at weblogic.webservice.core.DefaultOperation.invoke(DefaultOpera
tion.java:430)
[java] at weblogic.webservice.core.rpc.CallImpl.invoke(CallImpl.java:53
9)
[java] at weblogic.webservice.core.rpc.CallImpl.invoke(CallImpl.java:39
2)
[java] at examples.dom.Client.diiCall(Client.java:132)
[java] at examples.dom.Client.main(Client.java:164)
[java] Caused by: weblogic.xml.schema.binding.SerializationException:
mappi
ng lookup failure. class=interface javax.xml.soap.SOAPElement
class
context=Type
dClassContext{schemaType=['http://examples.org']:echoDom}
[java] at weblogic.xml.schema.binding.RuntimeUtils.lookup_serializer(Ru
ntimeUtils.java:151)
[java] at weblogic.xml.schema.binding.RuntimeUtils.invoke_serializer(Ru
ntimeUtils.java:187)
[java] at weblogic.xml.schema.binding.RuntimeUtils.invoke_serializer(Ru
ntimeUtils.java:174)
[java] at weblogic.webservice.core.DefaultPart.invokeSerializer(Default
Part.java:324)
[java] ... 10 more
[java] ]
[java]
[java] at weblogic.webservice.core.rpc.CallImpl.invoke(CallImpl.java:55
9)
[java] at weblogic.webservice.core.rpc.CallImpl.invoke(CallImpl.java:39
2)
[java] at examples.dom.Client.diiCall(Client.java:132)
[java] at examples.dom.Client.main(Client.java:164)
[java] Exception in thread "main"
[java] Java Result: 1
Name: sample10.zip
sample10.zip Type: Zip Compressed Data (application/x-zip-compressed)
Encoding: base64 -
How to dynamically resize taskflow popup set as inlineDocument.
I've been trying to figure out how to dynamically set the WindowHeight and WindowWidth of a taskflow deployed as a inlineDocument popup. Sadly, neither the forums nor google came to the rescue so I had to actually figure this one out on my own. But at least now is my opportunity to work up some forum karma! :)
Sample workspace containing the solution is here: http://www.williverstravels.com/JDev/Forums/Threads/2337969/MaxPopupSize.zip
General Strategy for Solution:
- Pull the browser height and width using Javascript
function browserSize(evt)
var button = evt.getSource();
var agent = AdfAgent.AGENT;
var windowWidth = agent.getWindowWidth();
var windowHeight = agent.getWindowHeight();
AdfCustomEvent.queue(button, "customEvent",
width: windowWidth,
height: windowHeight
true);
evt.cancel();
}- Using a clientListener and serverListener, pull this information into a managed bean and set height / width in button's setWindowWidth(), setWindowHeight() attribute.
public void onButtonClick(ClientEvent clientEvent)
Double dw = (Double)clientEvent.getParameters().get("width")-100;
Double dh = (Double)clientEvent.getParameters().get("height")-100;
this.popupButton.setWindowWidth(dw.intValue());
this.popupButton.setWindowHeight(dh.intValue());
ActionEvent aE = new ActionEvent(this.getPopupButton());
aE.queue();
}- Due to JSF Lifecycle complications, the managed bean will need to call a different button than the one which holds the client and server listener. It will be the second button (popupButton in the code above) which then calls the popup.
Props to Frank for the client / server listener tutorial: http://www.oracle.com/technetwork/developer-tools/adf/learnmore/56-handle-doubleclick-in-table-170924.pdf
Props to Martin Deh for the javascript insights: http://martindeh.blogspot.com/2011/03/dynamic-resizing-for-popup-dialogs.html
Hope this helps someone down the road.
WillThanks LovettWB ...
Your question helped me a lot... I am able to pass these two parameters width/height to my bean and am able to set it to pop-up :) -
How to Expose the service to tuxedo :Todd Little Please help.
Hi all,
I am trying to expose the service to tuxedo.In unix system with tuxedo 9.1
I am starting with the simple app service .I prepared UBB config file. As follow:-
# samples/atmi/simpapp/ubbsimple $Revision: 1.5 $"
*RESOURCES
IPCKEY 51501
UID 106
GID 104
PERM 0666
MAXACCESSERS 1000
DOMAINID clarify
MASTER appsrv01
MAXSERVERS 50
MAXSERVICES 60
MODEL SHM
LDBAL Y
*MACHINES
chard1 LMID=appsrv01
APPDIR="/apps/test/tuxedo/appsrv"
TUXCONFIG="/apps/test/tuxedo/appsrv/tuxconfig"
TUXDIR="/apps/test/tuxedo"
ULOGPFX="/apps/test/tuxedo/samples/atmi/simpapp/LOGS_SAULOG/OLOGS"
TLOGNAME="TLOG"
TLOGSIZE=100
*GROUPS
"GROUP15" "LMID=appsrv01" GRPNO=15 OPENINFO=NONE
*SERVERS
DEFAULT:
RESTART=Y
MAXGEN=5
CLOPT="-A -- -n //10.106.1*3.**5:48800 -d /dev/tcp"
simpserv SRVGRP=GROUP15 SRVID=169
*SERVICES
TOUPPER
When I am compiling this file I get
883 ERROR: tmloadcf cannot run on an active node .
I changed IPC key also ,tried to shut down the server but not able to shut down the server.then I tried to kill the server.still no sucess.
Please answer some of my question.
1)can my application placed in any folder other and execute compile tmloadcf from there?
2)How to test my service using command prompt.
I have also updated the Jrepository .
Please if you find some required changes please let me know how to get those values which system specific eg I got server name using name -n command.
Please anybody help me.Hi! I guess it's nice to get called upon by name. :-)
As user878 mentions, the problem trying to execute tmloadcf is related to the fact that the associated IPC resources are already considered active by Tuxedo, i.e., you did a tmboot with a given TUXCONFIG and that Tuxedo environment is still running.
Specifically to answer your questions:
1)can my application placed in any folder other and execute compile tmloadcf from there?Where the files reside is almost immaterial. What is key is what the environment variable TUXCONFIG points to. That file defines a Tuxedo environment and is created with the tmloadcf command. Once the application is booted, you can't use tmloadcf to change the configuration. You either need to use the tmconfig command or shutdown the environment and then issue the tmloadcf command and then reboot the environment.
2)How to test my service using command prompt.Tuxedo only provides a generic command line client for Tuxedo services that use FML or FML32 buffers. The commands are ud and ud32. For Tuxedo services that use other buffer types, you will have to develop a specific client.
I have also updated the Jrepository .The Jolt repository is only needed if you are using Jolt, the Java client API to Tuxedo services.
Regards,
Todd Little
Oracle Tuxedo Chief Architect -
Dynamic client return complex type
How do write a dynamic client that returns a complex data type?
I had the same problem and was never able to solve it. I just gave up and went to static clients. From what I saw here in the forums in the last 4 months, this is a recurring problem that sun has given no solution to.
Hugo -
How to get client IP in custom UCM Service
how to get client IP in custom UCM Service ?
have you tried
binder.getLocal("REMOTE_ADDR");
Let us know how you get on
Tim -
How to dynamically resize JPanel at runtime??
Hello Sir:
I met a problem, I need to resize a small JPanel called panel within a main Control JPanel (with null Layout) if I click the mouse then I can Drag and Resize this small JPanel Border to the size I need at runtime, I know I can use panel.setSize() or panel.setPreferredSize() methods at design time,
But I have no idea how to do it even I search this famous fourm,
How to dynamically resize JPanel at runtime??
Can any guru throw some light or good example??
ThanksWhy are you using a null layout? Wouldn't having a layout manager help you in this situation?
-
Invoking a web service from dynamic client in weblogic 7
Is it possible to invoke a webservice from dynamic client in weblogic 7. Because i tried and it doesn't work. But it works with WL 8.1
I don't see any samples on the net for weblogic 7.Hello rss,
If you want to invoke a web service from a JCD you will have to build the SOAP message using JAX-RPC or AXIS and then programmatically creat an HTTP connection.
Or you can leverage the HTTP(S) eWay and then you only have to build the SOAP message.
Or use eInsight. You can import a WSDL into eInsight and eInsight will offer you a business process Activity to invoke the web service operations defined in the WSDL. -
How Redirect browser(client) based on non-negotiable SSL/TLS protocol or cipher
Hi guys,
we have a security requirement wherein we have to force the browsers accessing our asp.net application hosted on windows server 2012 to have atleast tsl 1.1 , but we don't want to simply block the request, instead we would like to redirect the request
to a unsecured static html page with the instructions on how to get them onto tsl.
can any one help me here?>? actually i found a similar and exactly same thread on stackoverflow but i think that is probably directed towards linux family. http://serverfault.com/questions/591188/redirect-browser-based-on-non-negotiable-ssl-tls-protocol-or-cipher
please help me guys..
ps: i have posted the same question on IIS forum (http://forums.iis.net/t/1223352.aspx?How+Redirect+browser+client+based+on+non+negotiable+SSL+TLS+protocol+or+cipher+from+IIS)
and got a reply saying that it can be done at windows kernel level(possibly).Hi,
As far as I know, once SSL handshake fails, no subsequent communication would occur between the server and client.
Therefore, as the way I see it, the goal cannot be achieved.
Best Regards,
Amy
Please remember to mark the replies as answers if they help and un-mark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
[email protected] -
How to set Internet limits to particular user by gpo ?
How to set Internet limits to particular user by gpo ?
Thanks & Regards, Amol . Amol DhaygudeHi,
>>How to set Internet limits to particular user by gpo ?
What Internet limits do you want to set for specific users? Group Policy user settings can be configured to apply to specific users, like via security filtering or GPP item-level targeting. The path for Internet Explorer policy settings under User Configuration
is: User Configuration\Policies\Administrative Templates\Windows Components\Internet Explorer.
You can also use GPP Internet Settings extension to manage IE settings and use GPP ILT to apply the settings to specific users. However, GPP settings can be edited by standard users after getting applied.
Regarding GPP Internet Settings extension, the following article can be referred to for more information.
Internet Settings Extension
http://technet.microsoft.com/en-us/library/cc754649.aspxBest regards,
Best regards,
Frank Shen -
How to Install VPN and how to connect client Application server
Hi All,
Could any one tell me. How to connect Client's Application server and How to Install VPN. Thanks in advance.......
Thanks & regards
Vardhanwhere r u working?
ask your help desk to give the URL link to down load vpn
after downloading install it, its just like a wizard
you need to give your userid and password , and secureid number
secureid is a small device which displays a number(say a 6 digit number ) this number is keeps on changing for every one minitue.
you need to enter the number which is displaing while you are trying to connect to vpn.
in the middle of connecting to vpn if your secureid number changed , you need to login once again by the same procedure
Maybe you are looking for
-
Errors setting up DataGuard Broker
Hi, I'm setting up Data Guard Broker and get these errors, hope you can help. My Primary (orcl) is in open state and Standby (orcldg) is in open read only state. I've run these on both of my 2 node primary RAC dgmgrl connect sys create configuration
-
I have all of my music that's on my itouch on my netbook. It isn't working anymore and I need to get it to my Mac. How do i do that? I have hundreds of songs that I don't want to lose.
-
Having issues with sending attachments via iMail to PC users
Having issues with sending attachments via iMail to PC users. Either they do not see all the attachments or the attachment comes across blank. Is there any suggested ways to resolve this?
-
Home Sharing for 12 a complete mystery
Can someone please explain how i pull across content from one authorized computer to a second on my Home Sharing? There is no longer a Show or Import button on the bottom of the Itunes 12 menu and the new system is so overly complicated I can't figu
-
I have recently purchased a new iMac with Lion preinstalled. Following several attempts to install Mac office 2011 and various Adobe photoshop programs (either purchased or their trial versions) I decided to erase the disk following disk utility and