Misleading Exception "The deployed wsdl defines more than one service" ----------------------------------------------------------------------
Key: SM-1116 URL: https://issues.apache.org/activemq/browse/SM-1116 Project: ServiceMix Issue Type: Bug Components: servicemix-jsr181 Affects Versions: 3.1.2 Reporter: Oliver Brusberg Priority: Minor The SE reports "The deployed wsdl defines more than one service" when no service is defined at all. This is due to the condition if (definition.getServices().size() != 1) { ... An additional check if (definition.getServices().size() < 1) { throw new IllegalArgumentException("The deployed wsdl defines no service at all"); } should be added in the method registerService() in org.apache.servicemix.jsr181.Jsr181Endpoint.java just before the !=1-check. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.