Hello Guys,

I am having problems when creating proxy classes in Visual Studio .NET to a web service created in Axis. I am getting the following error:

The type attribute must be set to a valid type name

Though I was able to create proxy classes few days back for the same Web service, somehow I am not able to create them now. Thought that I would post this to Axis mailing lists in case anyone ran into similar problems before.


Here is my WSDL snippet, which was created on-the-fly by Axis.

<?xml version="1.0" encoding="UTF-8" ?>
<wsdl:definitions targetNamespace="http://agena.cis.ksu.edu:8080/axis/services/MessageService"; xmlns="http://schemas.xmlsoap.org/wsdl/"; xmlns:apachesoap="http://xml.apache.org/xml-soap"; xmlns:impl="http://agena.cis.ksu.edu:8080/axis/services/MessageService"; xmlns:intf="http://agena.cis.ksu.edu:8080/axis/services/MessageService"; xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"; xmlns:tns1="http://DefaultNamespace"; xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"; xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/"; xmlns:xsd="http://www.w3.org/2001/XMLSchema";>
<wsdl:types>
<schema targetNamespace="http://DefaultNamespace"; xmlns="http://www.w3.org/2001/XMLSchema";>
<element name="echoElements" type="xsd:anyType" />
</schema>
<schema targetNamespace="http://agena.cis.ksu.edu:8080/axis/services/MessageService"; xmlns="http://www.w3.org/2001/XMLSchema";>
<element name="echoElementsReturn" type="xsd:anyType" />
</schema>
</wsdl:types>
<wsdl:message name="echoElementsRequest">
<wsdl:part element="tns1:echoElements" name="part" />
</wsdl:message>
<wsdl:message name="echoElementsResponse">
<wsdl:part element="intf:echoElementsReturn" name="echoElementsReturn" />
</wsdl:message>



Thanks in advance for any pointers, Vivek

_________________________________________________________________
One-click access to Hotmail from any Web page � download MSN Toolbar now! http://clk.atdmt.com/AVE/go/onm00200413ave/direct/01/




Reply via email to