Return-Path: X-Original-To: apmail-axis-java-user-archive@www.apache.org Delivered-To: apmail-axis-java-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4CB9B7C90 for ; Mon, 10 Oct 2011 13:42:12 +0000 (UTC) Received: (qmail 11221 invoked by uid 500); 10 Oct 2011 13:42:10 -0000 Delivered-To: apmail-axis-java-user-archive@axis.apache.org Received: (qmail 11073 invoked by uid 500); 10 Oct 2011 13:42:10 -0000 Mailing-List: contact java-user-help@axis.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-user@axis.apache.org Delivered-To: mailing list java-user@axis.apache.org Received: (qmail 11065 invoked by uid 99); 10 Oct 2011 13:42:10 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Oct 2011 13:42:10 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of fahadcv@gmail.com designates 209.85.210.173 as permitted sender) Received: from [209.85.210.173] (HELO mail-iy0-f173.google.com) (209.85.210.173) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Oct 2011 13:42:04 +0000 Received: by iakl21 with SMTP id l21so5662038iak.32 for ; Mon, 10 Oct 2011 06:41:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=R5E8Pjvf/Msn4DCQxvZHIIWGMeOAFIT2KlAbbiftIe8=; b=xyS1VEBUMTM3NLz+rzudTc5++Iq4jvAySLIw3wlnIaA6WJnxTtODYqkL63W3+J0JsI 7oOHamk9CRBY9L3e1NQARN68oc4Y8EtnDJAsCK60kthAa9r84yblxgVi5XqzRUEIdjN7 a8L1Ax+ztkRn5TVEDVtUOKq9khwYpI+ihDoJ8= MIME-Version: 1.0 Received: by 10.231.5.23 with SMTP id 23mr8540153ibt.46.1318254103441; Mon, 10 Oct 2011 06:41:43 -0700 (PDT) Received: by 10.231.31.73 with HTTP; Mon, 10 Oct 2011 06:41:43 -0700 (PDT) In-Reply-To: References: Date: Mon, 10 Oct 2011 19:11:43 +0530 Message-ID: Subject: Re: [Axis2] Problem in WSDL2java conversion From: Fahad cv To: java-user@axis.apache.org Content-Type: multipart/alternative; boundary=00151773da308f312304aef1f31a X-Virus-Checked: Checked by ClamAV on apache.org --00151773da308f312304aef1f31a Content-Type: text/plain; charset=ISO-8859-1 Provided link https://api.yieldmanager.com/api-1.33/adjustment.php?wsdl is not accessible, kindly provide the wsdl file to provide the fix. Also try to replace attribute "*type*" with "*element" *if you using "*type* ". Thanks Fahad On Mon, Oct 10, 2011 at 4:45 PM, Kalpana Prakasam < gkalpanaprakasam@gmail.com> wrote: > I am trying to convert the following wsdl file ( > https://api.yieldmanager.com/api-1.33/adjustment.php?wsdl) to java. > It throws the following error under axis2-1.6.1, but the same file works > fine under axis-1_4. What change should I do in order to resolve this error. > > *Caused by: org.apache.axis2.AxisFault: Part 'detail' of fault message > '{https://* > *api.yieldmanager.com/AdjustmentService}getFault' > must be defined with 'element=Q* > *Name' and not 'type=QName'* > > -- > Regards > Kalpana Prakasam > > --00151773da308f312304aef1f31a Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Provided link=A0https://api.yieldmana= ger.com/api-1.33/adjustment.php?wsdl=A0is not=A0accessible, kind= ly provide the wsdl file to provide the fix.

Also try to replace attribute "type" with "<= span class=3D"Apple-style-span" style=3D"font-family: arial, sans-serif; fo= nt-size: 13px; background-color: rgb(255, 255, 255); ">element"=A0<= /b>if you using "type".

Thanks
Fahad


On Mon, Oct 10, 2011 at 4:45 PM, Kalpana Prakasam <gkalpanaprakasam@gm= ail.com> wrote:
I am trying to conver= t the following wsdl file (https://api.yieldmanager.com/api-1.33/adjustment.ph= p?wsdl)=A0to java.=A0
It throws the following error under=A0=A0axis2-1.6.1, but the same file wor= ks fine under=A0axis-1_4. What change should I do in order to resolve this = error.

Caused by: org.apache.axis2.AxisFau= lt: Part 'detail' of fault message '{https://
api.yieldmanager.com/A= djustmentService}getFault' must be defined with 'element=3DQ
Name' and not 'type=3DQName'

--
Regards
Kalpana Prakasam

--00151773da308f312304aef1f31a--