web-services

WCF Encryption solution for App.config viewable to a client?

I have a desktop application which contains an App.config (program.exe.config at release) with clearly visible elements which define my WCF endpoints and WCF implementation. I would ideally like to hide this from the users eyes, from simple hacking, view and change. Should I: - Programmatically create and store my WCF endpoints and b...

Models for developing WCF applications

Do you know any blueprints for organizing a WCF application in a way similar to Service Factory? The problem is that although Service Factory is well organized, my application is a medium-sized one and it would be an overkill to use the factory - some of the sub-projects that the factory creates for me, I wouldn't ever use. So what are...

Whats the big Advantage of WCF other than hosting for Windows APps?

Hello everyone, I've been using Webservices so long. But,so far up to what I know,I haven't found a solid point for using WCF over Webservices. Webservices hosted with Cassini webserver = WCF?? Is that all? Thanks ...

dynamic web reference for use in SSRS

To use the web service that is part of an SSRS installation, it seems that you need to add a web reference to your project so that you can call it etc (see one of my previous questions). But if I needed to call the web service for different SSRS installations then i need to keep adding extra web references. My asp.net application curren...

Proper catching of specific exceptions through web service

I am currently using a C# .NET Service in our client program. As part of the server design, several custom made exceptions are thrown to indicate specific errors (as in any normal desktop program). The problem is that the Web Service catches these errors and serializes them into a FaultException, with the actual exception (like NoRoomsA...

How to invoke a siebel web service from a PHP web application?

I am developing a Portal in which i have to pull some data from a siebel Call center application through one of the published web services. I would be glad if some body provides some code snippet for a sample application. ...

Why Sharepoint Webservice adds # (pound) sign and id to field values?

I wrote a routine to remove pounds and ids from sharepoint fields that worked flawlessy, since I found a field withouth ids and # (pound) signs. I want to understand why sometimes the field is serialized with ids and pounds and sometimes not. example: ows_Author="23;#Paperino, Pippo" or ows_Author="Paperino, Pippo" ...

ToString() in a Webservice Class

I have implemented a ToString() override method for my class in my Webservice and I return a List<myObject>() in a function in a consumer. If I do a .ToString() it returns object Type. How do I tackle this in C#? Thanks. ...

Extend the exception thrown from ASP.NET when calling a Webservice from JQuery

I'm using JQuery to load controls dynamically in an ASP.NET development environment using JSON and WebServices. Within this solution I have a business logic layer which has a built in validation mechanism (i.e. validating properties and business rules similar to that of CSLA) When requesting a new control to be loaded dynamically using ...

What is the best way to send multiple files to a WCF service?

We are creating a WCF service that needs from 2-4 image files (small-about 2k-5k each) sent to it as input parameters, as well as about 6 text-field parameters. The data sent back simply consists of a few text values. I understand a single file can be sent as a stream, but am not sure how to go about sending multiple files. The clien...

Calling a webservice from behind a proxy server

I need to add a functionality in an application (C#) which will use a web service (XML SOAP service). Now this application can (and mostly) be used in an corporate environment which has a proxy server in place. I understand the SOAP services use HTTP protocol and hence should use port 80, which is normally kept opened. Is it right that...

Is including libCurl in an iPhone app store app allowed? Anyone done this?

I would like to use libCurl in an app for communicating with web services, and unfortunately it is not included int he iPhone SDK. Now I've figured out how to include Curl as a static library in my app, however, I'm wondering if this will get my app rejected with Apple. Has anyone included Curl in an app and had it approved by Apple? ...

Asp.net Routing, WebServices, and IIS7 Classic

I have a web forms app running on IIS7 Classic. It utilizes .asmx style web services for a client side heavy portion of the site. We have been tasked with layering in "friendly urls" and decided to use the new Asp.net routing. We have a rule in IIS to map all requests to the aspnet_isapi.dll, which yields this declaration in our web.c...

How do I change the default Virtual Directory name during a web service install?

I have a C# web service, created using VS2008. I have a deployment project that creates the MSI I use for deployment. Is there a setting somewhere to change the default virtual directory that the user is prompted with during the installation? I'd prefer to not change the name of the webservice to do this. ...

Is there a scalable email service similar to Amazon's AWS for storage?

Hello, is there a scalable email service where you only pay for the emails that you send. I was thinking of a service like Amazon's AWS except for email. I have a web application that sends out email and I would the email provider to scale to the demand. Thanks. ...

calling java web service by .net web service

HI Could you please give me an idea of how to write a .net web service to call a java web service (written by different person) via SOAP. Thank you regards Aparna ...

How to pass a generic object through WCF

Is it possible to pass generic objects (by generic I mean any with DataContract, not C# generic collection) without inheriting from one root? At the moment I have something like this: [OperationContract] void Save(GenericObject o); [DataContract] [KnownType(typeof(ClassA))] [KnownType(typeof(ClassB))] class GenericObject {.... [DataCo...

Web Service -Timeouts on the implementation side

Hi, I am calling a Web Service and i want it to respond within 5 seconds. If it can't process it in 5 secs (ignoring network latency) i want it rollback the transaction and send me a Timeout exception. I can see timeouts being set only on the Calling Client's code. I want this to be enforced by the Web Service Implementer (Server side)...

how to call a web service from jquery

I want to call a webservice from jquery. If there any idea? ...

Running-EXE-through-web-services

Hi all I'm trying to call a windows Console application in my Web Service. If I'm running it as a local service i.e in the same solution it works perfectly but if i try to call it through my Web Service hosted as IIS localServer it doesn't call it. i think it's security problem. I'm new to web service and I'm calling the application usi...