users@jax-rpc.java.net

Re: xrpcc and namespace

From: Arun Gupta <arun.gupta_at_sun.com>
Date: Fri, 10 May 2002 15:11:08 -0700

Hi Kyle,

Namespace mapping to JAX-RPC value types will be supported in the
upcoming release of JAX-RPC.

Thanks for your interest in JAX-RPC.

Regards,
-Arun

Kyle Lomeli wrote:

>I am trying to get my JAX-RPC client to send a JavaBean parameter to my Web
>service. I am using JAX-RPC RI (JWSDP-EA2) and am using the xrpcc tool to
>generate the client stub files.
>
>I have realized that the namespace for the custom type does not match the
>targetNamespace that the WSDL document defines for the custom type. Instead,
>JAX-RPC replaces it with the package structure.
>
>xmlns:ns1="http://common.casestudy.jws1.deitel.com"
>
>should be
>
>xmlns:ns1="FlatBug:Deitel"
>
>Here is the corresponding part of the WSDL:
>
>...
><schema xmlns="http://www.w3.org/2001/XMLSchema"
>targetNamespace="FlatBug:deitel">
> <complexType name="Customer">
> <sequence>
> ...
> </sequence>
> </complexType>
> <element name="Customer" nillable="true" type="tns1:Customer" />
> </schema>
>...
>
>Is there an element I can place in the configuration file or is there an
>xrpcc option that will enable me to control what the namespace is for the
>Customer type?
>
>*******************************************************
> Kyle Lomel?
> Software Developer
> Deitel & Associates, Inc.
> www.deitel.com
>
> Register now for the DEITEL BUZZ e-mail newsletter at
> http://www.deitel.net/newsletter/subscribe.html
>*******************************************************
>

--
=============================================
There is only one me, I must live myself!
There is only one today, I must live itself!
=============================================
http://members.tripod.com/~apgupta/index.html
=============================================