web-services

How to get up to speed on SOA? [closed]

给你一囗甜甜゛ 提交于 2020-01-01 02:44:39
问题 As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 7 years ago . I've been given the task of laying the groundwork of a SOA for my client. The goal is to open up various processes in an end-client

Vote for the best protocol for the given scenario

北战南征 提交于 2020-01-01 02:40:14
问题 I have a design decision to make. I need your advice. Requirements: A server and a client. client is typically a mobile phone. Connected through the Internet. Server and client want to talk to each other. Exchange of text, multimedia between the client and the server. Text would be some standard format. that is predecided. Real time requirements Session would typically last for 5-15 minutes. In some cases for under a minute. assume 5 minutes as the session duration. The protocol should adhere

Clientrequestfilter vs Containerrequestfilter

江枫思渺然 提交于 2020-01-01 02:40:12
问题 I knew filters are used to handle the request and can do things with http header and httpmethods, but am confused with What is the difference between clientrequestfilter and containerrequestfilter? Inwhich scenario we have to use clientrequestfilter and containerrequestfilter? I tried with this website but not any details about this. Please help me to understand this. 回答1: There are two side to a REST interaction, the client and the server. Jersey/JAX-RS-2 has both a Client API and the "main"

Passing custom objects to a web service

僤鯓⒐⒋嵵緔 提交于 2020-01-01 02:07:44
问题 I have a need to pass a custom object to a remote web service. I have read that it may be necessary to implement ISerializable, but I've done that and I'm encountering difficulties. What is the proper way in C# to pass a custom object to a web service method? 回答1: The objects you provide as arguments as part of the service request must be marked with [Serializable] and based on some of the answers posted before mine you also need to make sure your custom object does not contain any parameters

Parts of a URL: host, port, path

孤街浪徒 提交于 2020-01-01 01:25:10
问题 Here is the URL: https://landfill.bugzilla.org/bugzilla-tip/ In my code I have this: Server server = new Server(host, port, path); From the URL, what is host, what is port and what is path? What are the input values of the method? 回答1: Host: landfill.bugzilla.org Port: 443 (default) Path: bugzilla-tip http://tools.ietf.org/html/rfc1738 回答2: Host: landfill.bugzilla.org Port: 443 (HTTPS) Path: /bugzilla-tip for more details please read this 回答3: Unfortunately the other answers in this question

Using Soap Web Services in iPhone with wsdl2objc?

人走茶凉 提交于 2020-01-01 00:47:27
问题 I do realize this is a duplicate question, however the only other question is quite old, so I would like to know if anyone has had any recent experience with the latest version of wsdl2objc. I am doing an application that will communicate with SOAP Web services exposed by a third party application (it only exposes them this way unfortunately). As far as I understand all wsdl2objc does is convert the WSDL to something useful in objective C code. I have also done the tutorial icodeblog intro to

Passing a list of int to a HttpGet request

佐手、 提交于 2019-12-31 17:58:26
问题 I have a function similar in structure to this: [HttpGet] public HttpResponseMessage GetValuesForList(List<int> listOfIds) { /* create model */ foreach(var id in listOfIds) model.Add(GetValueForId(id) /* create response for model */ return response; } However, when I do a Get request for the method: {{domain}}/Controller/GetValuesForList?listOfIds=1&listOfIds=2 I get an error when debugging stating that listOfIds is null. In our controller we have a number of public HttpGet methods that work

What does using RESTful URLs buy me?

限于喜欢 提交于 2019-12-31 11:41:54
问题 I've been reading up on REST, and I'm trying to figure out what the advantages to using it are. Specifically, what is the advantage to REST-style URLs that make them worth implementing over a more typical GET request with a query string? Why is this URL: http://www.parts-depot.com/parts/getPart?id=00345 Considered inferior to this? http://www.parts-depot.com/parts/00345 In the above examples (taken from here) the second URL is indeed more elegant looking and concise. But it comes at a cost...

Is there an expiry on bit.ly or tinyurl URLs?

折月煮酒 提交于 2019-12-31 08:41:20
问题 Is there an expiry on bit.ly or tinyurl shortened URLs? I'm asking because I'm thinking of persisting these shortened urls into the db for a client's twitter service. UPDATE: if you keep sending bit.ly the same URL, it'll return the same shorten URL!, this is great, because it means I don't need to persist the shorten URLs in my database, and just cache bit.ly/shorten calls instead. I was really hoping to avoid persisting shortened URLs in my db. 回答1: No. They'll remain valid as long as the

What framework to use for RESTful Services in .net

吃可爱长大的小学妹 提交于 2019-12-31 08:12:26
问题 I know that similar questions have been asked, but most of them are out of date. So here we go again :). I need to implement a complete REST service layer for our application. The problem that i have is which framework would be the best to solve this problem. I just need a nice framework that lets me focus on the problem and not on the REST or whatever is required. Authentication is a required feature. Here are some of my ideas; what do you think? WCF: In my opinion this is a overloaded