Hello All,
 
I send this question before under an unrelated subject and did not see any 
response. Am i wrong hat the following is unexpected behaviour in axis2 1.3?
 
I have a WSDL / XSD with the following:
 
<xsd:attribute name="Type">
   <xsd:simpleType>
    <xsd:restriction base="xsd:string">
     <xsd:pattern value="String"/>
     <xsd:pattern value="Base64"/>
    </xsd:restriction>
   </xsd:simpleType>
  </xsd:attribute>
 
 
I found that generating a client stub will only allow one option (the last, in 
this case Bas64) to be available otherwise a runtimeException is given. For the 
serverside i think the same counts (service gives soapfault and no detail 
message).  So the problem is that generating the type attribute only makes the 
last option a valid selection.
 
Kind regards,
Erwin
 
 

Reply via email to