Link to home
Start Free TrialLog in
Avatar of brian-barnett
brian-barnett

asked on

java extends problem

After running wsdl2java against a wsdl file, the java that got generated would not compile. Here is the line that does not compile:

public class Cartitems extends java.lang.Object[] implements java.io.Serializable {

The syntax errors are:
- Syntax error, insert ">" to complete ReferenceType1
- Syntax error on token ".", < expected

How can I manually fix these syntax errors?
ASKER CERTIFIED SOLUTION
Avatar of CEHJ
CEHJ
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
there is a problem with your wsdl, you need to fix it there
Avatar of brian-barnett
brian-barnett

ASKER

It's not my wsdl. It's a third-party web service I am trying to consume.
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Extended as java.lang.Object and also had to modify the wsdl2java generated classes.
:-)