I am currently doing a CRUD project for school and basically they want us to have this kind of structure (3 projects):
Class Library
Contains all the Data Access logic (Retrieving the data from the database with either Linq of standard ADO.Net)
Web Service
Having a refere...
When I first posted this question I had strong coupling between my web service and application controller where the controller needed to open multiple threads to the service and as it received back data it had to do a lot of processing on the returned data and merge it into one dataset. I did not like the fact that the client had to so m...
Hello all,
I've been working on an intranet project where i'm using asmx web service as the DAL, and consuming them on aspx and htm pages via jQuery.
On my development machine everything runs perfectly. When i deploy the app on production server i can't access the web service. I tried to access the web service directly via http like so ...
I want to start developing some web services, I've had some courses that talked about them and read about them on my own. However I can't seem to know exactly where or how to begin with them. I mean, I've done some tutorials and the excercises from class but that still left me kind of not knowing how to begin. Is there anything you guys ...
How to fetch data from Web Service in VBA-Word?
...
Hi,
my WCF service it's used by a Silverlight application to retrieve data. I've no problem,
[OperationContract]
MyCollectionClass GetList(int sessID, string name);
[CollectionDataContract]
public class MyCollectionClass : List<MyClass>{ }
[DataContract]
public class MyClass {
[DataMember]
public string Prop1 { get; set...
Twitter provides a free API to post small text messages to the Web.
TwitPic provides a free API to post small pictures to the Web.
Is there anything for sounds, these sounds would be small less than 12 seconds, and could be saved to needed format.
It would be great if the API would work well with Twitter, but not required.
If there is...
The idea of storing connection strings in a data base is a perverse idea, but please hear me out first. We all know that it’s best practice to encrypt connection strings in the web.config file, but what if we just skip the web.config file completely?
A couple of months ago I was asked to move databases from one server to another. This m...
The background to this question is that I need to use some user session data in a (static) WebMethod. I have created a static property that references the data I need like so:
private static UserWebSession UserWebSession
{
get
{
return (UserWebSession)HttpContext.Current.Session["UserWebSession"];
}
}
I can then ca...
Hi guys,
I have an working orchestration in place to process X12 messages. Now I need to expose the orchestration as a webservice (ASMX) that accepts a text input (the X12 message) and returns the text response (the X12 response). If I try to use the wizard, the generated webservice will expose the inner XML representation of the X12 re...
Hi, i've been playing around with Attributes over web services, and i've seen that The SoapHttpClientProtocol class need to define a WebServiceBinding Attribute.
Watching this question there seems one cannot modify the attributes on runtime, how can I achieve a dynamic web service invocation changing this attribute on runtime? is it pos...
Hi there,
Currently have the task of designing a web service ( i am going to wcf but principles still apply) in c#. Problem is there is no overloading of methods which i am aware of so i need to name web methods with different names.
I would really like some input on naming conventions, there just doesn't seem to be anything out there...
Preamble:
I am using ASP.NET 3.5 and AJAXControlToolkit. I am trying to use the AutoCompleteExtender on a control I am writing which is an Address control.
The Address control has a bunch of textboxes such as Address1, Address2, City, Zip, and dropdowns such as State and Country.
Scenario:
I would like the user to start typing into ...
I have a SOAP web service running on my sharepoint box under the _layouts directory, and a thick client which uses that SOAP service. We have one sharepoint box that uses basic auth and another which uses client certificates. I need that SOAP service to update some list items in a document library. The problem I'm having is nothing seems...
I'm trying to write a simple WCF Server + gSOAP client proof-of-concept application using SOAP 1.2 protocol. Here's server code:
[ServiceContract(Namespace="http://test.com")]
public interface IService1
{
[OperationContract]
void HelloWorld();
}
[ServiceBehavior(Namespace = "http://test.com")]
public class Service1 : IService1
...
I'm trying to develop a standalone Java web service client with JAX-WS (Metro) that uses WS-Security with Username Token Authentication (Password digest, nonces and timestamp) and timestamp verification along with WS-Addressing over SSL.
The WSDL I have to work with does not define any security policy information. I have been unable to...
So I want to get some data on the server side using OracleClient.
Something like OracleDataReader rdr = OracleDataAccess.ExecuteReader(Conn, sQry);
What is the best way to deliver this data to Silverlight?
I set up a web service I just don't know the best data structure to package the result set.
The silverlight CLR can not use the Or...
I have tried to make a webservice interface to a state-holding COM component.
The webservice basically contains operations Start, Shutdown and GetCurrentState.
Start creates a COM component, Stop releases.
And GetCurrentState retrieves information from the COM component.
It seemed an easy thing, but after a day it still refuses to wo...
Hi,
I need to generate a WCF proxy for a service exposed by our client. The service is locked down pretty tightly, so this is proving difficult. Also, I'm new to WCF, so I may be missing something obvious...
The client has only opened up their firewall to our production server - so I can't generate the proxy from Visual Studio on my d...
Hi guys
I am trying to call a [webmethod] from C#. I can call simple webmethod that take in 'string' parameters. But I have a webmethod that takes in a 'byte[]' parameter. I am running into '500 internal server error' when I try to call it. Here is some example of what I am doing.
Lets say my method is like this
[WebMethod]
publ...