Dll Importing error

HI, I have a .cs file names service1.cs and i have made a .Dll of the same file named service1.dll.

I have copied .dll file to the Assets/Plugin folder and also copied the .cs file to the same folder.

Now wen compiling the unity project its gives following error.

and the code that i use for calling the webservices in the .cs file is as follows.

// 
// This source code was auto-generated by wsdl, Version=2.0.50727.1432.
// 
namespace Q3DWebService {
    using System.Diagnostics;
    using System.Web.Services;
    using System.ComponentModel;
    using System.Web.Services.Protocols;
    using System;
    using System.Xml.Serialization;

I have the pro - version of unity for Windiows and i need to Build a web Player build.

Another issue is while writing
[DllImport (“PluginName”)]

[/code][/quote]

Well, first off you need this in the imports:

using System.Runtime.InteropServices;

then you would import the function with:

[DllImport (“service1”)]
public static extern void MyFunction();

and in C you must have the function properly set up with:

extern __declspec(dllexport) void MyFunction(void){
//do something
}