Click here to Skip to main content
       

WCF and WF

 
AnswerRe: wcf hosting PinmvpRichard MacCutchan3-Oct-12 22:48 
QuestionGenerating and invoking WCF service using WSDL and XSD programmatically PinmemberTesic Goran3-Oct-12 0:42 
QuestionBinding to an XML list of attributes [modified] PinmemberJayme656-Sep-12 12:50 
QuestionWant to make callback from WCF service to client behind proxy. Pinmemberdkalra_sam4-Sep-12 20:19 
QuestionHow to produce SOAP message using XSD and WSDL files? PinmemberTesic Goran4-Sep-12 0:40 
QuestionSession Issues int asmx services PinmemberVuyiswa Maseko29-Aug-12 22:51 
QuestionWhere to watch wcf tutorial videos Pinmembergurinder.programmer200922-Aug-12 9:11 
AnswerRe: Where to watch wcf tutorial videos PinmemberWes Aday22-Aug-12 9:26 
AnswerRe: Where to watch wcf tutorial videos PinmemberSoMad22-Aug-12 9:42 
GeneralRe: Where to watch wcf tutorial videos PinmemberGSingh-Developer24-Aug-12 11:28 
Questioncertificate setup question PinmemberMember 391904911-Aug-12 16:33 
AnswerRe: certificate setup question Pinmemberjschell12-Aug-12 10:45 
GeneralRe: certificate setup question PinmemberMember 391904912-Aug-12 13:14 
Question500 System.ServiceModel.ServiceActivationException when making an Ajax call to WCF rest service PinmemberMember 914159910-Aug-12 2: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 PinmemberLIttle_Cat5-Aug-12 10:27 
QuestionCommunication Exception while consuming self hosted WCF PinmemberRohan Chikhale1-Aug-12 18:42 
AnswerRe: Communication Exception while consuming self hosted WCF PinmemberEddy Vluggen3-Aug-12 3:48 
AnswerRe: Communication Exception while consuming self hosted WCF PinmemberSreejith PV3-Sep-12 8:50 
QuestionWCF 400 Bad Request Error PinmemberMember 769646525-Jul-12 23:02 
QuestionPer Session and Per Call in WCF Pinmembermeeram39516-Jul-12 1:47 
QuestionNeed Some feedback on WCF PinmemberSoftware200728-Jun-12 7:08 
AnswerRe: Need Some feedback on WCF Pinmemberjschell28-Jun-12 9:51 
GeneralRe: Need Some feedback on WCF PinmemberSoftware200729-Jun-12 8:02 
GeneralRe: Need Some feedback on WCF Pinmemberjschell29-Jun-12 9:29 
GeneralRe: Need Some feedback on WCF [modified] PinmemberSoftware200729-Jun-12 13:31 
GeneralRe: Need Some feedback on WCF Pinmemberjschell1-Jul-12 7:29 
GeneralRe: Need Some feedback on WCF PinmemberSoftware20072-Jul-12 4:55 
GeneralRe: Need Some feedback on WCF Pinmemberjschell3-Jul-12 13:02 
GeneralRe: Need Some feedback on WCF [modified] PinmemberSoftware20073-Jul-12 18:30 
GeneralRe: Need Some feedback on WCF Pinmemberjschell5-Jul-12 6:27 
GeneralRe: Need Some feedback on WCF [modified] PinmemberSoftware20076-Jul-12 1:43 
GeneralRe: Need Some feedback on WCF Pinmemberjschell6-Jul-12 11:55 
GeneralRe: Need Some feedback on WCF PinmemberSoftware20076-Jul-12 20:18 
GeneralRe: Need Some feedback on WCF PinmemberMember 83279099-Aug-12 0:23 
QuestionWCF and WF integration PinmemberLahsiv198119-Jun-12 0:29 
AnswerRe: WCF and WF integration PinmvpSandeep Mewara23-Jun-12 22:08 
QuestionHow to access WCF service from another machine PinmemberSoftware200713-Jun-12 16:13 
AnswerRe: How to access WCF service from another machine PinmvpRichard MacCutchan13-Jun-12 23:48 
GeneralRe: How to access WCF service from another machine PinmemberSoftware200715-Jun-12 8:19 
GeneralRe: How to access WCF service from another machine PinmvpRichard MacCutchan15-Jun-12 8:36 
QuestionProxy file Reference.cs show problems with NameValueCollection Reference PinmemberNicholas Annor-Adjei11-Jun-12 13:21 
AnswerRe: Proxy file Reference.cs show problems with NameValueCollection Reference PinmvpRichard MacCutchan11-Jun-12 23:21 
QuestionWCF accessDeniedException PinmemberTwilightEva1-Jun-12 5:40 
AnswerRe: WCF accessDeniedException PinmemberSperneder Patrick4-Jun-12 10:58 
AnswerRe: WCF accessDeniedException PinmemberPaul Conrad4-Jun-12 11:21 
QuestionReturning Custom JSON format from Rest Service Pinmemberprashant2528-May-12 22:19 
QuestionCalling methods in wcf host from the hosting app PinmemberBunny200026-May-12 4:34 
QuestionWCF Message contract namespace problem PinmemberMirza Fareed Baig23-May-12 6:06 
QuestionUpload Image using WCF Pinmemberlisalis15-May-12 14:07 
AnswerRe: Upload Image using WCF PinmemberSperneder Patrick4-Jun-12 11: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
Web02 | 2.8.141216.1 | Last Updated 26 Nov 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid