hi,all can anybody show me some example to build a web service with aixs which can retrun xml document to .net client ?
I've build the service successfully in .net server and it's wsdl look like this : <?xml version="1.0" encoding="utf-8" ?> - <definitions xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:s0="http://tempuri.org/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" targetNamespace="http://tempuri.org/" xmlns="http://schemas.xmlsoap.org/wsdl/"> - <types> - <s:schema elementFormDefault="qualified" targetNamespace="http://tempuri.org/"> - <s:element name="HelloDoc"> - <s:complexType> - <s:sequence> - <s:element minOccurs="0" maxOccurs="1" name="inDoc"> - <s:complexType mixed="true"> - <s:sequence> <s:any /> </s:sequence> </s:complexType> </s:element> </s:sequence> </s:complexType> </s:element> - <s:element name="HelloDocResponse"> - <s:complexType> - <s:sequence> - <s:element minOccurs="0" maxOccurs="1" name="HelloDocResult"> - <s:complexType mixed="true"> - <s:sequence> <s:any /> </s:sequence> </s:complexType> </s:element> </s:sequence> </s:complexType> </s:element> </s:schema> </types> - <message name="HelloDocSoapIn"> <part name="parameters" element="s0:HelloDoc" /> </message> - <message name="HelloDocSoapOut"> <part name="parameters" element="s0:HelloDocResponse" /> </message> - <portType name="DocServSoap"> - <operation name="HelloDoc"> <input message="s0:HelloDocSoapIn" /> <output message="s0:HelloDocSoapOut" /> </operation> </portType> - <binding name="DocServSoap" type="s0:DocServSoap"> <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document" /> - <operation name="HelloDoc"> <soap:operation soapAction="http://tempuri.org/HelloDoc" style="document" /> - <input> <soap:body use="literal" /> </input> - <output> <soap:body use="literal" /> </output> </operation> </binding> - <service name="DocServ"> - <port name="DocServSoap" binding="s0:DocServSoap"> <soap:address location="http://localhost/NetService/Service2.asmx" /> </port> </service> </definitions> --------------------------- but I can't build an axis web service from this wsdl file,can you give me some help??? thanks. _________________________________________________________ Do You Yahoo!? 完全免费的雅虎电邮,马上注册获赠额外60兆网络存储空间 http://cn.rd.yahoo.com/mail_cn/tag/?http://cn.mail.yahoo.com
