[DUG] SOAP services WSDL not refreshing

Willie Juson willie at compliant.co.nz
Tue Apr 7 09:34:46 NZST 2015


Hi,

 

By Delphi SOAP client tool do you mean Component\Import WSDL menu option in the IDE? If so then yeah I tried that, it’s how I always do it for my client app, which kind of indicates it is the IIS server caching it, I’ve also tried loading the URL via Chrome and I.E. on my development PC and from another PC on my local network. 

 

Thanks

 

Willie

 

From: delphi-bounces at listserver.123.net.nz [mailto:delphi-bounces at listserver.123.net.nz] On Behalf Of David Moorhouse
Sent: Tuesday, 7 April 2015 8:43 a.m.
To: 'NZ Borland Developers Group - Delphi List'
Subject: Re: [DUG] SOAP services WSDL not refreshing

 

Just trying a different URL to see if either the client or server is caching.

 

Have you tried importing the new wsdl via the Delphi SOAP client tool ?

 

D

 

From:  <mailto:delphi-bounces at listserver.123.net.nz> delphi-bounces at listserver.123.net.nz [ <mailto:delphi-bounces at listserver.123.net.nz> mailto:delphi-bounces at listserver.123.net.nz] On Behalf Of Willie Juson
Sent: Sunday, 5 April 2015 10:21 p.m.
To: 'NZ Borland Developers Group - Delphi List'
Subject: Re: [DUG] SOAP services WSDL not refreshing

 

Thanks for responding David, sorry I don’t understand what you mean here, could you elaborate please?

 

Just by the by I got it to show up by renaming the interface from IASOAPServer to IASOAPServer2, I also gave it a new GUID at the same time but not sure if that was actually needed. I guess this is a workaround but it’s pretty ugly IMO and I’d rather figure out exactly what I need to do to just get it to refresh …

 

 

From:  <mailto:delphi-bounces at listserver.123.net.nz> delphi-bounces at listserver.123.net.nz [ <mailto:delphi-bounces at listserver.123.net.nz> mailto:delphi-bounces at listserver.123.net.nz] On Behalf Of David Moorhouse
Sent: Thursday, 2 April 2015 4:54 p.m.
To: 'Edward Koryagin'; 'NZ Borland Developers Group - Delphi List'
Subject: Re: [DUG] SOAP services WSDL not refreshing

 

Try adding another URL param to the GET request for the WSDL to see if that refreshes the cache.

 

Cheers

 

D

 

 


David Moorhouse (BCom) | Principal Software Engineer
Pegasus Health (Charitable) Ltd 

P: 03 353 0871 |   W:   <http://www.pegasus.org.nz/> www.pegasus.org.nz 
E:  <mailto:david.moorhouse at pegasus.org.nz> david.moorhouse at pegasus.org.nz
PO Box 741, Christchurch 8140
160 Bealey Ave, Christchurch 8014



 

 

From:  <mailto:delphi-bounces at listserver.123.net.nz> delphi-bounces at listserver.123.net.nz [ <mailto:delphi-bounces at listserver.123.net.nz> mailto:delphi-bounces at listserver.123.net.nz] On Behalf Of Edward Koryagin
Sent: Thursday, 2 April 2015 4:23 p.m.
To: NZ Borland Developers Group - Delphi List
Subject: Re: [DUG] SOAP services WSDL not refreshing

 

2008 R2 Standard SP1

IIS 7.5

 

Eduard Koryagin

 

  _____  

From: Edward Huang < <mailto:edwardh at slingshot.co.nz> edwardh at slingshot.co.nz>
To: NZ Borland Developers Group - Delphi List < <mailto:delphi at listserver.123.net.nz> delphi at listserver.123.net.nz> 
Sent: Thursday, 2 April 2015 3:33 PM
Subject: Re: [DUG] SOAP services WSDL not refreshing

 

Which windows version IIS is running on?

 

Edward

Sent from my iPhone

 


On 2/04/2015, at 14:17, Willie Juson < <mailto:willie at compliant.co.nz> willie at compliant.co.nz> wrote:

Thanks for that Edward,

 

I had tried restarting (and recycling) the app pool and the website, with no joy, although I don’t know how to clear the cache.  I just tried something I found about HTTP headers on a .Net forum which I thought was maybe cache related and it destroyed the website (corrupted the web config file I think) so now I have to rebuild it.

 

