473,387 Members | 1,431 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.

Using a webservice(a dll) in .NET application.

Hi All,

I have a webservice dll called abcwebservice.dll which is being used in a php application. And there is no other information about this dll, I mean what language, etc have been used to develop it.
Currently this dll is available on the server (application server for which php pages are used) and has IIS installed there.


I wanted to port the php webpage(application) to ASP.NET. So, I installed Microsoft Visual Studio 5 and created a website. Also, please note that I am creating the project a separate pc and not the server.

First of all I would like to know whether it is possible to use such a dll (webservice) in .NET application.


If it is I would like to have some guidance as to how it can be added to the .NET project before created objects for it.


Thanks in advance!

Have a wonderful day!
Warm Regards,
Sujit.
Apr 10 '07 #1
3 2007
Motoma
3,237 Expert 2GB
You would add the DLL as a reference in your project. Then you would add it's namespace (optionally) with the 'using' syntax.
Apr 10 '07 #2
Thanks for the reply, Motoma!

Well, I see there are two options in MSVstudio, 'Add Reference' and 'Add Web Reference'.

Which one shall I use?

I just tried using the 'Add Web Reference' option. (I am not able to insert an image file(snapshot) here that I have):

Well, in the 'Webservices found at this url' field the following is displayed:
" There was an error downloading 'http://192.168.1.91/Scripts/Arenawebservice.dll'.

The server committed a protocol violation. Section=ResponseHeader Detail=Header name is invalid "

Regards,
Sujit.
Apr 11 '07 #3
Motoma
3,237 Expert 2GB
If you are on the same machine as the DLL, you can just add the reference normally.
Apr 11 '07 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: Marco Vasquez | last post by:
Hi everybody, I would really appreciate any help in implementing Web Popup windows using User Interface Process Application Block. Thanks in advance, Marco
2
by: Tim Wallace | last post by:
I'm a .Net noob. I created a dll using c#. Now, I want to reference that DLL in an ASPX page. I put the import directive in the page like this: <%@ Import Namespace="BHQ.BusinessLogicLayer" %>...
0
by: hansiman | last post by:
How do I read a stored proc return value ( return(@return_value) ) using MS Data Access Application Block. Normally I use: Dim conn As SqlConnection = New SqlConnection("connectionstring")...
0
by: Microsoft NewsGroups | last post by:
I am creating a TAB delimited file with .XLS extention using the Response.ContentType = "application/ms-excel" method. Normally I would place this on it's own form and delete all the HTML in the...
1
by: Tor Inge Rislaa | last post by:
Using PowerPoint within my application I am developing an application that needs some functionality of displaying some text and graphic in full screen modus, as when you run a PowerPoint show....
1
by: Dieter Vanderelst | last post by:
Hello, I'm trying to access the Filters-Dll provided by the filters-project (http://filters.sourceforge.net/index.htm). Following the advice I got from the Python list -thank you for that-, I...
4
by: GVN | last post by:
Hi All, Can anyone help me in simulating IPC using C#.NET Windows application? Thanks, GVN
1
by: gilad | last post by:
hi, I'm using httpmodules and it seems that when using more than one application while doing load test, start events are sometimes being skipped. I'm printing to log file start/end events with...
0
by: danishce | last post by:
I am using Visual C Dll in my vb.net application which pass parameters from my application and return value. some times it returns data ok and some time it does not return data or return...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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.