Axis WSDD Reference: beanMapping

Can be used in

deployment, service

Description

An abbreviated form of a typeMapping that uses BeanSerializer and BeanDeSerializer.

The namespace for the corresponding XML schema type in a generated WSDL document differs depending on the location of the beanmapping element. A mapping inside a service uses the service's namespace. A global mapping always derives a namespace from the Java package of the Java type.

<deployment xmlns="http://xml.apache.org/axis/wsdd/"
            xmlns:java="http://xml.apache.org/axis/wsdd/providers/java">
    <beanMapping xmlns:ns="http://soapinterop.org/xsd"
                 qname="ns:ArrayOfString"
                 type="java:java.lang.String[]"
                 encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
    />

    <service>
    ...
    </service>

</deployment>

Attributes

NameMandatoryDefaultDescriptionExamples
qnameyes-The qualified name of XML elements used for serialization tns:Order
typeno-Java class for the mapping. The name must be qualified in the namespace http://xml.apache.org/axis/wsdd/providers/java . java:com.osmoticweb.Order
languageSpecificTypeno-Java class for the mapping. This attribute can be used instead of the attribute type.com.osmoticweb.Order
encodingStylenoDepends on the used SOAP versionSOAP encoding used for serialization. The URI for SOAP 1.1 encoding or SOAP 1.2 encoding can be used as a value.http://schemas.xmlsoap.org/soap/encoding/ , http//www.w3.org/2003/05/soap-encoding

Index

Provided by Orientation in Objects