users@jax-rpc.java.net

Re: problem --- UDDI -- With complex type

From: kathy walsh <Kathleen.Walsh_at_Sun.COM>
Date: Thu, 31 Aug 2006 12:12:32 -0400

Hi Abhijit,

Are you not using the wscompile tool to generate the data binded java code?

For any client application, the recomendation is always to develop
using the wsdl. JAX-RPC will follow the wsdl to java section of the
jax-rpc 1.1 specification.

Kathy

Abhijit Kulkarni wrote:

> Hi,
>
> i am using JAX-RPC client
> method used is UDDI
>
> facing problem in mapping the java types to complex type of the WSDL
>
> thw WSDL part is here..
>
> <s:complexType name="CompanySearch">
> <s:sequence>
> <s:element minOccurs="0" maxOccurs="1" name="Companyname"
> type="s:string" />
> <s:element minOccurs="0" maxOccurs="1" name="CompanyId"
> type="s:string" />
> </s:sequence>
> </s:complexType>
>
>
> i tried to mapp it to Java Object but.. it gave some erroe ..
> something like failed to serealize ... ....registry
>
> can u help me out?
>
>
> Regards,
> abhijit.
>