You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by mi...@cox.net on 2005/01/03 17:56:13 UTC

Cannot resolve packages...

Hello,

I am using Eclipse to develop my web service client.  I am using Apache Axis 
1.2RC2 on the server, and I have tried to generate the client stubs from WSDL 
using the same version.  

I am sending a complex type for one of my remote methods, and the version 
generated by WSDL2Java cannot resolve javax.xml.namespace or 
org.apache.axis (for the TypeDesc object).  I added the Axis jars to the 
classpath and ensured that they were also added to my eclipse project as 
"libraries."  Within the project workspace, I can find the .class files for the 
packages that cannot be resolved.  If anyone would like to see the class file 
generated for the complex type, please email me.  
Here is the exact wording of the errors I am receiving on the console.

Exception in thread "main" java.lang.Error: Unresolved compilation problems: 
	org.apache.axis cannot be resolved (or is not a valid type) for the field 
Report.typeDesc
	org.apache.axis cannot be resolved or is not a type
	typeDesc cannot be resolved
	javax.xml.namespace cannot be resolved or is not a type
	org.apache.axis cannot be resolved or is not a type
	org.apache.axis cannot be resolved or is not a type
	javax.xml.namespace cannot be resolved or is not a type
	javax.xml.namespace cannot be resolved or is not a type
	typeDesc cannot be resolved
	org.apache.axis cannot be resolved or is not a type
	javax.xml.namespace cannot be resolved or is not a type
	javax.xml.namespace cannot be resolved or is not a type
	typeDesc cannot be resolved
	org.apache.axis cannot be resolved or is not a type
	javax.xml.namespace cannot be resolved or is not a type
	javax.xml.namespace cannot be resolved or is not a type
	typeDesc cannot be resolved
	org.apache.axis cannot be resolved or is not a type
	javax.xml.namespace cannot be resolved or is not a type
	javax.xml.namespace cannot be resolved or is not a type
	typeDesc cannot be resolved
	org.apache.axis cannot be resolved or is not a type
	javax.xml.namespace cannot be resolved or is not a type
	javax.xml.namespace cannot be resolved or is not a type
	typeDesc cannot be resolved
	org.apache.axis cannot be resolved or is not a type
	javax.xml.namespace cannot be resolved or is not a type
	javax.xml.namespace cannot be resolved or is not a type
	typeDesc cannot be resolved
	org.apache.axis cannot be resolved or is not a type
	javax.xml.namespace cannot be resolved or is not a type
	javax.xml.namespace cannot be resolved or is not a type
	typeDesc cannot be resolved
	org.apache.axis cannot be resolved or is not a type
	javax.xml.namespace cannot be resolved or is not a type
	javax.xml.namespace cannot be resolved or is not a type
	typeDesc cannot be resolved
	org.apache.axis cannot be resolved or is not a type
	javax.xml.namespace cannot be resolved or is not a type
	javax.xml.namespace cannot be resolved or is not a type
	typeDesc cannot be resolved
	org.apache.axis cannot be resolved or is not a type
	javax.xml.namespace cannot be resolved or is not a type
	javax.xml.namespace cannot be resolved or is not a type
	typeDesc cannot be resolved
	org.apache.axis cannot be resolved or is not a type
	javax.xml.namespace cannot be resolved or is not a type
	javax.xml.namespace cannot be resolved or is not a type
	typeDesc cannot be resolved
	org.apache.axis cannot be resolved or is not a type
	javax.xml.namespace cannot be resolved or is not a type
	javax.xml.namespace cannot be resolved or is not a type
	typeDesc cannot be resolved
	org.apache.axis cannot be resolved or is not a type
	javax.xml.namespace cannot be resolved or is not a type
	javax.xml.namespace cannot be resolved or is not a type
	typeDesc cannot be resolved
	org.apache.axis cannot be resolved or is not a type
	javax.xml.namespace cannot be resolved or is not a type
	javax.xml.namespace cannot be resolved or is not a type
	typeDesc cannot be resolved
	org.apache.axis cannot be resolved or is not a type
	javax.xml.namespace cannot be resolved or is not a type
	javax.xml.namespace cannot be resolved or is not a type
	typeDesc cannot be resolved
	org.apache.axis cannot be resolved (or is not a valid return type) for the 
method getTypeDesc
	typeDesc cannot be resolved
	org.apache.axis cannot be resolved (or is not a valid return type) for the 
method getSerializer
	javax.xml.namespace cannot be resolved (or is not a valid type) for the 
parameter _xmlType of the method getSerializer
	org.apache.axis cannot be resolved or is not a type
	typeDesc cannot be resolved
	org.apache.axis cannot be resolved (or is not a valid return type) for the 
method getDeserializer
	javax.xml.namespace cannot be resolved (or is not a valid type) for the 
parameter _xmlType of the method getDeserializer
	org.apache.axis cannot be resolved or is not a type
	typeDesc cannot be resolved

	at Report.<init>(Report.java:489)
	at PublishPanel.<init>(PublishPanel.java:49)
	at ReportWindow.<init>(ReportWindow.java:37)
	at ReportPublisherMain.main(ReportPublisherMain.java:32)



Thanks for any assistance.

Mike