New web service project from scratch problems
New web service project from scratch problems
- Subject: New web service project from scratch problems
- From: Claude VÉZINA <email@hidden>
- Date: Tue, 4 Oct 2005 11:40:20 -0400
Hello,
I am creating a new project with XCode 2.1 that is to be a Web
service. Basically, I am trying to get the same result as the
Calculator project with no success. How the Calculator has been
created in the first place, what options should I choose? Currently,
I have choose "WebObject Application", add the Web Service support
option and left everything else empty.
I have been able to run my web service but as soon as I ask for wsdl,
I got the following error:
[2005-10-04 10:35:35 EDT] <WorkerThread1> AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}
Server.userException
faultSubcode:
faultString: org.xml.sax.SAXParseException: Premature end of file.
faultActor:
faultNode:
faultDetail:
{http://xml.apache.org/axis/}stackTrace:
org.xml.sax.SAXParseException: Premature end of file.
at org.apache.xerces.parsers.AbstractSAXParser.parse
(AbstractSAXParser.java:1189)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:345)
at org.apache.axis.encoding.DeserializationContextImpl.parse
(DeserializationContextImpl.java:242)
at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:538)
at org.apache.axis.Message.getSOAPEnvelope(Message.java:376)
at org.apache.axis.server.AxisServer.generateWSDL
(AxisServer.java:488)
at
com.webobjects.appserver._private.WOWebService.performActionNamed
(WOWebService.java:349)
at
com.webobjects.appserver._private.WOActionRequestHandler._handleRequest(
WOActionRequestHandler.java:240)
at
com.webobjects.appserver._private.WOActionRequestHandler.handleRequest
(WOActionRequestHandler.java:142)
at
com.webobjects.appserver._private.WOWebServiceRequestHandler.handleReque
st(WOWebServiceRequestHandler.java:88)
at com.webobjects.appserver.WOApplication.dispatchRequest
(WOApplication.java:1306)
at com.webobjects.appserver._private.WOWorkerThread.runOnce
(WOWorkerThread.java:173)
at com.webobjects.appserver._private.WOWorkerThread.run
(WOWorkerThread.java:254)
at java.lang.Thread.run(Thread.java:552)
What am I doing wrong?
Thanks,
Claude Vezina
BugTV
_______________________________________________
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