Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 17 results for
webinvoke
- Page 1
Passing Parameters From WebInvoke POST to Another Computer To Display
Programming
Software Development
8 Years Ago
by michael.dewitt.716
… System.ServiceModel.Web; namespace Service { [ServiceContract] public interface IItemService { [OperationContract] [
WebInvoke
(Method="POST", ResponseFormat = WebMessageFormat.Json, RequestFormat = WebMessageFormat.Json…
Re: Passing Parameters From WebInvoke POST to Another Computer To Display
Programming
Software Development
8 Years Ago
by hericles
A web service is a piece of software, running on the server (computer B) and listening on a particular port (optional). Computer A would post data to the URL and port the web service is listening on and it will be processed on computer B. You can post information to a URL with particularly ever programming language (.Net, cURL, PHP, javascript, …
Re: Passing Parameters From WebInvoke POST to Another Computer To Display
Programming
Software Development
8 Years Ago
by michael.dewitt.716
So what you are saying is that i need to create a website -> WCF Service in VS? or actually create a website via xampp or apache and have it listen on that port? The code that i posted will be running on computer A (client) posting the info to computer B (server) Im using a console application to run a service host on computer B, so do i just …
Re: Passing Parameters From WebInvoke POST to Another Computer To Display
Programming
Software Development
8 Years Ago
by michael.dewitt.716
Here is my host service app.config <?xml version="1.0" encoding="utf-8" ?> <configuration> <system.serviceModel> <behaviors> <serviceBehaviors> <behavior name="mexBehaviour"> <serviceMetadata httpGetEnabled="true&…
Re: Passing Parameters From WebInvoke POST to Another Computer To Display
Programming
Software Development
7 Years Ago
by michael.dewitt.716
So i found out what it was, the endpoint address was address="web", so i changed it to address="Sumit". Works now with the client. Now im getting another error from the client (computer a) posting the data: The remote server returned an unexpected response: (405) Method Not Allowed. Ill have to submit a thread for this one, …
WCF Service providing PUT/DELETE methods crashes Website
Programming
Web Development
7 Years Ago
by Amr_3
…oParameter) { // Do work } OR [OperationContract] [
WebInvoke
(Method = "DELETE", RequestFormat = WebMessageFormat.….DbContextManager.GetSupplier(id.ToNullableInt()); } [OperationContract] [
WebInvoke
(Method = "POST", RequestFormat = …
WCF Post
Programming
Web Development
13 Years Ago
by kinger29
… work. [CODE] [WebHelp(Comment = "Sample description for DoWork")] [
WebInvoke
(UriTemplate = "DoWork", Method = "POST", RequestFormat = WebMessageFormat…
web browser error
Programming
Software Development
12 Years Ago
by noobprogrammerr
[CODE][OperationContract] [
WebInvoke
(UriTemplate = "GetCurrentUpComingEventsByEstate?estateName=EstName", RequestFormat = WebMessageFormat.Xml, ResponseFormat = …
inserting join statement
Programming
Software Development
12 Years Ago
by noobprogrammerr
…;= DateTime.Now select e; return res.ToList(); } [/CODE] [CODE] [OperationContract] [
WebInvoke
(Method = "GET", UriTemplate = "GetCurrentUpComingEventsByEstate?estateName={estName}"…
Re: How to configure WCF webHttpBinding to return a raw response
Programming
Software Development
13 Years Ago
by komyg
…is the wrong code: [code] [OperationContract] [
WebInvoke
( UriTemplate = "/WCF_PostTest", BodyStyle = …here is the correct code: [code] [OperationContract] [
WebInvoke
( UriTemplate = "/WCF_PostTest", BodyStyle = WebMessageBodyStyle…
Re: declaring the list
Programming
Software Development
12 Years Ago
by noobprogrammerr
[OperationContract] [
WebInvoke
(UriTemplate = "GetCurrentUpComingEventsByEstate?estateName=EstName", RequestFormat = WebMessageFormat.Xml, ResponseFormat = …
Re: WCF Service providing PUT/DELETE methods crashes Website
Programming
Web Development
7 Years Ago
by Amr_3
I think it is the setting <enableWebScript /> within the end point behaviour is the reason for this cuz after I removed it everthing works fine :)
Re: inserting join statement
Programming
Software Development
12 Years Ago
by thines01
Generically speaking, there are at least two methods of doing what you want. Here is a neutral example of how it can be done. You should be able to see how to modify your code when you see these two examples. If you are still (really) having problems, let me know. The example does a translation from Spanish to english using a common KEY (in …
Re: inserting join statement
Programming
Software Development
12 Years Ago
by noobprogrammerr
Hi, i don't really seem to understand still. Do you mind helping me based on the codes i gave you ? Will really appreciate your help. I need to get the events by the estate name and also join it together with the event date. Hope you understand my explaination. (:
Re: inserting join statement
Programming
Software Development
12 Years Ago
by thines01
I made the example very simple and you should study it so you understand what your code needs to do. Without knowing the layout of your entities, I can only guess it would look something like one of these examples: [CODE] var res = from e in context.EventEntities from es in context.Estate where e.estateName.Equals(es.estateName) &&…
Re: inserting join statement
Programming
Software Development
12 Years Ago
by noobprogrammerr
Thanks for ur help!
Re: inserting join statement
Programming
Software Development
12 Years Ago
by thines01
Sorry about that typo. That last && should be the word "where".
Search
Search
Forum Categories
Hardware/Software
Programming
Digital Media
Community Center
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Forums
Top Members
Meet People
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
SEO Backlink Checker
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2024 DaniWeb® LLC