Hi Martin,
Thanks for the info. What you describe happens at the service side. My
concern is whether the client needs to be aware about the MEP of the
operation it is invoking.
Eran answered my questions and I need not use specialized operation client.
Still, I have to figure out the MEP of the operation by parsing WSDL and
looking at whethyer the operation has both input and out or just the input.
I am wondering if tthere is any easier way for a client to know the MEP.
Thanks
-Nirmit
"Martin Gainty"
<[EMAIL PROTECTED]
com> To
<[email protected]>,
08/19/2006 06:11 <[EMAIL PROTECTED]>
PM cc
Subject
Please respond to Re: [Axis2] does client need to
[EMAIL PROTECTED] know MEP?
he.org
The answer is the MEP of an Operation is determined from the Java Method
specifically..
All the public methods in the service implementation class are exposed
(whether you specified that in services.xml or not.)
Axis2 calculates the MEP of an operation by checking its corresponding java
method.
If the method is void, the MEP will be in-only;
else, it will be in-out,
(depending on which MEP message receiver will be set.)
http://www.developer.com/java/ent/article.php/3613896
Does this answer your question?
M-
*********************************************************************
This email message and any files transmitted with it contain confidential
information intended only for the person(s) to whom this email message is
addressed. If you have received this email message in error, please notify
the sender immediately by telephone or email and destroy the original
message without making a copy. Thank you.
----- Original Message -----
From: "Eran Chinthaka" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Saturday, August 19, 2006 3:04 PM
Subject: Re: [Axis2] does client need to know MEP?
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]