Hi,
I have migrated my services from axis2. 1.3 to axis2 1.4, and I am getting
the following error whenever I invoke any service. Please advice, Thanks in
advance
*This code does't work: *
public void invokeBusinessLogic(
org.apache.axis2.context.MessageContext msgContext,
org.apache.axis2.context.MessageContext newMsgContext)
throws org.apache.axis2.AxisFault {
try {
// get the implementation class
Object obj = getTheImplementationObject(msgContext);
//System.out.println("Message xml :
"+msgContext.getEnvelope());
..... more code
}
This code Works(removing comments from the System.out.):
public void invokeBusinessLogic(
org.apache.axis2.context.MessageContext msgContext,
org.apache.axis2.context.MessageContext newMsgContext)
throws org.apache.axis2.AxisFault {
try {
// get the implementation class
Object obj = getTheImplementationObject(msgContext);
* System.out.println("Message xml : "+msgContext.getEnvelope());
*
..... more code
}
*Exception: *
- <#> <soapenv:Envelope xmlns:soapenv="*
http://schemas.xmlsoap.org/soap/envelope/*">
- <#> <soapenv:Body>
- <#> <soapenv:Fault>
<faultcode>soapenv:Server</faultcode>
<faultstring>Parser has already reached end of the document. No siblings
found</faultstring>
<detail />
</soapenv:Fault>
</soapenv:Body>
</soapenv:Envelope>