[prev in list] [next in list] [prev in thread] [next in thread]
List: uddi4j-general
Subject: [Uddi4j-general] RE:...Proxy server settings for UDDI4J
From: Manjunath R <emanjunath () yahoo ! com>
Date: 2001-04-05 4:08:06
[Download RAW message or body]
Hi
Thanks David Melgar, I did the same thing that was
said in ur reply...but im afraid it does'nt work.
However i did some digging in to the UDDI4j api and
found a nice way to set the Proxy setting.. The saop
v2.1 does support the settting of the proxy server and
its port.
You have to import the
"org.apache.soap.transport.http.SOAPHTTPConnection"
class. and then you are ready to GO.
The following snippet of code shows how to do this
-
-
-
-
String proxyHost = ProxyHostname;
int proxyPort = Proxyport;
// Construct a UDDIProxy object.
UDDIProxy proxy = new UDDIProxy();
// create the transport and set parameters
SOAPHTTPConnection st = new
SOAPHTTPConnection();
st.setProxyHost(proxyHost);
st.setProxyPort(proxyPort);
proxy.setTransport(st);
proxy.setInquiryURL("http://www-3.ibm.com/services/uddi/testregistry/inquiryapi");
BusinessList bl = proxy.find_business("S", null,
0);
-
-
-
-
That 's it
Bye for now...
Manjunath.R
__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail.
http://personal.mail.yahoo.com/
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic