HTTP PROTOCOL used in XI by default
Hi All,
I exported a wsdl file from XI and I want to use that wsdl to invoke the service in XI.
I am using xml spy to test that wsdl.When I run it, it prompts me to enter user id & password & i do the same. The service gets executed.But now i am writing my own client program in axis..so how should i set authentication information.Do i need to set something in the wsdl in XI so that i will be able to set the authentication info.
Can you tell me what is the default http protocol used by XI??
Thanks,
Archana
HI,
You have to enter the User,pwd.
See this link also.
/people/siva.maranani/blog/2005/03/01/testing-xi-exposed-web-services
Regards
Chilla..
Similar Messages
-
Why is the https protocol used on all pages of arch wiki & forums ?
I don't know if it's true, but I heard that the https protocol requires more server resources than http, maybe because the server has to encrypt the data before sending it to the client. Therefore, as far as I know, https is usually used only on web pages containing login forms, and others that transmit sensitive data. I'm not complaining about the wiki or forum performance, they're loading fast, but is there a reason for using https on all pages of arch wiki and arch forums ? Shouldn't https be used only for logins to the wiki and forums, and http for all other pages, just like archlinux home page ?
Last edited by Chrys349 (2011-10-14 00:14:54)I don't know the specific reasons as far as Arch is concerned, but there is a trend... See for example the HTTPS Everywhere extension. Many sites started offering or forcing https (including Google.) This can help avoid censorship and eavesdropping, two things that are on the rise too in many countries.
-
HI experts.
In my current project I PI need to send the data through HTTPS protocol in receiver adapter and I need response back to PI (means synchronous interface). They don't allow the Webservice (SOAP).
My question is How PI can send the data through HTTPS protocol using receiver adapter? And what kind of adapter I have to use in this case (receiver system will not allow webservice)
Thanks
srini..Thank you for your quick response.
Please explain about options.
If i use option A what parameters i have to choose in HTTP receiver adapter. (HTTP with SSL (= HTTPS), but without client authentication)
If i use option B what parameters i have to choose in HTTP receiver adapter(HTTP with SSL (= HTTPS) and with client authentication)
as per your above response i have to install certificates. Here i have a question.
IF i use HTTP receiver adapter which parameter i have to select in this adapter.
Just now i checked recover HTTP adapter i can't see any information regarding certificate authentication
thanks
srini..
Edited by: srinivasreddy p on Jan 19, 2011 3:43 PM -
Signed Applet not loading on Mac OS X if using HTTPS protocol
Hi All,
I need to open a trusted applet on Mac OS 10.2. The applet works fine if using HTTP protocol. But if the protocol used is HTTPS the the applet does not loads and "javax.net.ssl.SSLException - untrusted server cert chain" exception comes on the console.
The error comes for both - Verisign and javakey - signed applet.
On seaching for possible solution on the net, i came across following link: http://www.macosxhints.com/article.php?story=20020525101202503&query=Workaround+for+secure+Java+applet+problems
It says that this is Mac's known bug and gives the workaround as:
1. Access the problematic site with Internet Explorer on Windows. Click on the padlock item and export the certificate to a file.
2. Copy the certificate to your Mac.
3. Use the command
sudo keytool -import -trustcacerts -keystore /Library/Java/Home/lib/security/cacerts -file mycert.cer
to import the certificate file to your keystore (substitute mycert.cer with the name of the file containing the certificate). The keystore is password protected - the default password is "changeit".
4. Restart your browser
But the client cannot be asked to do all this to run the applet.
Is this problem being solved by Mac in their java implementation or is there any other possible solution?
Thanx in advance.
Regards,
CharuI am experiencing the same problem - I notice it does not happen on OS9.2 using IE but appears a problem on all browsers on OSX
Apple gave me the following reply.....
Re: Bug ID# 3268633: cannot load applet class under https connection
Hello Andrew,
Thank you for bringing this problem to our attention. We have received feedback
from engineering on your
reported issue.
Please know that to get Java to recognize the certificate you will need to do
one of two things, depending
on which VM you are using. Since you want it to work with Internet Explorer, we
will assume Java 1.3.1.
In Java 1.3.1 you'll need to add the certificate to
/Library/Java/Home/lib/security/cacerts using
/usr/bin/keytool to import the certificate into the certificate database.
In Java 1.4.1 you should be able to just add the certificate to the keychain
using certtool. For more
details on how to do this, please refer to the information found at
<http://java.sun.com/j2se/1.4.1/docs/tooldocs/solaris/keytool.html>. After
doing so, if you should require
further help from Apple in resolving this issue, we recommend that you request
assistance from Developer
Technical Support. This must be done by filing a Technical Support Incident.
So I am supposed to tell every Mac user to do the above am I?!!! -
Unable to connect to the Exchange server using HTTP/HTTPS protocol.
hi,
i try to connect microsoft exchange server, but it give me
error
Unable to connect to the Exchange server using HTTP/HTTPS
protocol.
my code is pasted below............
<!--- connection parameters --->
<cfparam name="user1" default="uHRH">
<cfparam name="user2" default="uHRH">
<cfparam name="password" default="uHRH">
<cfparam name="exchangeServerIP" default="192.168.0.1">
<cftry>
<!--- Open a connection to the exchange server by
specifying the required user credentials --->
<cfexchangeConnection
action="open"
username ="#user1#"
password="#password#"
server="#exchangeServerIP#"
<!--- protocol = "http"--->
connection="conn1">
<cfoutput>Connection to exchange server
"#exchangeServerIP#" established</cfoutput>
<!--- Close connection to exchange server --->
<CFExchangeConnection
action="close"
connection="conn1">
<cfoutput>Connection to exchange server
"#exchangeServerIP#" terminated</cfoutput>
<!--- Error Information --->
<cfcatch type="any">
<cfoutput>#cfcatch.message#</cfoutput>
</cfcatch>
</cftry>
if any one know how to solve this error?Hi,
The "<cfexchangeConnection>" tag supports both "HTTP"
and "HTTPS" connection.. So Please make sure the username has the
"Outlook Web Access".
Also try removing the <!--- protocol = "http"--->
comment which you placed inside the "<cfexchangeConnection>"
tag. -
Using https protocol thru Oracle Developer 6.0
Hi ,
I would like to know if it is possible to use https protocol from Oracle Developer 6.0.
we have used http protocol when using
Show_Document() and it works fine. But when we try to use https (which our application requires - secure mode)then we get the following error:
FRM-99999 Invalid URL sent to browser with target_BLANK.
Full Details: unknown protocol:https
We would appreciate any help on this problem.
Are there any patches which would enable the use of this protocol??
Thanks,
Sanjay Sinha
email:[email protected]
nullThere are other services that may cause you trouble.
I have had to turn off SMTP and DHCP services in the past. -
Where and how can I know which version of http protocol that flash player used?
If flash player uses web brower's http protocol?
Is the EOB a PDF document?
Firefox updates every 6 weeks and the current version is 31.0. Rolling back almost 6 months is not recommended for security reasons. If that's their best answer, I suggest we either figure out a workaround for getting the document, or you just use a different browser for their site. -
Web Proxying to a WebLogic Cluster using the HTTPS protocol
Hi all,
I am recently involved into JWS proxying to WebLogic Cluster.
I don't have any technical problems at the moment but "conceptual" problems, that is:
- my jws proxy server should connect to a WebLogic Cluster through a Bea plugin configured wish SSL parameters;
- my jws proxy server should pass the incoming request using a load-balancing algorithm among the two nodes of the cluster, that are actually installed on two different machines;
- the jws proxy server doesn't seem to accept multiple certificates.
My question is: how can I configure my proxy plugin to route the incoming requests to my WebLogic Cluster using the https protocol? As a matter of fact, each certificate should be hostname dependent, and it looks like that the proxy plugin doesn't accept a multiple certificate configuration (and it should actually match the CN entry in the certificates with the actual hostnames of the nodes).
Any hint?
Thx a lot,
LucaIt is supported in 5.2
- Prasad
Wei Guan wrote:
> As I knew of, secure proxying is not supported yet.
> --
> Cheers - Wei
> Bob Kiep <[email protected]> wrote in message
> news:8bvvc7$7uf$[email protected]..
> > The NSAPI plugin cannot perform SSL proxying, as documented at the bottom
> of
> > this message (taken from
> > http://www.weblogic.com/docs/admindocs/nsapi.html#background). When
> > Weblogic is the proxy, can I do SSL? If someone could send me the link to
> > where is states whether is SSL or not would be very helpful.
> >
> > "The plug-in is for an environment where NES serves static pages, and a
> > Weblogic Server (operating in a different process, possibly on a different
> > host) is delegated to serve dynamic pages (such as JSPs or pages generated
> > by HTTP Servlets). The connection between WebLogic Server and the NSAPI
> > plug-in is clear text http, not SSL. To the end user -- the browser -- the
> > HTTP requests delegated to WebLogic appear to come from the same source as
> > the static pages. In other words, WebLogic on the back-end is invisible.
> > Additionally, the HTTP-tunneling facility of the WebLogic client-server
> > protocol can operate through the plug-in, providing access to all WebLogic
> > services (not just dynamic pages). "
> >
> >
Cheers
- Prasad
-
my requirement is to upload/tranfer a file to remote server(LAN/WAN) using http protocol.
my application is not a web based application.
if anybody knows how to do it, pls. let me know.
thanks and regards
SavithaYou can use an URLConnection, but you need to cast it the HttpURLConnection in order to set the "method". The "official" method which ought to work for uploads is the "PUT" method, but it's not often used and, as a result, not all web proxies handle it. You may find POST is safer, even if your data isn't formatted as POST expects.
It goes something like (from memory)
URL url = new URL( ..... );
HttpURLConnection con = (HttpURLConection)url.openConnection();
con.setMethod("PUT");
con.addHeader("Content-length", fileLength);
con.addHeader("Content-type", mimeType);
con.setDoOutput(true);
OutputStream out = con.getOutputStream();
...Be warned though: Web systems do not expect very large uploads. Web proxies, in particular, can often cause a lot of grief if you are trying to upload anything about a megabyte or two in one message.
It's important to set the Content-Length correctly to the size of the body data, since otherwise the system doesn't know when you've finished sending. -
Retrieve and send data to website using http protocol
Hi, I wonder if anyone knows how to use java language to retrieve and send data to internet website using the http protocol.
Take a look at this thread:
http://forum.java.sun.com/thread.jsp?forum=31&thread=310300 -
Configuring Weblogic server to use HTTP protocol instead of T3
It is posible to set two Weblogic servers to communicate using the HTTP protocol instead of the T3 protocol? We are able to communicate between servers using the T3 protocol. We were also able to set a server to communicate to a client using the HTTP protocol. We can not configure two servers to communicate using the HTTP protocol. Any advise how to configure the servers to work this way?
thanks,
R."There was a problem with your request,please contact your administrator."
"Error details:Error building pipeline.Failed to instantiate ExtensionRuntime"Check the CAS logs to see if there are any further details or a stack-trace for the error.
-->When I tried in browser it says
"The address wasn't understood
Firefox doesn't know how to open this address, because the protocol (idc) isn't associated with any program.
You might need to install other software to open this address."Expected.
URL format is like
idc://<server_name>:<port>/folderPath/I think that only proto/hostname/port is required - you could try without the folder path. Which port are you actually using, and can you confirm that Intradoc is running on that port?
Best
Brett -
ITSMobile using HTTPS protocol
Hello,
I am new on ITSMobile and I am having issue connecting using https protocol. I keep getting a message on my device MC70 "The Web site you want to view request identification. Select the certificate to use when connecting". Unfortunately I only got a blank box and nothing to choose. When I click OK I only get the previous site I been to and will not get the login screen that I need.
I am using a Symbol MC70 with windows mobile 5.0. All the settings in SICF are okay so with the ports. I appreciate whoever can give help on my issue.We are having the same issue.
Does anybody have any suggestions? We are using a self-signed certificate. -
Using webgui with HTTPS protocol
Hi All
I have a WAS 700 (abap + java) where I have activated:
- webgui
- SSO
Webgui works fine on port HTTP (8000) but now I want to use HTTPS protocol.
I have tried to change the instance parameter icm/server_port_0
from
PROT=HTTP,PORT=80$$
to
PROT=HTTPS,PORT=80$$
but unfortunately this is not sufficient or is completely wrong!
After this change webgui do not work anymore !!
Any suggestions ??
thx in advance
Pierfrancesco
Edited by: Pierfrancesco Cocco on Sep 4, 2008 4:31 PMHello,
To HTTPS enable your application server
Follow the steps provided here:
http://help.sap.com/saphelp_nw70/helpdata/EN/65/6a563cef658a06e10000000a11405a/frameset.htm
That should get HTTPS working in SMICM.
Also,
After the above configuration, you would also need to enable HTTPS in SICF for your webgui in
SICF ->navigate to /default_host/sap/bc/gui/sap/its/
Right click on the service and click on Display element, you should see a window where you can specify the service details.
Switch to service data tab (which is normally the first tab selected) on this tab , there is a security requirement box.
Select SSL over here.
Regards,
Siddhesh -
B2B using Generic HTTP Protocol
Hello Gurus,
Please note that I am very green to B2B. I created an B2B agreement to send xml file to a trading partner. I'm using a generic HTTP protocol and need to use a HTTPS Post. I have entered the target url... etc. My question is how can I config the agreement to use a POST instead of a GET or a PUT for HTTPS. Is there any documentation?
Regards,
KathyHi Kathy,
You need to add property "http.form.parameter=msg" as transport header in Delivery Channel configuration. Please refer below doc (page#14)-
http://www.oracle.com/technology/products/integration/b2b/pdf/B2B_Technical_Tips.pdf
Regards,
Anuj -
Problems using https protocol to connect to open a web site
Hi,
I am trying to connect to a web site from my java programme. When I try connecting using htpp protocol, I am able to open the web page then I am giving the username,password to login into that web site..its working fine.
But, When I try connecting using https protocol connection, I am not getting the page opened and after some time I am getting below error
Exception in thread "main" org.apache.xmlrpc.XmlRpcException: I/O error while communicating with HTTP server: Connection timed out: connect
at org.apache.xmlrpc.client.XmlRpcCommonsTransport.writeRequest(XmlRpcCommonsTransport.java:244)
at org.apache.xmlrpc.client.XmlRpcStreamTransport.sendRequest(XmlRpcStreamTransport.java:151)
at org.apache.xmlrpc.client.XmlRpcHttpTransport.sendRequest(XmlRpcHttpTransport.java:115)
at org.apache.xmlrpc.client.XmlRpcClientWorker.execute(XmlRpcClientWorker.java:56)
at org.apache.xmlrpc.client.XmlRpcClient.execute(XmlRpcClient.java:167)
at org.apache.xmlrpc.client.XmlRpcClient.execute(XmlRpcClient.java:137)
at org.apache.xmlrpc.client.XmlRpcClient.execute(XmlRpcClient.java:126)
at com.wipro.bugc.Test1.call(Test1.java:94)
at com.wipro.bugc.Test1.main(Test1.java:124)
Caused by: java.net.ConnectException: Connection timed out: connect
Can anyone please suggest or give sample code to work with https web sites in java.
I will have to use only https protocol to open any browser as my server only opens the web pages using https protocol
Thanks in advanceHi,
Thank you for your immediate reply. Please find the below code for your infomationa and please let me know where I am wrong..
Below is the example we used to connect to "rojects.maemo.org" site and end up with the error I mentioned in the previous topic.
package com.wipro.bugc;
import java.net.Authenticator;
import java.net.URL;
import java.security.cert.X509Certificate;
import java.util.HashMap;
import java.util.Map;
import javax.net.ssl.HostnameVerifier;
import javax.net.ssl.HttpsURLConnection;
import javax.net.ssl.SSLContext;
import javax.net.ssl.SSLSession;
import javax.net.ssl.TrustManager;
import javax.net.ssl.X509TrustManager;
import org.apache.http.HttpEntity;
import org.apache.http.HttpHost;
import org.apache.http.HttpResponse;
import org.apache.http.auth.AuthScope;
import org.apache.http.auth.NTCredentials;
import org.apache.http.auth.UsernamePasswordCredentials;
import org.apache.http.client.HttpClient;
import org.apache.http.client.methods.HttpGet;
import org.apache.http.impl.client.DefaultHttpClient;
import org.apache.http.protocol.BasicHttpContext;
import org.apache.http.protocol.HttpContext;
import org.apache.xmlrpc.client.XmlRpcClient;
import org.apache.xmlrpc.client.XmlRpcClientConfigImpl;
import org.apache.xmlrpc.client.XmlRpcCommonsTransportFactory;
public class Test1 {
private static void install() throws Exception {
// Create a trust manager that does not validate certificate chains
TrustManager[] trustAllCerts = new TrustManager[] {
new X509TrustManager() {
public X509Certificate[] getAcceptedIssuers() {
return null;
public void checkClientTrusted(X509Certificate[] certs, String authType) {
// Trust always
public void checkServerTrusted(X509Certificate[] certs, String authType) {
// Trust always
// Install the all-trusting trust manager
SSLContext sc = SSLContext.getInstance("SSL");
// Create empty HostnameVerifier
HostnameVerifier hv = new HostnameVerifier() {
public boolean verify(String arg0, SSLSession arg1) {
return true;
sc.init(null, trustAllCerts, new java.security.SecureRandom());
HttpsURLConnection.setDefaultSSLSocketFactory(sc.getSocketFactory());
HttpsURLConnection.setDefaultHostnameVerifier(hv);
public static void call(String url) throws Exception {
HttpClient httpClient = new HttpClient();
httpClient.setHttpConnectionFactoryTimeout(600000000);
httpClient.getParams().setAuthenticationPreemptive(false);
Credentials defaultcreds = new UsernamePasswordCredentials("username", "password");
httpClient.getState().setCredentials(new AuthScope("projects.maemo.org", 443, AuthScope.ANY_REALM), defaultcreds);
HttpHost targetHost = new HttpHost("projects.maemo.org", -1, "https");
System.setProperty("proxySet", "true");
System.setProperty("http.proxyHost", "xxxx.com");
System.setProperty("http.proxyPort", "xxxx");
Authenticator proxyAuthenticator = new HttpAuthenticateProxy(
"username", "password");
Authenticator.setDefault(proxyAuthenticator);
XmlRpcClient rpcClient = new XmlRpcClient();
XmlRpcCommonsTransportFactory factory = new XmlRpcCommonsTransportFactory(
rpcClient);
factory.setHttpClient(httpClient);
rpcClient.setTransportFactory(factory);
XmlRpcClientConfigImpl config = new XmlRpcClientConfigImpl();
config.setServerURL(new URL(url));
config.setEnabledForExtensions(true);
config.setEnabledForExceptions(true);
config.setBasicUserName("username");
config.setBasicPassword("password");
rpcClient.setConfig(config);
Map<String, String> loginMap = new HashMap<String, String>();
String bugzillaUserName = "username";
String bugzillaPassword = "password";
loginMap.put("login", bugzillaUserName);
loginMap.put("password", bugzillaPassword);
Object loginResult = rpcClient.execute("User.login",new Object[] { loginMap });
System.out.println("loginResult.toString() "
+ loginResult.toString());
public static void main(String[] args) throws Exception {
String url = "https://projects.maemo.org/bugzilla_sandbox/xmlrpc.cgi";
Test1.install();
Test1.call(url);
System.out.println("Finished.");
}
Maybe you are looking for
-
Watching purchased iTune movies with no internet
I bought a Lacinema external HD because they said you could watch MP4 movies with it. I purchased 3 seasons of TV shows and several movies only to find that it won't play movies from iTunes. Please help me. I have spent soooo much money at iTunes, an
-
Facebook mixed format content export error
Can anyone tell me why the facebook exporter doesn't work correctly? I have mixed content on my timeline some 4:3 and some widescreen. I have scaled the widescreen content up to achieve a pan and scan effect within my SD 4:3 project. In my timeline
-
Layout box from end to end of the screen
The caprice is simple: I want to create 100px tall line (vertical gradient) from end to end of the screen at the top of it, independently of screen's size. I have already set up the header which is 80px tall and appears 5px from the top (so there is
-
Hello all First: Is anyone here working with Visual java server faces? Second: What happens when u do drag and drop on a table, everything is working fine.. but later on, someone adds 2 more fields to the table.. and now when i run the web app, it lo
-
Log Out Behavior - Users appear to stay logged in
I cannot get a user to logout using the Log Out User behavior. I created a restricted page which displays the user's name once logged in, however when the user logs out and a different user id is used, the restricted page returns the first user's id.