Solved

Problem with Delphi Web Service

Posted on 2013-01-17
2
924 Views
Last Modified: 2013-03-12
I have created an application in Delphi 2010 that has successfully imported the WSDL of a web service written in C# (see attached files) .  I appear to be getting past the credentialing but when I attempt to access the service I get Addressfilter mismatch error (see screenshot).

Here is the client side code

procedure TForm1.Button1Click(Sender: TObject);
var mSite: sites;
 mService: ISiteListService;
begin
  FRIO := THTTPRIO.Create(self);
  FRIO.HTTPWebNode.UserName := 'User';
  FRIO.HTTPWebNode.Password := 'Pass';
   FRIO.HTTPWebNode.InvokeOptions := [SOAPHTTPTrans.soIgnoreInvalidCerts,SOAPHTTPTrans.soNoSOAPActionHeader];

//ERROR GENERATED HERE
   mService :=    GetISiteListService(TRUE,'https://sampleservice.com:8080/monitor/?wsdl',FRIO);
1-17-2013-5-10-07-PM.png
mismatch.png
0
Comment
Question by:DanielManchester
2 Comments
 
LVL 26

Accepted Solution

by:
Sinisa Vuk earned 500 total points
ID: 38789781
0
 
LVL 9

Expert Comment

by:rinfo
ID: 38792301
0

Featured Post

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

776 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question