You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Erwin Reinhoud (JIRA)" <ji...@apache.org> on 2007/10/01 11:32:50 UTC
[jira] Created: (AXIS2-3237) Generating adb client or service
binding has a problem with patterns
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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org
[jira] Resolved: (AXIS2-3237) Generating adb client or service
binding has a problem with patterns
Posted by "Amila Chinthaka Suriarachchi (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-3237?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Amila Chinthaka Suriarachchi resolved AXIS2-3237.
-------------------------------------------------
Resolution: Fixed
fixed the issue
> 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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org