When adding a SOAP binding, the WSDL port setting defaults to a portType value, which leads to an error at runtime. I tried to remove the value and it kept putting the portType value back in! The default behavior for SOAP gateway is to use the first port it finds in the WSDL, so we should leave the port setting empty by default and allow users to specify it if they need to select a different option.
Also, I noticed the contextPath value is defaulting to the app name, but it's not getting persisted into the underlying config model.
So three things really:
1) Don't default WSDL port value to portType
2) Allow WSDL port setting to be empty
3) Make sure contextPath is persisted in switchyard.xml
|