I am getting a SAXParseException similar to the one described in confluence at http://wiki.objectstyle.org/confluence/display/WO/Web+Services-Common+Pitfalls+and+Troubleshooting

org.xml.sax.SAXParseException: Document root element is missing.
        at org.apache.crimson.parser.Parser2.fatal(Parser2.java:3182)
        at org.apache.crimson.parser.Parser2.fatal(Parser2.java:3170)
at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:501)
        at org.apache.crimson.parser.Parser2.parse(Parser2.java:305)
at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:442)
        at javax.xml.parsers.SAXParser.parse(Unknown Source)
at org .apache .axis .encoding.DeserializationContext.parse(DeserializationContext.java:227) at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java: 696)
        at org.apache.axis.Message.getSOAPEnvelope(Message.java:435)
at org.apache.axis.server.AxisServer.generateWSDL(AxisServer.java:471) at com .webobjects .appserver._private.WOWebService.performActionNamed(WOWebService.java: 414) at com .webobjects .appserver ._private .WOActionRequestHandler._handleRequest(WOActionRequestHandler.java:259) at com .webobjects .appserver ._private .WOActionRequestHandler.handleRequest(WOActionRequestHandler.java:158) at com .webobjects .appserver ._private .WOWebServiceRequestHandler .handleRequest(WOWebServiceRequestHandler.java:109) at com .webobjects.appserver.WOApplication.dispatchRequest(WOApplication.java: 1687) at com .webobjects .appserver._private.WOWorkerThread.runOnce(WOWorkerThread.java:144) at com .webobjects.appserver._private.WOWorkerThread.run(WOWorkerThread.java: 226)
        at java.lang.Thread.run(Unknown Source)

The solution seems to be modify server.wsdd. My question is what creates/generates server.wsdd and where should I put it in my deployed WO app?

I also saw another post on webobjects-dev archive that suggests the following.
Locate the "transport" tag in your server application project's
server.wsdd-file and change the value of the "name" attribute to to "https":

<transport name="https">

Second, set the property "-WOWebServiceTransportName" on the server
application to "https".
The first part of the post is similar to the confluence page referenced above but there is no explanation of how to create server.wsdd and where it should be located. FYI: Running WO 5.4.3. The web service works fine when connection directly to the WO App, it only fails going through our production Apache web server.

JR

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to