This XML file does not appear to have any style information associated with it. The document tree is shown below.
<wsdl:definitionsxmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"xmlns:xsd="http://www.w3.org/2001/XMLSchema"xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/"xmlns:tns="http://tempuri.org/"xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing"xmlns:wsx="http://schemas.xmlsoap.org/ws/2004/09/mex"xmlns:wsap="http://schemas.xmlsoap.org/ws/2004/08/addressing/policy"xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl"xmlns:msc="http://schemas.microsoft.com/ws/2005/12/wsdl/contract"xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy"xmlns:wsa10="http://www.w3.org/2005/08/addressing"xmlns:wsam="http://www.w3.org/2007/05/addressing/metadata"name="Service1"targetNamespace="http://tempuri.org/"><wsdl:types><xsd:schematargetNamespace="http://tempuri.org/Imports"><xsd:importschemaLocation="http://namesiteman.ir/Service1.svc?xsd=xsd0"namespace="http://tempuri.org/"/><xsd:importschemaLocation="http://namesiteman.ir/Service1.svc?xsd=xsd1"namespace="http://schemas.microsoft.com/2003/10/Serialization/"/><xsd:importschemaLocation="http://namesiteman.ir/Service1.svc?xsd=xsd2"namespace="http://schemas.datacontract.org/2004/07/WcfService1"/></xsd:schema></wsdl:types><wsdl:messagename="IService1_GetData_InputMessage"><wsdl:partname="parameters"element="tns:GetData"/></wsdl:message><wsdl:messagename="IService1_GetData_OutputMessage"><wsdl:partname="parameters"element="tns:GetDataResponse"/></wsdl:message><wsdl:messagename="IService1_gethogh_InputMessage"><wsdl:partname="parameters"element="tns:gethogh"/></wsdl:message><wsdl:messagename="IService1_gethogh_OutputMessage"><wsdl:partname="parameters"element="tns:gethoghResponse"/></wsdl:message><wsdl:messagename="IService1_GetDataUsingDataContract_InputMessage"><wsdl:partname="parameters"element="tns:GetDataUsingDataContract"/></wsdl:message><wsdl:messagename="IService1_GetDataUsingDataContract_OutputMessage"><wsdl:partname="parameters"element="tns:GetDataUsingDataContractResponse"/></wsdl:message><wsdl:portTypename="IService1"><wsdl:operationname="GetData"><wsdl:inputwsaw:Action="http://tempuri.org/IService1/GetData"message="tns:IService1_GetData_InputMessage"/><wsdl:outputwsaw:Action="http://tempuri.org/IService1/GetDataResponse"message="tns:IService1_GetData_OutputMessage"/></wsdl:operation><wsdl:operationname="gethogh"><wsdl:inputwsaw:Action="http://tempuri.org/IService1/gethogh"message="tns:IService1_gethogh_InputMessage"/><wsdl:outputwsaw:Action="http://tempuri.org/IService1/gethoghResponse"message="tns:IService1_gethogh_OutputMessage"/></wsdl:operation><wsdl:operationname="GetDataUsingDataContract"><wsdl:inputwsaw:Action="http://tempuri.org/IService1/GetDataUsingDataContract"message="tns:IService1_GetDataUsingDataContract_InputMessage"/><wsdl:outputwsaw:Action="http://tempuri.org/IService1/GetDataUsingDataContractResponse"message="tns:IService1_GetDataUsingDataContract_OutputMessage"/></wsdl:operation></wsdl:portType><wsdl:bindingname="BasicHttpBinding_IService1"type="tns:IService1"><soap:bindingtransport="http://schemas.xmlsoap.org/soap/http"/><wsdl:operationname="GetData"><soap:operationsoapAction="http://tempuri.org/IService1/GetData"style="document"/><wsdl:input><soap:bodyuse="literal"/></wsdl:input><wsdl:output><soap:bodyuse="literal"/></wsdl:output></wsdl:operation><wsdl:operationname="gethogh"><soap:operationsoapAction="http://tempuri.org/IService1/gethogh"style="document"/><wsdl:input><soap:bodyuse="literal"/></wsdl:input><wsdl:output><soap:bodyuse="literal"/></wsdl:output></wsdl:operation><wsdl:operationname="GetDataUsingDataContract"><soap:operationsoapAction="http://tempuri.org/IService1/GetDataUsingDataContract"style="document"/><wsdl:input><soap:bodyuse="literal"/></wsdl:input><wsdl:output><soap:bodyuse="literal"/></wsdl:output></wsdl:operation></wsdl:binding><wsdl:servicename="Service1"><wsdl:portname="BasicHttpBinding_IService1"binding="tns:BasicHttpBinding_IService1"><soap:addresslocation="http://namesiteman.ir/Service1.svc"/></wsdl:port></wsdl:service></wsdl:definitions>
سوال
azad222 33
سلام
من یک وب سرویس با استفاده از asp.net نوشتم که یک متد بنام gethogh داره که یک عدد رو میگیره و بعد خروجی یک رشته متنی به کاربر میده.
آدرس وب سرویسی که به من داده بصورت زیر هست.
http://namesiteman.ir/Service1.svc?wsdl
من به راحتی با استفاده از کد سی شارپ زیر به اون وصل میشم.
serviceman.Service1 newservice = new serviceman.Service1();
Interaction.MsgBox(newservice.gethogh(30));
از کد بیسیک فور اندروید زیر هم استفاده می کنم ولی جوابی نگرفتم.
فایل ایکس ام ال سرویس من هم بصورت زیر هست.
لطفا راهنمایی کنید.
لینک ارسال
به اشتراک گذاری در سایت های دیگر
1 پاسخ به این سوال تاکنون داده شده است
ارسالهای توصیه شده
بایگانی شده
این موضوع بایگانی و قفل شده و دیگر امکان ارسال پاسخ نیست.