• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

clientgen error during weblogic 8.1 client stub generation from weblogic 9.2 WSDL

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

Iam trying to generate the client stub for weblogic 8.1 from weblogic 9.2 WSDL in jdk1.4.

But Iam getting the following error.

[clientgen] parameters is already defined.

Please help me in solving this error.

Thanks,
Nandakumar
 
Bartender
Posts: 2968
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
In another case three years ago somebody had the same problem

[clientgen] C:\Documents and Settings\525328.ROCKIT\Local Settings\Temp\test.jar
198043065\com\bah\elexnet\methods\client\accesscontrol\MACSPortType.java:15:
parameters is already defined in
unArchiveUser(
com.bah.elexnet.methods.UnArchiveUser,
com.bah.elexnet.methods.holders.UnArchiveUserResponseHolder
)
[clientgen] public void unArchiveUser(
com.bah.elexnet.methods.UnArchiveUser parameters,
com.bah.elexnet.methods.holders.UnArchiveUserResponseHolder parameters
)

As you can see there is something in the WSDL that makes clientgen use the parameter name "parameters" twice in the same method signature.

Any chance that you can show the WSDL and more of the error?

Now if your problem is related to the above then there might be a brute force solution - never have more than one parameter in the WebMethod signature on the WL9.2 side. That is

Changes to

 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic