So interestingly, the old wsdd file just had a transport defined for
http (which is the default I believe for new projects)
<transport name="http">
<requestFlow>
<handler type="HTTPActionHandler"/>
<handler type="URLMapper"/>
</requestFlow>
</transport>
Axis logs mentioned this on the old app (Axis 1.1):
AxisServer.invoke: Transport = 'http'
But on the new app (Axis 1.4) it was:
AxisServer.invoke: Transport = 'https'
Thus there was no match in the server.wsdd file. So adding a copy for
https did the trick.
<transport name="https">
<requestFlow>
<handler type="HTTPActionHandler"/>
<handler type="URLMapper"/>
</requestFlow>
</transport>
On 20/02/2009, at 12:59 PM, Lachlan Deck wrote:
Hi there,
I've recently updated a server app that was previously using Axis
1.1 to Axis 1.4 but am now getting AxisFault - Server.NoService on
our deployment servers only :-/
wsdl4j was used to generate the stubs for the client apps (that are
out in the wild - all of which use Axis1.4) prior to the upgrade of
the server. They've all been running for months.
Now attempting to upgrade the server - which I've tested both on my
dev machine and our intranet - it seems that Axis isn't behaving.
i.e., the following debug output shows that the service handler is
not being set. I see one or two similar messages on my local machine
(e.g., for attachments or something I guess) but otherwise a service
handler gets registered at some point in the long line of debug
messages.
Can anyone shed some light on what might be going on here?
Thanks.
27941 DEBUG 2009-02-20 11:33:12,091 [WorkerThread15]
(apache.axis.MessageContext, setService, 793) -
MessageContext: setServiceHandler(null)
<...>
27981 DEBUG 2009-02-20 11:33:12,131 [WorkerThread15]
(apache.axis.SOAPPart, getAsSOAPEnvelope, 661) -
Enter: SOAPPart::getAsSOAPEnvelope()
27981 DEBUG 2009-02-20 11:33:12,131 [WorkerThread15]
(axis.i18n.ProjectResourceBundle, handleGetObject, 72) -
org.apache.axis.i18n.resource::handleGetObject(currForm)
27981 DEBUG 2009-02-20 11:33:12,131 [WorkerThread15]
(apache.axis.SOAPPart, getAsSOAPEnvelope, 662) -
current form is FORM_SOAPENVELOPE
27981 DEBUG 2009-02-20 11:33:12,131 [WorkerThread15]
(axis.i18n.ProjectResourceBundle, handleGetObject, 72) -
org.apache.axis.i18n.resource::handleGetObject(noService05)
[2009-2-20 11:33:12 EST] <WorkerThread15> AxisFault
faultCode: {http://xml.apache.org/axis/}Server.NoService
faultSubcode:
faultString: The AXIS engine could not find a target service to
invoke! targetService is null
faultActor:
faultNode:
faultDetail:
{http://xml.apache.org/axis/}stackTrace:The AXIS engine could not
find a target service to invoke! targetService is null
at org.apache.axis.server.AxisServer.invoke(AxisServer.java:270)
at
com
.webobjects
.appserver
._private.WOWebService.performActionNamed(WOWebService.java:437)
at
com
.webobjects
.appserver
._private
.WOActionRequestHandler._handleRequest(WOActionRequestHandler.java:
259)
at
com
.webobjects
.appserver
._private
.WOActionRequestHandler.handleRequest(WOActionRequestHandler.java:161)
at
com
.webobjects
.appserver
._private
.WOWebServiceRequestHandler
.handleRequest(WOWebServiceRequestHandler.java:109)
at
ish
.willowservices
.appserver
.ISHWebServiceRequestHandler
.handleRequest(ISHWebServiceRequestHandler.java:140)
at
com
.webobjects
.appserver.WOApplication.dispatchRequest(WOApplication.java:1687)
at
er
.extensions
.appserver
.ERXApplication.dispatchRequestImmediately(ERXApplication.java:1737)
at
er
.extensions
.appserver.ERXApplication.dispatchRequest(ERXApplication.java:1702)
at
com
.ish
.webobjects
.appserver.ISHApplication.dispatchRequest(ISHApplication.java:1025)
at
ish
.willowservices
.appserver.Application.dispatchRequest(Application.java:236)
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(Thread.java:619)
with regards,
--
Lachlan Deck
with regards,
--
Lachlan Deck