I've generated stub functions from a wsdl file and most of the time
invoking those methods runs correctly however when I pass a long
string as one parameter I get the traceback at the foot of this
message.

The generated method is as follows

    public int sendMessage(java.lang.String username, java.lang.String password,
    java.lang.String deviceMSISDN, java.lang.String message, boolean 
deliveryReport,
    java.lang.String mtBearer)
    throws java.rmi.RemoteException, 
com.orange.telematics.otel.soap.MessageServiceException

I can send messages like this (of the length that fails) using a C++
application which has used the Borland methods for generated stubs
from the wsdl and previously I was attempting to use axis 1.2RC3 this
also worked ok. Unfortunately RC3 gave me problems when running the
code from inside Oracle (which 1.1 doesn't).

It seems that strings of around 300 characters give problems (the message 
parameter).

Are there any known workarounds for this or is likely that I'm doing something 
else wrong?

Robert

AxisFault
 faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
 faultSubcode: 
 faultString: com.orange.telematics.otel.soap.MessageServiceException: 
 faultActor: 
 faultNode: 
 faultDetail: 
        {http://xml.apache.org/axis/}stackTrace: AxisFault
 faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
 faultSubcode: 
 faultString: com.orange.telematics.otel.soap.MessageServiceException: 
 faultActor: 
 faultNode: 
 faultDetail: 

com.orange.telematics.otel.soap.MessageServiceException: 
        at 
org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:260)
        at 
org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:169)
        at 
org.apache.axis.encoding.DeserializationContextImpl.endElement(DeserializationContextImpl.java:1015)
        at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1712)
        at org.apache.crimson.parser.Parser2.content(Parser2.java:1963)
        at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1691)
        at org.apache.crimson.parser.Parser2.content(Parser2.java:1963)
        at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1691)
        at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:667)
        at org.apache.crimson.parser.Parser2.parse(Parser2.java:337)
        at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:448)
        at javax.xml.parsers.SAXParser.parse(SAXParser.java:345)
        at 
org.apache.axis.encoding.DeserializationContextImpl.parse(DeserializationContextImpl.java:242)
        at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:538)
        at org.apache.axis.Message.getSOAPEnvelope(Message.java:376)
        at org.apache.axis.client.Call.invokeEngine(Call.java:2583)
        at org.apache.axis.client.Call.invoke(Call.java:2553)
        at org.apache.axis.client.Call.invoke(Call.java:2248)
        at org.apache.axis.client.Call.invoke(Call.java:2171)
        at org.apache.axis.client.Call.invoke(Call.java:1691)
        at 
uk.co.orange.m2mconnect.orange_soap.services.MessageService.MessageServiceSoapBindingStub.sendMessage(MessageServiceSoapBindingStub.java:270)
        at com.Ubiquitis.MessageCentre.M2M.sendMessage(M2M.java:287)
        at com.Ubiquitis.MessageCentre.M2M.main(M2M.java:573)


com.orange.telematics.otel.soap.MessageServiceException: 
        at 
org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:260)
        at 
org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:169)
        at 
org.apache.axis.encoding.DeserializationContextImpl.endElement(DeserializationContextImpl.java:1015)
        at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1712)
        at org.apache.crimson.parser.Parser2.content(Parser2.java:1963)
        at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1691)
        at org.apache.crimson.parser.Parser2.content(Parser2.java:1963)
        at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1691)
        at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:667)
        at org.apache.crimson.parser.Parser2.parse(Parser2.java:337)
        at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:448)
        at javax.xml.parsers.SAXParser.parse(SAXParser.java:345)
        at 
org.apache.axis.encoding.DeserializationContextImpl.parse(DeserializationContextImpl.java:242)
        at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:538)
        at org.apache.axis.Message.getSOAPEnvelope(Message.java:376)
        at org.apache.axis.client.Call.invokeEngine(Call.java:2583)
        at org.apache.axis.client.Call.invoke(Call.java:2553)
        at org.apache.axis.client.Call.invoke(Call.java:2248)
        at org.apache.axis.client.Call.invoke(Call.java:2171)
        at org.apache.axis.client.Call.invoke(Call.java:1691)
        at 
uk.co.orange.m2mconnect.orange_soap.services.MessageService.MessageServiceSoapBindingStub.sendMessage(MessageServiceSoapBindingStub.java:270)
        at com.Ubiquitis.MessageCentre.M2M.sendMessage(M2M.java:287)
        at com.Ubiquitis.MessageCentre.M2M.main(M2M.java:573)

-- 
La grenouille songe..dans son château d'eau
Links and things http://rmstar.blogspot.com/

Reply via email to