i'm trying to map a complexType in the mapping.xml
the wsdl file:
<?xml version="1.0" encoding="UTF-8"?>
<definitions name="MyService"
targetNamespace="http://webservice.org/"
xmlns:tns="http://webservice.org/"
xmlns="http://schemas.xmlsoap.org/wsdl/"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<xsd:schema
targetNamespace="http://webservice.org/"
xmlns="http://www.w3.org/2001/XMLSchema">
<xsd:complexType name="person">
<xsd:sequence>
<xsd:element name="id" type="xsd:int"/>
<xsd:element name="name" type="xsd:string"/>
<xsd:element name="age" type="xsd:int"/>
</xsd:sequence>
</xsd:complexType>
</xsd:schema>
<soap:binding style="rpc"
transport="http://schemas.xmlsoap.org/soap/http"/>
<soap:operation/>
<soap:body use="literal" namespace="http://webservice.org/"/>
<soap:body use="encoded" namespace="http://webservice.org/"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
<soap:address location="REPLACE_WITH_ACTUAL_URL"/>
how should i define it in the mapping.xml?
Download the sun jwsdp, and use wscompile to generate it (and the wsdl file for you).
-Jason