OK, this is WSDL document. Far I understand documentation, the wsdlFile atribute in deployment is just for returning WSDL, not for Axis service configuration, isn't it? I'm afraid I will still get errors. Am I wrong?
One more time thanks for help! Marcin
You define the schemas in the <types> section of the WSDL document. For example:
<wsdl:definitions name='twoNamepsaces' targetNamespace='urn:twonamespaces/wsdl' xmlns:soap='http://schemas.xmlsoap.org/wsdl/soap/' xmlns:wsdl='http://schemas.xmlsoap.org/wsdl/' xmlns:ns1='urn:twoNamespaces/ns1' xmlns:ns2='urn:twoNamespaces/ns2' xmlns:tns='urn:twoNamespaces/wsdl'>
<wsdl:types> <xsd:schema targetNamespace='urn:twoNamespaces/ns1' xmlns:xsd='http://www.w3.org/2001/XMLSchema'> <xsd:element name='op1' type='string'/> </xsd:schema> <xsd:schema targetNamespace='urn:twoNamespaces/ns2' xmlns:xsd='http://www.w3.org/2001/XMLSchema'> <xsd:element name='op2' type='string'/> </xsd:schema> </wsdl:types>
<wsdl:message name='op1'> <wsdl:part name='body' element='ns1:op1'/> </wsdl:message> <wsdl:message name='op2'> <wsdl:part name='body' element='ns2:op2'/> </wsdl:message>
<wsdl:portType name='interface'> <wsdl:operation name='op1'> <wsdl:input message='tns:op1'/> </wsdl:operation> <wsdl:operation name='op2'> <wsdl:input message='tns:op2'/> </wsdl:operation> </wsdl:portType>
<wsdl:binding name='interfaceSOAP' type='tns:interface'> <soap:binding transport='http://schemas.xmlsoap.org/soap/http' style='document'/> <wsdl:operation name='op1'> <soap:operation soapAction='op1' style='document'/> <wsdl:input> <soap:body use='literal'/> </wsdl:input> </wsdl:operation> <wsdl:operation name='op2'> <soap:operation soapAction='op2' style='document'/> <wsdl:input> <soap:body use='literal'/> </wsdl:input> </wsdl:operation> </wsdl:binding>
-- ------------------------------------------------------------- Marcin Okraszewski [EMAIL PROTECTED] GG: 341942 [EMAIL PROTECTED] PGP: www.okrasz.prv.pl/pgp.asc -------------------------------------------------------------