From:  <mailto:delphi-bounces at listserver.123.net.nz> delphi-bounces at listserver.123.net.nz [ <mailto:delphi-bounces at listserver.123.net.nz> mailto:delphi-bounces at listserver.123.net.nz] On Behalf Of Edward Huang
Sent: Wednesday, 1 April 2015 9:48 p.m.
To: NZ Borland Developers Group - Delphi List
Subject: Re: [DUG] SOAP services WSDL not refreshing

 

Hi Willie,

 

Based on my understanding, you might need to check a couple of things. 

 

1. Did you restart iis application pool after you deployed new executable?  If not, you need to. 

 

2. Check cache settings for the web app in iis. By default iis caches static pages, & wsdl could be counted as static pages. To be safe, you should disable all caching for web services. 

 

Regards,

 

Edward Huang

Sent from my iPhone


On 1/04/2015, at 16:26, Willie Juson < <mailto:willie at compliant.co.nz> willie at compliant.co.nz> wrote:

Hi,

 

I’m working on a project creating a bunch of SOAP services in an executable (running under IIS), I’m consuming these from another client executable.  I am finding that sometimes, and only sometimes, I make some changes to the SOAP server and deploy them but I can’t get my client app, using the Component/Import WSDL wizard, or a web-browser to see the new services.

 

If I browse to the services executable e.g. 

 

 <http://192.168.2.64:8080/mysoapservices/ASOAPServer.exe> http://192.168.2.64:8080/mysoapservices/ASOAPServer.exe  or 

 <http://192.168.2.64:8080/mysoapservices/ASOAPServer.exe> http://192.168.2.64:8080/mysoapservices/ASOAPServer.exe/SOAP/IASOAPServer 

 

then I can see the new structure, but if I look at the WSDL 

 

 <http://192.168.2.64:8080/mysoapservices/ASOAPServer.exe> http://192.168.2.64:8080/mysoapservices/ASOAPServer.exe/WSDL/IASOAPServer 

 

then it hasn’t changed… rather frustrating, and only occasional.

 

Has anyone in the group had similar issues?

 

TIA

 

Willie

_______________________________________________
NZ Borland Developers Group - Delphi mailing list
Post:  <mailto:delphi at listserver.123.net.nz> delphi at listserver.123.net.nz
Admin:  <http://delphi.org.nz/mailman/listinfo/delphi> http://delphi.org.nz/mailman/listinfo/delphi
Unsubscribe: send an email to  <mailto:delphi-request at listserver.123.net.nz> delphi-request at listserver.123.net.nz with Subject: unsubscribe

_______________________________________________
NZ Borland Developers Group - Delphi mailing list
Post:  <mailto:delphi at listserver.123.net.nz> delphi at listserver.123.net.nz
Admin:  <http://delphi.org.nz/mailman/listinfo/delphi> http://delphi.org.nz/mailman/listinfo/delphi
Unsubscribe: send an email to  <mailto:delphi-request at listserver.123.net.nz> delphi-request at listserver.123.net.nz with Subject: unsubscribe

 

_______________________________________________
NZ Borland Developers Group - Delphi mailing list
Post:  <mailto:delphi at listserver.123.net.nz> delphi at listserver.123.net.nz
Admin:  <http://delphi.org.nz/mailman/listinfo/delphi> http://delphi.org.nz/mailman/listinfo/delphi
Unsubscribe: send an email to  <mailto:delphi-request at listserver.123.net.nz> delphi-request at listserver.123.net.nz with Subject: unsubscribe

 

*****************************************************

This email or attachment(s) may contain confidential or legally privileged information intended for the sole use of the addressee(s). Any use, redistribution, disclosure, or reproduction of this message, except as intended, is prohibited. If you received this email in error, please notify the sender and erase all copies of the message, including any attachments.

Any views or opinions expressed in this email (unless otherwise stated) may not represent those of Pegasus Health Ltd.

**********************************************************

*****************************************************

This email or attachment(s) may contain confidential or legally privileged information intended for the sole use of the addressee(s). Any use, redistribution, disclosure, or reproduction of this message, except as intended, is prohibited. If you received this email in error, please notify the sender and erase all copies of the message, including any attachments.

Any views or opinions expressed in this email (unless otherwise stated) may not represent those of Pegasus Health Ltd.

**********************************************************

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listserver.123.net.nz/pipermail/delphi/attachments/20150407/807ee95e/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/jpeg
Size: 4420 bytes
Desc: not available
Url : http://listserver.123.net.nz/pipermail/delphi/attachments/20150407/807ee95e/attachment-0001.jpe 


More information about the Delphi mailing list