Note that there are some explanatory texts on larger screens.

plurals
  1. POImporting xsd into wsdl
    primarykey
    data
    text
    <p>This is my current configuration:</p> <h2>XSD</h2> <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt; &lt;xsd:schema xmlns="http://stock.com/schemas/services/stock" xmlns:tns="http://stock.com/schemas/services/stock" xmlns:xsd="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" targetNamespace="http://stock.com/schemas/services/stock"&gt; &lt;xsd:element name="Stock"&gt; &lt;xsd:complexType&gt; &lt;xsd:sequence&gt; &lt;xsd:element name="ticker" nillable="true" type="xsd:string"/&gt; &lt;xsd:element maxOccurs="unbounded" minOccurs="0" name="quotes" nillable="true" type="Quote"/&gt; &lt;/xsd:sequence&gt; &lt;/xsd:complexType&gt; &lt;/xsd:element&gt; &lt;xsd:complexType name="Quote"&gt; ........ &lt;/xsd:complexType&gt; ....... &lt;xsd:element name="gethighBetaStockResponse"&gt; &lt;xsd:complexType&gt; &lt;xsd:sequence&gt; &lt;xsd:element name="stock" ref="Stock" minOccurs="1" maxOccurs="unbounded"/&gt; &lt;/xsd:sequence&gt; &lt;/xsd:complexType&gt; &lt;/xsd:element&gt; </code></pre> <h2>WSDL</h2> <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;&lt;definitions targetNamespace="http://stock.com/schemas/services/stock/wsdl" .....xmlns:external="http://stock.com/schemas/services/stock" &lt;import namespace="http://stock.com/schemas/services/stock" location="Stock.xsd" /&gt; &lt;message name="getStockQuoteResp"&gt; &lt;part name="parameters" element="external:getStockQuoteResponse" /&gt; &lt;/message&gt; </code></pre> <p>However,the moment ref="Stock" is changed to type="Stock",the wsdl2java starts giving Type {http://stock.com/schemas/services/stock}Stock is referenced but not defined.</p> <p>Somehow it seems a clash between wsdl and xsd imports - but I just cant resolve it.Help is appreciated. </p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload