Thanks Ajith
I have changed the command to invoke the wsdl2code by this:
Wsdl2code -uri /afolder/ip.wsdl -o /outputfolder/ip -ss -d xmlbeans -sd
And I have the same result. I thing that all paremeters are being used, because
the service.xml has been created (and is the last parameter)
I have been making proves. If I use the ip.wsdl (that imports the schema using
the tag wsdl:import ) it Works, but I can't use this because it is supplied by
a third party.
I attach the new version of ip.wsdl.
Ricardo Blanes
-----Mensaje original-----
De: Ajith Ranabahu [mailto:[EMAIL PROTECTED]
Enviado el: miércoles, 08 de febrero de 2006 14:18
Para: [email protected]
Asunto: Re: Generating code with wsdl2code
Hi,
I see a number of simpletype restrictions in your schema. ADB does not
support these schema constructions and that may well be the problem
here. Even though you explicitly mentioned -d xmlbeans, there is a
problem with the script (both the bat and the sh) that caused it not
to pick some of the parameters. (I am inclined to think that since the
xmlbeans argument is last, that can be the case)
Please check whether you see any XMLBeans stuff generated.
On 2/8/06, Ricardo Blanes <[EMAIL PROTECTED]> wrote:
>
>
>
> Hi all
>
>
>
> When I generate code using axis2-0.94 wsdl2code applied to a
> wsdl that imports an schema (both of them attached in this mail), the
> receiver class compiles with errors, and the methods in the skeleton class
> has a parameter of type OMElement, instead of the appropriate type based on
> schema and wsdl.
>
>
>
> This is the command I execute:
>
>
>
> Wsdl2code -uri /afolder/ip.wsdl -o /outputfolder/ip -p
> com.tissat.guide.ip -ss -d xmlbeans
>
>
>
> Is this a bug? or have I done anything wrong?
>
>
>
> Thanks, Ricardo Blanes
>
> ________________________________
> Nota Legal: Este correo electronico puede contener informacion
> estrictamente confidencial y es de uso exclusivo del destinatario, quedando
> prohibida a cualquier otra persona su revelacion, copia, distribucion, o el
> ejercicio de cualquier accion relativa a su contenido. Si ha recibido este
> correo electronico por error, por favor, conteste al remitente, y
> posteriormente proceda a borrarlo de su sistema. Gracias por su
> colaboracion.
>
> Confidentiality notice: This e-mail message may contain confidential and/or
> legally privileged information and is solely for the attention and use of
> the intended recipient. Any disclosure, copying, distribution or the taking
> of any action with relation to the contents of this e-mail by any other
> person is strictly prohibited. If you believe that this e-mail has been
> mistakenly sent to you,
> please reply to the sender from whom you received the message in error and
> then delete the original e-mail from your system. Thank you for your
> co-operation. ________________________________
>
>
>
>
>
>
>
>
>
>
--
Ajith Ranabahu
------------------------------------------------------------------------------------------------------------------------------------
Nota Legal: Este correo electrónico puede contener información estrictamente
confidencial y es de uso exclusivo del destinatario, quedando prohibida a
cualquier otra persona su revelación, copia, distribución, o el ejercicio de
cualquier acción relativa a su contenido. Si ha recibido este correo
electrónico por error, por favor, conteste al remitente, y posteriormente
proceda a borrarlo de su sistema. Gracias por su colaboración.
Confidentiality notice: This e-mail message may contain confidential and/or
legally privileged information and is solely for the attention and use of the
intended recipient. Any disclosure, copying, distribution or the taking of any
action with relation to the contents of this e-mail by any other person is
strictly prohibited. If you believe that this e-mail has been mistakenly sent
to you, please reply to the sender from whom you received the message in error
and then delete the original e-mail from your system. Thank you for your
co-operation.
------------------------------------------------------------------------------------------------------------------------------------
guide_trial.xsd
Description: guide_trial.xsd
ip2.wsdl
Description: ip2.wsdl
