If the SOAP web service works well through the SoapUI (creating the right SOAP responses), when creating the web service client in Java using different APIs / frameworks, there are various problems when invoking this web service, is it safe to consider a stable web service and problems on the part of the consumer?
I am asking a general question here, I have already asked a detailed question, which is probably too long to read. I'm more interested in the concept than my actual implementation, so if you can answer my question without contacting my longer mail, please do it.
UPDATE : I realized that even if WSDL is compatible with WS-I and works correctly through SoapUI, this is still not enough to conclude that the web service is not broken. As @jtahlborn said, SoapUI is very tolerant of disrupted web services, and this can easily fool you into believing that your web service is working fine, which is what happened in my case.
I am creating a SOAP response in ESB and my problem was that I was using a namespace that was defined in WSDL but not in the schema. SoapUI received the answer and showed it to me (with the wrong namespace); this question could have been avoided if I had enabled the answer verification option .
It is also worth mentioning that in the Java web service client that I created to test my web service, the response could not be loaded into the output object (a NullPointerException error occurred when trying to access the output object), it was caused by a namespace problem, and it started working correctly after fixing the namespace.
source share