Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Problem with Delphi Web Service

Posted on 2013-01-17
2
Medium Priority
?
960 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 1000 total points
ID: 38789781
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
Here I am going to explain creating proxies at runtime for WCF Service. So basically we use to generate proxies using Add Service Reference and then giving the Url of the WCF service then generate proxy files at client side. Ok, what if something ge…
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …
Suggested Courses

705 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