Re: Problem with creating client and service

Deepal jayasinghe <[email protected]>
Newsgroups gmane.text.xml.axis.user
Message-ID <[email protected]>
In the service you can take any type object, and that does not have any
relationship with the stub. The reason is communication between the
service and client happen through XML (SOAP). Axis2 knows how to
serialize and deserialize the objects.

Deepal 
> Hi Deepal,
> Thank you for your response. Yes I made a stub. It contains a method
> to access web service operations with a parameter of the type of
> "Object". Actually the parameters for operations in Axiom services are
> OMElements. So I created an OMElements with necessary data and passed
> it to the method provided by stub. When I run the client it gave an
> exception mentioning a serialising problem. Do you have an idea about
> the cause for this problem?
>
> Dimuthu
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.