Not quite.. The mid tier has no idea you have created a web service even after you have created one. It has nothing to do with the creation or update process. This is why you have out of the box web services that work although the URL in the WSDL Publishing Location looks something like http://<Mid-Tier-Server-Name>/arsys/WSDL/public/<AR-Server-Name>/ITSM-Whatev er-OTB-Service. Only the AR Server knows about that web service that is present within its definitions. While actually trying to consume the web service, you need to put the actual server name..
That's when the Mid-Tier is called, and the Mid-Tier then looks up for the web service within the AR Server, and executes its operations. The Mid-Tier is as a client by the web service only when the web service is being consumed. So while executing the WSDL's operations, if it finds fields or forms that are called, that are not present in the most up to date Mid-Tier cache, that's when you get the issue you got. So if I am right, you do not even need to flush the Mid-Tier cache after you create a new WS. Or for that matter update it, UNLESS you have a new field to a form that is used by the WSDL. What you are doing is not flushing the cache because of changes to the WSDL. You are flushing the cache so the Mid-Tier becomes aware of the new field or form. The WSDL is like a server side process (like Filters) that does not need a Mid-Tier cache update. Joe _____ From: Action Request System discussion list(ARSList) [mailto:arslist@ARSLIST.ORG] On Behalf Of Brittain, Mark Sent: Friday, January 18, 2013 4:41 PM To: arslist@ARSLIST.ORG Subject: Re: Web Service question We have the same understanding. More I think about my actions it appears that when you create a web service the mid-tier becomes aware of it. When you update a web service, you have to tell the mid-tier. Here is what I did Created a web service, we'll call it WS, and it appeared via the mid-tier. Added a field and the new field and the field did not appear. Renamed the web service as WS_old Created a new web service as WS. The added field appeared in WS_old but not in WS. Something must be tracking, saw WS_old as anew name and made the mid-tier aware but when WS was create, thought mid-tier already knows that name and didn't update. I am guessing but it is the only thing I can come up with. Have a great weekend. Mark From: Action Request System discussion list(ARSList) [mailto:arslist@ARSLIST.ORG] On Behalf Of Joe D'Souza Sent: Friday, January 18, 2013 3:40 PM To: arslist@ARSLIST.ORG Subject: Re: Web Service question ** This is my understanding of why that happens. The Mid-Tier is used as a 'client' for the WSDL. the WSDL is really stored in the AR Server. So when you do a change to the WSDL, the AR Server knows about the change.. And when you use that WSDL, the WSDL uses the mid-tier as a client. All the new changes to your WSDL thus do not impact the Mid-Tier. However, when you create a new field, while creating the WSDL or modifying it, you can see that field and hence can successfully save the WSDL. However, when processing it, its the Mid-Tier that does not see what field the WSDL is trying to reference. Hence you need to refresh the Mid-Tier not because you have some changes in the WSDL, but because the Mid-Tier has to be introduced to that new field. I'm hoping I have not confused you more :-) or that my understanding is not incorrect. Joe _____ From: Action Request System discussion list(ARSList) [mailto:arslist@ARSLIST.ORG] On Behalf Of Brittain, Mark Sent: Friday, January 18, 2013 3:20 PM To: arslist@ARSLIST.ORG Subject: Re: Web Service question Thanks Joe that did the trick. What I don't understand is that I have made other changes and did not have to reload the cache. The changes just appeared. Any ideas why? Mark From: Action Request System discussion list(ARSList) [mailto:arslist@ARSLIST.ORG] On Behalf Of Joe D'Souza Sent: Friday, January 18, 2013 3:01 PM To: arslist@ARSLIST.ORG Subject: Re: Web Service question ** Mark, Amen to TGIF! I may go glacier climbing this weekend! Web services are serviced through the mid tier and require a reload of the mid-tier cache in order for the Mid-Tier to recognize that change. Joe _____ From: Action Request System discussion list(ARSList) [mailto:arslist@ARSLIST.ORG] On Behalf Of Brittain, Mark Sent: Friday, January 18, 2013 12:45 PM To: arslist@ARSLIST.ORG Subject: Web Service question Hi All & TGIF, If I add a field on a form, and then add the field to the web service is the field immediately available for use? Or is it similar to email templates where the email engine only checks every 30 minutes for changes? If so what is the default interval? Any way to speed that up? ARS 7.6.04 SP3 Thanks Mark Mark Brittain Remedy Developer ITILv3 Foundation NaviSite - A Time Warner Cable Company mbritt...@navisite.com Office: 315-453-2912 x5335 Mobile: 315-882.5360 _ARSlist: "Where the Answers Are" and have been for 20 years_ _ARSlist: "Where the Answers Are" and have been for 20 years_ _____ This e-mail is the property of NaviSite, Inc. It is intended only for the person or entity to which it is addressed and may contain information that is privileged, confidential, or otherwise protected from disclosure. Distribution or copying of this e-mail, or the information contained herein, to anyone other than the intended recipient is prohibited. _ARSlist: "Where the Answers Are" and have been for 20 years_ _ARSlist: "Where the Answers Are" and have been for 20 years_ _ARSlist: "Where the Answers Are" and have been for 20 years_ _______________________________________________________________________________ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org "Where the Answers Are, and have been for 20 years"