Web Services
Web Services
- Subject: Web Services
- From: "Scott, John R" <email@hidden>
- Date: Thu, 29 May 2003 16:15:52 +0100
- Thread-topic: Web Services
I have an existing database application that I want to convert to a Web
Service. I firstly tried following the steps in the overview book but
this didn't work (i.e. adding the Web service-support framework to my
project and adding the method invocation to Application.java). This gave
me an unrecognised symbol error as far as the registerWebServiceForClass
was concerned.
I then tried modifying the Calculator Web Service by using my class in
place of the Calculator class. Whilst the application builds OK when I
try to view the wsdl file I get the following error:
<faultcode
xmlns:ns1="http://xml.apache.org/axis/">ns1:Server.userException</faultc
ode>
<faultstring>WSDLException: faultCode=OTHER_ERROR: Can't find prefix
for 'http://www.w3.org/1999/XMLSchema'. Namespace prefixes must be set
on the Definition object using the addNamespace(...)
method.:</faultstring>
-
<http://chimera09:1820/scripts/WebObjects.exe/Search.woa/ws/Search?wsdl#
#> <detail>
<ns2:stackTrace xmlns:ns2="http://xml.apache.org/axis/">WSDLException:
faultCode=OTHER_ERROR: Can't find prefix for
'http://www.w3.org/1999/XMLSchema'. Namespace prefixes must be set on
the Definition object using the addNamespace(...) method.: at
com.ibm.wsdl.util.xml.DOMUtils.getPrefix(Unknown Source) at
etc.
Any ideas please?
Also is there any documentation, other than the WebObjects 5 overview
book, that provides tips on creating Web Services using WebObjects?
Thanks in advance.
John
Chimera Institute for Socio-Technical Innovation and Research
University of Essex
Ross Building pp1
Adastral Park
Martlesham Heath
Ipswich
IP5 3RE
Email: email@hidden <mailto:email@hidden
<mailto:email@hidden> >
Tel: +44 1473 632271
Mobile: 0771 001 0855
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.