[ http://issues.apache.org/jira/browse/AXIS-66?page=comments#action_64282 ]
     
Shawn Zhu commented on AXIS-66:
-------------------------------

Sorry, I just got this messages.

Anthony, thanks.  I realized that FindOptions has been modified as well.  
However, the 04/28/05 build now requires HttpClient-3.0 which in term require 
commons-codec.  I have also tried exactly you have suggested, but my client 
couldn't log in MapPoint (it must be the use of the new codec?).  I reverted my 
client back to axis1.2RC3 release build (not the 04/28/05 version), and hacked 
FindResultMask (basically a copy of FindResultMaskNull with a public 
constructor), and everything works.  So it works for you with your mappoint 
logins?  Also, why FindResultMaskNull?  Why not keep it as FindResultMask just 
as in axis1.1? :)

Davanum, the client code is very simple, you just need to get a MapPoint 
account to run it.


> [xsd:list] WSDL2Java doesn't handle schema <list> enumerations
> --------------------------------------------------------------
>
>          Key: AXIS-66
>          URL: http://issues.apache.org/jira/browse/AXIS-66
>      Project: Axis
>         Type: Bug
>   Components: Basic Architecture
>     Versions: beta-1
>  Environment: Operating System: Other
> Platform: All
>     Reporter: Kevin Dente
>     Assignee: Dominik Kacprzak
>  Attachments: SchemaUtils.java, SymbolTable.java, Utils.java, cc-out.txt, 
> diff.txt, list.wsdl, patch-axis-66.zip, patch_nightlybuild_feb10.zip
>
> Microsoft's .Net WSDL supports the notion of a bitmask enumeration, where 
> multiple enum values can be logically OR'd together (a very useful feature). 
> In 
> C# this is generated using the Flags attribute on an enumerated type. The 
> WSDL 
> that it spits out when you do this looks like:
> <s:simpleType name="MyFlags">
>   <s:list>
>    <s:simpleType>
>     <s:restriction base="s:string">
>      <s:enumeration value="Flag1" />
>      <s:enumeration value="Flag2" />
>      <s:enumeration value="Flag3" />
>     </s:restriction>
>    </s:simpleType>
>   </s:list>
> </s:simpleType>
> WSDL2Java doesn't handle this - it throws an exception when it encounters 
> this 
> WSDL. The exception is:
> java.io.IOException: http://tempuri.org/:MyFlags already exists at
> org.apache.axis.wsdl.toJava.SymbolTable.symbolTablePut(Unknown Source)
>          at
> org.apache.axis.wsdl.toJava.SymbolTable.createTypeFromDef(Unknown Source)
>          at org.apache.axis.wsdl.toJava.SymbolTable.addTypes(Unknown Source)
>          at org.apache.axis.wsdl.toJava.SymbolTable.addTypes(Unknown Source)
>          at org.apache.axis.wsdl.toJava.SymbolTable.addTypes(Unknown Source)
>          at org.apache.axis.wsdl.toJava.SymbolTable.addTypes(Unknown Source)
>          at org.apache.axis.wsdl.toJava.SymbolTable.addTypes(Unknown Source)
>          at org.apache.axis.wsdl.toJava.SymbolTable.addTypes(Unknown Source)
>          at org.apache.axis.wsdl.toJava.SymbolTable.addTypes(Unknown Source)
>          at org.apache.axis.wsdl.toJava.SymbolTable.populateTypes(Unknown
> Source)
>          at org.apache.axis.wsdl.toJava.SymbolTable.populate(Unknown Source)
>          at org.apache.axis.wsdl.toJava.SymbolTable.add(Unknown Source)
>          at org.apache.axis.wsdl.toJava.Emitter.emit(Unknown Source)
>          at org.apache.axis.wsdl.toJava.Emitter.emit(Unknown Source)
>          at org.apache.axis.wsdl.WSDL2Java$WSDLRunnable.run(Unknown Source)
>          at java.lang.Thread.run(Thread.java:484)
> This seems like something that should really be supported.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to