473,387 Members | 1,798 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

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

Hello,

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

Thanks in advance,
Michael...
Nov 16 '05 #1
6 3268
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?
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Michael" <mi*****@marrconsulting.com> wrote in message
news:14**************************@posting.google.c om...
Hello,

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

Thanks in advance,
Michael...

Nov 16 '05 #2
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...

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 16 '05 #3
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).

--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Michael Marr" <mi*****@marrconsulting.com> wrote in message
news:eQ****************@TK2MSFTNGP09.phx.gbl...
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...

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

Nov 16 '05 #4
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...

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 16 '05 #5
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).

--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Michael Marr" <mi*****@marrconsulting.com> wrote in message
news:eQ****************@TK2MSFTNGP09.phx.gbl...
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...

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

Nov 16 '05 #6
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...

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 16 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Chris Morgan | last post by:
I'm trying to get php to run on my webserver as a Java Servlet, it works the first time but fails the second time and crashes the JVM with the following error: I have tried the latest versions...
0
by: BryarWoilf | last post by:
Hi all, I'm still somewhat new to servlet/JSP programming, but I want to my application to use the MVC model. I have some simple JSP pages that dynamically open an applet that the user uses...
1
by: Michael Wright | last post by:
This seems so simple. I have an html form. The method is set to post. I have a simple servlet to test the communications. Whenever the submit button is pressed the form is sent to the servlet...
1
by: Silviu-Lucian | last post by:
I have Tomcat running a servlet that needs to know the location of the WebApp that contains it (actually it needs to know the full path to itself). I thought that the servlet path was relative to...
0
by: aychai | last post by:
Hi all, I am trying to make use Oracle9i db to call an external .Net Web Service from a JAva Stored Procedure. I created the .Net Web Service and use JDeveloper 9.0.3.4Build(1247) to create...
1
by: John Sidney-Woollett | last post by:
Is it possible to call a Postgres stored function (as if it were a procedure), using a PreparedStatement which will receive no return value, instead of having to use a CallableStatement and ignore...
2
by: Michael | last post by:
Hello, Has anyone figured out how to call a Servlet from a C# Web Service? Thanks in advance, Michael...
1
by: Farce Milverk | last post by:
Hi, Is it possible to have a Servlet on Server A call a Servlet on Server B (both running single instances of an identical webapplication) without using a Proxy setup? For example, if a request...
7
by: bylum | last post by:
Servlet SQLException Communication link failure java howto i can't connect jsp and database(mysql). This is the exception: exception org.apache.jasper.JasperException:...
9
by: mjahabarsadiq | last post by:
Hi I have created a servlet that is to be started at the server startup. And I got it. In that I have created a object of another class and set it as a session attribute. What I am trying is...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.