Hi Ruchith,
 
I tried as you suggested below, but the problem continues.
 
The service is "version", not "getVersion".
The operation in that service I want to invoke is "getVersion"
The syntactic convention to invoke an operation via an URL, which works well for all cases and which I follow, is
    <EPR>"?method="<operationName>"&"<parameterName>=<parameterValue>"&"...
 
The following works to obtain wsdl of "version" works.  But the latter to invoke "getVersion" gives me error.
    localhost:8080/axis2/services/version?wsdl
    localhost:8080/axis2/services/version?method=getVersion
The same EPR for axis1.x (replacing "axis2" with "axis") does not give me error. 
 
So what's the basic difference between axis1.x and axis2 to explain the above error.
 
Thanks,
Jaimin

-----Original Message-----
From: Ruchith Fernando [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 31, 2006 12:00 AM
To: [email protected]; [EMAIL PROTECTED]
Subject: Re: [Axis2] making it work


Seems like your service URL is incorrect. Please try using :

http://localhost:8080/axis2/services/version/getVersion

Thanks,
Ruchith

On 8/30/06, Jaimin <[EMAIL PROTECTED]> wrote:
>
>
> I uploaded axis2.war onto Tomcat 5.5.17.  I can see Axis2 home page, service
> listed includes "version", and can get to its wsdl file from the browser.
> But call to method "getVersion" fails with the following error message:
>
> Requested resource not found!
> The URL is
> http://localhost:8080/axis2/services/version?method=getVersion
>
> What am I doing wrong?!?!!?!  Something very simple, eh?
>
> Any help appreciated as I am new to Axis2.  (Things were fine with Axis1).
>
>
>


--
www.ruchith.org

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


--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.405 / Virus Database: 268.11.7/432 - Release Date: 8/29/2006

Reply via email to