WCF / ASMX :: File Management Between Webservice And Website

Aug 8, 2010

I have a Webservice that receives a file (byteArray) and saves it on server disk.

[Code]....

But my webservice isn't hosted on the same folder of my website.

I mean: [URL] Is it possible to put a webservice on the same folder of the main website? Or it's not a problem ? (Can I retrieve the files in the webservice's folder from website?)

View 1 Replies


Similar Messages:

WCF / ASMX :: Host A Webservice In IIS Without Using Website

Oct 6, 2010

Can we have a solution which has a webservice project alone and host it in IIS. Or do we always need a website attached to webservice, and the website is to added into IIS

View 2 Replies

WCF / ASMX :: Integrating Product Based Ecommerce Website With Webservice API?

Sep 30, 2010

I developed an e-commerce product based website on which i developed all the features like for products, shopping cart etc. Till now it works in a standard way, in which from admin section, store owner adds product categories, and products with prices etc. Now there is a kind of product category which is empty right now (no products in this category right now) -There will be 1000s of products in this category in future.

and the manufacturer of this particular product(s) are providing web services API, so it is possible to add web services API to this e-commerce website to that for that particular category, website gets all the information from the manufacturer's website along with all the product information and prices etc.? How to accopmlish this ? as i don't have any experience with implementing web services on any website ?

View 9 Replies

WCF / ASMX :: WebService Returning Pdf File?

Jul 8, 2010

I am using C# 2.0. I am trying to create a webservice that returns a pdf file.

I tried this:

[Code]....

Is this the correct way? I am not getting any errors, but want to know, if this is correct.

View 6 Replies

WCF / ASMX :: How To Set WebService NameSpace In Web.config File

Aug 27, 2010

I am trying to put the namespace value as a key in web.config file, so that when I deploy this on production, I just have to change the namespace key in the config file only, not on all of my webservice cs files. But When I try to browse this webservice after changing this code I get compilation error.

web.config:

[Code]....

MyWebService.cs (this code works)

[Code]....

Compiler Error Message: CS0182: An attribute argument must be a constant expression, typeof expression or array creation expression of an attribute parameter type

View 1 Replies

WCF / ASMX :: Write Html File Through Webservice?

Sep 12, 2010

I am writing an application in which I want to generate dynamic html file based on the parameters of jquery objects. I want to pass the parameters to a webservice which will produce the required html page. How I can achieve it.

View 5 Replies

WCF / ASMX :: Fill A String From A File In A Webservice?

Nov 11, 2010

I have a path to a file, say "~xsdFile.xsd".The content of this file I want to set into a string.

I use the following code:

[Code]....

The problem I get if I use this webservice twice in 10 seconds I get the following error: "Cannot acces files because another process is using it".

View 2 Replies

WCF / ASMX :: Pass Audio File As Binary In XML Through Webservice?

Nov 26, 2010

In my application I want to send an audio file (.mp3) as binary string through XML webservice, and save the binary data as audio file in server. In this case what should be the structure of XML file and how can I convert this incoming binary sting to audio file in webservice code.

Currently I tried a structure like the following

<XML>
<Files>
<File>
<FileName>audio_123.mp3</FileName>
<FileType>audio</FileType>
<FileData>![CDATA[ - binary data goes here -]]</FileData>
</File>
</Files>
</XML>

But it is not working correctly.

View 2 Replies

WCF / ASMX :: Uploading File To Webservice Method Fails - Request Format Is Invalid?

Apr 27, 2010

have a working ASP.NET 3.5 webservice that accepts standard POST requests using an encoding type of application/x-www-form-urlencoded. I then added a method which needs to accept an uploaded file. We change the encoding type of the request to multipart/form-data so that we can get the file data and now we receive the following error:System.InvalidOperationException: Request format is invalid: multipart/form-data

View 3 Replies

WCF / ASMX :: Passing Variable From Dropdownlist.selectedvalue To Asmx Webservice

Nov 10, 2010

On my page I have a dropdown for country.

On my asmx service I want to get the value of the dropdownlist to filter the next input which will be state/providence.

My code on the asmx:

[Code]....

I want to add another clause to the WHERE statement to restrict Country = @Country so I will need to get that value to the web service.

View 2 Replies

WCF / ASMX :: Bulk Insert Data Into Asmx Webservice?

Feb 24, 2011

I have datatable consist of 20 records and i want to bulk insert into sqlserver through the asmx webservice. Can anybody guide to me or provide Sample BusinessLogic and webservice code.

View 1 Replies

File Management Through Website

May 7, 2010

I have an ASP.net website where there are files available for download. I was looking at adding a page for admin who would get a listing of files from a sql database and if they want to they would be allowed to remove files permanently from the server (delete). The server would log this activity to a database, when and by whom the file was removed. The database limits their view of files available to them.

