I am trying to consume a secure WCF service in a Rail app using ActiveResource.
My ActiveResource class is:
Class PorteriasSyver & lt; ActiveResource :: Base self.site = "http: // localhost: 1234 /" end is WCF URL
http: // localhost: 1234 / PartrifferService / and returns it to XML:
& lt; ArrayOfReferenceDataModel xmlns = "http://schemas.datacontract.org/2004/07/RemoteService.Model" xmlns: i = "http://www.w3.org/2001/XMLSchema-instance" & gt; & Lt; ReferenceDataModel & gt; & Lt; Details & gt; 0460-0054 & lt; / Details & gt; & Lt; Eid & gt; 147 & lt; / Id & gt; & Lt; / ReferenceDataModel & gt; & Lt; ReferenceDataModel & gt; & Lt; Details & gt; 0960-0095 & lt; / Details & gt; & Lt; Eid & gt; 145 & lt; / Id & gt; & Lt; / ReferenceDataModel & gt; & Lt; / ArrayOfReferenceDataModel & gt; When I do, I'm getting 404:
PorterviewService (All) I also can not find the URL being requested in my development .log file.
Anyone suggesting where I am going wrong? I am quite new to ActiveResource, and WCF for that matter, but my guess is that ActiveResource is making a URL,
http: // localhost: 1234 / part_reference_service / But as I can not see anything in the log, I am flying blind.
I am controlling both ends so I am able to make any changes.
Any help is greatly appreciated.
Use this to see what is happening in the Http request
Comments
Post a Comment