Hi Ruchith,

Sorry for late replying, see my wsdl is attached.

Shantanu Chawla


On 8/11/05, Ruchith Fernando <[EMAIL PROTECTED]> wrote:
> Hi,
> 
> Well including the 'schema' dir as I explained before seems to solve
> the problem for me.
> 
> > I followed wht you said  but still eclipse show error as it still
> > cannot resolve the schema.system.foo.TypeSystemHolder in
> > <mymethodname>RequestDocument.java and in
> > <mymethodname>ResponseDocument.java
> 
> Can you please explain what these classes are, are u sure they are
> generated by the Axis2 WSDL2Java tool? Can you pls send the wsdl?
> 
> > when I add the import statement for schema.system.foo.TypeSystemHolder
> > it couldnt resolve it too.
> >
> > may be i need more insight into it. let me know where things can be wrong.
> >
> > Shantanu Chawla
> >
> > On 8/10/05, Ruchith Fernando <[EMAIL PROTECTED]> wrote:
> > > Hi,
> > >
> > > You can add them in to the eclipse project by adding the dirctory that
> > > contains the 'schema' stuff in to the project as a class folder.
> > >
> > > Project->Properties->Java Build Path->Libraries->Add Class Folder ->
> > > [select the dir holding the 'schema' dir here]
> > >
> > > It'll be cleaner if you move the 'schema' dir into a new dir, since by
> > > default this in the same directory that contains the source files.
> > >
> > >
> > > On 8/10/05, shantanu chawla <[EMAIL PROTECTED]> wrote:
> > > > Hi all,
> > > >
> > > >
> > > > I am experimenting with axis2. I created a test project that includes
> > > > all the files generated by WSDL2Java.bat file. but I am unable to
> > > > include schema.system.foo class file which is in the schema folder.
> > > > can anyone tell me how to include the schema folders esp. this
> > > > schema.system.foo.TypeSystemHolder class file.
> > > >
> > > > Thanks
> > > >
> > > > Shantanu Chawla
> > > >
> > > > --
> > > > Graduate Student
> > > > Department of Computer Science,
> > > > San Diego State University
> > > >
> > >
> > >
> > > --
> > > Ruchith
> > >
> >
> >
> > --
> > Graduate Student
> > Department of Computer Science,
> > San Diego State University
> >
> 
> 
> --
> Ruchith
> 


-- 
Graduate Student 
Department of Computer Science,
San Diego State University
<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions name="DPBean" targetNamespace="http://shantanu.com/DPBean/"; xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"; xmlns:tns="http://shantanu.com/DPBean/"; xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"; xmlns:xsd="http://www.w3.org/2001/XMLSchema";>
<wsdl:types>
<xsd:schema targetNamespace="http://shantanu.com/DPBean/"; xmlns:tns="http://shantanu.com/DPBean/";>
	<xsd:element name="searchResponse" type="xsd:string"></xsd:element>
	<xsd:element name="searchRequest" type="tns:searchInput">
            </xsd:element>
            <xsd:element name="updateRequest" type="tns:Update"></xsd:element>
            <xsd:complexType name="searchInput">
            	<xsd:sequence>
            		<xsd:element name="searchText" type="xsd:string"></xsd:element>
            		<xsd:element name="sortItem" type="xsd:string"></xsd:element>
            		<xsd:element name="itemsPerPage" type="xsd:int">
            		</xsd:element>
            		<xsd:element name="currentPage" type="xsd:int"></xsd:element>
            		<xsd:element name="indexName" type="xsd:string"></xsd:element>
            		<xsd:element name="fragmentName" type="xsd:string"></xsd:element>
            	</xsd:sequence>
            </xsd:complexType>

            <xsd:element name="getValuesOfAttributeResponse" type="xsd:string"></xsd:element>
            <xsd:element name="getValuesOfAttributeRequest" type="tns:AttributeType"></xsd:element>
            <xsd:complexType name="AttributeType">
            	<xsd:sequence>
            		<xsd:element name="name" type="xsd:string"></xsd:element>
            		<xsd:element name="value" type="xsd:string"></xsd:element>
            	</xsd:sequence>
            </xsd:complexType>

            <xsd:element name="getItemsWithAttributeValueResponse" type="xsd:string"></xsd:element>
            <xsd:element name="getItemsWithAttributeValueRequest"
            	type="tns:AttributeType">
            </xsd:element>
            <xsd:complexType name="Update">
            	<xsd:sequence>
            		<xsd:element name="updateText" type="xsd:string"></xsd:element>
            		<xsd:element name="itemTag" type="xsd:string"></xsd:element>
            		<xsd:element name="itemIdPath" type="xsd:string"></xsd:element>
            		<xsd:element name="indexName" type="xsd:string"></xsd:element>
            	</xsd:sequence>
            </xsd:complexType>