What would be the preferred method to perform this function? Would it be better that their request would be logged to a table in the DB which would be monitored by a service that would perform this operation locally on the database? I get an access denied error when attempting this operation directly from a webpage and I'm a bit reluctant to change my security policy to allow ASPNET direct access to the folder.

View 2 Replies

WCF / ASMX :: How To Execute WebService Asmx Link From Default.aspx Page Link Using HTTPRequest And HTTPResponse

Nov 3, 2010

I have spent a couple of days on this one. I have an ASP.NET website that has Linkbuttons on

the Default.aspx page.. I added a WebService to the Website because later on the WebService will

subscribe to a Provider(Feed) of News, Sports and Weather and things like that. So when a Linkbutton

on the Default.aspx page is clicked it will connect to the link in the WebService which will load the News,

Sports or Weather onto the Default.aspx web page.

The problem is I can't get the LinkButton to execute the Link in the WebService. The link will call the page up

to where you see all of the Web References. But then if you want to execute one of those references you

have to click its link and the Invoke button that will follow. My questioh is how can the link on my Default.aspx

page execute the link in the WebService. Now I changed the LinkButton into an <a href> but I still can't execute

the link in the WebServices. I always use www.Microsoft.com as the link when testing and I wasn't sure about the return type

so I put "void" for an HTTPRequest, so below is the link from the Default.aspx web page and below that is he asmx file:

[code]....

View 2 Replies

State Management :: How To Apply Session Globally In A Website Using Global.asax File

Jan 4, 2011

how can I implement a Global Session in my ASP.NET 3.5 website in C# using Global.asax file ?

View 18 Replies

WCF / ASMX :: PHP Webservice?

Apr 24, 2010

I am using PHP web service in dot net [URL]I set the name of web service as Test but when I am trying to access object test I was not able to use that, is there is any other method to use PHP webservice.

View 1 Replies

Use A WCF Or An ASMX Webservice?

Jul 9, 2010

I was looking for an asp.net webservice that uses .net 4.0 but everytime I choose 4.0 the webservice choice goes away.Someone suggested to me that maybe they(MS) want you to use WCF instead. I don't know much about it but he said they are like webservices but better. So anyone got a comparisons guide?

View 3 Replies

WCF / ASMX :: How To Use Webservice

Jan 28, 2011

Any body knows How to use webservice ? using Get & Post method...

View 3 Replies

WCF / ASMX :: How To Add Certificate To Webservice

Oct 29, 2010

I have certificate(abcd.rar) , which I need to include when I call that web service from asp.net application, Some one tell me how do I implement certificate into my application, certificate is with file extention .rar

View 3 Replies

WCF / ASMX :: How To Deploy Webservice On IIS 6.0

May 28, 2010

How can I deploy my Web service on IIS 6.0 ?

I create a web service with VS 2005 on the local IIS, now I must deploy it on an intranet with IIS 6.0.

how to deploy this one one in production server.

View 2 Replies

WCF / ASMX :: How To Configure Ssl On Webservice

Nov 4, 2010

I have deployed a webservice on my machine.

Now i want to configure ssl on webservice.

View 5 Replies

WCF / ASMX :: Webservice Caller?

Sep 17, 2010

I'm calling an asp.net webservice from a VB.Net application.Is there any way to determine in the webservice that it was called from a specific application. I had a look at Me.Context.Request but I can't see anything that refers to my VB app.

View 1 Replies

WCF / ASMX :: How To Use Webservice In Application

Nov 3, 2010

try to guide how to call web service in my asp.net Application. I had Web reference of that web service.I added the Service to my application.i created name space and I try to use methods inside the web service it showing unable to connect server machine. I want to Use jangomail services from asp.net application. my application need to send mass mailing using jangomail service.when i try to access that web service( http://api.jangomail.com/api.asmx) it giving Some Error like Connection failed to

View 4 Replies

WCF / ASMX :: How To Debug WebService

Sep 8, 2010

I have console application that sends http request to asp (classic asp).

The asp sends http request to web service.

How can I debug (break points) the WebService?

View 1 Replies

ASMX :: Create WCF Webservice

Dec 18, 2010

How to Create WCF Webservice How to Host. How to access. how to transfer data.

View 3 Replies

WCF / ASMX :: Webservice Accessissue The Same From My Box?

Sep 1, 2010

Facing an issue with the web service calls written in Java.When am trying to call webservices written indexer Java from my machine its takign ages to respond back.same URL when typed indexer explorer fetches abstract response immediately.if tried on other system and code seems to work find so no issue with the code.unable to figure out what could be the issue while accessing the same from my box?

View 4 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved