Hello,

I'm trying to create a Javascript client for a service using wsdl2js. One of the complex types contains simple content that has a value and an attribute. When I generate bindings with wsdl2js this type is completely ignored, and I can see from looking at the code in org.apache.cxf.javascript.JavascriptUtils#notVeryComplexType that this is intentional. This is preventing me from using the JS bindings for this service.

Here's the fragment of the wsdl with the type I'm referring to:

   <complexType name="ManagedObjectReference">
      <simpleContent>
         <extension base="xsd:string">
            <attribute name="type" type="xsd:string"/>
         </extension>
      </simpleContent>
   </complexType>


Can anyone shed light on why this is the case? How much work might it take to modify the JS generator to handle this type correctly?


Thanks,

Andrew


Reply via email to