Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / First Aid / February 2006

Tip: Looking for answers? Try searching our database.

webservices - service under servlet context

Thread view: 
VisionSet - 05 Feb 2006 01:28 GMT
Can't seem to access my service under localhost url

the context is setup correctly in tomcat/conf/Catalina

web.xml is correct /services/ path set:

 <servlet-mapping>
   <servlet-name>AxisServlet</servlet-name>
   <url-pattern>/services/*</url-pattern>
 </servlet-mapping>

I have a wsdl with <wsdlsoap:address location... > set

I've run wsdl2java and have all those classes compiled and under my context.

I've taken the <service> element from the generated deploy.wsdd and put it
under my service in the server-config.wsdd

with the attribute <service name="xxx" ...>

I can't access the service under

http://localhost:8080/myContext/services/xxx

I access my context, but I just get a blank page for services ie:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html;
charset=windows-1252"></HEAD>
<BODY></BODY></HTML>

I get this for

/services/
/services/myService
/services/myService?wsdl

What might I have missed?

I have least confidence in the wsdd

TIA
--
Mike W
VisionSet - 05 Feb 2006 13:20 GMT
> Can't seem to access my service under localhost url

don't worry it was different versions of axis.jar milling around in a
disturbing fashion.

--
Mike W


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.