I observed that in your URL there is a forward slash (/) after the add 
operation.  It should not be here, after the add operation it should have a 
question mark followed by parameters.

Thanks
Raghu
[cid:[email protected]]<http://www.responsys.com/rfp>

From: wadi wadi [mailto:[email protected]]
Sent: Tuesday, May 10, 2011 6:54 AM
To: [email protected]
Subject: Re: invoke wsdl 2.0 webservice from browser

Well, both do not work. It seems wsdl 2.0 webservices require an additional 
thing.

To explain I have a webservice UserService that defines an add() method. The 
code has been generated using the wsdl2java tool with the option -wv 2.0 from a 
wsdl 2.0 file
The tomcat web page displays the following information when UserService is 
deployed:

Available services
UserService
Service EPR : http://localhost:8080/axis2/services/UserService
Service Description : UserService
Service Status : Active
Available Operations

 *   add

When I use the EPR specified above in the browser I get the following error:
The endpoint reference (EPR) for the Operation not found is 
/axis2/services/UserService and the WSA Action = null

I tried the urls you gave me but still not working:
http://localhost:8080/axis2/services/UserService/add/?param0=11,param1=12

The error is the following:

The endpoint reference (EPR) for the Operation not found is 
/axis2/services/UserService/add/?param0=11,param1=12 and the WSA Action = null

Any idea? thanks for your help!



2011/5/10 Martin Gainty <[email protected]<mailto:[email protected]>>
the org.apache.axis2.rest.HttpGetRESTBasedTest.java REST example from Axis2 
identifies comma "," for field delimiters e.g.
        URL wsdlrequestUrl =
                new URL(
                        
"http://127.0.0.1:8080/axis2/services/User2Service/add?param0=5,param1=10";);


Martin --
______________________________________________
Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité

Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger 
sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung 
oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem 
Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. 
Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung 
fuer den Inhalt uebernehmen.

Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le 
destinataire prévu, nous te demandons avec bonté que pour satisfaire informez 
l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est 
interdite. Ce message sert à l'information seulement et n'aura pas n'importe 
quel effet légalement obligatoire. Étant donné que les email peuvent facilement 
être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité 
pour le contenu fourni.




________________________________
Date: Tue, 10 May 2011 11:29:31 +0100
Subject: invoke wsdl 2.0 webservice from browser
From: [email protected]<mailto:[email protected]>
To: [email protected]<mailto:[email protected]>

Hi,

How to invoke a wsdl 2.0 webservice using the browser?

For example for a wsdl 1.1 websevice offering add() method it can be invoked 
using the URL 
http://localhost:8080/axis2/services/UserService/add?param0=5&param1=10<http://localhost:8080/axis2/services/UserService/setTwoNumbers?param0=5&param1=10>
what is the equivalent URL for a wsdl 2.0 webservice?

Thanks for your help!





--
Wadienil.

<<inline: image001.gif>>

Reply via email to