How do I call a Servlet from a C# Web Service?

  • Thread starter Thread starter Michael
  • Start date Start date
M

Michael

Hello,

Has anyone figured out how to call a Servlet from a C# Web Service?

Thanks in advance,
Michael...
 
Michael,

From what I understand, if the servlet doesn't necessarily expose a web
service interface (rather, it depends on custom calls), then you won't be
able to do much. The servlet must expose a WSDL document, etc, etc.

What is your servlet exposing?
 
The servlet doesn't expose anything. I'll check to see if the makers of
the servlet can change it to expose the methods I need.

Thank you,
Michael...
 
Michael,

I don't mean in terms of methods, but the servlet must expose something
to the outside world. If it does, does it conform to the standards for a
web service? If not, then you need to do this. Perhaps a wrapper that will
call the service that handles the transformation (no need to modify the
original servlet, if it works, don't break it).
 
The problem is that the makers of the Servlet use it as a Black Box and
distribute the calls internally to about 125+ classes that retrieve and
format data from the various databases. The wrapper idea sounds like it
may work since the Servlet acts as a wrapper for the internal classes.

Thanks,
Michael...
 
Back
Top