15,911,030 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by cutie1 (Top 19 by date)
cutie1
24-Sep-12 0:37am
View
It is ur service url.The service reference which u add.. something with extension .svc
cutie1
15-Sep-12 1:20am
View
Yes I Have defined my webinvoke attribute with Method="GET".When I use content-type:application/json its not showing any response..I don't know where Iam I going wrong?
cutie1
13-Sep-12 0:57am
View
Thank u for ur links...
cutie1
11-Sep-12 3:56am
View
k .Thank u
cutie1
11-Sep-12 3:04am
View
Thank u .But when I add like this the rows are jumbled.They are not in the order like the ones Iam inserting.How can I get in the order in which I insert?
cutie1
10-Sep-12 7:40am
View
Thanks I got it..
cutie1
10-Sep-12 7:23am
View
Deleted
This is my stored proc
cutie1
10-Sep-12 7:23am
View
create proc GetDetails @Date Datetime as select * from Details where Date=@Date.This is my stored procedure
cutie1
31-Aug-12 13:07pm
View
I couldn't understand how to insert data..Is it like normal SQL query writing.?Because when we develop SOAP services we dont really need to write SQL query specially.We can directly save using entity datamodel.Is it the same in REST services?If not then how can we do it?
cutie1
31-Aug-12 3:11am
View
Hii,,Can u please explain me briefly how to pass in an xml to save it without a client for REST services ..For SOAP services I knew how to do it(invoke procedure).But when I run the services ,I couldn't see the method getting added to the service.When I use basichttpbinding I can see the method.But I dont want to use basichttpbinding since it is a REST service
cutie1
29-Aug-12 12:35pm
View
I even cant view the alert (msg)..I cant view any action on page load when I click the button
cutie1
29-Aug-12 12:29pm
View
I have used this code .But couldn't view any response ...
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js">
function invokeService() {
$(document).ready(function(){
$.ajax({
type:"GET",
async:false,
url:"http://localhost:8732/IServices/RoleService/json/Role/doctor",
contentType:"application/json; charset=utf-8",
dataType:"json",
processData:true,
success:function(result){
AjaxSucceeded(result);
},
eror:AjaxFailed
});
function AjaxSucceeded(result)
{
alert(result);
}
function AjaxFailed(result){
alert(result.status+''+result.statusText);
}
}
</script>
</head>
<body>
<form id="form1" runat="server">
<div>
<input type="button" önclick="javascript:invokeService();" value="Call WCF Service" />
</div>
</form>
</body>
How can I manage to get the response.Where Am I going wrong?
cutie1
27-Aug-12 7:43am
View
Should I attach any jquery library in the project?
cutie1
27-Aug-12 7:16am
View
Eventhough I couldn't view response
cutie1
27-Aug-12 7:14am
View
$(document).ready(function(){...} .This function is not getting loaded .Can u please tell me where should I modify ?binding is webhttp and it is perfectly returning response in JSON format.So can u please suggenst me where Am I going wrong..How can I verify whether it is AjaxEnabledWCF?What are the modifications I have to do in the above code ?
Thanks,
cutie1
27-Aug-12 6:09am
View
In the link u gave can u please tell me where I have to write that script tag..In the web.config file?
cutie1
15-Aug-12 6:55am
View
k I will update the webservice in server...Can u please tell me how can I use that particular url in iPhone
cutie1
11-Aug-12 5:59am
View
Thanks now I got the point that it is neither a stored procedure nor a table name.But if I want to use SQL stored procedure to get the data from database by giving any parameter (USERID) then how should the code be implemented?
cutie1
11-Aug-12 3:25am
View
Deleted
App.config file:
<system.servicemodel>
<services>
<service name="IServices.RoleService">
<endpoint address="http://localhost:8732/Design_Time_Addresses/IServices/RoleService/json"
contract="IServices.IRoleService" binding="webHttpBinding"
behaviorconfiguration="restBehavior">
<endpoint address="soap" binding="basicHttpBinding" contract="IServices.IRoleService">
<identity>
<dns value="localhost">
<endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange">
<host>
<baseAddresses>
<add baseaddress="http://localhost:8732/Design_Time_Addresses/IServices/RoleService/">
</baseAddresses>
<bindings>
<basichttpbinding>
<binding name="basicHttpBindingSettings">
<webhttpbinding>
<binding name="webHttpBinding">
<behaviors>
<endpointbehaviors>
<behavior name="restBehavior">
<webhttp helpenabled="true">
<servicebehaviors>
<behavior>
<datacontractserializer maxitemsinobjectgraph="2147483647">
<servicemetadata httpgetenabled="True">
<servicedebug includeexceptiondetailinfaults="true">
<servicehostingenvironment multiplesitebindingsenabled="true">
Now I couldn't understand y Am I getting this error?
and how can I pass parameter o rolename to get the reponse?
Any help would be appreciated..
Thanks...
Show More