Solved

Problem with Delphi Web Service

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

Accepted Solution

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

Expert Comment

by:rinfo
ID: 38792301
0

Featured Post

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

In previous Articles, we have discussed how we can upload a file using .asmx web service and isolated storage space. Here, in continuation to the topic, I am going to discuss how we can use WCF for the same purpose. Steps: 1.Create the silverli…
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…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

760 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

19 Experts available now in Live!

Get 1:1 Help Now