hur.cn - 华软网

 热门搜索

各位大哥帮帮我.pb通过wsdl生成代理对象始终报一个错误

  作者:未知    来源:网络    更新时间:2018/12/6
---------- Deploy: Deploy of p_ws_proxy
Retrieving Powerbuilder Proxies from WebService...
    Generation Errors:
    Deployment Error:   No files returned from server for service_port: 'DptService_DeptServiceSoapPort'   Error code: 'Fail to generate proxy for the port '   Proxy was not created.
 ---------- Finished Deploy of p_ws_proxy
我的wsdl资料以下:
<?xml version="1.0" encoding="UTF-8"?>
<!-- Web Service Description Language -->
<!-- Web Service: DeptService -->
<!-- Author: Administrator -->
<!-- Modified: 2006年5月31日 13:08:03 -->

<definitions name="DeptService" targetNamespace="urn:DeptServiceInterface"
 xmlns="http://schemas.xmlsoap.org/wsdl/"
 xmlns:tns="urn:DeptServiceInterface"
 xmlns:xsd="http://www.w3.org/2001/XMLSchema"
 xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
 xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
 xmlns:http="http://schemas.xmlsoap.org/wsdl/http/">
      
   <!-- Schema -->
   <types>
      <xsd:schema elementFormDefault="qualified" targetNamespace="urn:DeptServiceInterface">
         <xsd:element name="getDept">
           <xsd:complexType>
              <xsd:element minOccurs="0" maxOccurs="1" name="id" type="String" />
           </xsd:complexType>
         </xsd:element>
         <xsd:element name="getDeptResponse">
           <xsd:complexType>
             <xsd:sequence>
               <xsd:element minOccurs="0" maxOccurs="1" name="getDeptResult" type="Dept" />
             </xsd:sequence>
           </xsd:complexType>
         </xsd:element>
      </xsd:schema>
   </types>

   <!-- Messages -->
   <message name="getDeptSoapIn">
      <part name="parameters" element="tns:getDept" />
   </message>
   <message name="getDeptSoapOut">
      <part name="getDeptResult" element="tns:getDeptResponse" />
   </message>

   <!-- Port Types -->
   <portType name="DeptServiceSoapPortType">
      <operation name="getDept" parameterOrder="id">
         <input message="tns:getDeptSoapIn" />
         <output message="tns:getDeptSoapOut" />
      </operation>
   </portType>

   <!-- Bindings -->
   <binding name="DeptServiceSoapBinding" type="tns:DeptServiceSoapPortType">
      <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" />
      <operation name="getDept">
         <soap:operation soapAction="" style="document" />
         <input>
            <soap:body use="literal" namespace="urn:DeptServiceInterface"
             encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
         </input>
         <output>
            <soap:body use="literal" namespace="urn:DeptServiceInterface"
             encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />
         </output>
      </operation>
   </binding>
   <!-- Service -->
   <service name="DeptService">
<port name="DeptServiceSoapPort" binding="tns:DeptServiceSoapBinding">
<soap:address location="http://www.abacus.com.cn/DeptService" />
</port>
   </service>   
</definitions>
------华软网友回答------
可怜阿,帮顶
------华软网友回复------
列位大哥,急呀急呀!!!!!!!!解决了马上给分

------华软网友回复------
我也遇到过,应该是WSDL的问题
------华软网友回复------
up了
------华软网友回复------
关注,UP      
华软声明:本内容来自网络,如有侵犯您版权请来信指出,本站立即删除。