Skip to main content

SOAP anottation Schema Validation - atributes order problem

Please note these java.net forums are being decommissioned and use the new and improved forums at https://community.oracle.com/community/java.
2 replies [Last post]
peterB007
Offline
Joined: 2012-02-16

Hello,

there is possibility in METRO turn on Schema Validation to enable server side validation.

Example:

import com.sun.xml.ws.developer.SchemaValidation;
...

@SchemaValidation
@WebService
public class HelloImpl {
}

We encountered problems that atributes of complex type in request should be ordered exactly like it is in XSD schema in other way we got following exception: