• 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

Deployment Problem Apache Soap

 
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I was having some problem with deploying using Oracle 9iAS Web Services
so am using Apache Soap instead on Oracle 9iAS.
Being a newbie to Apache Soap I apologize in advance if I've overlooked
something plainly obvious.
I am performing the following steps.
1.) Jar all my application classes and place it under /soap/WEB-INF/lib
(exposedservices.jar)
2.) Create a services.xml that has all the complex type mappings and place
it under /soap/WEB-INF
(incidentally, this is the same directory that has soap.xml and web.xml)
3.) Create a soap.war file with this updation
The file structure looks like
webapps
soap
META-INF
application.xml
soap
WEB-INF
services.xml
soap.xml
web.xml
classes
lib
exposedservices.jar
4.) Bundle the war along with other lib files to create an EAR.
5.) Deploy my ear.
Are these steps correct? Why am I still not able to see my deployed
services? What is the URL where these
are available (btw. my SOAP_URL is
http://localhost:8888/soap/servlet/soaprouter)?
Thanks a lot.
 
Ranch Hand
Posts: 165
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
you need to register the web service using apache soap Admin client. Then you could see the web service at the following url.
syntax would be org.apache.AdminClient service.wsdd
wsdd is web service deployment descriptor.
Manas
 
Ramneek Handa
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks for reply,
but can u tell me a) how to register the web service using apache soap Admin client. b) how to bundle them in my .ear(application)
 
author and deputy
Posts: 3150
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Ramneek Handa:
Thanks for reply,
but can u tell me a) how to register the web service using apache soap Admin client. b) how to bundle them in my .ear(application)


Most of your questions were answered here as documentation http://ws.apache.org/soap/docs/index.html
 
Ramneek Handa
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Actually I have already created and deployed a Oracle Soap webservice. Which is being deployed in %SOAPHOME%\WEB-INF\classes directory.
My problem is to merge this webservice with my existing application to make one ear file.
I have an explicit reference to WEB-INF/soap.xml in web.xml.
There is also an explicit reference to WEB-INF/services.xml in soap.xml.
Soap.xml, services.xml are in the WEB-INF/ directory as well.
If my understanding is correct: the way to integrate a soap based web service into
an existing application is to create a soap.war which has all the service information
(web.xml, soap.xml and services.xml + classes) and bundle it along with the other application
jars. Am I correct? ?!
In that case, how will the SOAP message be routed? In other words, how does the soap
message @ http://localhost:8888/soap/servlet/soaprouter gets routed to my web service implementation.
Thanks
 
reply
    Bookmark Topic Watch Topic
  • New Topic