</xsd:schema>
</wsdl:types>


    <wsdl:message name="searchResponse">
    	<wsdl:part name="searchResponse" element="tns:searchResponse"></wsdl:part>
    </wsdl:message>
    <wsdl:message name="searchRequest">
    	<wsdl:part name="searchRequest" element="tns:searchRequest"></wsdl:part>
    </wsdl:message>
    <wsdl:message name="updateResponse">
    </wsdl:message>
    <wsdl:message name="updateRequest">
    	<wsdl:part name="updateRequest" element="tns:updateRequest"></wsdl:part>
    </wsdl:message>
    <wsdl:message name="getValuesOfAttributeResponse">
    	<wsdl:part name="getValuesOfAttributeResponse"
    		element="tns:getValuesOfAttributeResponse">
    	</wsdl:part>
    </wsdl:message>
    <wsdl:message name="getValuesOfAttributeRequest">
    	<wsdl:part name="getValuesOfAttributeRequest"
    		element="tns:getValuesOfAttributeRequest">
    	</wsdl:part>
    </wsdl:message>
    <wsdl:message name="getItemsWithAttributeValueResponse">
    	<wsdl:part name="getItemsWithAttributeValueResponse"
    		element="tns:getItemsWithAttributeValueResponse">
    	</wsdl:part>
    </wsdl:message>
    <wsdl:message name="getItemsWithAttributeValueRequest">
    	<wsdl:part name="getItemsWithAttributeValueRequest"
    		element="tns:getItemsWithAttributeValueRequest">
    	</wsdl:part>
    </wsdl:message>
    <wsdl:portType name="DPBean">

        <wsdl:operation name="search">
        	<wsdl:input message="tns:searchRequest"></wsdl:input>
        	<wsdl:output message="tns:searchResponse"></wsdl:output>
        </wsdl:operation>
        <wsdl:operation name="update">
        	<wsdl:input message="tns:updateRequest"></wsdl:input>
        	<wsdl:output message="tns:updateResponse"></wsdl:output>
        </wsdl:operation>
        <wsdl:operation name="getValuesOfAttribute">
        	<wsdl:input message="tns:getValuesOfAttributeRequest"></wsdl:input>
        	<wsdl:output message="tns:getValuesOfAttributeResponse"></wsdl:output>
        </wsdl:operation>
        <wsdl:operation name="getItemsWithAttributeValue">
        	<wsdl:input
        		message="tns:getItemsWithAttributeValueRequest">
        	</wsdl:input>
        	<wsdl:output
        		message="tns:getItemsWithAttributeValueResponse">
        	</wsdl:output>
        </wsdl:operation>
    </wsdl:portType>
<wsdl:binding name="DP" type="tns:DPBean">
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
	<wsdl:operation name="search">
		<soap:operation soapAction="search"/>
		<wsdl:input>
			<soap:body use="literal"/>
		</wsdl:input>
		<wsdl:output>
			<soap:body use="literal"/>
		</wsdl:output>
	</wsdl:operation>
	<wsdl:operation name="update">
		<soap:operation soapAction="update"/>
		<wsdl:input>
			<soap:body use="literal"/>
		</wsdl:input>
		<wsdl:output>
			<soap:body use="literal"/>
		</wsdl:output>
	</wsdl:operation>
	<wsdl:operation name="getValuesOfAttribute">
		<soap:operation soapAction="getValuesOfAttribute"/>
		<wsdl:input>
			<soap:body use="literal"/>
		</wsdl:input>
		<wsdl:output>
			<soap:body use="literal"/>
		</wsdl:output>
	</wsdl:operation>
	<wsdl:operation name="getItemsWithAttributeValue">
		<soap:operation soapAction="getItemsWithAttributeValue"/>
		<wsdl:input>
			<soap:body use="literal"/>
		</wsdl:input>
		<wsdl:output>
			<soap:body use="literal"/>
		</wsdl:output>
	</wsdl:operation>
</wsdl:binding>
<wsdl:service name="DPBean">
<wsdl:port binding="tns:DP" name="DP">
<soap:address location="http://localhost:8080/MyDPWS/services/DP"/>
</wsdl:port>
</wsdl:service>
</wsdl:definitions>

Reply via email to