用vs2008開發好WebService后,在pb中選擇wsdl生成代理時提示:the data type,'schema',is not supported.?無法進行到下一步,求解決?
wsdl如下:
<wsdl:definitions xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:tns="http://tempuri.org/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" targetNamespace="http://tempuri.org/">
<wsdl:types>
<s:schema elementFormDefault="qualified" targetNamespace="http://tempuri.org/">
<s:element name="HelloWorld">
<s:complexType/>
</s:element>
<s:element name="HelloWorldResponse">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="HelloWorldResult" type="s:string"/>
</s:sequence>
</s:complexType>
</s:element>
<s:element name="UserCheck_Version">
.......
uj5u.com熱心網友回復:
我自己解決了,是因為必須用pb10以上的版本,才有Use .Net engine 選項uj5u.com熱心網友回復:
接分
另外pbsoapclient120.pbd+pbx好像要改用pbwsclient120.pbd+pbx
uj5u.com熱心網友回復:

uj5u.com熱心網友回復:
PB10以上的.net引擎比較好用,自身的soap經常有問題轉載請註明出處,本文鏈接:https://www.uj5u.com/shujuku/26458.html
標籤:Web 應用
