• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

access WS from a JSP

 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all
I receive an error while I'm trying to access a secured webservice from a JSP.
The WS is secured with Tivoli Access Manager and it has a WebSEAL proxy server in front of it that manage the authentication mechanism.
I builded a WS client and I invoke a WS function receiving the following error:

Error 500: org.xml.sax.SAXException: Can't find resource for bundle com.ibm.ws.webservices.engine.resources.ProjectResourceBundle, key unsupportedSAXEvent Message being parsed:

after this message Websphere's log file contains the HTML form that WebSEAL return to authenticate the WS call.
Calling the WS directly from the browser it works fine.

I'll be glad if someone could suggest me an idea to solve the problem.

Andrea
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Is that a client error or a server error? The package name seems to indicate that it's a server error. How are you calling the WS - if it's from a JSP the method must be somewhat different than from a browser.
 
Andrea Modica
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
It's a server error. I call the service method using a Client Proxy class built by the IDE (Rational Application Developer). Do you know how I can insert the user credential (username/password), I used to secure the WS, in the call I send to the service?
 
Ulf Dittmer
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The first two entries on WebServicesHowTo show how to use HTTP authentication with SAAJ and JAX-RPC, respectively.
 
Willie Smits increased rainfall 25% in three years by planting trees. Tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic