Web Services and Axis
Web Services and Axis
- Subject: Web Services and Axis
- From: Corin Lawson <email@hidden>
- Date: Thu, 13 Oct 2005 15:17:21 +1000
Hi all,
I've been successfully developing web services with WO 5.2.3 and have
Axis 1.0 installed using Eclipse. The time has come for those
services to be consumed. A consumer, however, has had difficulty
parsing the wsdl doc. (Apparently a 'schema' element containing empty
'import' and 'element' elements is causing them to choke.) I decided
to upgrade Axis. But now my app breaks at other places.
I tried Axis 2.1alpha. The WSDL was generated successfully and
consumed a little more easily, although there seems to be namespace
problems. But I get this error:
org.xml.sax.SAXException: Bad types (class java.lang.String -> class
java.lang.Integer)
I tried Axis 1.1. I get this error when trying to retrieve the WSDL:
java.lang.AbstractMethodError:
com.webobjects.webservices.support.xml.WORangeSerializer.writeSchema
(Ljava/lang/Class;Lorg/apache/axis/wsdl/fromJava/Types;)Lorg/w3c/dom/
Element;
I tried a few others and got:
A fatal exception occurred:
com.webobjects.webservices.support.WOXMLProvider.getRoles()Ljava/util/
List;
I wondered if it is due to a classpath problem. I have had problems
with the classpath in the past and have cleared the java and wo
extensions folders (java ext only contains mysql-connector-java-3.2.0-
alpha-bin.jar now) and have added the following to my java build path
in eclipse: log4j 1.2.8; jaf 1.0.2; javamail 1.3.2; crimson 1.1.3 and
axis. (And WO Frameworks and JRE System Library are there too,
ofcourse.) Does the Axis above 1.0 depend on anything else?
Thanks,
Corin.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden