[ 
https://issues.apache.org/jira/browse/AXIS-2771?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andreas Veithen updated AXIS-2771:
----------------------------------

    Fix Version/s:     (was: 1.4)
    
> Document/ Literal Exception
> ---------------------------
>
>                 Key: AXIS-2771
>                 URL: https://issues.apache.org/jira/browse/AXIS-2771
>             Project: Axis
>          Issue Type: Bug
>    Affects Versions: 1.4
>         Environment: I'm using Eclipse, TomCat server
>            Reporter: Hussien Ahmad
>
> I'm using a document/ literal web service.
> I succeed to deploy it on the web server but when I build a client 
> application to consume this web service I got an Axis exception:
> my web service operation signature is int add(int,int);
> AxisFault
> faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.generalException
> faultSubcode:
> faultString: Tried to invoke method public int 
> com.billcom.billing.axisgen.CalcTestSoapBindingSkeleton.sub(int,int) throws 
> java.rmi.RemoteException with arguments java.lang.Integer,null. The arguments 
> do not match the signature.; nested exception is:
> java.lang.IllegalArgumentException
> faultActor:
> faultNode:
> faultDetail:
> {http://xml.apache.org/axis/}hostname:billcom-ac15b4a
> Tried to invoke method public int 
> com.billcom.billing.axisgen.CalcTestSoapBindingSkeleton.sub(int,int) throws 
> java.rmi.RemoteException with arguments java.lang.Integer,null. The arguments 
> do not match the signature.; nested exception is:
> java.lang.IllegalArgumentException
> at 
> org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:222)
> at 
> org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:129)
> at 
> org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java:1087)
> at 
> com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(AbstractSAXParser.java:601)
> at 
> com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanEndElement(XMLDocumentFragmentScannerImpl.java:1774)
> at 
> com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2930)
> at 
> com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:648)
> at 
> com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:140)
> at 
> com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:510)
> at 
> com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:807)
> at 
> com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737)
> at 
> com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:107)
> at 
> com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205)
> at 
> com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:522)
> at javax.xml.parsers.SAXParser.parse(SAXParser.java:395)
> 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:435)
> at 
> org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:62)
> at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206)
> at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
> at org.apache.axis.client.Call.invoke(Call.java:2767)
> at org.apache.axis.client.Call.invoke(Call.java:2443)
> at org.apache.axis.client.Call.invoke(Call.java:2366)
> at org.apache.axis.client.Call.invoke(Call.java:1812)
> at nsCalc.CalcTestSoapBindingStub.sub(CalcTestSoapBindingStub.java:155)
> at CoherisClient.addElement(CoherisClient.java:16)
> at CoherisClient.main(CoherisClient.java:30)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
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]

Reply via email to