Generating adb client or service binding has a problem with patterns
--------------------------------------------------------------------
Key: AXIS2-3237
URL: https://issues.apache.org/jira/browse/AXIS2-3237
Project: Axis 2.0 (Axis2)
Issue Type: Bug
Components: adb
Affects Versions: 1.3
Environment: windows XP // JAVA 1.5.0.12// Tomcat 5.5.23 // ant 1.7
Reporter: Erwin Reinhoud
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 ADB stub will only allow one option (the last,
in this case Bas64) to be available otherwise a runtimeException is given. For
the serverside 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.
Comment from userlist:
the problem is ADB looks for one pattern faceset. which is wrong I think
please log a jira.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]