Hi Listers,

our partner is using Web Methods and is asking for this kind of web
service interface:

<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions name="Test" targetNamespace="http://test.abc/";
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"; xmlns:xsd="http://
www.w3.org/2001/XMLSchema" xmlns:http="http://schemas.xmlsoap.org/wsdl/
http/" xmlns:tns="http://test.abc/"; xmlns:mime="http://
schemas.xmlsoap.org/wsdl/mime/" xmlns:soap="http://schemas.xmlsoap.org/
wsdl/soap/">
  <wsdl:types>
    <xsd:schema targetNamespace="http://test.abc/"; xmlns:tns2="http://
test.abc/">
      <xsd:element name="InterfaceDoc">
        <xsd:complexType>
          <xsd:sequence>
            <xsd:element name="INCIDENT">
              <xsd:complexType>
                <xsd:sequence>
                  <xsd:element name="HEADER">
                    <xsd:complexType>
                      <xsd:sequence>
                        <xsd:element name="TICKET_ID" nillable="true"
minOccurs="0">
                          <xsd:simpleType>
                            <xsd:restriction>
                              <xsd:simpleType>
                                <xsd:restriction base="xsd:string">
                                  <xsd:whiteSpace value="preserve"/>
                                </xsd:restriction>
                              </xsd:simpleType>
                              <xsd:minLength value="0"/>
                              <xsd:maxLength value="40"/>
                            </xsd:restriction>
                          </xsd:simpleType>
                        </xsd:element>
                        <xsd:element name="MESSAGE_ID" nillable="true"
type="xsd:string" minOccurs="0"/>
                        <xsd:element name="MESSAGE_NAME"
type="xsd:string"/>
                      </xsd:sequence>
                    </xsd:complexType>
                  </xsd:element>
                  <xsd:element name="INCIDENT_DETAILS" nillable="true"
minOccurs="0">
                    <xsd:complexType>
                      <xsd:sequence>
                        <xsd:element name="SHORT_DESCRIPTION"
nillable="true" minOccurs="0">
                          <xsd:simpleType>
                            <xsd:restriction>
                              <xsd:simpleType>
                                <xsd:restriction base="xsd:string">
                                  <xsd:whiteSpace value="preserve"/>
                                </xsd:restriction>
                              </xsd:simpleType>
                              <xsd:minLength value="0"/>
                              <xsd:maxLength value="255"/>
                            </xsd:restriction>
                          </xsd:simpleType>
                        </xsd:element>
                        <xsd:element name="YMPTOM_DESCRIPTION"
nillable="true" minOccurs="0">
                          <xsd:simpleType>
                            <xsd:restriction>
                              <xsd:simpleType>
                                <xsd:restriction base="xsd:string">
                                  <xsd:whiteSpace value="preserve"/>
                                </xsd:restriction>
                              </xsd:simpleType>
                            </xsd:restriction>
                          </xsd:simpleType>
                        </xsd:element>
                        <xsd:element name="WORK_LOG_LAST_ENTRY"
nillable="true" type="xsd:string" minOccurs="0"/>
                        <xsd:element name="WORK_LOG" nillable="true"
minOccurs="0">
                          <xsd:simpleType>
                            <xsd:restriction>
                              <xsd:simpleType>
                                <xsd:restriction base="xsd:string">
                                  <xsd:whiteSpace value="preserve"/>
                                </xsd:restriction>
                              </xsd:simpleType>
                            </xsd:restriction>
                          </xsd:simpleType>
                        </xsd:element>
                        <xsd:element name="RESOLVE_DESCRIPTION"
nillable="true" minOccurs="0">
                          <xsd:simpleType>
                            <xsd:restriction>
                              <xsd:simpleType>
                                <xsd:restriction base="xsd:string">
                                  <xsd:whiteSpace value="preserve"/>
                                </xsd:restriction>
                              </xsd:simpleType>
                            </xsd:restriction>
                          </xsd:simpleType>
                        </xsd:element>
                        <xsd:element name="BUSINESS_IMPACT"
