xrpcc: problem compiling wsdl file.
843834Apr 29 2002 — edited Apr 30 2002Hi,
I want to generate both the Ties and Stub from WSDL file. I am getting a modeler error:
error: modeler error: invalid entity name: "TradePriceRequest" (in namespace: "http://quote.com/stockquote.xsd")
I tried few different combinations but I wasn't able to get to work.
I will appreciate any help .
Thanks
Sam .
WSDL file:
---------------
<?xml version="1.0"?>
<definitions
name="stockquote"
targetNamespace="http://quote.com/stockquote.wsdl"
xmlns:tns="http://quote.com/stockquote.xsd"
xmlns:xsd1="http://quote.com/stockquote.xsd"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns="http://schemas.xmlsoap.org/wsdl/">
<types>
<schema targetNamespace="http://quote.com/stockquote.xsd"
xmlns="http://www.w3.org/2000/10/XMLSchema">
<element name="TradePriceRequest">
<complexType>
<all>
<element name="tickerSymbol" type="string"/>
</all>
</complexType>
</element>
<element name="TradePrice">
<complexType>
<all>
<element name="price" type="float"/>
</all>
</complexType>
</element>
</schema>
</types>
<message name="GetLastTradePriceInput">
<part name="body" element="xsd1:TradePriceRequest"/>
</message>
<message name="GetLastTradePriceOutput">
<part name="body" element="xsd1:TradePrice"/>
</message>
<portType name="StockQuotePortType">
<operation name="GetLastTradePrice">
<input message="tns:GetLastTradePriceInput"/>
<output message="tns:GetLastTradePriceOutput"/>
</operation>
</portType>
<binding name="StockQuoteSoapBinding" type="tns:StockQuotePortType">
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
<operation name="GetLastTradePrice">
<soap:operation soapAction="http://quote.com/GetLastTradePrice"/>
<input>
<soap:body use="literal"/>
</input>
<output>
<soap:body use="literal"/>
</output>
</operation>
</binding>
<service name="StockQuoteService">
<documentation>My first service</documentation>
<port name="StockQuotePort" binding="tns:StockQuoteBinding">
<soap:address location="http://quote.com/stockquote"/>
</port>
</service>
</definitions>
--------------------------------------
The config.xml is:
<?xml version="1.0" encoding="UTF-8"?>
<configuration
xmlns="http://java.sun.com/jax-rpc-ri/xrpcc-config">
<wsdl name="stockquote"
location="shooping.wsdl"
packageName="stockquote">
<typeMappingRegistry>
</typeMappingRegistry>
</wsdl>
</configuration>