Solved

Problem with Delphi Web Service

Posted on 2013-01-17
2
945 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 27

Accepted Solution

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

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
In this video, viewers are given an introduction to using the Windows 10 Snipping Tool, how to quickly locate it when it's needed and also how make it always available with a single click of a mouse button, by pinning it to the Desktop Task Bar. Int…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …
Suggested Courses
Course of the Month9 days, 23 hours left to enroll

624 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