I would like to send different parameters to the server. These parameters should be able to have several values.
I mean, my program should modify a register that contains name, phone number, email, address etc. As some people have more than one email address they should be able to fill them in, but the program should accept this element to be empty as well.
Can you please tell me how to do.

"types" seems to be an empty element.
My wsdl looks like this:

<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions targetNamespace="urn:ldapTest"
    xmlns="http://schemas.xmlsoap.org/wsdl/"
    xmlns:apachesoap="http://xml.apache.org/xml-soap"
    xmlns:impl="urn:ldapTest" xmlns:intf="urn:ldapTest"
    xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
    xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<wsdl:types/>
<wsdl:message name="addRequest"> ... </wsdl:message>
<wsdl:portType name="LdapTest"> ... </wsdl:portType>
<wsdl:binding name="ldapTestSoapBinding" type="intf:LdapTest"> ... </wsdl:binding>
<wsdl:service name="LdapTestService"> ... </wsdl:service>
</wsdl:definitions>
 

Regards,
Emma

Emma Johansson wrote:

Hi!

I'm wondering about WSDL and XML. Is it possible to use an XML schema
instead of the WSDL document or a combination of both when creating a
web service using Axis?

I've already created a web service by using the Java2wsdl2Java tool, but
I want to make the wsdl document more flexible. Just like XML where you
have the opportunity to choose if the entry should contain exactly one
("") element, 0 or 1 element (?), at least one element (+) or zero or
more elements (*) in the DTD.

If so, can you please tell me where to find information about this.

Regards,
Emma

Reply via email to