|
Christina,
Take a look at the deploy.wsdd file created by axis when
you ran JAVA2WSDL. Under the <service> tag will be a <parameter> tag
with the "allowedMethods" such as this:
<parameter
name="allowedMethods" value="main echoValue"/>
or, if you allowed all methods from the class, it would
look like:
<parameter
name="allowedMethods" value="*"/>
You may want to try running undeploying, changing the
deploy.wsdd to allow all methods (as shown above), and then
redeploying.
Greg From: Christina Wulf [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 15, 2006 11:30 PM To: [email protected] Subject: SV: Deploy fine - where's my methods? Hi Subir
:O) Thanks for your
reply…. That’s exactly my
problem – when I access http://localhost:8080/axis/servlet/AxisServlet it
shows me the service DataFacade but the methods aren’t
listed… When I go to
http://localhost:8080/axis/services /DataFacade it tells me that I have a web
service…. – but if I don’t have any methods
listed?! Kind Regards
Christina
Fra:
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Access
http://localhost:8080/axis/services/DataFacade?wsdl to view the wsdl file.
It describes the operations of your service. Your services by
default would be deployed in
http://<server-host>:<port>/axis/servlet/AxisServlet
Regards, Subir From: Christina Wulf
[mailto:[EMAIL PROTECTED] Hi everybody,
I have a problem… When
I use WSDL2Java to generate java code it looks like it works fine, the code
compiles and deploys as expected, but when I try to access my service the
services page just writes the name of my service but none of its methods are
listed. What to do – What to do?? My Java2WSDL Command
is: java -cp
.;%AXISCLASSPATH% org.apache.axis.wsdl.Java2WSDL -o DF.wsdl
-l"http://localhost:8080/axis/services/DataFacade" -n "urn:DataFacadeWS"
-p"%basedir%\constants" "urn:DataFacadeWS" -p"%basedir%\facade"
"urn:DataFacadeWS" -p"%basedir%\midtier\dao" "urn:DataFacadeWS"
-p"%basedir%\midtier\dto" "urn:DataFacadeWS" -p"%basedir%\midtier\factory"
"urn:DataFacadeWS" -p"%basedir%\midtier\jdbc" "urn:DataFacadeWS"
-p"%basedir%\midtier\exceptions" "urn:DataFacadeWS" -p"%basedir%\util"
"urn:DataFacadeWS" -a -i dk.decon.dsi.facade.DataFacade
dk.decon.dsi.facade.DataFacade My WSDL2Java command
is: java -cp
.;%AXISCLASSPATH% org.apache.axis.wsdl.WSDL2Java -o . -d Session -s -S false -p
DataFacadeWS -c dk.decon.dsi.facade.DataFacade
DF.wsdl I hope somebody can
help me – I’m a newbee – and this is giving me gray hairs and sleepless nights….
Med Venlig
Hilsen Christina
Wulf E-mail:
[EMAIL PROTECTED] Mobil: 51 94 61
04
|
