Hi
I'm generating my web services app using ant tasks.
When I make a deployment my webapp don't work and
checking server-config.wsdd file I see the following:
-----<parameter name="wsdlServicePort"
value="NotificationsPort"/>
<parameter name="className"
value="notifications.proteo.bs.com.NotificationsPortSoapBindingImpl"/>
<parameter name="typeMappingVersion" value="1.3"/>
<parameter name="wsdlServiceElement"
value="NotificationServiceIterfaceService"/>
<parameter name="wsdlTargetNamespace"
value="urn:com:bs:proteo:notifications"/>
<parameter name="wsdlPortType"
value="NotificationServiceInterface"/>
<parameter name="scope" value="Session"/>
--------
But when I see other deployed projects I found that
parameter wsdlServiceElement is not the name of the
stub generated by my ant task. I found this parameter
is the name of the implementer class of the port
interface.
If change this parameter in my service, it use to
work, then I wonder: which is the right way to declare
this parameter in the wsdd ?
My ant task to generate wsdl is:
<target name="gen-wsdl">
<axis-java2wsdl
classname="com.bs.proteo.notifications.service.NotificationServiceInterface"
location="http://dummy-url"
serviceportname="NotificationsPort"
namespace="urn:com:bs:proteo:notifications"
typeMappingVersion="1.2"
output="${xml.dir}/wsdl/notifications.wsdl"/>
</target>
and to generate stubs is:
<target name="genclientstubs" depends="init">
<mkdir dir="${client.dir}"/>
<axis-wsdl2java
url="${xml.dir}/wsdl/notifications.wsdl"
output="${client.src.dir}"
namespacemappingfile="${xml.dir}/NotificationsMapping.xml"
helpergen="false"
serverside="true"
deployscope="Session"
typemappingversion="1.3"
verbose="true">
<!-- mapping
namespace="http://ws.servlets.wssample.objectweb.org"
package="org.objectweb.wssample.gen.jaxrpc"/ -->
</axis-wsdl2java>
</target>
Thanks in advance
J
___________________________________________________________
1GB gratis, Antivirus y Antispam
Correo Yahoo!, el mejor correo web del mundo
http://correo.yahoo.com.ar