Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

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

 
Rob Tanner
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • 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
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • 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
  • 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: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
All serious SOAP stacks support WS-Security.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!