. I hope
this helps.
Thanks,
-David
From: Gordon Brown [mailto:gordonw.br...@yahoo.com]
Sent: Wednesday, May 13, 2009 12:14 PM
To: Apache AXIS C User List
Cc: axis-c-...@ws.apache.org
Subject: When Basic authentication is on, client calls server twice
Hi There,
I
Hi There,
I am currently encountering a serious bug that seems exist in axis2/c. I am
using version 1.5 and I also tried version 1.6. The bug has to do with the
usage of Basic Authentication in web service client calls. I noticed that
the server side receives two calls for each one client
Hi There,
I sent out the message earlier but somehow the message is messed up, so try it
again.
I am currently encountering a serious bug that seems exist in axis2/c. I am
using version 1.5 and I also tried version 1.6. The bug has to do with the
usage of Basic Authentication in web
Hey there,
I'd like to deploy a service and require clients to use basic
authentication.
I found an email [1] from Paul saying that axis2 does not have native
support for it, that ws-security is the way to go. But in my case it would
be overkilled.
His answer is dated from 2006 so I'd like
How do you specify username and password via command line wsdl2java
(called from soapUI gui or directly) when trying
to generate code for a WSDL accessible through basic validation? The
Axis 1.x wsdl2java had -U and -P commandline params but these do not
seem to exist with 2.x.
Report has been created:
https://issues.apache.org/jira/browse/AXIS2-4060
From: keith chapman [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 30, 2008 9:25 PM
To: axis-user@ws.apache.org
Subject: Re: wsdl2java and basic authentication
Could you
Hi,
I have a Tomcat server (6.0.16) using basic authentication through a
JDBC connection to a database.
The server runs in port 8080.
I am trying to run wsdl2java against this server,
wsdl2java -uri
http://ssmith:[EMAIL PROTECTED]:8080/webservices/mywsdl.wsdl -s
-uw -u
PROTECTED]
Sent: Tuesday, September 30, 2008 11:09 AM
To: Jorge Medina
Subject: RE: wsdl2java and basic authentication
appears you're behind a proxy server so
you'll either need to specify WSDL2Java proxy settings e.g.
--http-proxy-hostProxy host address if you are behind a
firewall
I got it. There is a bug in version 1.4
The same line works fine in version 1.3
From: Jorge Medina [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 30, 2008 11:15 AM
To: axis-user@ws.apache.org
Subject: RE: wsdl2java and basic authentication
is of a confidential nature and Sender does not
endorse distribution to any party other than intended recipient. Sender does
not necessarily endorse content contained within this transmission.
Subject: RE: wsdl2java and basic authentication
Date: Tue, 30 Sep 2008 11:21:31 -0400
From: [EMAIL PROTECTED
Actually, I only tested with version 1.4.1 and version 1.3
Version 1.3 works fine
From: Jorge Medina [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 30, 2008 11:22 AM
To: axis-user@ws.apache.org
Subject: RE: wsdl2java and basic authentication
I got
--
*From:* Jorge Medina [mailto:[EMAIL PROTECTED]
*Sent:* Tuesday, September 30, 2008 11:15 AM
*To:* axis-user@ws.apache.org
*Subject:* RE: wsdl2java and basic authentication
No, I have the two computers in the same network, no firewall between them.
The error wouldn't be 401
Folks,
I am trying to test http authentication in a web services client. Is it
possible to test HTTP basic (or digest) authentication on axis2c http
server that is part of axis2c package?
Thanks,
Raghu
basic authentication. You
may use Apache2 with Axis2/C. BTW, Axis2/C client's can send basic
authentication credentials.
Thanks,
Raghu
--
Manjula Peiris
Senior Software Engineer
WSO2 Inc.
Oxygenating the Web Service Platform.
http://wso2.org/
Blog: http://manjula
that caused the issue?
Thanks,
Keith.
On Thu, Jul 3, 2008 at 8:07 PM, Odd Kenneth Oden
[EMAIL PROTECTED]
wrote:
Hello,
I have been unable to successfully execute my WSDL-generated Axis2 1.4
client against a web service that uses HTTPS and basic authentication.
After some extensive
Hello,
I have been unable to successfully execute my WSDL-generated Axis2 1.4
client against a web service that uses HTTPS and basic authentication.
After some extensive search on the Internet, I found some suggestions which
I have tried to implement. I've managed to successfully do a HTTP get
Axis2 1.4
client against a web service that uses HTTPS and basic authentication.
After some extensive search on the Internet, I found some suggestions which
I have tried to implement. I've managed to successfully do a HTTP get
against the service's WSDL-file using plain HTTPClient, but when I
Dear All,
I have tried various means to force Axis to send a basic auth header with its
first request, is this possible?
I know what the service I am connecting to requires the authentication header,
and using the CommonsHTTPSender I can see the same request being sent twice
first without,
Hi Jason,
Is it possible to implement the rampart sample/basic/sample02 with
policy?
Even though this is not recommended ( sending the UT in plain text
over HTTP), this is possible with Rampart. Policy for your scenario is
wsp:Policy wsu:Id=UToverHTTP
Hi, All
Is it possible to implement the rampart sample/basic/sample02 with
policy? What I want to do just basic username/password authentication
with policy. All the examples in policy directory involve encryption or
signature.
If it is possible, how can I find out in my business method
policy for basic authentication
Hi, All
Is it possible to implement the rampart sample/basic/sample02 with
policy? What I want to do just basic username/password authentication
with policy. All the examples in policy directory involve encryption or
signature.
If it is possible, how can I
looking for?
Martin-
- Original Message -
From: "jason zhang" [EMAIL PROTECTED]
To: axis-user@ws.apache.org
Sent: Saturday, March 29, 2008 6:07 AM
Subject: Using rampart policy for basic authentication
Hi, All
Is it possible to implement the rampart sample/basic/sample02 w
主题: Unable to determine binding from message element,when invoke webservice
under basic authentication
Hi,
The web service client was built with RPCServiceClient
--
serviceClient = new RPCServiceClient();
EndpointReference targetEPR = new EndpointReference
On 10/2/07, Leo Stevens [EMAIL PROTECTED] wrote:
Hi !
I have to invok a ws with Basic Authentication (user and pass), but
first I need to create the java classes so I need run
WSDL2JAVA.class with user and pass, so my question: Is it posible
to set a java env param
with Basic Authentication (user and pass), but
first I need to create the java classes so I need run WSDL2JAVA.classwith
user and pass, so my question: Is it posible to set a java env param
with username and password.
Thanks .
Quino.
);
authenticator.setPassword(password);
stub._getServiceClient().getOptions().setProperty(
HTTPConstants.AUTHENTICATE,authenticator);
Upul
On 10/2/07, Leo Stevens [EMAIL PROTECTED] wrote:
Hi !
I have to invok a ws with Basic Authentication (user and pass), but
first I need to create
Hi !
I have to invok a ws with Basic Authentication (user and pass), but first I
need to create the java classes so I need run WSDL2JAVA.class with user and
pass, so my question: Is it posible to set a java env param with username
and password.
Thanks .
Quino.
with Basic Authentication (user and pass), but first
I need to create the java classes so I need run WSDL2JAVA.class with user
and pass, so my question: Is it posible to set a java env param with
username and password.
Thanks .
Quino.
Can somebody please show me a working example of client
side basic authentication with axis2 1.1.1 ?
Below is my current code (xmlbeans client) which does not work:
HttpTransportProperties.Authenticator auth = new
HttpTransportProperties.Authenticator();
auth.setUsername(test_user
);
--End--
On Thu, 2007-02-15 at 13:26 +0100, Jarek Kucypera wrote:
Can somebody please show me a working example of client
side basic authentication with axis2 1.1.1 ?
Below is my current code (xmlbeans client) which does not work
);
basicAuth.setPassword(admin);
Rgds,
Dimuthu.
- Original Message
From: Tony Fang [EMAIL PROTECTED]
To: axis-user@ws.apache.org
Sent: Tuesday, December 12, 2006 10:20:03 AM
Subject: [Axis2] How to Basic Authentication in client
Hi, there
I found many users are using following
Authentication in client
Hi, there
I found many users are using following to do the basic
authentication:
// Add basic authentication
HttpTransportProperties.BasicAuthentication basicAuth
= new HttpTransportProperties().new BasicAuthentication();
basicAuth.setUsername
Hello,
I want to use the wsdl2java ant task to generate stubs and beans in
order to write a client to a web service.
But the wsdl is protected by the http basic Authentication mecanism.(I
know the username and password) and I can't access to the wsdl file with
the wsdljava ant task
task and http basic Authentication
Hello,
I want to use the wsdl2java ant task to generate stubs and beans in
order to write a client to a web service.
But the wsdl is protected by the http basic Authentication mecanism.(I
know the username and password) and I can't access to the wsdl file
]
Sent: Tuesday, September 26, 2006 2:11 PM
To: axis-user@ws.apache.org
Subject: wsdl2java ant task and http basic Authentication
Hello,
I want to use the wsdl2java ant task to generate stubs and beans in
order to write a client to a web service.
But the wsdl is protected by the http basic
Is it possible to override the class that handles BASIC HTTP authentication?
I want to forget tomcat_users.xml and hook into some proprietary
authentication code which stores users and passwords.
--
-Paul McMahon
-01763 261 466 ext 569
On Monday 04 September 2006 20:55, Paul McMahon wrote:
Is it possible to override the class that handles BASIC HTTP
authentication?
I want to forget tomcat_users.xml and hook into some proprietary
authentication code which stores users and passwords.
In tomcat custom authentication can be
had setup basic authentication with JDBC REALM in tomcat container.So that whenever I access my service using browser it asks me for user credentials and verify it with my database user table(which has username and password ).When i tried to deploy my deploy.wsdd, I had something like...Exception
wsdl2java generated skeleton and
obtain the Basic Authentication username and password. Once I have the
authentication parameters available in the generated service skeleton I will
programmatically authenticate and proceed or raise the access denied
exception. It sounds like it should be do-able
in the client but none for the service.
I am sure I am missing something basic, but the fact is I am missing it.
I would like to make use of the standard wsdl2java generated skeleton
and obtain the Basic Authentication username and password. Once I have
the authentication parameters available
in the client but none for
the service. I am sure I am missing something basic, but the fact is I am
missing it.
I would like to make use of the standard wsdl2java generated skeleton
and obtain the Basic Authentication username and password. Once I have
the authentication parameters available
?
kind regards
Artur
Artur Kraft wrote:
Hello,
in Tomcat I turned on BASIC Authentication to protect the use of all
axis services. Since then I always get a HTTP-Error 401/Unauthorized.
How can I provide username and password to deploy again to axis?
I tried the -uUserName -wPassword
really apply to me.
Shouldn't this be fixed quite simple or do I have to code something to
get it to work?
kind regards
Artur
Artur Kraft wrote:
Hello,
in Tomcat I turned on BASIC Authentication to protect the use of all
axis services. Since then I always get a HTTP-Error 401/Unauthorized
Hello,
in Tomcat I turned on BASIC Authentication to protect the use of all
axis services. Since then I always get a HTTP-Error 401/Unauthorized.
How can I provide username and password to deploy again to axis?
I tried the -uUserName -wPassword parameters, but they seem to belong
rather
(CommonsHTTPTransportSender.java:299)...
6 more- basic authentication scheme selected- No credentials available
for BASIC 'CASM'@localhost:13080
Here is a snippet of the code:
TestStub stub = new TestStub (null, "http://localhost:13080/ws");
ServiceClient sc = stub._getServiceClient();
Optio
SIGNED MESSAGE-Hash: SHA1Lothar Nieswandt wrote: Hello all,
I am trying to write a *simple* web service client with axis2. The server side requires http basic authentication. I can't find out how this is done *easily* with axis2. Somebody on the list advised to do
call.setProperty
Abeyruwan [EMAIL PROTECTED] wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Saminda Abeyruwan wrote:
Lothar Nieswandt wrote:
Hello all,
I am trying to write a *simple* web service client with axis2. The server
side requires http basic authentication. I can't find out how this is done
*easily
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Saminda Abeyruwan wrote:
Lothar Nieswandt wrote:
Hello all,
I am trying to write a *simple* web service client with axis2. The server
side requires http basic authentication. I can't find out how this is done
*easily* with axis2. Somebody
Hello all,
I am trying to write a *simple* web service client with axis2. The server
side requires http basic authentication. I can't find out how this is done
*easily* with axis2. Somebody on the list advised to do
call.setProperty(Call.USERNAME_PROPERTY, user);
call.setProperty
an authorisation header like
Authorization: Basic SOME_HEX_CODE
Thank you again.
Lothar
--- Ursprüngliche Nachricht ---
Von: Saminda Abeyruwan [EMAIL PROTECTED]
An: axis-user@ws.apache.org
Betreff: Re: [Axis2] Http Basic Authentication
Datum: Mon, 08 May 2006 17:06:00 +0600
-BEGIN PGP SIGNED
My authentication handler is just an modified version of the SimpleAuthenticationHandler that ships with Axis to hit my user table. To be honest, I'm not totally clear on the interaction between that handler and the HttpAuthHandler. My auth handler issues a fault if the user and password are not
To answer your question - yes, that is my setup.On 4/28/06, Kevin O'Rourke [EMAIL PROTECTED] wrote:
Thanks for the information.Just to be sure I understand:- you have written your own AuthenticationHandler class and added it as
a handler in server-config.wsdd- you have added the HTTPAuthHandler to
to the client if no username and password are supplied.
I would have expected that functionality to be part of the
HTTPAuthHandler, seeing as it's a part of HTTP/Basic authentication.
Rich Rodriguez wrote:
The auth handler I have is defined outside the service
that functionality to be part of the HTTPAuthHandler, seeing as it's a part of HTTP/Basic authentication.
Rich Rodriguez wrote: The auth handler I have is defined outside the service as: handler name=Authenticate type=java:
my.custom.AuthenticationHandler/ The transport request flow is defined
I'm trying to do authentication for my Axis web service using HTTP/Basic
over SSL, as this seemed to be the easiest option. The client is
written in Visual Basic .Net 2005.
I've added the HTTPAuthHandler to my WSDD file:
...
service name=NtiAuth provider=java:RPC
requestFlow
handler
The auth handler I have is defined outside the service as: handler name=Authenticate type=java:my.custom.AuthenticationHandler/The transport request flow is defined as:
requestFlow handler type=URLMapper/ handler type=java:org.apache.axis.handlers.http.HTTPAuthHandler/ /requestFlow
And each
Hello,
I'm having a hard time enabling Axis Basic User Authentication. What in
particular do I have to add/edit? Thanks for the help in advance.
kind regards,
Artur Kraft
hi all
i'm currntly getting username and password using basic authentication in my
web service.
we are using a product that doesn't support basic authentaication in the
http header, so now i have to re-write my web service. Can anyone suggest
an alternative way to do this?
Can i set
to be compatible with the WS-Security
standard; or you can invent your own header if you don't have to be standard
or interoperable. Using WSS4J is probably better.
On Fri, 26 Aug 2005, Plorks mail wrote:
hi all
i'm currntly getting username and password using basic authentication in my
web service.
we
Hi Guy
Thanks fr getting back to me. Do you haveor can you lead me to an WSS4J
example ?
Thanks for your help
From: Guy Rixon [EMAIL PROTECTED]
Reply-To: axis-user@ws.apache.org
To: axis-user@ws.apache.org
Subject: Re: basic authentication
Date: Fri, 26 Aug 2005 14:47:05 +0100 (BST
getting back to me. Do you haveor can you lead me to an WSS4J
example ?
Thanks for your help
From: Guy Rixon [EMAIL PROTECTED]
Reply-To: axis-user@ws.apache.org
To: axis-user@ws.apache.org
Subject: Re: basic authentication
Date: Fri, 26 Aug 2005 14:47:05 +0100 (BST)
If you are able
: basic authentication
Date: Fri, 26 Aug 2005 15:49:52 +0100 (BST)
Hi,
all my code is for the digital-signature mode of WSS4J. But the project's
own
site has some deployment examples for UsernameToken. See
http://ws.apache.org/wss4j/
and
http://ws.apache.org/wss4j/axis.html
Cheers,
Guy
Quoting Jonathan J. Vargas R. [EMAIL PROTECTED]:
Hi,
I did this:
public class Main {
public static void main (String[] args) {
try {
EchoImpServiceLocator sl = new EchoImpServiceLocator ();
EchoImp service = sl.getEcho ();
-
Hi,
I am having difficulties to access an axis webservices using an axis
client through basic authentication. the server returns no
authentication supplied message, as i should do since i am not giving
auth info yet.
I see MessageContext allows to indicate password and username, would
proxy object.setUsername(dfdafasdf);
proxy object.setPassword(dfdfdfdf);
Hi,
I did this:
public class Main {
public static void main (String[] args) {
try {
EchoImpServiceLocator sl = new EchoImpServiceLocator ();
EchoImp service = sl.getEcho ();
- ((org.apache.axis.client.Stub) service).setUsername (anyuser);
-
Use the url as follows
http://username:[EMAIL PROTECTED]
-Original Message-
From: Plorks mail [mailto:[EMAIL PROTECTED]
Sent: Monday, May 23, 2005 2:07 PM
To: axis-user@ws.apache.org
Subject: basic authentication
Dear all,
I'm trying to access an external web service that requires
Hi ,
I found on apache axis-user mail archives
discussion on Basic authentication. I looked at one of the solutions and tried using the stub as
wellstill getting 401 error. Please let me know how you figured it out.
import org.apache.axis.client.*;
import javax.xml.namespace
Hi guys,
Can anyone tells me how to reject a soap message in
Axis Handler?
Thanks,
Yixing Ma
I guess,
maybe you can try to set username in wsdd file like
parameter name=allowedRoles value=user1,user2/
and set passwd in users.lst file
? huagang
{/--\} [EMAIL PROTECTED]
( (oo) ) 2005-05-26
?
Hi,
Im trying to access Microsoft sharepoint webservice from an axis
client. I need to authenticate using Basic /NTLM authentication. Im
trying to set username and password
call.setUsername(username);
call.setPassword(passwd);
I also tried
call.setProperty(USERNAME_PROPERTY,
I think i've managed this
call.setUsername(username);
call.setPassword(password);
From: Plorks mail [EMAIL PROTECTED]
Reply-To: axis-user@ws.apache.org
To: axis-user@ws.apache.org
Subject: basic authentication
Date: Mon, 23 May 2005 08:36:44 +
Dear all,
I'm trying to access
Title: RE: basic authentication
Hi
It's fairly straightforward, here's both the client and server side code to a test web service, including the code for setting the HTTP basic authentication parameters and extracting them at the server side.
They appear in the request as a http header
Thank you
From: Harrison Tim [EMAIL PROTECTED]
Reply-To: axis-user@ws.apache.org
To: 'axis-user@ws.apache.org' axis-user@ws.apache.org
Subject: RE: basic authentication
Date: Mon, 23 May 2005 10:37:04 +0100
Hi
It's fairly straightforward, here's both the client and server side code
74 matches
Mail list logo