web service 服务端是用cxf简单实现的,java作为客户度已经能成功调用
但用Delphi作为客户端调用时出错
Delphi实现客户端时,直接用Delphi自带的wsdl importor生成接口文件先把wsdl贴出来吧<?xml version="1.0" encoding="UTF-8" ?> 
- <wsdl:definitions name="HelloWorldImplService" targetNamespace="http://server.cxf.com/" xmlns:ns1="http://schemas.xmlsoap.org/soap/http" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://server.cxf.com/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
- <wsdl:types>
- <xs:schema elementFormDefault="unqualified" targetNamespace="http://server.cxf.com/" version="1.0" xmlns:tns="http://server.cxf.com/" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:element name="sayHi" type="tns:sayHi" /> 
  <xs:element name="sayHiResponse" type="tns:sayHiResponse" /> 
- <xs:complexType name="sayHi">
- <xs:sequence>
  <xs:element minOccurs="0" name="text" type="xs:string" /> 
  </xs:sequence>
  </xs:complexType>
- <xs:complexType name="sayHiResponse">
- <xs:sequence>
  <xs:element minOccurs="0" name="return" type="xs:string" /> 
  </xs:sequence>
  </xs:complexType>
  </xs:schema>
  </wsdl:types>
- <wsdl:message name="sayHiResponse">
  <wsdl:part element="tns:sayHiResponse" name="parameters" /> 
  </wsdl:message>
- <wsdl:message name="sayHi">
  <wsdl:part element="tns:sayHi" name="parameters" /> 
  </wsdl:message>
- <wsdl:portType name="HelloWorld">
- <wsdl:operation name="sayHi">
  <wsdl:input message="tns:sayHi" name="sayHi" /> 
  <wsdl:output message="tns:sayHiResponse" name="sayHiResponse" /> 
  </wsdl:operation>
  </wsdl:portType>
- <wsdl:binding name="HelloWorldImplServiceSoapBinding" type="tns:HelloWorld">
  <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" /> 
- <wsdl:operation name="sayHi">
  <soap:operation soapAction="" style="document" /> 
- <wsdl:input name="sayHi">
  <soap:body use="literal" /> 
  </wsdl:input>
- <wsdl:output name="sayHiResponse">
  <soap:body use="literal" /> 
  </wsdl:output>
  </wsdl:operation>
  </wsdl:binding>
- <wsdl:service name="HelloWorldImplService">
- <wsdl:port binding="tns:HelloWorldImplServiceSoapBinding" name="HelloWorldImplPort">
  <soap:address location="http://192.168.3.19:9199/helloWorld" /> 
  </wsdl:port>
  </wsdl:service>
  </wsdl:definitions>

