You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by "Kunzman, Douglas J" <do...@lmco.com> on 2003/10/10 04:54:52 UTC

WSDL Help

I have just started using apache axis and am having trouble fixing this
wsdl file.  Can anyone help...

Thanks,

DJK

<?xml version="1.0" encoding="utf-8"?>
<definitions xmlns="http://www.w3.org/2001/XMLSchema" 
	xmlns:tns="uri:diy" 
	targetNamespace="uri:diy" 
	xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"  
	xmlns="http://schemas.xmlsoap.org/wsdl/">
<types>  
<xsd:complexType name="FILEType">
	<xsd:sequence>
		<xsd:element name="ZZZ" type="xsd:string"/>
		<xsd:element name="YYY" type="xsd:string"/>
		<xsd:element name="XXX" type="xsd:string"/>
	</xsd:sequence>
</xsd:complexType>
</types>
<message name="helloWorldRequest">
    <part name="Request" element="tns:FILEType"/>
</message>  
<message name="helloWorldResponse">
    <part name="helloWorldResult" element="tns:FILEType"/>
</message>  
<portType name="tutorialPort">
    <operation name="helloWorld">
      <input message="tns:helloWorldRequest"/>
      <output message="tns:helloWorldResponse"/>
    </operation>
</portType>
 <binding name="HelloBinding" type="tns:Hello">
    <operation name="Request">
      <input>
        <soap:body
        encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
use="encoded" namespace="http://hello.jaxrpc.samples/" />
      </input>

      <output>
        <soap:body
        encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
use="encoded" namespace="http://hello.jaxrpc.samples/" />
      </output>

      <soap:operation soapAction="" />
    </operation>

    <soap:binding transport="http://schemas.xmlsoap.org/soap/http"
style="rpc" />
  </binding>

  <service name="HelloWorld">
    <port name="HelloPort" binding="tns:HelloBinding">
      <soap:address
      location="http://localhost:8080/axis/Hello" />
    </port>
  </service>

</definitions>


Douglas J. Kunzman
3FH - 506C
3201 Jermantown Rd.
Fairfax, VA
703-293-4704


Re: WSDL Help

Posted by Stephen Gordon <st...@student.usyd.edu.au>.
help us to help you:
1. have you validated it against the WSDL schema?
2. if it is valid WSDL, what are the syptoms of the problem?? are there 
any relevant error messages?

stephen

Kunzman, Douglas J wrote:

> I have just started using apache axis and am having trouble fixing this
> wsdl file.  Can anyone help...
> 
> Thanks,
> 
> DJK
> 
> <?xml version="1.0" encoding="utf-8"?>
> <definitions xmlns="http://www.w3.org/2001/XMLSchema" 
> 	xmlns:tns="uri:diy" 
> 	targetNamespace="uri:diy" 
> 	xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"  
> 	xmlns="http://schemas.xmlsoap.org/wsdl/">
> <types>  
> <xsd:complexType name="FILEType">
> 	<xsd:sequence>
> 		<xsd:element name="ZZZ" type="xsd:string"/>
> 		<xsd:element name="YYY" type="xsd:string"/>
> 		<xsd:element name="XXX" type="xsd:string"/>
> 	</xsd:sequence>
> </xsd:complexType>
> </types>
> <message name="helloWorldRequest">
>     <part name="Request" element="tns:FILEType"/>
> </message>  
> <message name="helloWorldResponse">
>     <part name="helloWorldResult" element="tns:FILEType"/>
> </message>  
> <portType name="tutorialPort">
>     <operation name="helloWorld">
>       <input message="tns:helloWorldRequest"/>
>       <output message="tns:helloWorldResponse"/>
>     </operation>
> </portType>
>  <binding name="HelloBinding" type="tns:Hello">
>     <operation name="Request">
>       <input>
>         <soap:body
>         encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
> use="encoded" namespace="http://hello.jaxrpc.samples/" />
>       </input>
> 
>       <output>
>         <soap:body
>         encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
> use="encoded" namespace="http://hello.jaxrpc.samples/" />
>       </output>
> 
>       <soap:operation soapAction="" />
>     </operation>
> 
>     <soap:binding transport="http://schemas.xmlsoap.org/soap/http"
> style="rpc" />
>   </binding>
> 
>   <service name="HelloWorld">
>     <port name="HelloPort" binding="tns:HelloBinding">
>       <soap:address
>       location="http://localhost:8080/axis/Hello" />
>     </port>
>   </service>
> 
> </definitions>
> 
> 
> Douglas J. Kunzman
> 3FH - 506C
> 3201 Jermantown Rd.
> Fairfax, VA
> 703-293-4704
> 
>