When you say BC SOAP Provider, you mean a JBI Consumes, right?
In this commit, it only covers JBI Consumes and the previous (and current code) was only loading the WSDL from the JBI descriptor.
Concerning Provides (not touched by this commit)… well the WSDL is also loaded from the JBI descriptor!
The difference is that it seems that it is an error (SU start fails) if the WSDL is missing for the Consumes, but it does not (warning logged) if the WSDL is missing for the Provides.
Is there something wrong with all of that? Should we add functionality for loading the WSDL from the external SOAP provider (so for the JBI Provides)?
Ok, I reintroduced the loading of the WSDL on the first call when needed (I call that "on-demand"), I added an integration test (r37687) for it, but the WSDL is loaded earlier if possible.
Also, now it should work better than before for the on-demand behaviour because it's done in a much cleaner way and at the correct time (which wasn't the case before).