|
Charak, Here it is. <service name="MyService"> <module
ref="soapmonitor"/> <parameter
name="ServiceClass"
locked="false">edit.webservice.test.MyService</parameter> <operation
name="process"> <messageReceiver
class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/> </operation> </service> From: Charak, Vikas
[mailto:[EMAIL PROTECTED] Can you post your service.xml? From: Syam Prasad
[mailto: Charak, I wanted to see the wsdl file that axis2 generates.
An article by Deepal says the following. When Axis2 finds a service what it does is first it check
whether there are any WSDL files in META-INF directory. If there is give the
priority to the WSDL files and using those Axis2 web service will be created.
If no WSDL files are found then it goes through services.xml file to find the
service implementation class. Using that class, it generates a WSDL file using
a process called Java2WSDL. This will only taken place if the service class was
implemented using Java. Bottom line, when some one ask for ?wsdl for that
particular service it will show the generated WSDL. Thanks, Syam From: Charak, Vikas
[mailto:[EMAIL PROTECTED] Make sure your WSDL is in .aar file .
Another thing which I found was that, if your message receivers are not
RPCMessageReceiver then you get this message. From: Syam Prasad
[mailto: Hi, I am using message style service. When I try to see the wsdl
for my service using URL localhost:8080/services/MyService?wsdl, the response I
get is the following.
<- <error>
<description>Unable to generate WSDL for
this service</description>
<reason>Either user has not dropped the wsdl into META-INF or operations
use message receivers other than RPC.</reason> </error> Can anybody explain me how to see the wsdl? Thanks, Syam |
- RE: Can not see wsdl Syam Prasad
- RE: Can not see wsdl Charak, Vikas
- Re: Can not see wsdl Eran Chinthaka
- RE: Can not see wsdl Syam Prasad
- Re: Can not see wsdl Anne Thomas Manes
