web-services

Best framework for a subscription-based web service business/site? [closed]

余生长醉 提交于 2020-01-12 05:55:24
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 5 years ago . We're developing a new web service that will be free for low-volume users and subscription-based for higher volume users. Most users will probably invoke it via a plugin for their cms or blog system, and some will use api toolkits for various programming languages. The web service, itself, is straightforward to

How to configure a WCF service to only accept a single client identified by a x509 certificate

被刻印的时光 ゝ 提交于 2020-01-12 05:54:49
问题 I have a WCF client/service app that relies on secure communication between two machines and I want to use use x509 certificates installed in the certificate store to identify the server and client to each other. I do this by configuring the binding as <security authenticationMode="MutualCertificate"/> . There is only client machine. The server has a certificate issued to server.mydomain.com installed in the Local Computer/Personal store and the client has a certificate issued to client

Best framework for a subscription-based web service business/site? [closed]

最后都变了- 提交于 2020-01-12 05:54:10
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 5 years ago . We're developing a new web service that will be free for low-volume users and subscription-based for higher volume users. Most users will probably invoke it via a plugin for their cms or blog system, and some will use api toolkits for various programming languages. The web service, itself, is straightforward to

Spawning child processes in an express server

邮差的信 提交于 2020-01-12 05:42:05
问题 In my express server there are some functions which I need to run as child processes because otherwise they'll tie up the server and other people won't be able to access it. They're already using the async module but they still tie up the server unless they're run as child processes. One problem is passing the req and res parameters to them. How can this be done? 回答1: Using child_process.fork, you can send messages to child processes. Edit: I incorrectly advised to pass req and res as message

Calling JSON web service with parameters - Objective C - iOS

ⅰ亾dé卋堺 提交于 2020-01-12 04:57:12
问题 I'm trying to call a simple JSON webservice with a parameter in objective c. Doesn't work so far. Here is the web service method: [WebMethod] [ScriptMethod(ResponseFormat = ResponseFormat.Json)] public void LogIn(string username, string password) { Context.Response.Write(username + "___" + password); Context.Response.End(); } Here is my Objective C code: // Build dictionnary with parameters NSString *username = @"usernameTest"; NSString *password = @"passwordTest"; NSMutableDictionary

Call .NET Webservice with Android

妖精的绣舞 提交于 2020-01-12 03:37:08
问题 I know this question has been asked here before, but I don't think those answers were adequate for my needs. We have a SOAP webservice that is used for an iPhone application, but it is possible that we need an Android specific version or a proxy of the service, so we have the option to go with either SOAP or JSON. I have a few concerns about both methods: SOAP solution: Is it possible to generate java source code from a WSDL file, if so, will it include some kind of proxy class to invoke the

But Seriously… Example of ASP.NET WebAPI implementation including OAuth

时光毁灭记忆、已成空白 提交于 2020-01-12 03:24:03
问题 I'm really not interested in WCF samples. The DotNetOpenAuth implementations that I found are also incomplete or assume WCF. I've found Thinkitecture.IdentityServer.45 which is anything but lightweight and isn't really appropriate for building into my new WebAPI project. I even found the Oauth2DotNet project that has almost no real information. Microsoft has posted a few Oauth/OpenID related projects, but I can't even find proper documentation for these either. My project: Create a new site

Using reflection to call an ASP.NET web service

倾然丶 夕夏残阳落幕 提交于 2020-01-12 02:30:41
问题 Say I have an ASMX web service, MyService. The service has a method, MyMethod. I could execute MyMethod on the server side as follows: MyService service = new MyService(); service.MyMethod(); I need to do similar, with service and method not known until runtime. I'm assuming that reflection is the way to go about that. Unfortunately, I'm having a hard time making it work. When I execute this code: Type.GetType("MyService", true); It throws this error: Could not load type 'MyService' from

Problem rolling out ADO.Net Data Service application to IIS

纵然是瞬间 提交于 2020-01-11 19:51:52
问题 I am adding a ADO.Net Data Service lookup feature to an existing web page. Everything works great when running from visual studio, but when I roll it out to IIS, I get the following error: Request Error The server encountered an error processing the request. See server logs for more details. I get this even when trying to display the default page, i.e.: http://server/FFLookup.svc I have 3.5 SP1 installed on the server. What am I missing, and which "Server Logs" is it refering to? I can't find

What's the difference between jaxws-ri and jaxws-rt?

◇◆丶佛笑我妖孽 提交于 2020-01-11 17:06:30
问题 See the JAX-WS Maven repository from java.net - http://download.java.net/maven/2/com/sun/xml/ws/ There are two similar folders - jaxws-rt and jaxws-ri . Currently, I'm using the jaxws-rt and it's working fine. Here are my questions: What's the difference between ri and rt ? Does ri stand for reference implementation and rt stand for runtime ? Please advice. Thanks. 回答1: As an answer to your second question : Yes, you are right. Below is the proof. RI stands for Reference Implementation .