You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by bu...@apache.org on 2002/10/08 20:13:10 UTC
DO NOT REPLY [Bug 13416] New: -
Malformed WSDL file
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13416>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13416
Malformed WSDL file
Summary: Malformed WSDL file
Product: Axis
Version: 1.0-rc2
Platform: PC
OS/Version: Windows NT/2K
Status: NEW
Severity: Critical
Priority: Other
Component: WSDL processing
AssignedTo: axis-dev@xml.apache.org
ReportedBy: dhfs@yahoo.com
Using:
Windows 2000 Advanced Server
Resin 2.1.4
Axis 1.0-rc2
Problem:
The WSDL file, generated on-the-fly, is malformed. When i try to use Microsoft
SOAP Toolkit 3 client to access an Axis web service i get several error
messages. Looking for what was causing this error i've found a buggy (i think
it is) WSDL file. Look at wsdl:definitions element attributes.
Here it is:
<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions
targetNamespace="http://localhost:8888/axis/StockQuoteService.jws" xmlns:=""
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:apachesoap="http://xml.apache.org/xml-soap"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:intf="http://localhost:8888/axis/StockQuoteService.jws"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:impl="http://localhost:8888/axis/StockQuoteService.jws"
xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:="http://www.w3.org/2000/xmlns/">
<wsdl:message name="getQuoteResponse"
xmlns:="http://schemas.xmlsoap.org/wsdl/">
<wsdl:part name="getQuoteReturn" type="xsd:float"/>
</wsdl:message>
<wsdl:message name="getQuoteRequest"
xmlns:="http://schemas.xmlsoap.org/wsdl/">
<wsdl:part name="symbol" type="xsd:string"/>
</wsdl:message>
<wsdl:portType name="StockQuoteService"
xmlns:="http://schemas.xmlsoap.org/wsdl/">
<wsdl:operation name="getQuote" parameterOrder="symbol">
<wsdl:input name="getQuoteRequest" message="intf:getQuoteRequest"/>
<wsdl:output name="getQuoteResponse" message="intf:getQuoteResponse"/>
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="StockQuoteServiceSoapBinding"
xmlns:="http://schemas.xmlsoap.org/wsdl/" type="intf:StockQuoteService">
<wsdlsoap:binding style="rpc"
transport="http://schemas.xmlsoap.org/soap/http"/>
<wsdl:operation name="getQuote">
<wsdlsoap:operation soapAction=""/>
<wsdl:input name="getQuoteRequest">
<wsdlsoap:body use="encoded"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
namespace="http://localhost:8888/axis/StockQuoteService.jws"/>
</wsdl:input>
<wsdl:output name="getQuoteResponse">
<wsdlsoap:body use="encoded"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
namespace="http://localhost:8888/axis/StockQuoteService.jws"/>
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="StockQuoteServiceService"
xmlns:="http://schemas.xmlsoap.org/wsdl/">
<wsdl:port name="StockQuoteService"
binding="intf:StockQuoteServiceSoapBinding">
<wsdlsoap:address
location="http://localhost:8888/axis/StockQuoteService.jws"/>
</wsdl:port>
</wsdl:service>
</wsdl:definitions>