Hmm... this seems to get me a bit closer... but it still doesn't give me
what I want I think....

now, I can type in http://<machine>:port and get the axis index page, and if
I type in http://<machine>:port/services/exampleService, I get the
following...

ExampleService
Hi there, this is an AXIS service!

Perhaps there will be a form for invoking the service here... 

Clients need to set the endpoing as: <machine>:port/services/exampleService


but, what I really need is something that would permit the client endpoint
to be <machine>:port 

Any ideas?



> -----Original Message-----
> From: Rangarajan , Suresh ( Cognizant )
> [mailto:[EMAIL PROTECTED]
> Sent: Friday, August 22, 2003 8:02 AM
> To: [EMAIL PROTECTED]
> Subject: RE: Forwarding from ip:port to ip:port/path
> 
> 
> Yes,
> You can change the server.xml in your tomcat's conf directory 
>  as below...
> 
> <Context className="org.apache.catalina.core.StandardContext" 
> crossContext="false" reloadable="false" 
> mapperClass="org.apache.catalina.core.StandardContextMapper" 
> useNaming="true" debug="0" swallowOutput="false" 
> privileged="false" displayName="Apache-AXIS" 
> wrapperClass="org.apache.catalina.core.StandardWrapper" 
> docBase="D:\tomcat4\webapps\axis" cookies="true" path="/" 
> cachingAllowed="true" 
> charsetMapperClass="org.apache.catalina.util.CharsetMapper">
> </Context>
> 
> N.B : this is with tomcat ver.4.1.12.
> older versions also support this.. dont know abt tomcat 5
> 
> 
> 
> -----Original Message-----
> From: Keith Hatton [mailto:[EMAIL PROTECTED]
> Sent: Friday, August 22, 2003 5:19 PM
> To: [EMAIL PROTECTED]
> Subject: RE: Forwarding from ip:port to ip:port/path
> 
> 
> Hi Laura,
> 
> If I read you correctly, what you need to do is persuade 
> Tomcat that the Axis application (WAR file) is installed as 
> the "root" application (i.e. context="/"). You probably need 
> to tinker with server.xml or config.xml there. Maybe asking 
> on the Tomcat list would get you there quicker - I'm not an 
> expert and I know it's changed from one version to another, 
> so I might be barking up the wrong tree.
> 
> Then in your (Axis) web.xml, make /axis/services the "welcome-file".
> 
> These two steps should make http://yourhost:yourport point to 
> the /axis/services resource.
> 
> Hope this helps
> Keith
> 
> 
> -----Original Message-----
> From: Slaybaugh Laura J IHMD [mailto:[EMAIL PROTECTED]
> Sent: 21 August 2003 19:41
> To: '[EMAIL PROTECTED]'
> Subject: Forwarding from ip:port to ip:port/path
> 
> 
> I've run into an irritating problem that I hope someone might 
> be able to
> offer me some pointers to.
> 
> I need to be able to create a service to accept connections from a
> pre-existing client.  Unfortunately, the client in question 
> can only send
> requests to an endpoint such as <ip>:<port>.  Is there any 
> way in the world
> I can somehow convince/trick axis or tomcat or apache into 
> forwarding such
> requests to the appropriate /axis/services folder?  I've 
> spent several hours
> trying different settings with apache, tomcat, and even the
> axisSimpleServer, and have had no luck  
> 
> Am I simply SOL?  Should I start shopping around for another SOAP
> implementation? 
> 
> (and no, fixing the client is not an option ::sigh:: That would be too
> easy.)
> Laura
> 

Reply via email to