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 Subramanian Subramanian <su...@integral.com> on 2003/05/13 20:08:04 UTC

WSDL xml error

hi,
 
I am trying out Axis 1.1 RC2. The axis web-app is deployed corrected within
my Oracle app server. When I try to get the WSDL for the sample web service
(http://localhost:8888/integralWebServices/services/Version?wsdl) I am
getting the following, which is not well formed xml. Can any one tell me
what I am doing wrong? Why are some of the namespace declaration empty?

Thanks.
Subramanian




<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions 
targetNamespace="http://localhost:8888/integralWebServices/services/Version"

xmlns:="" 
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" 
xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:intf="http://localhost:8888/integralWebServices/services/Version"
xmlns:impl="http://localhost:8888/integralWebServices/services/Version"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:apachesoap="http://xml.apache.org/xml-soap"
xmlns="http://schemas.xmlsoap.org/wsdl/">

   <wsdl:message name="getVersionRequest">
   </wsdl:message>
   <wsdl:message name="getVersionResponse">
     <wsdl:part name="getVersionReturn" type="xsd:string"/>
   </wsdl:message>
   <wsdl:portType name="Version">
     <wsdl:operation name="getVersion">
       <wsdl:input name="getVersionRequest"
message="intf:getVersionRequest"/>
       <wsdl:output name="getVersionResponse"
message="intf:getVersionResponse"/>
     </wsdl:operation>
   </wsdl:portType>
   <wsdl:binding name="VersionSoapBinding" type="intf:Version">
     <wsdlsoap:binding style="rpc"
transport="http://schemas.xmlsoap.org/soap/http"/>
     <wsdl:operation name="getVersion">
       <wsdlsoap:operation soapAction=""/>
       <wsdl:input name="getVersionRequest">
         <wsdlsoap:body use="encoded"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
namespace="http://localhost:8888/integralWebServices/services/Version"/>
       </wsdl:input>
       <wsdl:output name="getVersionResponse">
         <wsdlsoap:body use="encoded"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
namespace="http://localhost:8888/integralWebServices/services/Version"/>
       </wsdl:output>
    </wsdl:operation>
   </wsdl:binding>
   <wsdl:service name="VersionService">
     <wsdl:port name="Version" binding="intf:VersionSoapBinding">
       <wsdlsoap:address
location="http://localhost:8888/integralWebServices/services/Version"/>
     </wsdl:port>
   </wsdl:service>
 </wsdl:definitions>