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?
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
there is a problem with your wsdl, you need to fix it there
ASKER
It's not my wsdl. It's a third-party web service I am trying to consume.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Extended as java.lang.Object and also had to modify the wsdl2java generated classes.
:-)