nillable="true" minOccurs="0">
                          <xsd:simpleType>
                            <xsd:restriction>
                              <xsd:simpleType>
                                <xsd:restriction base="xsd:string">
                                  <xsd:whiteSpace value="preserve"/>
                                </xsd:restriction>
                              </xsd:simpleType>
                              <xsd:enumeration value=""/>
                              <xsd:enumeration value="0"/>
                              <xsd:enumeration value="1"/>
                              <xsd:enumeration value="2"/>
                            </xsd:restriction>
                          </xsd:simpleType>
                        </xsd:element>
                        <xsd:element name="URGENCY" nillable="true"
minOccurs="0">
                          <xsd:simpleType>
                            <xsd:restriction>
                              <xsd:simpleType>
                                <xsd:restriction base="xsd:string">
                                  <xsd:whiteSpace value="preserve"/>
                                </xsd:restriction>
                              </xsd:simpleType>
                              <xsd:enumeration value=""/>
                              <xsd:enumeration value="0"/>
                              <xsd:enumeration value="1"/>
                              <xsd:enumeration value="2"/>
                            </xsd:restriction>
                          </xsd:simpleType>
                        </xsd:element>
                        <xsd:element name="PRIORITY" nillable="true"
minOccurs="0">
                          <xsd:simpleType>
                            <xsd:restriction>
                              <xsd:simpleType>
                                <xsd:restriction base="xsd:string">
                                  <xsd:whiteSpace value="preserve"/>
                                </xsd:restriction>
                              </xsd:simpleType>
                              <xsd:enumeration value=""/>
                              <xsd:enumeration value="1"/>
                              <xsd:enumeration value="2"/>
                            </xsd:restriction>
                          </xsd:simpleType>
                        </xsd:element>
                        <xsd:element name="START_DATE_TIME"
nillable="true" type="xsd:dateTime" minOccurs="0"/>
                      </xsd:sequence>
                    </xsd:complexType>
                  </xsd:element>
                  <xsd:element name="LIST_OF_TICKET_IDS"
nillable="true" minOccurs="0" maxOccurs="unbounded">
                    <xsd:complexType>
                      <xsd:sequence>
                        <xsd:element name="TICKET_ID" nillable="true"
type="xsd:string" minOccurs="0"/>
                        <xsd:element name="TICKET_TYPE"
nillable="true" type="xsd:string" minOccurs="0"/>
                        <xsd:element name="TICKET_SYSTEM"
nillable="true" type="xsd:string" minOccurs="0"/>
                      </xsd:sequence>
                    </xsd:complexType>
                  </xsd:element>
                  <xsd:element name="CUSTOMER_INFO" nillable="true"
minOccurs="0">
                    <xsd:complexType>
                      <xsd:sequence>
                        <xsd:element name="CUST_ID" nillable="true"
type="xsd:string" minOccurs="0"/>
                        <xsd:element name="CUST_FIRSTNAME"
nillable="true" type="xsd:string" minOccurs="0"/>
                        <xsd:element name="CUST_LASTNAME"
nillable="true" type="xsd:string" minOccurs="0"/>
                      </xsd:sequence>
                    </xsd:complexType>
                  </xsd:element>
                  <xsd:element name="LOCATION" nillable="true"
minOccurs="0">
                    <xsd:complexType>
                      <xsd:sequence>
                        <xsd:element name="LOC_KEY" nillable="true"
type="xsd:string" minOccurs="0"/>
                      </xsd:sequence>
                    </xsd:complexType>
                  </xsd:element>
                </xsd:sequence>
              </xsd:complexType>
            </xsd:element>
          </xsd:sequence>
        </xsd:complexType>
      </xsd:element>
    </xsd:schema>
  </wsdl:service>
</wsdl:definitions>

Is it possible to get ARS to produce a wsdl in exact this structure?
If yes, how?

Mark

_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
attend wwrug11 www.wwrug.com ARSList: "Where the Answers Are"

Reply via email to