3 Replies Latest reply on Jan 16, 2005 11:18 PM by hengus

    WSDL error - simpleType

    paullj

      Hi

      I am using the jboss-net module for xdoclet to generate a simple EJB, which is then exposed as a web service.

      The service works correctly, however, there seems to be an error in the WSDL that is generated by AXIS.

      Part of the WSDL is as follows:
      <wsdl:types>

















      </wsdl:types>

      The offending part is the simpleType element. I receive the following error when I try to validate the generated WSDL:

      The content of 'simpleType' named 'ObjectNameType' must match (annotation?, (restriction | list | union)).

      .NET and java clients use the WSDL without any problem, however a visualworks smalltalk client tries to validate the WSDL before generating the client stub.

      Does anyone have any ideas on how to fix the simpleType element ?

      Thanks in advance ...
      Paul