解决方案 »

  1.   

    delphi生成的接口文件// ************************************************************************ //
    // The types declared in this file were generated from data read from the
    // WSDL File described below:
    // WSDL     : http://192.168.3.19:9199/helloWorld?wsdl
    // Encoding : UTF-8
    // Version  : 1.0
    // (2010-4-12 16:05:17 - 1.33.2.5)
    // ************************************************************************ //
    unit IntfHelloWorld;interfaceuses InvokeRegistry, SOAPHTTPClient, Types, XSBuiltIns;type
      // ************************************************************************ //
      // The following types, referred to in the WSDL document are not being represented
      // in this file. They are either aliases[@] of other types represented or were referred
      // to but never[!] declared in the document. The types from the latter category
      // typically map to predefined/known XML or Borland types; however, they could also 
      // indicate incorrect WSDL documents that failed to declare or import a schema type.
      // ************************************************************************ //
      // !:string          - "http://www.w3.org/2001/XMLSchema"  // ************************************************************************ //
      // Namespace : http://server.cxf.com/
      // transport : http://schemas.xmlsoap.org/soap/http
      // style     : document
      // binding   : HelloWorldImplServiceSoapBinding
      // service   : HelloWorldImplService
      // port      : HelloWorldImplPort
      // URL       : http://192.168.3.19:9199/helloWorld
      // ************************************************************************ //
      HelloWorld = interface(IInvokable)
      ['{FD8A0710-486D-67E2-9EDD-8D2655AA62BC}']
        function  sayHi(const text: WideString): WideString; stdcall;
      end;function GetHelloWorld(UseWSDL: Boolean=System.False; Addr: string=''; HTTPRIO: THTTPRIO = nil): HelloWorld;implementationfunction GetHelloWorld(UseWSDL: Boolean; Addr: string; HTTPRIO: THTTPRIO): HelloWorld;
    const
      defWSDL = 'http://192.168.3.19:9199/helloWorld?wsdl';
      defURL  = 'http://192.168.3.19:9199/helloWorld';
      defSvc  = 'HelloWorldImplService';
      defPrt  = 'HelloWorldImplPort';
    var
      RIO: THTTPRIO;
    begin
      Result := nil;
      if (Addr = '') then
      begin
        if UseWSDL then
          Addr := defWSDL
        else
          Addr := defURL;
      end;
      if HTTPRIO = nil then
        RIO := THTTPRIO.Create(nil)
      else
        RIO := HTTPRIO;
      try
        Result := (RIO as HelloWorld);
        if UseWSDL then
        begin
          RIO.WSDLLocation := Addr;
          RIO.Service := defSvc;
          RIO.Port := defPrt;
        end else
          RIO.URL := Addr;
      finally
        if (Result = nil) and (HTTPRIO = nil) then
          RIO.Free;
      end;
    end;initialization
      InvRegistry.RegisterInterface(TypeInfo(HelloWorld), 'http://server.cxf.com/', 'UTF-8');
      InvRegistry.RegisterDefaultSOAPAction(TypeInfo(HelloWorld), '');
      InvRegistry.RegisterInvokeOptions(TypeInfo(HelloWorld), ioDocument);end.
    调用代码:type
      TForm1 = class(TForm)
        btn1: TButton;
        procedure btn1Click(Sender: TObject);
      private
        { Private declarations }
        function GetWebService: HelloWorld;
      public
        { Public declarations }
        property WebService: HelloWorld read GetWebService;
      end;var
      Form1: TForm1;implementation{$R *.dfm}procedure TForm1.btn1Click(Sender: TObject);
    begin
      Caption := GetWebService.sayHi('Jadic');
    end;function TForm1.GetWebService: HelloWorld;
    begin
      Result := IntfHelloWorld.GetHelloWorld;
    end;end.
      

  2.   

    调用sayHi接口时会出现这个错
    unexpected element (uri:"http://server.cxf.com/", local:"text"). Expected elements are <{}text>如果我把接口文件中的最后一行的
    InvRegistry.RegisterInvokeOptions(TypeInfo(HelloWorld), ioDocument);
    改成
    InvRegistry.RegisterInvokeOptions(TypeInfo(HelloWorld), ioLiteral);
    会出现这个错
    Message part text was not recognized.  (Does it exist in service WSDL?)请问是不是接口文件中还有哪个地方注册还没有写,谢谢指点
      

  3.   

    注册这个的问题,检查下
    http://server.cxf.com/
      

  4.   


    把wsdl中
    <xs:element minOccurs="0" name="text" type="xs:string" /> 
    改成
    <xs:element minOccurs="0" name="return" type="xs:string" /> 
      

  5.   

    我调过java的WebService也是没成功,.Net的就可以,后来我就自己解析xml解决了
      

  6.   

    initialization
      InvRegistry.RegisterInterface(TypeInfo(HelloWorld), 'http://server.cxf.com/', 'UTF-8');
      InvRegistry.RegisterDefaultSOAPAction(TypeInfo(HelloWorld), '');
      InvRegistry.RegisterInvokeOptions(TypeInfo(HelloWorld), ioDocument);這里面怎么沒有參數定義呢??看我這個initialization
      InvRegistry.RegisterInterface(TypeInfo(KgsoftServicePortType), 'http://base.com', 'UTF-8');
      InvRegistry.RegisterDefaultSOAPAction(TypeInfo(KgsoftServicePortType), '');
      InvRegistry.RegisterExternalParamName(TypeInfo(KgsoftServicePortType), 'executeSqlToSelect', 'String_', 'String');
      InvRegistry.RegisterExternalParamName(TypeInfo(KgsoftServicePortType), 'executePostData', 'String_', 'String');
      

  7.   

    接口文件
    // ************************************************************************ //
    // The types declared in this file were generated from data read from the
    // WSDL File described below:
    // WSDL     : http://localhost:8080/KgsoftService/services/KgsoftService?wsdl
    // Encoding : UTF-8
    // Version  : 1.0
    // (2009-12-07  10:26:25 - 1.33.2.5)
    // ************************************************************************ //unit KgsoftService;interfaceuses InvokeRegistry, SOAPHTTPClient, Types, XSBuiltIns;type  // ************************************************************************ //
      // The following types, referred to in the WSDL document are not being represented
      // in this file. They are either aliases[@] of other types represented or were referred
      // to but never[!] declared in the document. The types from the latter category
      // typically map to predefined/known XML or Borland types; however, they could also 
      // indicate incorrect WSDL documents that failed to declare or import a schema type.
      // ************************************************************************ //
      // !:string          - "http://www.w3.org/2001/XMLSchema"  // ************************************************************************ //
      // Namespace : http://base.com
      // transport : http://schemas.xmlsoap.org/soap/http
      // style     : document
      // binding   : KgsoftServiceHttpBinding
      // service   : KgsoftService
      // port      : KgsoftServiceHttpPort
      // URL       : http://localhost:8080/KgsoftService/services/KgsoftService
      // ************************************************************************ //
      KgsoftServicePortType = interface(IInvokable)
      ['{1B15BBB8-0969-D474-358A-CC0928E5FB90}']
        function  executeSqlToSelect(const String_: WideString): WideString; stdcall;
        function  executePostData(const String_: WideString; const String0: WideString; const String1: WideString): WideString; stdcall;
      end;function GetKgsoftServicePortType(UseWSDL: Boolean=System.False; Addr: string=''; HTTPRIO: THTTPRIO = nil): KgsoftServicePortType;
    implementationfunction GetKgsoftServicePortType(UseWSDL: Boolean; Addr: string; HTTPRIO: THTTPRIO): KgsoftServicePortType;
    const
      defWSDL = 'http://localhost:8080/KgsoftService/services/KgsoftService?wsdl';
      defURL  = 'http://localhost:8080/KgsoftService/services/KgsoftService';
      defSvc  = 'KgsoftService';
      defPrt  = 'KgsoftServiceHttpPort';
    var
      RIO: THTTPRIO;
    begin
      Result := nil;
      if (Addr = '') then
      begin
        if UseWSDL then
          Addr := defWSDL
        else
          Addr := defURL;
      end;
      if HTTPRIO = nil then
        RIO := THTTPRIO.Create(nil)
      else
        RIO := HTTPRIO;
      try
        Result := (RIO as KgsoftServicePortType);
        if UseWSDL then
        begin
          RIO.WSDLLocation := Addr;
          RIO.Service := defSvc;
          RIO.Port := defPrt;
        end else
          RIO.URL := Addr;
      finally
        if (Result = nil) and (HTTPRIO = nil) then
          RIO.Free;
      end;
    end;
    initialization
      InvRegistry.RegisterInterface(TypeInfo(KgsoftServicePortType), 'http://base.com', 'UTF-8');
      InvRegistry.RegisterDefaultSOAPAction(TypeInfo(KgsoftServicePortType), '');
      InvRegistry.RegisterExternalParamName(TypeInfo(KgsoftServicePortType), 'executeSqlToSelect', 'String_', 'String');
      InvRegistry.RegisterExternalParamName(TypeInfo(KgsoftServicePortType), 'executePostData', 'String_', 'String');end.
      

  8.   

    好,既然加分,我就把service的代码发给你,我是用C#写的service,用delphi调用成功。主要是实现上传文件功能。
    需要的话留下QQ,我把C#代码发给你,然后把delphi调用代码发到本贴中,如果不是你要的,那就算了。
      

  9.   


    晕啦,调c#的我这边有,现在就是要java的啊
      

  10.   

    晕,我就是用DELPHI调的CXF的webservice
      

  11.   

    实际是一个很BT的问题因为Delphi的WS有点傻默认只认RPC/Encode,而使用.NET做WS服务就不会有这问题
    在你服务的类上指定SOAP使用RPC/ENCODE就好,CXF的前身XFire也是用样的问题
    @SOAPBinding(use=SOAPBinding.Use.ENCODED, style=SOAPBinding.Style.RPC) 
    @WebService(name="xxx", targetNamespace="xxx")
      

  12.   

    1.
      webservice...
    // ************************************************************************ //
    // The types declared in this file were generated from data read from the
    // WSDL File described below:
    // WSDL     : http://172.20.100.10/test/service.asmx?wsdl
    //  >Import : http://172.20.100.10/test/service.asmx?wsdl:0
    // Encoding : utf-8
    // Version  : 1.0
    // (2010/6/22 上午 11:31:35 - - $Rev: 10138 $)
    // ************************************************************************ //unit service;interfaceuses InvokeRegistry, SOAPHTTPClient, Types, XSBuiltIns;const
      IS_OPTN = $0001;
      IS_REF  = $0080;
    type  // ************************************************************************ //
      // The following types, referred to in the WSDL document are not being represented
      // in this file. They are either aliases[@] of other types represented or were referred
      // to but never[!] declared in the document. The types from the latter category
      // typically map to predefined/known XML or Borland types; however, they could also 
      // indicate incorrect WSDL documents that failed to declare or import a schema type.
      // ************************************************************************ //
      // !:string          - "http://www.w3.org/2001/XMLSchema"[Gbl]  // ************************************************************************ //
      // Namespace : Kye
      // soapAction: Kye/HelloWorld
      // transport : http://schemas.xmlsoap.org/soap/http
      // style     : document
      // binding   : ServiceSoap
      // service   : Service
      // port      : ServiceSoap
      // URL       : http://172.20.100.10/test/service.asmx
      // ************************************************************************ //
      ServiceSoap = interface(IInvokable)
      ['{B82FAFBA-EAB8-AD5C-2535-FB6046355616}']
        function  HelloWorld(const name_: WideString): WideString; stdcall;
      end;function GetServiceSoap(UseWSDL: Boolean=System.False; Addr: string=''; HTTPRIO: THTTPRIO = nil): ServiceSoap;
    implementation
      uses SysUtils;function GetServiceSoap(UseWSDL: Boolean; Addr: string; HTTPRIO: THTTPRIO): ServiceSoap;
    const
      defWSDL = 'http://172.20.100.10/test/service.asmx?wsdl';
      defURL  = 'http://172.20.100.10/test/service.asmx';
      defSvc  = 'Service';
      defPrt  = 'ServiceSoap';
    var
      RIO: THTTPRIO;
    begin
      Result := nil;
      if (Addr = '') then
      begin
        if UseWSDL then
          Addr := defWSDL
        else
          Addr := defURL;
      end;
      if HTTPRIO = nil then
        RIO := THTTPRIO.Create(nil)
      else
        RIO := HTTPRIO;
      try
        Result := (RIO as ServiceSoap);
        if UseWSDL then
        begin
          RIO.WSDLLocation := Addr;
          RIO.Service := defSvc;
          RIO.Port := defPrt;
        end else
          RIO.URL := Addr;
      finally
        if (Result = nil) and (HTTPRIO = nil) then
          RIO.Free;
      end;
    end;
    initialization
      InvRegistry.RegisterInterface(TypeInfo(ServiceSoap), 'Kye', 'utf-8');
      InvRegistry.RegisterDefaultSOAPAction(TypeInfo(ServiceSoap), 'Kye/HelloWorld');
      InvRegistry.RegisterInvokeOptions(TypeInfo(ServiceSoap), ioDocument);
      InvRegistry.RegisterExternalParamName(TypeInfo(ServiceSoap), 'HelloWorld', 'name_', 'name');end.
      

  13.   

    2.
      call...unit Unit1;interfaceuses
      Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
      Dialogs,service, StdCtrls;type
      TForm1 = class(TForm)
        btn1: TButton;
        edt1: TEdit;
        Label1: TLabel;
        procedure btn1Click(Sender: TObject);
      private
        aa:ServiceSoap;
        { Private declarations }
      public
        { Public declarations }
      end;var
      Form1: TForm1;implementation{$R *.dfm}procedure TForm1.btn1Click(Sender: TObject);
    begin
      aa:=GetServiceSoap(False,'',nil);
      ShowMessage(aa.HelloWorld(edt1.Text));
    end;end.
     
      

  14.   

    我用cxf生成的wsdl文件,用Delphi调用报
    Message part getBSp was not recognized.  (Does it exist in service WSDL?)
     异常。期待解决。
    - <wsdl:message name="getBXlMdResponse">
      <wsdl:part name="return" type="ns1:anyTypeArrayArray" /> 
      </wsdl:message>
    - <wsdl:message name="goodsTransferWarrant_Over">
      <wsdl:part name="authID" type="xsd:string" /> 
      <wsdl:part name="tno" type="xsd:string" /> 
      <wsdl:part name="deviceno" type="xsd:string" /> 
      </wsdl:message>
    - <wsdl:message name="goodsTransferWarrant_MXBResponse">
      <wsdl:part name="return" type="xsd:string" /> 
      </wsdl:message>
    - <wsdl:message name="CustomerWholesaleWarrant_MXB">
      <wsdl:part name="authID" type="xsd:string" /> 
      <wsdl:part name="tno" type="xsd:string" /> 
      <wsdl:part name="tm" type="xsd:string" /> 
      <wsdl:part name="bm" type="xsd:string" /> 
      <wsdl:part name="pm" type="xsd:string" /> 
      <wsdl:part name="dw" type="xsd:string" /> 
      <wsdl:part name="gg" type="xsd:string" /> 
      <wsdl:part name="jj" type="xsd:string" /> 
      <wsdl:part name="pfj" type="xsd:string" /> 
      <wsdl:part name="sl" type="xsd:string" /> 
      <wsdl:part name="dateinput" type="xsd:string" /> 
      <wsdl:part name="id_1" type="xsd:string" /> 
      <wsdl:part name="didno" type="xsd:string" /> 
      <wsdl:part name="deviceNo" type="xsd:string" /> 
      </wsdl:message>
    - <wsdl:message name="getBGysResponse">
      <wsdl:part name="return" type="ns1:anyTypeArrayArray" /> 
      </wsdl:message>
    - <wsdl:message name="shopM_DbckResponse">
      <wsdl:part name="return" type="ns1:stringArrayArray" /> 
      </wsdl:message>
    - <wsdl:message name="CustomerWholesaleWarrant_ZBResponse">
      <wsdl:part name="return" type="xsd:string" /> 
      </wsdl:message>
    - <wsdl:message name="shopSaleInfoBResponse">
      <wsdl:part name="return" type="xsd:string" /> 
      </wsdl:message>
    - <wsdl:message name="getBKcCountResponse">
      <wsdl:part name="return" type="xsd:int" /> 
      </wsdl:message>
    - <wsdl:message name="shop_UpdateCardMoneyResponse">
      <wsdl:part name="return" type="xsd:string" /> 
      </wsdl:message>
    - <wsdl:message name="CustomerReturnedWarrant_MXBResponse">
      <wsdl:part name="return" type="xsd:string" /> 
      </wsdl:message>
    - <wsdl:portType name="INewnetWebServices">
    - <wsdl:operation name="shopM_Dbck">
      <wsdl:input message="tns:shopM_Dbck" name="shopM_Dbck" /> 
      <wsdl:output message="tns:shopM_DbckResponse" name="shopM_DbckResponse" /> 
      </wsdl:operation>
    - <wsdl:operation name="goodsInputWarrant_Over">
      <wsdl:input message="tns:goodsInputWarrant_Over" name="goodsInputWarrant_Over" /> 
      <wsdl:output message="tns:goodsInputWarrant_OverResponse" name="goodsInputWarrant_OverResponse" /> 
      </wsdl:operation>
    - <wsdl:operation name="getBGysCount">
      <wsdl:input message="tns:getBGysCount" name="getBGysCount" /> 
      <wsdl:output message="tns:getBGysCountResponse" name="getBGysCountResponse" /> 
      </wsdl:operation>
    - <wsdl:operation name="CustomerReturnedWarrant_Over">
      <wsdl:input message="tns:CustomerReturnedWarrant_Over" name="CustomerReturnedWarrant_Over" /> 
      <wsdl:output message="tns:CustomerReturnedWarrant_OverResponse" name="CustomerReturnedWarrant_OverResponse" /> 
      </wsdl:operation>
    - <wsdl:operation name="getBXlCount">
      <wsdl:input message="tns:getBXlCount" name="getBXlCount" /> 
      <wsdl:output message="tns:getBXlCountResponse" name="getBXlCountResponse" /> 
      </wsdl:operation>
    - <wsdl:operation name="getBXlMd">
      <wsdl:input message="tns:getBXlMd" name="getBXlMd" /> 
      <wsdl:output message="tns:getBXlMdResponse" name="getBXlMdResponse" /> 
      </wsdl:operation>
    - <wsdl:operation name="shopYscy">
      <wsdl:input message="tns:shopYscy" name="shopYscy" /> 
      <wsdl:output message="tns:shopYscyResponse" name="shopYscyResponse" /> 
      </wsdl:operation>
    - <wsdl:operation name="goodsCheckWarrant_ZB">
      <wsdl:input message="tns:goodsCheckWarrant_ZB" name="goodsCheckWarrant_ZB" /> 
      <wsdl:output message="tns:goodsCheckWarrant_ZBResponse" name="goodsCheckWarrant_ZBResponse" /> 
      </wsdl:operation>
    - <wsdl:operation name="getBGys">
      <wsdl:input message="tns:getBGys" name="getBGys" /> 
      <wsdl:output message="tns:getBGysResponse" name="getBGysResponse" /> 
      </wsdl:operation>
    - <wsdl:operation name="getBSpCount">
      <wsdl:input message="tns:getBSpCount" name="getBSpCount" /> 
      <wsdl:output message="tns:getBSpCountResponse" name="getBSpCountResponse" /> 
      </wsdl:operation>
    - <wsdl:operation name="getBDq">
      <wsdl:input message="tns:getBDq" name="getBDq" /> 
      <wsdl:output message="tns:getBDqResponse" name="getBDqResponse" /> 
      </wsdl:operation>
    - <wsdl:operation name="CustomerWholesaleWarrant_Over">
      <wsdl:input message="tns:CustomerWholesaleWarrant_Over" name="CustomerWholesaleWarrant_Over" /> 
      <wsdl:output message="tns:CustomerWholesaleWarrant_OverResponse" name="CustomerWholesaleWarrant_OverResponse" /> 
      </wsdl:operation>
    - <wsdl:operation name="shopSaleInfoA">
      <wsdl:input message="tns:shopSaleInfoA" name="shopSaleInfoA" /> 
      <wsdl:output message="tns:shopSaleInfoAResponse" name="shopSaleInfoAResponse" /> 
      </wsdl:operation>
    - <wsdl:operation name="getBKc">
      <wsdl:input message="tns:getBKc" name="getBKc" /> 
      <wsdl:output message="tns:getBKcResponse" name="getBKcResponse" /> 
      </wsdl:operation>
    - <wsdl:operation name="goodsInputWarrant_ZB">
      <wsdl:input message="tns:goodsInputWarrant_ZB" name="goodsInputWarrant_ZB" /> 
      <wsdl:output message="tns:goodsInputWarrant_ZBResponse" name="goodsInputWarrant_ZBResponse" /> 
      </wsdl:operation>
    - <wsdl:operation name="shop_UpdateCardMoney">
      <wsdl:input message="tns:shop_UpdateCardMoney" name="shop_UpdateCardMoney" /> 
      <wsdl:output message="tns:shop_UpdateCardMoneyResponse" name="shop_UpdateCardMoneyResponse" /> 
      </wsdl:operation>
    - <wsdl:operation name="getBCk">
      <wsdl:input message="tns:getBCk" name="getBCk" /> 
      <wsdl:output message="tns:getBCkResponse" name="getBCkResponse" /> 
      </wsdl:operation>
    - <wsdl:operation name="getBKcCount">
      <wsdl:input message="tns:getBKcCount" name="getBKcCount" /> 
      <wsdl:output message="tns:getBKcCountResponse" name="getBKcCountResponse" /> 
      </wsdl:operation>
    - <wsdl:operation name="testMethed">
      <wsdl:input message="tns:testMethed" name="testMethed" /> 
      <wsdl:output message="tns:testMethedResponse" name="testMethedResponse" /> 
      </wsdl:operation>
    - <wsdl:operation name="uploadPicPiece">
      <wsdl:input message="tns:uploadPicPiece" name="uploadPicPiece" /> 
      <wsdl:output message="tns:uploadPicPieceResponse" name="uploadPicPieceResponse" /> 
      </wsdl:operation>
    - <wsdl:operation name="shop_card_info">
      <wsdl:input message="tns:shop_card_info" name="shop_card_info" /> 
      <wsdl:output message="tns:shop_card_infoResponse" name="shop_card_infoResponse" /> 
      </wsdl:operation>
    - <wsdl:operation name="shopT_Dbck_ret">
      <wsdl:input message="tns:shopT_Dbck_ret" name="shopT_Dbck_ret" /> 
      <wsdl:output message="tns:shopT_Dbck_retResponse" name="shopT_Dbck_retResponse" /> 
      </wsdl:operation>
    - <wsdl:operation name="login">
      <soap:operation soapAction="" style="rpc" /> 
    - <wsdl:input name="login">
      <soap:body namespace="http://webservices.zzcoop.hwtt.com/" use="literal" /> 
      </wsdl:input>
    - <wsdl:output name="loginResponse">
      <soap:body namespace="http://webservices.zzcoop.hwtt.com/" use="literal" /> 
      </wsdl:output>
      </wsdl:operation>
    - <wsdl:operation name="CustomerReturnedWarrant_ZB">
      <soap:operation soapAction="" style="rpc" /> 
    - <wsdl:input name="CustomerReturnedWarrant_ZB">
      <soap:body namespace="http://webservices.zzcoop.hwtt.com/" use="literal" /> 
      </wsdl:input>
    - <wsdl:output name="CustomerReturnedWarrant_ZBResponse">
      <soap:body namespace="http://webservices.zzcoop.hwtt.com/" use="literal" /> 
      </wsdl:output>
      </wsdl:operation>
    - <wsdl:operation name="goodsCheckWarrant_MXB">
      <soap:operation soapAction="" style="rpc" /> 
    - <wsdl:input name="goodsCheckWarrant_MXB">
      <soap:body namespace="http://webservices.zzcoop.hwtt.com/" use="literal" /> 
      </wsdl:input>
    - <wsdl:service name="NewnetWebServicesService">
    - <wsdl:port binding="tns:NewnetWebServicesServiceSoapBinding" name="NewnetWebServicesPort">
      <soap:address location="http://192.168.4.181:8080/hwttzzcoop_new_oracle/services/zzcoopBusinessAll" /> 
      </wsdl:port>
      </wsdl:service>
      </wsdl:definitions>