J
John Smith
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.ServiceAdminSoapBindingStub.getServiceIds
(Unknown Source)
org.tds.eqd.gridMonitor.startup.TDStartGridHealthAnalysis.runHealthCheckOnEachEngine
(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/}
stackTracerg.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(Unknown
Source)
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown
Source)
at org.apache.xerces.impl.XMLScanner.reportFatalError(Unknown
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(Unknown
Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown
Source)
at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse
(Unknown Source)
at org.apache.xerces.jaxp.SAXParserImpl.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:424)
at org.apache.axis.transport.http.HTTPSender.readFromSocket
(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.java:
118)
at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:
165)
at org.apache.axis.client.Call.invokeEngine(Call.java:2765)
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.ServiceAdminSoapBindingStub.getServiceIds
(Unknown Source)
at
org.tds.eqd.gridMonitor.startup.TDStartGridHealthAnalysis.runHealthCheckOnEachEngine
(Unknown Source)
at
org.tds.eqd.gridMonitor.startup.TDStartGridHealthAnalysis.start
(Unknown Source)
at
org.tds.eqd.gridMonitor.startup.TDStartGridHealthAnalysis.main(Unknown
Source)
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.ServiceAdminSoapBindingStub.getServiceIds
(Unknown Source)
org.tds.eqd.gridMonitor.startup.TDStartGridHealthAnalysis.runHealthCheckOnEachEngine
(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/}
stackTracerg.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(Unknown
Source)
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown
Source)
at org.apache.xerces.impl.XMLScanner.reportFatalError(Unknown
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(Unknown
Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown
Source)
at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse
(Unknown Source)
at org.apache.xerces.jaxp.SAXParserImpl.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:424)
at org.apache.axis.transport.http.HTTPSender.readFromSocket
(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.java:
118)
at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:
165)
at org.apache.axis.client.Call.invokeEngine(Call.java:2765)
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.ServiceAdminSoapBindingStub.getServiceIds
(Unknown Source)
at
org.tds.eqd.gridMonitor.startup.TDStartGridHealthAnalysis.runHealthCheckOnEachEngine
(Unknown Source)
at
org.tds.eqd.gridMonitor.startup.TDStartGridHealthAnalysis.start
(Unknown Source)
at
org.tds.eqd.gridMonitor.startup.TDStartGridHealthAnalysis.main(Unknown
Source)