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'
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
s 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
>
>
>
> No, I have the two com
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 it
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]
To
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
No
EMAIL 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 be
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
ice = new SmsServiceStub(endPoint);
>>Options options = service._getServiceClient().getOptions();
>>options.setProperty(HTTPConstants.AUTHENTICATE, auth);
>> options.setProperty(HTTPConstants.CUSTOM_PROTOCOL_HANDLER,
>> https);
>>
ly 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
> against the serv
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 HTT
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, the
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
http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-
mas.xmlsoap.org/ws/2005/07/securitypolicy">
Is this what you're looking for?
Martin-
- Original Message -
From: "jason zhang" <[EMAIL PROTECTED]>
To:
Sent: Saturday, March 29, 2008
e looking for?
Martin-
- Original Message -
From: "jason zhang" <[EMAIL PROTECTED]>
To:
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 with
>
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 who
sList(new String[]{
> > > HttpTransportProperties.Authenticator.BASIC}));
> > > authenticator.setUsername(username);
> > > authenticator.setPassword(password);
> > > stub._getServiceClient().getOptions().setProperty(
> > > HTTPConstants.AUTHENTICATE,authentica
主题: "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 Endpoin
cator.setAuthSchemes(Arrays.asList(new String[]{
> > HttpTransportProperties.Authenticator.BASIC}));
> > authenticator.setUsername(username);
> > authenticator.setPassword(password);
> > stub._getServiceClient().getOptions().setProperty(
> > HTTPConstants.AUTHENTICATE,authenticator);
>
n 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.classwith
> > user and pass, so my question: Is it posible to set a java env param
> > with username and password.
> >
> > Thanks .
> > Quino.
> >
>
>
e 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.
>
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.
OUT_IN_OP);
mepClient.addMessageContext(msgCtx);
<--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 ?
> B
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
AM
Subject: [Axis2] How to Basic Authentication in client
Hi, there
I found many users are using following to do the basic
authentication:
// Add basic authentication
HttpTransportProperties.BasicAuthentication basicAuth
= new HttpTransportProp
admin");
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
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("
]
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
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
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
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 b
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
--
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
andard 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 d
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
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
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.
How can I provide username and password to deploy
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.
How can I provide username and password to deploy again to axis?
I tried the -uUserName -wPas
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 to
Hello
all,
I am having some issues getting
Basic Authentication to work with Axis2. I generated my
client skeketon classes using WSDL2Java. The TestStub
class has a method that actually invokes the service.
Note that my service is NOT an AXIS2 hosted service, but I want to use AXIS2 for
On 5/8/06, Saminda Abeyruwan <[EMAIL PROTECTED]> wrote:
-BEGIN PGP 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
minda 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 ht
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi Lothar,
Thank you for bringing "Http Basic Authentication" to Axis2's attention.
We've added Preemptive Basic Authentication schema to Axis2 codebase vi
-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 f
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 +060
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
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 on th
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");
c
rvices' .wsdd file you have added the "Authenticate" handler> to the request flow.>> Is that correct?>> So it looks like I need to write my own handler class to send back a
> 401> error to the client if no username and passwo
ed the "Authenticate" handler
> to the request flow.
>
> Is that correct?
>
> So it looks like I need to write my own handler class to send back a
> 401
> error to the client if no username and password are supplied.
>
> I would h
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
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 in
er, seeing as it's a part of HTTP/Basic authentication.
Rich Rodriguez wrote:
> The auth handler I have is defined outside the service as:
>
> type="java:my.custom.AuthenticationHandler"/>
>
> The transport request flow is d
The auth handler I have is defined outside the service as: The transport request flow is defined as:
And each service has a request flow of: On 4/27/06,
Kevin O'Rourke <[EMAIL PROTECTED]> wrote:
I'm trying to do authentication fo
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:
...
...
However no authentication is happ
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, I would like to know what is the best practice to implement basic authentication in web services by using the SOAP headers? Is there a way to leverage on the client handlers to pick up user data on behalf of the client and send it along with the request. Thanks in advance William Kane
pache.org
Subject: Re: 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/
>
> 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
> &
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
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
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
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 ();
>
> ->((org.ap
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");
->
< proxy object>.setUsername("dfdafasdf");
< proxy object>.setPassword("dfdfdfdf");
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
be this
I'm using Axis1-2Final & commons-http-client-3.0
with the handler 'SimpleAuthenticationHandler'.
And commons-http-client makes systematically 2 copies
(retry) of each http request to the server.
Is it normal ?
Axis1-2Final without commons-http-client-3.0 is Ok.
Axis1-2RC2 with commons-http-client
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 servic
I guess,
maybe you can try to set "username" in wsdd file like
and set "passwd" in users.lst file
致
礼!
? huagang
{/-◎◎-\} [EMAIL PROTECTED]
( (oo) ) 2005-05-26
?
62125151-6226
才智,德之资也;德者,才之师也
Hi guys,
Can anyone tells me how to reject a soap message in
Axis Handler?
Thanks,
Yixing Ma
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
well…still getting 401 error. Please let me know how you figured it out.
import org.apache.axis.client.*;
import javax.xml.namespace
Hi,
I’m trying to access Microsoft sharepoint webservice from an axis
client. I need to authenticate using Basic /NTLM authentication. I’m
trying to set username and password
call.setUsername("username");
call.setPassword("passwd");
I also tried –
Thank you
From: Harrison Tim <[EMAIL PROTECTED]>
Reply-To: axis-user@ws.apache.org
To: "'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 se
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 h
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 0
Dear all,
I'm trying to access an external web service that requires me to pass a
valid username and password. I have some documentation but i'm clear how i
do this
It says "customers will be authenticated through use of HTTP headers.
Authenticaton is performed using stan
Authentication
Hi All
I'am running an Axis (1.2RC3) Web Service on a Tomcat (4.1.31) I'am
having problems getting Basic Authentication working using the
ServletSecurityProvider and the SimpleAuthenticationHandler.
This is my configuration:
In the Axis web.xml:
AxisServlet
Hi All
I'am running an Axis (1.2RC3) Web Service on a Tomcat (4.1.31)
I'am having problems getting Basic Authentication working using the
ServletSecurityProvider and the SimpleAuthenticationHandler.
This is my configuration:
In the Axis web.xml:
AxisServlet
Apache-Ax
78 matches
Mail list logo