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 "Kamal Pasha Shaikh (JIRA)" <ji...@apache.org> on 2010/10/06 17:35:32 UTC

[jira] Commented: (AXIS2-3237) Generating adb client or service binding has a problem with patterns

    [ https://issues.apache.org/jira/browse/AXIS2-3237?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12918555#action_12918555 ] 

Kamal Pasha Shaikh commented on AXIS2-3237:
-------------------------------------------

Hi Amila,

I am having the same issue with axis2 1.3 wsdl2java eclipse plugin. I tried axis2 1.4 command line wsdl2java tool but it didn't help either. Where can I find the fix for this issue? Can you please post the link?

Thanks,
Kamal

> Generating adb client or service binding has a problem with patterns
> --------------------------------------------------------------------
>
>                 Key: AXIS2-3237
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3237
>             Project: 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: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org