Why do you need to modify the generated stub? 

When using document/literal, Axis should never include xsi:type
information in the message except when the type was originally defined
as xsd:anyType or if your application changes an element's type from
what has been defined in the schema. If either of these things occur,
then Axis MUST include the type information.

Anne 

On 7/21/05, Thibaut Lassalle <[EMAIL PROTECTED]> wrote:
> thank you for answering so fast !
> i just use WSDL file, no WSDD file.
> What is the way to do that just with WSDL file ?
> Is there a way to just modify a parameter in the stub ? (because i had
> to manually modify the stub, therefore i would like to do not regenerate
> the stub)
> 
> thanks
> thibaut lassalle
> 
> Anne Thomas Manes a écrit :
> 
> >If you don't want to send type information, you should use wrapped
> >document style rather than rpc style. (In your WSDD, specify
> >style="wrapped".) You can also suppress the type information using
> >this parameter in the WSDD:
> >
> ><parameter name="sendXsiTypes" value="false"/>
> >
> >Anne
> >
> >On 7/21/05, Thibaut Lassalle <[EMAIL PROTECTED]> wrote:
> >
> >
> >>hi
> >>
> >>i use a wsdl generated stub to communicate between a .net webservice and
> >>a axis client.
> >>
> >>a typical tag generated by axis is :
> >><CompanyReference xsi:type="ns3:CompanyReferenceType"
> >>xmlns:ns3="http://schemas.monster.com/Monster";>
> >>
> >>but i want it to look like this (without the others tags) :
> >><CompanyReference>
> >>
> >>What do i have to add for my stub for it to have only the one tag?
> >>
> >>thanks
> >>Thibaut
> >>
> >>
> >>
> >>
> >
> >
> >
> >
> 
>

Reply via email to