Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 28010 invoked from network); 10 Oct 2007 11:20:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 10 Oct 2007 11:20:22 -0000 Received: (qmail 97214 invoked by uid 500); 10 Oct 2007 11:20:08 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 97146 invoked by uid 500); 10 Oct 2007 11:20:08 -0000 Mailing-List: contact axis-dev-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-dev@ws.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list axis-dev@ws.apache.org Received: (qmail 97135 invoked by uid 99); 10 Oct 2007 11:20:08 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Oct 2007 04:20:07 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Oct 2007 11:20:11 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id C43377141FE for ; Wed, 10 Oct 2007 04:19:50 -0700 (PDT) Message-ID: <27075401.1192015190800.JavaMail.jira@brutus> Date: Wed, 10 Oct 2007 04:19:50 -0700 (PDT) From: "Etienne (JIRA)" To: axis-dev@ws.apache.org Subject: [jira] Commented: (AXIS2-3259) ADBException: Unexpected subelement contentType In-Reply-To: <15109124.1191934490747.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/AXIS2-3259?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12533705 ] Etienne commented on AXIS2-3259: -------------------------------- OK, I did found the issue... My client application was missing wstx-asl-3.2.1.jar. So, some questions: * why don't i have a class not found exception? * how can this be an issue for some responses and not for other (again, the only difference is the values within tags, the strcture being the same)? On the last point, can this depends on the size of the base64binary element? The one that is correctly retrieved is 4.2kb when the one for which there is a failure is 17kb. > ADBException: Unexpected subelement contentType > ----------------------------------------------- > > Key: AXIS2-3259 > URL: https://issues.apache.org/jira/browse/AXIS2-3259 > Project: Axis 2.0 (Axis2) > Issue Type: Bug > Components: adb > Affects Versions: 1.3 > Environment: WSDL2java generated client > Reporter: Etienne > Attachments: knowledgebase.tar, KnowledgeBaseService.wsdl, request.xml, response.xml, soapbody.xml, tcp-session-parsing-KO.txt, tcp-session-parsing-OK.txt > > > With axis2 I have an issue with a complex type containing a > base64Binary element: > > > type="xsd:base64Binary"/> > type="xsd:string"/> > > > > > When the client fails with the following exception; > org.apache.axis2.AxisFault: org.apache.axis2.databinding.ADBException: > Unexpected subelement contentType > at org.apache.axis2.AxisFault.makeFault(AxisFault.java:417) > at com.foo.MyServiceStub.fromOM(KnowledgeBaseServiceStub.java:5805) > When switching the server to use MTOM (only possible for testing), the issue disappear. > Here is the discussion on axis-user: http://marc.info/?t=119142622400004&r=1&w=4 > Please see attached wsdl, request and response. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org For additional commands, e-mail: axis-dev-help@ws.apache.org