coheigea opened a new pull request, #3550: URL: https://github.com/apache/cxf/pull/3550
…e is configured When a client/server is created with a WSDL location but without a serviceName, CXF derives a default service name from the SEI (<PortType>Service). If the WSDL doesn't contain a service with that name, WSDLServiceFactory treated the WSDL as a "partial" WSDL and generated a default SOAP binding and service from the portType. The real binding was ignored, so anything it declared beyond soap:body - in particular implicit soap:header bindings - was silently lost, and header parameters were not sent. Now, in that situation, if the WSDL contains exactly one service with a port bound to the SEI's portType (and the port can be determined unambiguously), that service and port are used instead. If a default binding still has to be generated while the WSDL contains real bindings for the portType, a warning is logged. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
