Skip to main content
REMINDER: On December 1, 2018, this forum will be closed to new posts and responses. After that date, you will still be able to view and search the forum. New discussions should take place in the IBM Developer Answers forum.
 
developerWorks
AIX and UNIX
Information Mgmt
Lotus
New to Lotus
Products
How to buy
Downloads
Live demos
Technical library
Training
Support
Forums & community
Events
Rational
Tivoli
WebSphere
Java™ technology
Linux
Open source
SOA and Web services
Web development
XML
My developerWorks
About dW
Submit content
Feedback



developerWorks  >  Lotus  >  Forums & community  >  Notes/Domino 6 and 7 Forum

Notes/Domino 6 and 7 Forum

developerWorks

  

Sign in to participate PreviousPrevious NextNext

SOLUTION: running a SOAP Client (AXIS) in Domino
Tobias Babin 20.Feb.03 04:28 AM a Web browser
Applications Development All Releases All Platforms


Hello everyone,

I stumbled upon this thread a few months after it was posted, being faced with the exact same task: to make an AXIS-generated SOAP client run in a Domino 6 Agent. Here's what I did to make it work in the end. Please bear in mind that the precise steps may vary for a servlet implementation or a SOAP client of a different origin, but it might provide useful hints anyway. Here goes:

-- JAR files --: copy all JARs needed by the AXIS client to the (Domino program dir)/jvm/lib/ext directory. These are:
axis.jar
axis-ant.jar
commons-discovery.jar
commons-logging.jar
jaxrpc.jar
log4j-1.2.4.jar
saaj.jar
wsdl4j.jar
xercesImpl.jar
(your generated SOAP client classes).jar

Backgrounder: the code located in this directory enjoys unrestricted security access, according to the standard settings in the java.policy file (more on this below)


-- XML4j.jar --: replace the XML4j.jar file located in the Domino program directory by a newer DOM parser implementation, e.g. Apache Xerces (http://xml.apache.org/xerces2-j/index.html). This probably violates the Domino support warranty as you are exchanging a standard Domino component. It is necessary though as your code will refer to this file for DOM classes :-(


-- JVM security settings --: modify the java.policy file located in (Domino program dir)/jvm/lib/security to include this line inside the grant {} block:

permission java.util.PropertyPermission "java.protocol.handler.pkgs", "write";

This will soften a JVM security restriction as needed by the AXIS code.


Now restart your server and give it a go.
This is what did it for me. I am hopeful that most if not all Web Service client functionality can be exploited on Domino that way.
For a more sounder sleep, go for WebSphere.

Hope this proves helpful to someone.

/Cheers,
Tobi




Java security revelations (i e docu... (Henrik Tornblom... 28.Oct.02)
. . What error do you get? (Ken Yee 2.Dec.02)
. . RE: Java security revelations (i e ... (Michael Widmann... 29.Oct.02)
. . . . RE: Java security revelations (i e ... (Henrik Tornblom... 4.Nov.02)
. . SOLUTION: running a SOAP Client (AX... (Tobias Babin 20.Feb.03)
. . . . RE: SOLUTION: running a SOAP Client... (Rafez Noorullah... 20.May.03)
. . . . SOLUTION: Tweak to run Domino XSLT ... (David Gilmore 9.Sep.04)
. . . . RE: SOLUTION: running a SOAP Client... (Srinath Jaganna... 11.Feb.05)
. . . . Backend JAVA Agent (Tonio Seiler 3.Apr.06)
. . . . . . RE: Backend JAVA Agent (Ferdi Verlaan 19.May.08)
. . . . RE: SOLUTION: running a SOAP Client... (Ralph Soika 5.Nov.06)


Document Options






  Document options
Print this pagePrint this page

Search this forum

Forum views and search


  Forum views and search
Date (threaded)
Date (flat)
With excerpt
Author
Category
Platform
Release
Advanced search

Sign In or Register

 Sign In or Register
Sign in
Forgot your password?
Forgot your user name?
Create new registration

Member Tools


RSS Feeds

 RSS feedsRSS
All forum posts RSS
All main topics RSS
More Lotus RSS feeds

Resources

 Resources
Forum use and etiquette
Native Notes Access
Web site Feedback

Lotus Support

 Lotus Support
IBM Support Portal - Lotus software
Lotus Support documents
Lotus support by product
Lotus support downloads
Lotus support RSS feeds

Wikis

 Wikis
IBM Composite Applications
IBM Mashup Center
IBM Connections
IBM Connections Cloud Developers
IBM Docs
IBM Forms
IBM Mobile Connect
IBM Sametime
IBM SmartCloud for Social Business
IBM Web Experience Factory
Lotus Domino
Lotus Domino Designer
Lotus Expeditor
Lotus Foundations
Lotus iNotes
Lotus Instructor Community Courseware
Lotus Notes
Lotus Notes & Domino Application Development
Lotus Notes Traveler
Lotus Protector
Lotus Quickr
Lotus Symphony
IBM Web Content Manager
WebSphere Portal

Lotus Forums


 Lotus Forums
Notes/Domino 9.0
Notes/Domino 8.5 + Traveler
Notes/Domino XPages development forum
Notes/Domino 8
Notes/Domino 6 and 7
IBM Connections
IBM Mobile Connect
IBM Sametime
IBM SmartCloud Notes
Lotus Enterprise Integration
Lotus Protector
Lotus Quickr
Lotus SmartSuite