Hi,
Please see my answers in-line,

I have some more question in general. If you feel these are silly questions,
I'm very sorry for taking your time.
a. If there are complex types in the webservice call, does the ServiceClient
takes care of the regsitering the complex type or I have to do it
explicitly.

As for the dynamic client - no. But if you care to generate stubs then
you can ask the code generator to generate java  beans for the complex
types. However there is no option in the service client to pass them
in - the sevice client handles the payload at OM level and the
conversion should happen prior to reaching the service client!

b. With WSDL2Java when the java classes for the client side are generated,
in some cases, the wsdl url may be available in a development environment.
But in production environment they will be different and so also the end
point address, Id there is any way to externalize as properties. I looked
into it and could not figure it out.

The stub has a constructor which can be passed an endpoint URL.

Thanks for your time and help.
regards,
cbear


On 6/17/06, Eran Chinthaka <[EMAIL PROTECTED] > wrote:
> Hi,
>
> Its Axis2's client api. In other words that the api client use to invoke
> web services with Axis2.
> I strongly recommend you to read our user guide.
>
> -- Chinthaka
>
> Wishing Carebear wrote:
> > Chinthaka:
> > Thanks for your reply.
> > Could you please explain a little bit about ServiceClient. Is this a
> > different opensource or art of axis2.
> >
> > Thanks,
> > cbear
> > On 6/17/06, Ajith Ranabahu <[EMAIL PROTECTED]> wrote:
> >>
> >> Hi,
> >> if you are looking into a totally dynamic case also look into the
> >> possibility of using the serviceClient since there is a mode where you
> >> can pass in a WSDL to the constructor and get it fully configured!
> >>
> >> Ajith
> >>
> >> On 6/17/06, Eran Chinthaka <[EMAIL PROTECTED]> wrote:
> >> > Wishing Carebear wrote:
> >> > > Hello:
> >> > > I want to build a tool that has to talk to different webservices by
> >> taking
> >> > > in the wsdl and invoke the webservcie by getting the relevant
inputs.
> >> > >
> >> >
> >> > You can easily do this by creating stubs using Axis2 code generation.
> >> > Read Axis2 User guide and code generation guide.
> >> >
> >> > -- Chinthaka
> >> >
> >> >
> >> >
> >> >
> >>
> >>
> >> --
> >> Ajith Ranabahu
> >>
> >>
---------------------------------------------------------------------
> >> To unsubscribe, e-mail:
[EMAIL PROTECTED]
> >> For additional commands, e-mail: [EMAIL PROTECTED]
> >>
> >>
> >
>
>
>
>
>




--
Ajith Ranabahu

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to