Re: org.apache.axis.AxisFault.makeFault(AxisFault.java:101)
P.S. i am a newbie on this group. How do I obtain a copy of the
posting guidelines?
On May 15, 7:02 pm, John Smith <wleu...@gmail.com> wrote:
All,
Any input to resolve the following error is appreciated. Thanks.
I am trying to use a web service that has the following WSDL snippet:
<element name="getServiceIdsResponse">
<complexType>
<sequence>
<element maxOccurs="unbounded" name="getServiceIdsReturn"
type="xsd:long"/>
</sequence>
</complexType>
</element>
The Java code was generated with WSDL2Java. The web service stub
includes:
public interface ServiceAdmin extends java.rmi.Remote {
...
public long[] getServiceIds() throws java.rmi.RemoteException;
...
}
When trying to call this stub method I got:
Exception has occured during health check on grid engines.
Exception: ; nested exception is:
org.xml.sax.SAXParseException: The element type
"getServiceIdsReturn" must be terminated by the matching end-tag "</
getServiceIdsReturn>".
Cause: org.xml.sax.SAXParseException: The element type
"getServiceIdsReturn" must be terminated by the matching end-tag "</
getServiceIdsReturn>".
Stacktrace:
org.apache.axis.AxisFault.makeFault(AxisFault.java:101)
org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:701)
org.apache.axis.Message.getSOAPEnvelope(Message.java:424)
org.apache.axis.transport.http.HTTPSender.readFromSocket
(HTTPSender.java:796)
org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:144)
org.apache.axis.strategies.InvocationStrategy.visit
(InvocationStrategy.java:32)
org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
org.apache.axis.client.Call.invokeEngine(Call.java:2765)
org.apache.axis.client.Call.invoke(Call.java:2748)
org.apache.axis.client.Call.invoke(Call.java:2424)
org.apache.axis.client.Call.invoke(Call.java:2347)
org.apache.axis.client.Call.invoke(Call.java:1804)
org.tds.eqd.gridMonitor.ds.webservices.serviceadmin.ServiceAdminSoapBindi=
ng=ADStub.getServiceIds
(Unknown Source)
org.tds.eqd.gridMonitor.startup.TDStartGridHealthAnalysis.runHealthCheckO=
nE=ADachEngine
(Unknown Source)
org.tds.eqd.gridMonitor.startup.TDStartGridHealthAnalysis.start
(Unknown Source)
org.tds.eqd.gridMonitor.startup.TDStartGridHealthAnalysis.main(Unknown
Source)
AxisFault object:
AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}
Server.userException
faultSubcode:
faultString: org.xml.sax.SAXParseException: The element type
"getServiceIdsReturn" must be terminated by the matching end-
tag "</getServiceIdsReturn>".
faultActor:
faultNode:
faultDetail:
{http://xml.apache.org/axis/}
stackTrace:org.xml.sax.SAXParseException: The element type
"getServiceIdsReturn" must be terminated by the matching end-
tag "</getServiceIdsReturn>".
at
org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException
(Unknown Source)
at org.apache.xerces.util.ErrorHandlerWrapper.fatalError
(Unknown Source)
at org.apache.xerces.impl.XMLErrorReporter.reportError(Un=
known
Source)
at org.apache.xerces.impl.XMLErrorReporter.reportError(Un=
known
Source)
at org.apache.xerces.impl.XMLScanner.reportFatalError(Unk=
nown
Source)
at
org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown
Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl
$FragmentContentDispatcher.dispatch(Unknown Source)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument
(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unk=
nown
Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unk=
nown
Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Sour=
ce)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unkn=
own
Source)
at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.par=
se
(Unknown Source)
at org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Sou=
rce)
at org.apache.axis.encoding.DeserializationContext.parse
(DeserializationContext.java:227)
at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.ja=
va:
696)
at org.apache.axis.Message.getSOAPEnvelope(Message.java:4=
24)
at org.apache.axis.transport.http.HTTPSender.readFromSock=
et
(HTTPSender.java:796)
at org.apache.axis.transport.http.HTTPSender.invoke
(HTTPSender.java:144)
at org.apache.axis.strategies.InvocationStrategy.visit
(InvocationStrategy.java:32)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.jav=
a:
118)
at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83=
)
at org.apache.axis.client.AxisClient.invoke(AxisClient.ja=
va:
165)
at org.apache.axis.client.Call.invokeEngine(Call.java:276=
5)
at org.apache.axis.client.Call.invoke(Call.java:2748)
at org.apache.axis.client.Call.invoke(Call.java:2424)
at org.apache.axis.client.Call.invoke(Call.java:2347)
at org.apache.axis.client.Call.invoke(Call.java:1804)
at
org.tds.eqd.gridMonitor.ds.webservices.serviceadmin.ServiceAdminSoapBindi=
ng=ADStub.getServiceIds
(Unknown Source)
at
org.tds.eqd.gridMonitor.startup.TDStartGridHealthAnalysis.runHealthCheckO=
nE=ADachEngine
(Unknown Source)
at
org.tds.eqd.gridMonitor.startup.TDStartGridHealthAnalysis.start
(Unknown Source)
at
org.tds.eqd.gridMonitor.startup.TDStartGridHealthAnalysis.main(Unknown
Source)