Exploring Web services - Using WSDL files with local imports
JoeVincens 100000GUD5 Comments (2) Visits (4144)
With the 18.104.22.168 release of Rational Business Developer, you can use Web Services Description Language (WSDL) files that have local XML Schema Definition (XSD) or WSDL imports and includes. This support encompasses creating EGL interfaces, service skeletons, and records, generation and runtime.
Before 22.214.171.124, we required the WSDL file to be under the EGLSource folder. With 126.96.36.199, this restriction has been removed. If you are using a WSDL with a local import do not put the files under the EGLSource folder. Files in EGLSource folder are compiled; for non-EGL files the compile step copies them to the EGLBin folder, but the process changes the file name to lower case. This can a problem for imports using mixed case file names. My suggestion is to create a folder in the project where you want to create the interface, under that folder copy the WSDL file and all the imports maintaining the folder structure.
Here's an example:
In the example, you will notice I put my WSDL files under WSDLSource/wsdl.
After putting the WSDL files and imported files in the EGL project, consuming them is as easy as the previous release.
A couple of thoughts on performance:
I hope this long awaited enhancement simplifies your SOAP service development with EGL.