Error while accessing the schema of a hierarchical service which has a schema
import in the WSDL
------------------------------------------------------------------------------------------------
Key: AXIS2-5058
URL: https://issues.apache.org/jira/browse/AXIS2-5058
Project: Axis2
Issue Type: Bug
Components: kernel
Affects Versions: 1.6.0
Reporter: Isuru Eranga Suriarachchi
Assignee: Isuru Eranga Suriarachchi
Priority: Critical
Fix For: nightly
When accessing the schema of a hierarchical service which has a schema import
in the WSDL, following error occurs.
[ERROR] The endpoint reference (EPR) for the Operation not found is
/axis2/services/foo/bar/SampleService?xsd=SampleService_schema1.xsd and the WSA
Action = null. If this EPR was previously reachable, please contact the server
administrator.
org.apache.axis2.AxisFault: The endpoint reference (EPR) for the Operation not
found is /axis2/services/foo/bar/SampleService?xsd=SampleService_schema1.xsd
and the WSA Action = null. If this EPR was previously reachable, please contact
the server administrator.
at
org.apache.axis2.engine.DispatchPhase.checkPostConditions(DispatchPhase.java:102)
at org.apache.axis2.engine.Phase.invoke(Phase.java:329)
at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:262)
at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:168)
at
org.apache.axis2.transport.http.util.RESTUtil.invokeAxisEngine(RESTUtil.java:144)
at
org.apache.axis2.transport.http.util.RESTUtil.processURLRequest(RESTUtil.java:139)
at
org.apache.axis2.transport.http.HTTPWorker.service(HTTPWorker.java:275)
at
org.apache.axis2.transport.http.server.AxisHttpService.doService(AxisHttpService.java:281)
at
org.apache.axis2.transport.http.server.AxisHttpService.handleRequest(AxisHttpService.java:187)
at
org.apache.axis2.transport.http.server.HttpServiceProcessor.run(HttpServiceProcessor.java:82)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
Therefore, such a service can't be invoked by a client as the client can't
access the schema.
Thanks,
~Isuru
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]