[prev in list] [next in list] [prev in thread] [next in thread] 

List:       axis-dev
Subject:    Re: Unexpected subelement Exception
From:       "Wesley Mesquita" <wesleymesquita () gmail ! com>
Date:       2008-11-28 14:03:26
Message-ID: f341a8030811280603m35253244s9be94af55a8e88a6 () mail ! gmail ! com
[Download RAW message or body]

Thanks for reply.

We identifided the problem exactly as you told. The staff from server side
is having problem in provide updated WSDL versions.


On Thu, Nov 27, 2008 at 3:51 PM, WJ Krpelan <krpelan_wj@yahoo.com> wrote:

> Hi,
> according to your info you are receiving an element which relates to a
> different wsdl resp. a different schema.
> to verify the location of that element, monitor the SOAP-messages you send
> and receive
> is your wsdl importing some schemas? watch out for an <import> tag
> Wolfgang
>
> --- On Thu, 11/27/08, Wesley Mesquita <wesleymesquita@gmail.com> wrote:
>
> > From: Wesley Mesquita <wesleymesquita@gmail.com>
> > Subject: Unexpected subelement Exception
> > To: axis-dev@ws.apache.org
> > Date: Thursday, November 27, 2008, 1:59 PM
> > Hi all, I am getting problems in generating calls to a third
> > part Web
> > Service which I have only the WSDL and no access to the
> > server side
> > implementation (I neither know what they are using to
> > implement that). The
> > fact is that I am getting the following exception:
> >
> > "org.apache.axis2.AxisFault:
> > org.apache.axis2.databinding.ADBException:
> > Unexpected subelement obterChamadoPC"
> >
> > For some reason I didnīt get permission from the project
> > manager to post the
> > WSDL file. The only thing I realized is that I didnīt find
> > any reference to
> > "obterChamadoPC" in the WSDL. Is this the cause?
> > I am in doubt because the
> > staff on the server side is telling everything is fine, but
> > I am telling
> > that the WSDL in not compatible with the service so I
> > canīt generate the
> > right clients. My suspect is that I am sending the right
> > data, they are
> > producing the right response but the interface to receive
> > the answer is not
> > compatible with the WSDL that I have..
> >
> > I am using Axis2-1.3 and Eclipse Ganymede WTP to generate
> > the stubs code.
> >
> > I really appreciate any opinions.
> >
> > Thanks in advance.
> >
> > --
> > Wesley Mesquita
> > Computer Engineering Student
> > Institute of Computing
> > University of Campinas (UNICAMP)
> > Mobile: +55 19 93455420
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-dev-help@ws.apache.org
>
>


-- 
Wesley Mesquita
Computer Engineering Student
Institute of Computing
University of Campinas (UNICAMP)
Mobile: +55 19 93455420
LinkedIn: http://www.linkedin.com/in/wesleymesquita

[Attachment #3 (text/html)]

Thanks for reply.<br><br>We identifided the problem exactly as you told. The staff \
from server side is having problem in provide updated WSDL versions. <br><br><br><div \
class="gmail_quote">On Thu, Nov 27, 2008 at 3:51 PM, WJ Krpelan <span \
dir="ltr">&lt;<a href="mailto:krpelan_wj@yahoo.com">krpelan_wj@yahoo.com</a>&gt;</span> \
wrote:<br> <blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, \
204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi,<br> according to your \
info you are receiving an element which relates to a different wsdl resp. a different \
schema.<br> to verify the location of that element, monitor the SOAP-messages you \
send and receive<br> is your wsdl importing some schemas? watch out for an \
&lt;import&gt; tag<br> Wolfgang<br>
<br>
--- On Thu, 11/27/08, Wesley Mesquita &lt;<a \
href="mailto:wesleymesquita@gmail.com">wesleymesquita@gmail.com</a>&gt; wrote:<br> \
<br> &gt; From: Wesley Mesquita &lt;<a \
href="mailto:wesleymesquita@gmail.com">wesleymesquita@gmail.com</a>&gt;<br> &gt; \
Subject: Unexpected subelement Exception<br> &gt; To: <a \
href="mailto:axis-dev@ws.apache.org">axis-dev@ws.apache.org</a><br> &gt; Date: \
Thursday, November 27, 2008, 1:59 PM<br> <div><div></div><div class="Wj3C7c">&gt; Hi \
all, I am getting problems in generating calls to a third<br> &gt; part Web<br>
&gt; Service which I have only the WSDL and no access to the<br>
&gt; server side<br>
&gt; implementation (I neither know what they are using to<br>
&gt; implement that). The<br>
&gt; fact is that I am getting the following exception:<br>
&gt;<br>
&gt; &quot;org.apache.axis2.AxisFault:<br>
&gt; org.apache.axis2.databinding.ADBException:<br>
&gt; Unexpected subelement obterChamadoPC&quot;<br>
&gt;<br>
&gt; For some reason I didnīt get permission from the project<br>
&gt; manager to post the<br>
&gt; WSDL file. The only thing I realized is that I didnīt find<br>
&gt; any reference to<br>
&gt; &quot;obterChamadoPC&quot; in the WSDL. Is this the cause?<br>
&gt; I am in doubt because the<br>
&gt; staff on the server side is telling everything is fine, but<br>
&gt; I am telling<br>
&gt; that the WSDL in not compatible with the service so I<br>
&gt; canīt generate the<br>
&gt; right clients. My suspect is that I am sending the right<br>
&gt; data, they are<br>
&gt; producing the right response but the interface to receive<br>
&gt; the answer is not<br>
&gt; compatible with the WSDL that I have..<br>
&gt;<br>
&gt; I am using Axis2-1.3 and Eclipse Ganymede WTP to generate<br>
&gt; the stubs code.<br>
&gt;<br>
&gt; I really appreciate any opinions.<br>
&gt;<br>
&gt; Thanks in advance.<br>
&gt;<br>
&gt; --<br>
&gt; Wesley Mesquita<br>
&gt; Computer Engineering Student<br>
&gt; Institute of Computing<br>
&gt; University of Campinas (UNICAMP)<br>
&gt; Mobile: +55 19 93455420<br>
<br>
<br>
<br>
<br>
</div></div>---------------------------------------------------------------------<br>
To unsubscribe, e-mail: <a \
href="mailto:axis-dev-unsubscribe@ws.apache.org">axis-dev-unsubscribe@ws.apache.org</a><br>
 For additional commands, e-mail: <a \
href="mailto:axis-dev-help@ws.apache.org">axis-dev-help@ws.apache.org</a><br> <br>
</blockquote></div><br><br clear="all"><br>-- <br>Wesley Mesquita<br>Computer \
Engineering Student<br>Institute of Computing<br>University of Campinas \
(UNICAMP)<br>Mobile: +55 19 93455420<br>LinkedIn: <a \
href="http://www.linkedin.com/in/wesleymesquita">http://www.linkedin.com/in/wesleymesquita</a><br>




[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic