You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Anil Chukkapalli <an...@gmail.com> on 2007/06/28 22:55:38 UTC

[axis2] Generated wsdl contains exception fault element after every response

Hi

 I have deployed my application as a war file by modifying the axis2
service, when i use the "http://localhost:8080/axis2/services/rwb?wsdl" i
get the wsdl withe an exception fault element after every service. Is there
any way i can see to it that the Exception fault element does not reappear
after every method name as when i am trying to use a .NET client to access
the service it is unable to create a proxy with that element.

<xs:element name="ListAllProjectsResponse">
        <xs:complexType>
          <xs:sequence>
            <xs:element maxOccurs="unbounded" name="return" nillable="true"
type="ns3:Project" />
          </xs:sequence>
        </xs:complexType>
      </xs:element>
 <xs:element name="ExceptionFault">
        <xs:complexType>
          <xs:sequence>
            <xs:element name="Exception" nillable="true" type="xs:anyType"
/>
          </xs:sequence>
  </xs:complexType>


Thanks
Anil

Re: [axis2] Generated wsdl contains exception fault element after every response

Posted by Davanum Srinivas <da...@gmail.com>.
every situation is slightly different, i'd like to make sure that
*your* specific case is fixed too. If you can try the latest nightly
that would be great!

thanks,
dims

On 6/28/07, Anil Chukkapalli <an...@gmail.com> wrote:
> Hi
>
> I have observed that it is not after very element though, it is typically
> after functions that throw an Exception. I just wan to make sure before i
> submit a JIRA as you already seem to have fixed one "
> https://issues.apache.org/jira/browse/AXIS2-2759"
>
>
> Thanks
> Anil
>
>
> On 6/28/07, Davanum Srinivas < davanum@gmail.com> wrote:
> >
> > Please create a JIRA issue and upload your service sample etc..
> >
> > thanks,
> > dims
> >
> > On 6/28/07, Anil Chukkapalli <an...@gmail.com> wrote:
> > > Hi
> > >
> > >  I have deployed my application as a war file by modifying the axis2
> > > service, when i use the
> > > "http://localhost:8080/axis2/services/rwb?wsdl" i get
> the
> > > wsdl withe an exception fault element after every service. Is there any
> way
> > > i can see to it that the Exception fault element does not reappear after
> > > every method name as when i am trying to use a .NET client to access the
> > > service it is unable to create a proxy with that element.
> > >
> > > <xs:element name="ListAllProjectsResponse">
> > >         <xs:complexType>
> > >           <xs:sequence>
> > >             <xs:element maxOccurs="unbounded" name="return"
> nillable="true"
> > > type="ns3:Project" />
> > >           </xs:sequence>
> > >         </xs:complexType>
> > >       </xs:element>
> > >  <xs:element name="ExceptionFault">
> > >          <xs:complexType>
> > >           <xs:sequence>
> > >              <xs:element name="Exception" nillable="true"
> type="xs:anyType"
> > > />
> > >           </xs:sequence>
> > >   </xs:complexType>
> > >
> > >
> > > Thanks
> > > Anil
> > >
> >
> >
> > --
> > Davanum Srinivas :: http://davanum.wordpress.com
> >
> >
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> axis-user-unsubscribe@ws.apache.org
> > For additional commands, e-mail: axis-user-help@ws.apache.org
> >
> >
>
>


-- 
Davanum Srinivas :: http://davanum.wordpress.com

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Re: [axis2] Generated wsdl contains exception fault element after every response

Posted by Anil Chukkapalli <an...@gmail.com>.
Hi

I have observed that it is not after very element though, it is typically
after functions that throw an Exception. I just wan to make sure before i
submit a JIRA as you already seem to have fixed one "
https://issues.apache.org/jira/browse/AXIS2-2759"


Thanks
Anil

On 6/28/07, Davanum Srinivas <da...@gmail.com> wrote:
>
> Please create a JIRA issue and upload your service sample etc..
>
> thanks,
> dims
>
> On 6/28/07, Anil Chukkapalli <an...@gmail.com> wrote:
> > Hi
> >
> >  I have deployed my application as a war file by modifying the axis2
> > service, when i use the
> > "http://localhost:8080/axis2/services/rwb?wsdl" i get the
> > wsdl withe an exception fault element after every service. Is there any
> way
> > i can see to it that the Exception fault element does not reappear after
> > every method name as when i am trying to use a .NET client to access the
> > service it is unable to create a proxy with that element.
> >
> > <xs:element name="ListAllProjectsResponse">
> >         <xs:complexType>
> >           <xs:sequence>
> >             <xs:element maxOccurs="unbounded" name="return"
> nillable="true"
> > type="ns3:Project" />
> >           </xs:sequence>
> >         </xs:complexType>
> >       </xs:element>
> >  <xs:element name="ExceptionFault">
> >          <xs:complexType>
> >           <xs:sequence>
> >              <xs:element name="Exception" nillable="true"
> type="xs:anyType"
> > />
> >           </xs:sequence>
> >   </xs:complexType>
> >
> >
> > Thanks
> > Anil
> >
>
>
> --
> Davanum Srinivas :: http://davanum.wordpress.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>

Re: [axis2] Generated wsdl contains exception fault element after every response

Posted by Davanum Srinivas <da...@gmail.com>.
Please create a JIRA issue and upload your service sample etc..

thanks,
dims

On 6/28/07, Anil Chukkapalli <an...@gmail.com> wrote:
> Hi
>
>  I have deployed my application as a war file by modifying the axis2
> service, when i use the
> "http://localhost:8080/axis2/services/rwb?wsdl" i get the
> wsdl withe an exception fault element after every service. Is there any way
> i can see to it that the Exception fault element does not reappear after
> every method name as when i am trying to use a .NET client to access the
> service it is unable to create a proxy with that element.
>
> <xs:element name="ListAllProjectsResponse">
>         <xs:complexType>
>           <xs:sequence>
>             <xs:element maxOccurs="unbounded" name="return" nillable="true"
> type="ns3:Project" />
>           </xs:sequence>
>         </xs:complexType>
>       </xs:element>
>  <xs:element name="ExceptionFault">
>          <xs:complexType>
>           <xs:sequence>
>              <xs:element name="Exception" nillable="true" type="xs:anyType"
> />
>           </xs:sequence>
>   </xs:complexType>
>
>
> Thanks
> Anil
>


-- 
Davanum Srinivas :: http://davanum.wordpress.com

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org