Return-Path: Delivered-To: apmail-ws-axis-user-archive@www.apache.org Received: (qmail 2313 invoked from network); 5 May 2005 13:53:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 5 May 2005 13:53:13 -0000 Received: (qmail 52606 invoked by uid 500); 5 May 2005 13:52:27 -0000 Delivered-To: apmail-ws-axis-user-archive@ws.apache.org Received: (qmail 52554 invoked by uid 500); 5 May 2005 13:52:25 -0000 Mailing-List: contact axis-user-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-user@ws.apache.org list-help: list-unsubscribe: List-Post: Delivered-To: mailing list axis-user@ws.apache.org Received: (qmail 52530 invoked by uid 99); 5 May 2005 13:52:25 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of apache-axis-user@m.gmane.org designates 80.91.229.2 as permitted sender) Received: from main.gmane.org (HELO ciao.gmane.org) (80.91.229.2) by apache.org (qpsmtpd/0.28) with ESMTP; Thu, 05 May 2005 06:52:23 -0700 Received: from root by ciao.gmane.org with local (Exim 4.43) id 1DTgam-0000ey-UM for axis-user@ws.apache.org; Thu, 05 May 2005 15:40:41 +0200 Received: from cpc1-macc1-6-0-cust2.bagu.cable.ntl.com ([81.97.79.2]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 05 May 2005 15:40:40 +0200 Received: from robert by cpc1-macc1-6-0-cust2.bagu.cable.ntl.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 05 May 2005 15:40:40 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: axis-user@ws.apache.org From: Robert Marshall Subject: problem when sending passing long strings in axis 1.1? Date: Thu, 05 May 2005 14:21:14 +0100 Organization: The first against the wall Lines: 93 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: cpc1-macc1-6-0-cust2.bagu.cable.ntl.com User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/22.0.50 (gnu/linux) Cancel-Lock: sha1:iiVyhMM28EyxRXELAE+or04qkzc= Sender: news X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N 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/