[ 
https://issues.apache.org/jira/browse/JUDDI-623?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13857476#comment-13857476
 ] 

Alex O'Ree commented on JUDDI-623:
----------------------------------

Well I attempted to regenerate the client from wsdl from the current trunk.
C:\juddi\trunk\uddi-ws\src\main\resources>wsimport -Xnocompile -keep 
juddi_api_v1.wsdl
parsing WSDL...


[WARNING] src-resolve: Cannot resolve the name 'ns1:delete_tModel' to a(n) 
'type definition' component.
  line 1002 of 
file:/C:/juddi/trunk/uddi-ws/src/main/resources/juddi_api_v1.wsdl#types?schema3

[WARNING] src-resolve: Cannot resolve the name 'ns2:Signature' to a(n) 'element 
declaration' component.
  line 893 of 
file:/C:/juddi/trunk/uddi-ws/src/main/resources/juddi_api_v1.wsdl#types?schema3

[WARNING] src-resolve: Cannot resolve the name 'ns3:get_subscriptionResults' to 
a(n) 'type definition' component.
  line 991 of 
file:/C:/juddi/trunk/uddi-ws/src/main/resources/juddi_api_v1.wsdl#types?schema3

[ERROR] Two declarations cause a collision in the ObjectFactory class.
  line 999 of file:/C:/juddi/trunk/uddi-ws/src/main/resources/juddi_api_v1.wsdl

[ERROR] (Related to above error) This is the other declaration.
  line 858 of file:/C:/juddi/trunk/uddi-ws/src/main/resources/juddi_api_v1.wsdl

[ERROR] Two declarations cause a collision in the ObjectFactory class.
  line 867 of file:/C:/juddi/trunk/uddi-ws/src/main/resources/juddi_api_v1.wsdl

[ERROR] (Related to above error) This is the other declaration.
  line 1001 of file:/C:/juddi/trunk/uddi-ws/src/main/resources/juddi_api_v1.wsdl

[ERROR] Two declarations cause a collision in the ObjectFactory class.
  line 1000 of file:/C:/juddi/trunk/uddi-ws/src/main/resources/juddi_api_v1.wsdl

[ERROR] (Related to above error) This is the other declaration.
  line 865 of file:/C:/juddi/trunk/uddi-ws/src/main/resources/juddi_api_v1.wsdl

[ERROR] Two declarations cause a collision in the ObjectFactory class.
  line 1003 of file:/C:/juddi/trunk/uddi-ws/src/main/resources/juddi_api_v1.wsdl

[ERROR] (Related to above error) This is the other declaration.
  line 866 of file:/C:/juddi/trunk/uddi-ws/src/main/resources/juddi_api_v1.wsdl


So it's not parsable as is. Also, you may want to do a diff on the 3.3. branch 
wsdl to compare the two. Aside from the added methods, I removed all of the 
uddi data types from the wsdl and added an import statement. Was there a 
specific reason that it was a flat file? In order to make it parsable, I had to 
alter a few elements related to save clerk and save node.

Also, see the linked ticket JUDDI-735. That came up after I realized that there 
was a problem

> WSDL files are not syncronized with JUDDI API ws
> ------------------------------------------------
>
>                 Key: JUDDI-623
>                 URL: https://issues.apache.org/jira/browse/JUDDI-623
>             Project: jUDDI
>          Issue Type: Bug
>    Affects Versions: 3.1.5
>            Reporter: Alex O'Ree
>            Assignee: Alex O'Ree
>            Priority: Blocker
>             Fix For: 3.2, 3.3
>
>
> According to the WSDL, the JUDDI API ws, there is a method called
> save_Clerk, that takes in an input of "save_clerkInfo" and spits out a
> clerk array.
> However in the Java code base, it looks like it was renamed at some
> point to "ClerkDetail" instead of clerk[]  and "SaveClerk" instead of
> "save_clerkInfo".



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to