Lio,
I wrote one recently and its working so you can take a look at this. I wrote the
wsdl first and then generated deploy.wsdd using WSDL2Java.
Hope that helps.
Dheeraj
<!-- Use this file to deploy some handlers/chains and services -->
<!-- Two ways to do this: -->
<!-- java org.apache.axis.client.AdminClient deploy.wsdd -->
<!-- after the axis server is running -->
<!-- or -->
<!-- java org.apache.axis.utils.Admin client|server deploy.wsdd -->
<!-- from the same directory that the Axis engine runs -->
<deployment
xmlns="http://xml.apache.org/axis/wsdd/"
xmlns:java="http://xml.apache.org/axis/wsdd/providers/java">
<!-- Services from HRSWebService WSDL service -->
<service name="ContentServiceWS" provider="java:RPC" style="wrapped"
use="literal">
<parameter name="wsdlTargetNamespace"
value="http://services.hrs.harris.com/"/>
<parameter name="wsdlServiceElement" value="HRSWebService"/>
<parameter name="wsdlServicePort" value="ContentServiceWS"/>
<parameter name="className"
value="com.harris.hrs.services.ContentServiceSoapBindingImpl"/>
<parameter name="wsdlPortType" value="ContentServiceWS"/>
<operation name="createContent" qname="operNS:createContent"
xmlns:operNS="http://services.hrs.harris.com/" returnQName="retNS:status"
xmlns:retNS="http://services.hrs.harris.com/" returnType="rtns:boolean"
xmlns:rtns="http://www.w3.org/2001/XMLSchema" soapAction="" >
<parameter qname="pns:arg1" xmlns:pns="http://services.hrs.harris.com/"
type="tns:ProgramContent" xmlns:tns="http://content.services.hrs.harris.com/"/>
</operation>
<parameter name="allowedMethods" value="createContent"/>
<typeMapping
xmlns:ns="http://content.services.hrs.harris.com/"
qname="ns:ProgramContent"
type="java:com.harris.hrs.services.content.ProgramContent"
serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
encodingStyle=""
/>
<typeMapping
xmlns:ns="http://timecode.services.hrs.harris.com/"
qname="ns:ImmutableFrameTime"
type="java:com.harris.hrs.services.timecode.ImmutableFrameTime"
serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
encodingStyle=""
/>
<typeMapping
xmlns:ns="http://content.services.hrs.harris.com/"
qname="ns:MultiSegment"
type="java:com.harris.hrs.services.content.MultiSegment"
serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
encodingStyle=""
/>
<typeMapping
xmlns:ns="http://content.services.hrs.harris.com/"
qname="ns:ContentContainer"
type="java:com.harris.hrs.services.content.ContentContainer"
serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
encodingStyle=""
/>
</service>
</deployment>
-----Original Message-----
From: lio axis [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 31, 2005 10:30 PM
To: [email protected]
Subject: sample wsdd document styled
Hello world,
I'm searching an example of a wsdd file that produce a wsdl with
style="document" and complex types...
Any info, link, whatever is welcome.
Thanks,