I have a ASP.NET SOAP web service whose web method creates a PDF file, writes it to the "Download" directory of the applicaton, and returns the URL to the user. Code:
//Create the map images (MapPrinter) and insert them on the PDF (PagePrinter).
MemoryStream mstream = null;
FileStream fs = null;
try
{
//Create the memorystream stor...
I've been trying to create a stable web service application for the last 2-3 months. about 2 months ago I made the choice to move over to WCF to take advantage of the single instanced web services.
Since making that move I've had some real headaches deploying to IIS 6 scenarios. Unfortunately because most real clients still use Windows...
I have an app.Config that was created on the dev machine running Windows 7.
It created the following asmx related configuration section:
<applicationSettings>
<ISDS_Scheduler.Properties.Settings>
<setting name="Scheduler_WSDownloads_Downloads" serializeAs="String">
<value>[address]/Downloads.asmx</value>
</se...
I am wondering if there is a tool that can be used to attached to the a single threaded asmx service call hosted in IIS, and return feedback based on the current actions the service is taking.
I know I can setup tracing, and then monitor the trace, but I am looking for a more dynamic way to do this.
Thanks in advance
...
I have an asmx web service that should only be allowed to respond to 1 client at once.
In otherwords if the service is getting called by client A, and server B calls, I would like B to pend until A is finished then B can get serviced.
If this is too complicated then at bare minimum calls from B should fail with a user defined error d...
Sharepoint is setup to use NTLM authentication.
When I reference http://myserver/Sites/Ops/_vti_bin/Lists.asmx?WSDL as a Web Reference, I can call the methods and get valid responses.
When I reference the same url as a Service Reference, the server throws an exception when calling methods.
My account is admin on the Sharepoint Farm.
...
Every new web service you create using visual studio comes with a predefined namespace like this:
[WebService(Namespace = "http://tempuri.org/")]
My web service will run at different clients, and on different domains, so because of this I don't know the domain upfront during development, also I don't want to have to edit this file, ea...
Hi,
is it better to declare Webservice class object instances as static as the .asmx webservice classes have only static methods.
what i want is that i declare and instantiate webservice asmx class as static in aspx Page Behind Class.
and on every event call on that page i could perform operation against webservice methods.
is it ben...
I have an asmx web service that performs 5 tasks.
It is at all possible to send back a result during the call, so that when 1 task completes, even though the web service is still running, the client can get some results back before the whole web service method completes all its work?
Thanks
...
I'm wondering whether I'm recieving the 403 errors because there are too many attempted connections being made to the webservice? If this is the case how do I get around it. I've tried creating a new instance of InternalWebService each time and disposing of the old one but I get the same problem. I've disabled the firewall and the webser...
I'm wondering whether I'm receiving the 403 errors because there are too many attempted connections being made to the webservice. If this is the case how do I get around it? I've tried creating a new instance of InternalWebService each time and disposing of the old one but I get the same problem. I've disabled the firewall and the webser...
When I run my MSTest tests in Visual Studio 2008 Team System and get code coverage results, I always see a particular web service included. I don't care how well this web service is tested, I'm intentionally only using a small part of it. How can I exclude the Web Reference from showing up in my Code Coverage results?
I see that someo...
Using the following Webservice definition using aClientArgs as a complex type:
[System.Web.Script.Services.ScriptService]
public class Controller : System.Web.Services.WebService {
[WebMethod]
public void save_client(aClientArgs client)
{
// Save client data
}
}
Then defining aClientArgs as a sub-class:
pub...
try
{
const string siteURL = "http://ops.epo.org/2.6.1/soap-services/document-retrieval";
const string docRequest = "<soap:Envelope xmlns:soap='http://schemas.xmlsoap.org/soap/envelope/' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xmlns:xsd='http://www.w3.org/2001/XMLSchema'><soap:Body><document-retrieval id...
I've a WSDL defining a web service named CalendarService:
<soap:address location="http://example.com/calendar"/>
The WSDL defines following methods:
String setDate(String date)
int setTime(int time)
CalendarService is not deployed anywhere.
CalendarServiceProxy is a proxy generated from CalendarService WSDL.
I've a web servic...
I have set up references to 2 web services in a separate assembly TestProj.Core.
I reference this Project in a Web Application Project called TestProj.Web.
When I setup the references in TestProj.Core the wizard gave me an app.config and through an application settings section into it.
How do I get these settings to my web app? Copy an...
We have an ASP.Net web service which receives an XML file to a PDA and maps it to objects (a standard .Net web method). Is there an easy method of after saving this XML response to disk, having it read back into the same object structure it was in before?
The PDA application automatically does this after receiving the data back from the...
I am needing to create a web service, so the first thing I did of course was go to google
If you look in those results, you'll see nothing but things about ASMX, which apparently is dubbed legacy technology to be replaced by WCF. Why is it that ASMX is still so vastly popular compared to WCF? (of course, on SO WCF is way more popular.. ...
I'm trying to find a way to access a web service from a VB Script .vbs file running under wscript.exe. I pulled some sample code from Microsoft and modified it to use the SOAP 3.0 toolkit but it gives me an error.
Dim SOAPClient
Set SOAPClient = createobject("MSSOAP.SOAPClient30")
SOAPClient.mssoapinit("https://www.domain.com/Folder/Se...
i saw that in asp.net .asmx file, we create webservices
[webmethod]
//method definition here
now for soap webservice
[webmethod]
[SoapHeader(some parameters here)]
//method defination here
my question is what's the difference between both webservices type and how to choose which service type to choose
...