I have a couple methods that return a simple object
(using the standard beanMapping). At first, this was causing trouble
deserializing on the client side, apparently due to the use of multiref. To get
that working, I had to set sendMultiRefs to false in the server-config.wsdd
(there's probably a better way). Both methods now works perfectly, one
returning a single instances and the other an array of instances of the
given object.
Now, I have a method that takes an instance of
that same object as a parameter. The message sent to the server uses multiref
(as monitored in TCPMonitor), and the server is having trouble deserializing
(see exception below).
Any suggestions would be greatly
appreciated!
Here are the three methods (first two
work):
public IncidentVO
getIncident(java.lang.String String_1) throws
java.rmi.RemoteException{
public IncidentVO[] getIncidentList(java.lang.String String_1, java.lang.String String_2) throws java.rmi.RemoteException{ public void updateIncident(IncidentVO IncidentVO_1) throws java.rmi.RemoteException{ The following is exception is returned (as a
fault):
java.lang.NullPointerException
at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:134) at org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java:671) at org.apache.xerces.parsers.AbstractSAXParser.endElement(AbstractSAXParser.java:432) at org.apache.xerces.impl.xs.XMLSchemaValidator.endElement(XMLSchemaValidator.java:504) at org.apache.xerces.impl.XMLNamespaceBinder.handleEndElement(XMLNamespaceBinder.java:829) at org.apache.xerces.impl.XMLNamespaceBinder.endElement(XMLNamespaceBinder.java:626) at org.apache.xerces.impl.dtd.XMLDTDValidator.handleEndElement(XMLDTDValidator.java:2731) at org.apache.xerces.impl.dtd.XMLDTDValidator.endElement(XMLDTDValidator.java:900) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.handleEndElement(XMLDocumentFragmentScannerImpl.java:1136) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(XMLDocumentFragmentScannerImpl.java:978) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1437) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:328) at org.apache.xerces.parsers.StandardParserConfiguration.parse(StandardParserConfiguration.java:479) at org.apache.xerces.parsers.StandardParserConfiguration.parse(StandardParserConfiguration.java:521) at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:148) at org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:972) at javax.xml.parsers.SAXParser.parse(Unknown Source) at org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:204) at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:378) at org.apache.axis.client.Call.invoke(Call.java:1268) at org.apache.axis.client.Call.invoke(Call.java:1113) at org.apache.axis.client.Call.invoke(Call.java:1043) at org.apache.axis.client.Call.invoke(Call.java:676) at
org.incident.IncidentServiceStub.updateIncident(IncidentServiceStub.java:124)
|