Hi.
Following on from the issues raised earlier in this thread, I have found a similar problem.
Consider ServiceA has a WSD Provider. Imagine ServiceA has input1 and input2. In Developer 8 I create a WSD Consumer. All fine to this point.
However, if I change the ServiceA (eg add input3), right click on the Connector and select ‘Refresh Web Service Connectors’ it does not show me input3. It still has just input1 and input2.
If I delete the Connector, and re-create it from scratch, it works fine. But that defeats the purpose of the ‘Refresh Web Service Connectors’ option.
We found the problem. When you create a Connector for a WSD, it actually places the entire contents of the WSDL within the NODE.NDF file of the Connector
eg:
…
…
<Boolean name="attachmentEnabled">false</Boolean>
<number name="mtomThreshold" type="Integer">0</number>
<value name="externalWSDL"><?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions name="steveProvider" targetNamespace="http://blah.com.au/test/steveProvider" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:soapjms="http://www.w3.org/2008/07/soap/bindings/JMS/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:tns="http://DVNM1A265.vanguard.com.au/stder/steveProvider" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/">
…
By manually removing everything in the tag from NODE.NDF, the ‘Refresh’ button then works perfectly. I can add inputs/outputs to ServiceA, refresh the connector and all is good.
My question is: why does wM cache the original WSD? The times you would want to refresh the connector are because the source has changed its inputs/outputs. If the ‘refresh’ always just reads the original version of the WSDL from cache, it will never get those new inputs/outputs.
Confused as to why wM stores this information. Anyone shed some light on it?
#webMethods#API-Management#soa