Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / August 2007

Tip: Looking for answers? Try searching our database.

Connecting JAVA/AXIS client to .NET WebService with authentication

Thread view: 
Filipe Marcelino - 08 Aug 2007 12:04 GMT
hi,

after searching for several hours for an answer for my problem, i
decided to post my question.
Well, i have a .net webservice exposing some webmethods; now i want to
have a java/axis client that consume those methods, but using some
kind of authentication.

Theres any simple way to implement some kind of authentication like
https, ssl...
I really need help on this one.

Thanks in advance for your attention,
Filipe Marcelino
Filipe Marcelino - 08 Aug 2007 15:39 GMT
Hi again,

i managed to create a ssl certificate to my webserver and use it.
Added the webservice under https to my java client and all runs fine.
The webservice, right now is setup to allow anonymous connections and
integrated security. My next step would be to change into basic
authentication, has the webservice is running under ssl there is no
problem the credentials passed in plain text, allowing me to pass
username/password to the webservice.
The problem is: i can't seem to figure it out how to pass username/
password to a .net webservice. Does anyone know how to do it?

Thanks in advance for your attention,
Filipe Marcelino

> hi,
>
[quoted text clipped - 10 lines]
> Thanks in advance for your attention,
> Filipe Marcelino
Filipe Marcelino - 08 Aug 2007 17:35 GMT
If i'm not being clear, let me know please.
I realy need your wise help on this one...

Regrads,
Filipe Marcelino

> Hi again,
>
[quoted text clipped - 24 lines]
> > Thanks in advance for your attention,
> > Filipe Marcelino
Filipe Marcelino - 08 Aug 2007 17:37 GMT
If i'm not being clear, let me know please.
I realy need your wise help on this one...

Regards,
Filipe Marcelino

> Hi again,
>
[quoted text clipped - 25 lines]
> > Thanks in advance for your attention,
> > Filipe Marcelino
Filipe Marcelino - 09 Aug 2007 13:47 GMT
Come on people...none of you ever tried to authenticate a java client
to a .net web service?
I really need your experts help.

Cumpz

> If i'm not being clear, let me know please.
> I realy need your wise help on this one...
[quoted text clipped - 31 lines]
> > > Thanks in advance for your attention,
> > > Filipe Marcelino
Ian Wilson - 09 Aug 2007 14:52 GMT
> Come on people...none of you ever tried to authenticate a java client
>  to a .net web service? I really need your experts help.

There's lots of ways to do authentication.

> Cumpz
>
[quoted text clipped - 10 lines]
>>> connections and integrated security. My next step would be to
>>> change into basic authentication, has the webservice is running

"basic authentication" suggests authentication at the HTTP layer rather
than in the SOAP layer. Is that really what you want?

Googling for java soap "basic authentication" throws up some results but
I expect their usefulness depends on what web-services tools you are
currently using.

>>> under ssl there is no problem the credentials passed in plain
>>> text, allowing me to pass username/password to the webservice.
[quoted text clipped - 19 lines]
>>
>>>> Thanks in advance for your attention, Filipe Marcelino

Is WS-Security of no interest to you?
http://www.ibm.com/developerworks/library/specification/ws-secure/


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.