Win a copy of React Cookbook: Recipes for Mastering the React Framework this week in the HTML Pages with CSS and JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Rob Spoor
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Junilu Lacar
  • Tim Cooke
Saloon Keepers:
  • Tim Holloway
  • Piet Souris
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Frits Walraven
  • Himai Minh

Trying to set up BASIC Authentication for a generic web service client

 
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

At Linfield College we do network account management in real time via servlets running in GlassFish. Since email accounts are hosted on Exchange, I need too be able to access Exchange to setup account, do email forwarding and also implement privacy in compliance with FERPA (a federal standard that affects to students). The code to do all that is written in C# as an ASP.NET web service hosted in IIS. I use Eclipse Kepler for Java EE development that includes the Web Tools Platform. To create the client, a start by creating a Java Project and add a classfile. Then I highlight the classfile and select new -> other -> web services. I add the WSDL and under configuration I click client project and then finish. That gives me a proxy stub that I can use to access all the published web methods, but what it doesn't give me is any way to implement authentication. I want to implement basic authentication, what am I missing?

I am unfamiliar with both AXIS2 and CXF but can I use one or the other of them to enable BASIC authentication?


Thanks,

Rob Tanner
Linfield College
 
Rancher
Posts: 43026
76
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am not familiar with what the "Web Tools Platform" in Eclipse can do, but both Axis2 and CXF support WS-Security - that is the standard for authentication for SOAP WS, not Basic Authentication.
 
Rob Tanner
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Even when the server is ASP.NET (C# on windows). I'll do some reading tonight.
 
Ulf Dittmer
Rancher
Posts: 43026
76
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
All serious SOAP stacks support WS-Security.
 
Oh sure, it's a tiny ad, but under the right circumstances, it gets bigger.
the value of filler advertising in 2021
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic