axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Reto Badertscher <rbadertsc...@swissonline.ch>
Subject Re: WSDL2Java
Date Thu, 29 May 2003 16:41:02 GMT

> There wasn't a <types> section in the WSDL you sent us before.
> How does your WSDL file refer to the <types> section?
> What is the target namespace in the <schema> section in your <types>
> section?
> Do you have a namespace declaration for this schema namespace in your
> <definitions> element?

Thanks a lot for your help. When i look at the attached WSDL file is see a 
<types> section at the end of the file. Anyway i paste it here into the 
message. 

Kind regards

reto Badertscher

WSDL file:
--------------------------------------------------------------------------------
<?xml version="1.0" encoding="UTF-8"?>
	<wsdl:definitions name="test" targetNamespace="http://192.168.125.246"
			xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
			xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
			xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
			xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"
			xmlns:tns="http://192.168.125.246"
      xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <wsdl:message name="bank_get_detailInput">
		<wsdl:part name="composite" type="tns:in"/>
	</wsdl:message>
	<wsdl:message name="bank_get_detailOutput">
		<wsdl:part name="composite" type="tns:out"/>
	</wsdl:message>
	<wsdl:portType name="testPortType">
		<wsdl:operation name="bank_get_detail">
			<wsdl:input name="bank_get_detailInput" 
message="tns:bank_get_detailInput"/>
			<wsdl:output name="bank_get_detailOutput" 
message="tns:bank_get_detailOutput"/>
		</wsdl:operation>
	</wsdl:portType>
	<wsdl:binding name="testBinding" type="tns:testPortType">
		<soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="rpc"/>
		<wsdl:operation name="bank_get_detail">
			<wsdl:input>
				<soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" 
namespace="test" use="encoded"/>
			</wsdl:input>
			<wsdl:output>
				<soap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" 
namespace="test" use="encoded"/>
			</wsdl:output>
		</wsdl:operation>
	</wsdl:binding>
	<wsdl:service name="testService">
		<wsdl:port name="testPort0" binding="tns:testBinding">
			<soap:address location="http://192.168.125.246:5555/soap/rpc"/>
		</wsdl:port>
	</wsdl:service>
	<wsdl:types>
    <xsd:complexType name="in">
      <xsd:sequence>
        <xsd:element name="BANKCOUNTRY" type="xsd:string" minOccurs="1" 
maxOccurs="1"/>
        <xsd:element name="BANKKEY" type="xsd:string" minOccurs="1" 
maxOccurs="1"/>
        <xsd:any processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
      </xsd:sequence>
    </xsd:complexType>
    <xsd:complexType name="out">
      <xsd:sequence>
        <xsd:element name="BANK_ADDRESS" type="xsd:BANK_ADDRESS" minOccurs="1" 
maxOccurs="1"/>
        <xsd:element name="BANK_DETAIL" type="xsd:BANK_DETAIL" minOccurs="1" 
maxOccurs="1"/>
        <xsd:element name="RETURN" type="xsd:RETURN" minOccurs="1" 
maxOccurs="1"/>
        <xsd:any processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
      </xsd:sequence>
    </xsd:complexType>
    <xsd:element name="BANK_ADDRESS">
      <xsd:complexType>
        <xsd:sequence>
          <xsd:element name="BANK_NAME" type="xsd:string" minOccurs="1" 
maxOccurs="1"/>
          <xsd:element name="REGION" type="xsd:string" minOccurs="1" 
maxOccurs="1"/>
          <xsd:element name="STREET" type="xsd:string" minOccurs="1" 
maxOccurs="1"/>
          <xsd:element name="CITY" type="xsd:string" minOccurs="1" 
maxOccurs="1"/>
          <xsd:element name="SWIFT_CODE" type="xsd:string" minOccurs="1" 
maxOccurs="1"/>
          <xsd:element name="BANK_GROUP" type="xsd:string" minOccurs="1" 
maxOccurs="1"/>
          <xsd:element name="POBK_CURAC" type="xsd:string" minOccurs="1" 
maxOccurs="1"/>
          <xsd:element name="BANK_NO" type="xsd:string" minOccurs="1" 
maxOccurs="1"/>
          <xsd:element name="POST_BANK" type="xsd:string" minOccurs="1" 
maxOccurs="1"/>
          <xsd:element name="BANK_BRANCH" type="xsd:string" minOccurs="1" 
maxOccurs="1"/>
          <xsd:element name="ADDR_NO" type="xsd:string" minOccurs="1" 
maxOccurs="1"/>
          <xsd:any processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
        </xsd:sequence>
        <xsd:anyAttribute processContents="lax"/>
      </xsd:complexType>
    </xsd:element>
    <xsd:element name="BANK_DETAIL">
      <xsd:complexType>
        <xsd:sequence>
          <xsd:element name="CREAT_DATE" type="xsd:string" minOccurs="1" 
maxOccurs="1"/>
          <xsd:element name="CREATOR" type="xsd:string" minOccurs="1" 
maxOccurs="1"/>
          <xsd:element name="METHOD" type="xsd:string" minOccurs="1" 
maxOccurs="1"/>
          <xsd:element name="FORMATTING" type="xsd:string" minOccurs="1" 
maxOccurs="1"/>
          <xsd:element name="BANK_DELETE" type="xsd:string" minOccurs="1" 
maxOccurs="1"/>
          <xsd:any processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
        </xsd:sequence>
        <xsd:anyAttribute processContents="lax"/>
      </xsd:complexType>
    </xsd:element>
    <xsd:element name="RETURN">
      <xsd:complexType>
        <xsd:sequence>
          <xsd:element name="TYPE" type="xsd:string" minOccurs="1" 
maxOccurs="1"/>
          <xsd:element name="ID" type="xsd:string" minOccurs="1" 
maxOccurs="1"/>
          <xsd:element name="NUMBER" type="xsd:string" minOccurs="1" 
maxOccurs="1"/>
          <xsd:element name="MESSAGE" type="xsd:string" minOccurs="1" 
maxOccurs="1"/>
          <xsd:element name="LOG_NO" type="xsd:string" minOccurs="1" 
maxOccurs="1"/>
          <xsd:element name="LOG_MSG_NO" type="xsd:string" minOccurs="1" 
maxOccurs="1"/>
          <xsd:element name="MESSAGE_V1" type="xsd:string" minOccurs="1" 
maxOccurs="1"/>
          <xsd:element name="MESSAGE_V2" type="xsd:string" minOccurs="1" 
maxOccurs="1"/>
          <xsd:element name="MESSAGE_V3" type="xsd:string" minOccurs="1" 
maxOccurs="1"/>
          <xsd:element name="MESSAGE_V4" type="xsd:string" minOccurs="1" 
maxOccurs="1"/>
          <xsd:element name="PARAMETER" type="xsd:string" minOccurs="1" 
maxOccurs="1"/>
          <xsd:element name="ROW" type="xsd:string" minOccurs="1" 
maxOccurs="1"/>
          <xsd:element name="FIELD" type="xsd:string" minOccurs="1" 
maxOccurs="1"/>
          <xsd:element name="SYSTEM" type="xsd:string" minOccurs="1" 
maxOccurs="1"/>
          <xsd:any processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
        </xsd:sequence>
        <xsd:anyAttribute processContents="lax"/>
      </xsd:complexType>
    </xsd:element>
	</wsdl:types>
	</wsdl:definitions>
----------------------------------------------------------------------------------------


Mime
View raw message