On Wed, May 7, 2008 at 6:55 AM, Samisa Abeysinghe <
[EMAIL PROTECTED]> wrote:

> danclemson wrote:
>
>> Hi,
>>
>> I am new to both web service and axis2, and I have a few questions after
>> reading the manual and examples.
>>  There are diffenernt ways to build web service using axis2. for example
>> using pojo, axiom, or databinding. My question is if I choose to build my
>> web service using axiom, does this forces the client to rely on axiom as
>> well?
>
> Nope the idea of the web services is to communicate using the soap so that
it can be independent of the implementation.
Here you have to keep in mind that your service interface (request and
response message formats) should be declared in the wsdl. Basically what
ever the client get to know about the expected request format using the
wsdl. Therefore if you write a service with Axiom the correct contract may
not be displayed in the
wsdl. So that may cause some problems.

Therefore it is better to use the wsdl2java tool (contract first is the
recommended way) or POJO to increase the interoperability.

thanks,
Amila.

>
>>
> Nop. your client can be .NET and what goes over the wire is XML, that is
> the whole point of Web services.
>
>  Another question is that if the I choose to use rampart for user
>> authentication, does this require the client to use rampart as well?
>>
>>
>
> Nop, but the client needs to send user auth headders somehow.
>
> Samisa...
>
>  thanks /dan
>>
>>
>
>
> --
> Samisa Abeysinghe
>
> http://people.apache.org/~samisa/ <http://people.apache.org/%7Esamisa/>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-- 
Amila Suriarachchi,
WSO2 Inc.

Reply via email to