Click here to Skip to main content
11,629,614 members (72,710 online)

WCF and WF

 
AnswerRe: wcf hosting Pin
Richard MacCutchan3-Oct-12 21:48
mvpRichard MacCutchan3-Oct-12 21:48 
QuestionGenerating and invoking WCF service using WSDL and XSD programmatically Pin
Tesic Goran2-Oct-12 23:42
memberTesic Goran2-Oct-12 23:42 
QuestionBinding to an XML list of attributes Pin
Jayme656-Sep-12 11:50
memberJayme656-Sep-12 11:50 
QuestionWant to make callback from WCF service to client behind proxy. Pin
dkalra_sam4-Sep-12 19:19
memberdkalra_sam4-Sep-12 19:19 
QuestionHow to produce SOAP message using XSD and WSDL files? Pin
Tesic Goran3-Sep-12 23:40
memberTesic Goran3-Sep-12 23:40 
QuestionSession Issues int asmx services Pin
Vuyiswa Maseko29-Aug-12 21:51
memberVuyiswa Maseko29-Aug-12 21:51 
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 
GeneralRe: Need Some feedback on WCF Pin
jschell6-Jul-12 10:55
memberjschell6-Jul-12 10:55 
GeneralRe: Need Some feedback on WCF Pin
Software20076-Jul-12 19:18
memberSoftware20076-Jul-12 19:18 
GeneralRe: Need Some feedback on WCF Pin
Member 83279098-Aug-12 23:23
memberMember 83279098-Aug-12 23:23 
QuestionWCF and WF integration Pin
Lahsiv198118-Jun-12 23:29
memberLahsiv198118-Jun-12 23:29 
AnswerRe: WCF and WF integration Pin
Sandeep Mewara23-Jun-12 21:08
mvpSandeep Mewara23-Jun-12 21:08 
QuestionHow to access WCF service from another machine Pin
Software200713-Jun-12 15:13
memberSoftware200713-Jun-12 15:13 
AnswerRe: How to access WCF service from another machine Pin
Richard MacCutchan13-Jun-12 22:48
mvpRichard MacCutchan13-Jun-12 22:48 
GeneralRe: How to access WCF service from another machine Pin
Software200715-Jun-12 7:19
memberSoftware200715-Jun-12 7:19 
GeneralRe: How to access WCF service from another machine Pin
Richard MacCutchan15-Jun-12 7:36
mvpRichard MacCutchan15-Jun-12 7:36 
QuestionProxy file Reference.cs show problems with NameValueCollection Reference Pin
Nicholas Annor-Adjei11-Jun-12 12:21
memberNicholas Annor-Adjei11-Jun-12 12:21 
AnswerRe: Proxy file Reference.cs show problems with NameValueCollection Reference Pin
Richard MacCutchan11-Jun-12 22:21
mvpRichard MacCutchan11-Jun-12 22:21 
QuestionWCF accessDeniedException Pin
TwilightEva1-Jun-12 4:40
memberTwilightEva1-Jun-12 4:40 
AnswerRe: WCF accessDeniedException Pin
Sperneder Patrick4-Jun-12 9:58
memberSperneder Patrick4-Jun-12 9:58 
AnswerRe: WCF accessDeniedException Pin
Paul Conrad4-Jun-12 10:21
memberPaul Conrad4-Jun-12 10:21 
QuestionReturning Custom JSON format from Rest Service Pin
prashant2528-May-12 21:19
memberprashant2528-May-12 21:19 
QuestionCalling methods in wcf host from the hosting app Pin
Bunny200026-May-12 3:34
memberBunny200026-May-12 3:34 
QuestionWCF Message contract namespace problem Pin
Mirza Fareed Baig23-May-12 5:06
memberMirza Fareed Baig23-May-12 5:06 
QuestionUpload Image using WCF Pin
lisalis15-May-12 13:07
memberlisalis15-May-12 13:07 
AnswerRe: Upload Image using WCF Pin
Sperneder Patrick4-Jun-12 10:02
memberSperneder Patrick4-Jun-12 10:02 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    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
Web03 | 2.8.150723.1 | Last Updated 18 Jun 2015
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid