Click here to Skip to main content
13,042,421 members (80,393 online)

WCF and WF

 
QuestionWhere to watch wcf tutorial videos Pin
gurinder.programmer200922-Aug-12 8:11
membergurinder.programmer200922-Aug-12 8:11 
AnswerRe: Where to watch wcf tutorial videos Pin
Wes Aday22-Aug-12 8:26
memberWes Aday22-Aug-12 8:26 
AnswerRe: Where to watch wcf tutorial videos Pin
SoMad22-Aug-12 8:42
memberSoMad22-Aug-12 8:42 
GeneralRe: Where to watch wcf tutorial videos Pin
GSingh-Developer24-Aug-12 10:28
memberGSingh-Developer24-Aug-12 10:28 
Questioncertificate setup question Pin
Member 391904911-Aug-12 15:33
memberMember 391904911-Aug-12 15:33 
AnswerRe: certificate setup question Pin
jschell12-Aug-12 9:45
memberjschell12-Aug-12 9:45 
GeneralRe: certificate setup question Pin
Member 391904912-Aug-12 12:14
memberMember 391904912-Aug-12 12:14 
Question500 System.ServiceModel.ServiceActivationException when making an Ajax call to WCF rest service Pin
Member 914159910-Aug-12 1:07
memberMember 914159910-Aug-12 1:07 
Ajax Call:
 
   $.ajax({
        type: "POST",
        url: "http://SomeService/ServiceName.svc/GetSearchResults",
        data: JSON.stringify({ parameters: serviceParameters }),
        contentType: "application/json; charset=utf-8",
        dataType: "XML",
        success: function (response) {
            $("#xmlText").text(response.xml);
        },
        error: function (msg) {
            alert(msg.toString);
        }
    })
 
WCF Interface:
 
[OperationContract]
        [WebInvoke(Method = "POST", BodyStyle = WebMessageBodyStyle.Wrapped, ResponseFormat = WebMessageFormat.Xml, RequestFormat = WebMessageFormat.Json,
                    UriTemplate = "GetSearchResults")]
        XElement GetSearchResults(inputParameters parameters);
 
        [OperationContract]
        [WebInvoke(Method = "POST", RequestFormat = WebMessageFormat.Json, UriTemplate = "getFile")]
        Stream GetFile(DocInfo info);
 
Web.config:
 
 <system.web>
    <compilation debug="true" targetFramework="4.0" />
    <customErrors mode="Off"/>
  </system.web>
 
 <system.webServer>
    <modules runAllManagedModulesForAllRequests="true"/>
  </system.webServer>
 
 <system.serviceModel>
   <serviceHostingEnvironment aspNetCompatibilityEnabled="true" multipleSiteBindingsEnabled="true">
   </serviceHostingEnvironment>
   <standardEndpoints>
     <webHttpEndpoint>
       <standardEndpoint name="" helpEnabled="true" automaticFormatSelectionEnabled="true"></standardEndpoint>
     </webHttpEndpoint>
   </standardEndpoints>
 </system.serviceModel>
 
The service is hosted on IIS6.
 
When I call the service I get the following error message:
 
500 System.ServiceModel.ServiceActivationException
 
I can call the GetFile method and get the response stream but I get the error message when calling GetSearchResults.
 
Any help will be appreciated.

QuestionWCF and windows service Pin
LIttle_Cat5-Aug-12 9:27
memberLIttle_Cat5-Aug-12 9:27 
QuestionCommunication Exception while consuming self hosted WCF Pin
Rohan Chikhale1-Aug-12 17:42
memberRohan Chikhale1-Aug-12 17:42 
AnswerRe: Communication Exception while consuming self hosted WCF Pin
Eddy Vluggen3-Aug-12 2:48
memberEddy Vluggen3-Aug-12 2:48 
AnswerRe: Communication Exception while consuming self hosted WCF Pin
Sreejith PV3-Sep-12 7:50
memberSreejith PV3-Sep-12 7:50 
QuestionWCF 400 Bad Request Error Pin
Member 769646525-Jul-12 22:02
memberMember 769646525-Jul-12 22:02 
QuestionPer Session and Per Call in WCF Pin
meeram39516-Jul-12 0:47
membermeeram39516-Jul-12 0:47 
QuestionNeed Some feedback on WCF Pin
Software200728-Jun-12 6:08
memberSoftware200728-Jun-12 6:08 
AnswerRe: Need Some feedback on WCF Pin
jschell28-Jun-12 8:51
memberjschell28-Jun-12 8:51 
GeneralRe: Need Some feedback on WCF Pin
Software200729-Jun-12 7:02
memberSoftware200729-Jun-12 7:02 
GeneralRe: Need Some feedback on WCF Pin
jschell29-Jun-12 8:29
memberjschell29-Jun-12 8:29 
GeneralRe: Need Some feedback on WCF Pin
Software200729-Jun-12 12:31
memberSoftware200729-Jun-12 12:31 
GeneralRe: Need Some feedback on WCF Pin
jschell1-Jul-12 6:29
memberjschell1-Jul-12 6:29 
GeneralRe: Need Some feedback on WCF Pin
Software20072-Jul-12 3:55
memberSoftware20072-Jul-12 3:55 
GeneralRe: Need Some feedback on WCF Pin
jschell3-Jul-12 12:02
memberjschell3-Jul-12 12:02 
GeneralRe: Need Some feedback on WCF Pin
Software20073-Jul-12 17:30
memberSoftware20073-Jul-12 17:30 
GeneralRe: Need Some feedback on WCF Pin
jschell5-Jul-12 5:27
memberjschell5-Jul-12 5:27 
GeneralRe: Need Some feedback on WCF Pin
Software20076-Jul-12 0:43
memberSoftware20076-Jul-12 0:43 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web02 | 2.8.170713.1 | Last Updated 24 Mar 2017
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid