I have problems referring to the schema. I think I am not refering the
schema properly. 

Any pointers ??

Thanks for your time.

-- Nitin

<?xml version="1.0"?>
<definitions name="StockQuote"

targetNamespace="http://localhost:8080/jboost/wsdl/stockquote.wsdl";
          xmlns:tns="http://localhost:8080/jboost/wsdl/stockquote.wsdl";
          xmlns:xsd1="http://localhost:8080/jboost/schema";
          xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/";
          xmlns="http://schemas.xmlsoap.org/wsdl/";    >
<types>

 <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"/>

   <import namespace="http://localhost:8080/jboost/schema";
 
location="http://localhost:8080/jboost/schema/stockquote.xsd"/>

</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://localhost:8080/jboost/services/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:StockQuoteSoapBinding">
           <soap:address
location="http://localhost:8080/jboost/services/stockquote"/>
        </port>
    </service>

</definitions>


Reply via email to