Solved

Problem with Delphi Web Service

Posted on 2013-01-17
2
919 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

This tutorial will show you how to add an attribute to an XML (http://en.wikipedia.org/wiki/XML) stream returned from a Windows Communication Foundation (http://en.wikipedia.org/wiki/Windows_Communication_Foundation) (WCF) Web Service.  Some knowled…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

896 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now