• Post Reply Bookmark Topic Watch Topic
  • New Topic

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

 
Nandakumar Ramanujam
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • 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
 
Peer Reynders
Bartender
Posts: 2968
6
  • Mark post as helpful
  • send pies
  • 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

 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!