am getting really desperate for help here. Its possible that my
emails are not making it to the group, but I hope someone can get me
pointed in the right direction.
I am trying to deploy a WS in Axis2 that was created using
wsdl2java.sh. I took the generated files, extended the Skeleton, and
modified the services.xml to grab the Impl class from Spring.
The end-goal is to have a web service that I can import using
FlexBuilder 3's WS import function. When I kicked off the process,
however, FlexBuilder complained that the WSDL 2.0 file produced was
not a valid WSDL. Further digging showed that FlexBuilder doesn't
seem to support WSDL 2.0, so I tried to follow the recommendation of
the WSDL 1.1 page and set the useOriginalwsdl to false (it was set to
true). However, doing so leaves a nasty stack trace:
08:58:43,038 ERROR [STDERR]
org.apache.axis2.deployment.DeploymentException: The following error
occurred during schema generation: null
08:58:43,039 ERROR [STDERR] at
org
.apache
.axis2
.deployment
.ServiceGroupBuilder.populateServiceGroup(ServiceGroupBuilder.java:106)
08:58:43,039 ERROR [STDERR] at
org
.apache
.axis2
.deployment
.repository.util.ArchiveReader.buildServiceGroup(ArchiveReader.java:110)
08:58:43,039 ERROR [STDERR] at
org
.apache
.axis2
.deployment
.repository.util.ArchiveReader.processServiceGroup(ArchiveReader.java:
179)
08:58:43,039 ERROR [STDERR] at
org
.apache.axis2.deployment.ServiceDeployer.deploy(ServiceDeployer.java:81)
08:58:43,039 ERROR [STDERR] at
org
.apache
.axis2
.deployment
.repository.util.DeploymentFileData.deploy(DeploymentFileData.java:136)
...
Whats interesting is further below in the stack trace:
...
08:58:43,081 ERROR [STDERR] Caused by: org.apache.axis2.AxisFault:
Axis2 Can't find Spring's ApplicationContext
08:58:43,081 ERROR [STDERR] at
org.apache.axis2.AxisFault.makeFault(AxisFault.java:430)
08:58:43,081 ERROR [STDERR] at
org
.apache
.axis2
.extensions
.spring
.receivers
.SpringAppContextAwareObjectSupplier
.getServiceObject(SpringAppContextAwareObjectSupplier.java:63)
08:58:43,081 ERROR [STDERR] ... 159 more
Through some research on Google, I found an article suggesting this
was a coding problem in Axis2: http://www.mail-archive.com/[EMAIL PROTECTED]/msg23055.html
It says its been resolved, but I just updated my maven2 POMs to pull
Axis2 1.4 (was using Axis2 1.3), and I still get the same problem. I
even removed all the 1.3 generated files and re-generated them all
using Axis2 1.4 version of wsdl2java.sh. I am not quite sure I
understand the bug report fully, nor how to fix it.
I could really use some assistance here.
Michael Bauer
[EMAIL PROTECTED]
http://www.codechimp.net