6 Replies Latest reply on Nov 16, 2006 5:22 AM by Thomas Diesler

    wscompile - Restricted base='xsd:string' mapping issue

    James Christian Newbie

      I'm attempting to generate server side artifacts from an established rpc/literal WSDL file using jwsdp2.0 wscompile and I'm hitting an issue deploying a simpleType that is a restircted length xsd:string.

      From the wsdl...

      ...





      ...

      And on deployment to JBoss 4.0.4RC1...

      2006/03/10 09:26:15.524 WARN JavaWsdlMapping Cannot find jaxrpc-mapping for type: {http://mynamespace}my_id

      2006/03/10 09:26:16.067 WARN TypeMappingDescription Class not found: mynamespace.my_id

      Note that wscompile does not generate a "my_id.java" file, but references it as a java.lang.String. Also, not entry exists in the jaxrpc-mapping.xml for my_id type.

      I can confirm there are no namespace issues as all other artifacts are generated and serialising correctly. Also, other restricted simpleTypes are being used: including the standard enumeration pattern.


      This also fails...





      Without removing the restriction in the WSDL, what else can I do?

      Thanks in advance

      James