Tim, The issue that you are running into is very expected in that there really is no direct mapping between certain language specific artifacts and XML Schema.
A way around this is to first define what a Polygon is in XML Schema, generate the appropriate WSDL and go in the other direction with WSDL2Java. Then you can pump in the data that is used to generate your polygon into the service stub that is generated. You may want to look for tutorials on Top Down / WSDL First design of web services. There are some on the Eclipse site and some excellent ones were given at JavaOne, if you have access to some of the slide decks. Regards, - Anil -----Original Message----- From: Bish, Tim [mailto:[EMAIL PROTECTED] Sent: Thursday, August 25, 2005 4:28 PM To: axis-user@ws.apache.org Subject: Little Help for a Newbie? Howdy I'm pretty new to all this so I hope this isn't to dumb of a question. I'm trying to create a web service for our existing system, and one of our interfaces uses a class that has a java.awt.polygon in it. When I run Java2Wsdl on the files I get this error 05 4:13:47 PM org.apache.axis.wsdl.fromJava.Types isBeanCompatible he class java.awt.Polygon is defined in a java or javax package and cannot be converted into an xml e. An xml schema anyType will be used to define this class in the wsdl file. What is this telling me, why are java or javax packages not convertible to XML? ----------------------------------------- Timothy A. Bish Sensis Corporation 5717 Enterprise Parkway East Syracuse, NY 13057 Phone: (315) 634-3027 [EMAIL PROTECTED] -----------------------------------------