Problem with web service

I have to implement a web service made in java and when I import it this is what I get:
{code}
  // ************************************************************************ //
  // 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 Embarcadero types; however, they could also
  // indicate incorrect WSDL documents that failed to declare or import a schema type.
  // ************************************************************************ //
  // !:dummyResponse   - "http://impl.service.wsmtxca.afip.gov.ar/service/"[]
  // !:exceptionResponse - "http://impl.service.wsmtxca.afip.gov.ar/service/"[Flt][]
  // !:autorizarComprobanteRequest - "http://impl.service.wsmtxca.afip.gov.ar/service/"[]
  // !:autorizarComprobanteResponse - "http://impl.service.wsmtxca.afip.gov.ar/service/"[]
  // !:solicitarCAEARequest - "http://impl.service.wsmtxca.afip.gov.ar/service/"[]
  // !:solicitarCAEAResponse - "http://impl.service.wsmtxca.afip.gov.ar/service/"[]
  // !:informarComprobanteCAEARequest - "http://impl.service.wsmtxca.afip.gov.ar/service/"[]
  // !:informarComprobanteCAEAResponse - "http://impl.service.wsmtxca.afip.gov.ar/service/"[]
  // !:consultarUltimoComprobanteAutorizadoRequest - "http://impl.service.wsmtxca.afip.gov.ar/service/"[]
  // !:consultarUltimoComprobanteAutorizadoResponse - "http://impl.service.wsmtxca.afip.gov.ar/service/"[]
  // !:consultarComprobanteRequest - "http://impl.service.wsmtxca.afip.gov.ar/service/"[]
  // !:consultarComprobanteResponse - "http://impl.service.wsmtxca.afip.gov.ar/service/"[]
  // !:consultarTiposComprobanteRequest - "http://impl.service.wsmtxca.afip.gov.ar/service/"[]
  // !:consultarTiposComprobanteResponse - "http://impl.service.wsmtxca.afip.gov.ar/service/"[]
  // !:consultarTiposDocumentoRequest - "http://impl.service.wsmtxca.afip.gov.ar/service/"[]
  // !:consultarTiposDocumentoResponse - "http://impl.service.wsmtxca.afip.gov.ar/service/"[]
  // !:consultarAlicuotasIVARequest - "http://impl.service.wsmtxca.afip.gov.ar/service/"[]
  // !:consultarAlicuotasIVAResponse - "http://impl.service.wsmtxca.afip.gov.ar/service/"[]
  // !:consultarCondicionesIVARequest - "http://impl.service.wsmtxca.afip.gov.ar/service/"[]
  // !:consultarCondicionesIVAResponse - "http://impl.service.wsmtxca.afip.gov.ar/service/"[]
  // !:consultarMonedasRequest - "http://impl.service.wsmtxca.afip.gov.ar/service/"[]
  // !:consultarMonedasResponse - "http://impl.service.wsmtxca.afip.gov.ar/service/"[]
  // !:consultarCotizacionMonedaRequest - "http://impl.service.wsmtxca.afip.gov.ar/service/"[]
  // !:consultarCotizacionMonedaResponse - "http://impl.service.wsmtxca.afip.gov.ar/service/"[]
  // !:consultarUnidadesMedidaRequest - "http://impl.service.wsmtxca.afip.gov.ar/service/"[]
  // !:consultarUnidadesMedidaResponse - "http://impl.service.wsmtxca.afip.gov.ar/service/"[]
  // !:consultarTiposTributoRequest - "http://impl.service.wsmtxca.afip.gov.ar/service/"[]
  // !:consultarTiposTributoResponse - "http://impl.service.wsmtxca.afip.gov.ar/service/"[]
  // !:consultarPuntosVentaRequest - "http://impl.service.wsmtxca.afip.gov.ar/service/"[]
  // !:consultarPuntosVentaResponse - "http://impl.service.wsmtxca.afip.gov.ar/service/"[]
  // !:consultarPuntosVentaCAERequest - "http://impl.service.wsmtxca.afip.gov.ar/service/"[]
  // !:consultarPuntosVentaCAEResponse - "http://impl.service.wsmtxca.afip.gov.ar/service/"[]
  // !:consultarPuntosVentaCAEARequest - "http://impl.service.wsmtxca.afip.gov.ar/service/"[]
  // !:consultarPuntosVentaCAEAResponse - "http://impl.service.wsmtxca.afip.gov.ar/service/"[]
  // !:informarCAEANoUtilizadoRequest - "http://impl.service.wsmtxca.afip.gov.ar/service/"[]
  // !:informarCAEANoUtilizadoResponse - "http://impl.service.wsmtxca.afip.gov.ar/service/"[]
  // !:informarCAEANoUtilizadoPtoVtaRequest - "http://impl.service.wsmtxca.afip.gov.ar/service/"[]
  // !:informarCAEANoUtilizadoPtoVtaResponse - "http://impl.service.wsmtxca.afip.gov.ar/service/"[]
  // !:consultarPtosVtaCAEANoInformadosRequest - "http://impl.service.wsmtxca.afip.gov.ar/service/"[]
  // !:consultarPtosVtaCAEANoInformadosResponse - "http://impl.service.wsmtxca.afip.gov.ar/service/"[]
  // !:consultarCAEARequest - "http://impl.service.wsmtxca.afip.gov.ar/service/"[]
  // !:consultarCAEAResponse - "http://impl.service.wsmtxca.afip.gov.ar/service/"[]
  // !:consultarCAEAEntreFechasRequest - "http://impl.service.wsmtxca.afip.gov.ar/service/"[]
  // !:consultarCAEAEntreFechasResponse - "http://impl.service.wsmtxca.afip.gov.ar/service/"[]
  // !:autorizarAjusteIVARequest - "http://impl.service.wsmtxca.afip.gov.ar/service/"[]
  // !:autorizarAjusteIVAResponse - "http://impl.service.wsmtxca.afip.gov.ar/service/"[]
  // !:informarAjusteIVACAEARequest - "http://impl.service.wsmtxca.afip.gov.ar/service/"[]
  // !:informarAjusteIVACAEAResponse - "http://impl.service.wsmtxca.afip.gov.ar/service/"[]
  // !:consultarTiposDatosAdicionalesRequest - "http://impl.service.wsmtxca.afip.gov.ar/service/"[]
  // !:consultarTiposDatosAdicionalesResponse - "http://impl.service.wsmtxca.afip.gov.ar/service/"[]


  // ************************************************************************ //
  // Namespace : http://impl.service.wsmtxca.afip.gov.ar/service/
  // binding   : MTXCAServiceSoap11Binding
  // service   : MTXCAService
  // port      : MTXCAServiceHttpSoap11Endpoint
  // ************************************************************************ //
  MTXCAServicePortType = interface(IInvokable)
  ['{07D2DF7B-2E01-4799-8CFE-C26751D856AB}']
    function  dummy: dummyResponse; stdcall;
    function  autorizarComprobante(const parameters: autorizarComprobanteRequest): autorizarComprobanteResponse; stdcall;
    function  solicitarCAEA(const parameters: solicitarCAEARequest): solicitarCAEAResponse; stdcall;
    function  informarComprobanteCAEA(const parameters: informarComprobanteCAEARequest): informarComprobanteCAEAResponse; stdcall;

{code}

I use delphi 2010 and the URL of the web service is https://fwshomo.afip.gov.ar/wsmtxca/services/MTXCAService?wsdl

I don´t know if I´m doing something wrong or is a problem with the web service.

Thanks
0
Alejandro
6/9/2015 11:02:58 PM
embarcadero.delphi.webservices 976 articles. 0 followers. Follow

1 Replies
811 Views

Similar Articles

[PageSpeed] 6

import in XE7 seems to be ok:

{code}
//
************************************************************************
//
// Die in dieser Datei deklarierten Typen wurden aus Daten der unten
// beschriebenen WSDL-Datei generiert:

// WSDL     :
https://fwshomo.afip.gov.ar/wsmtxca/services/MTXCAService?wsdl
//  >Import :
https://fwshomo.afip.gov.ar/wsmtxca/services/MTXCAService?wsdl>0
// Codierung : UTF-8
// Version: 1.0
// (10.06.2015 16:54:20 - - $Rev: 69934 $)
//
************************************************************************
//

unit MTXCAService;

interface

uses Soap.InvokeRegistry, Soap.SOAPHTTPClient, System.Types,
Soap.XSBuiltIns;

type

  //
************************************************************************
//
  // Die folgenden Typen, auf die im WSDL-Dokument Bezug genommen wird,
sind in dieser Datei
  // nicht repräsentiert. Sie sind entweder Aliase[@] anderer
repräsentierter Typen oder auf sie wurde Bezug genommen,
  // aber sie sind in diesem Dokument nicht[!] deklariert. Die Typen
aus letzterer Kategorie
  // sind in der Regel vordefinierten/bekannten XML- oder
Embarcadero-Typen zugeordnet; sie könnten aber auf
  // ein inkorrektes WSDL-Dokument hinweisen, das einen Schematyp nicht
deklariert oder importiert hat.
  //
************************************************************************
//
  // !:consultarPuntosVentaCAEAResponse -
"http://impl.service.wsmtxca.afip.gov.ar/service/"[Lit][]
  // !:consultarPuntosVentaCAEARequest -
"http://impl.service.wsmtxca.afip.gov.ar/service/"[Lit][]
  // !:consultarPuntosVentaCAEResponse -
"http://impl.service.wsmtxca.afip.gov.ar/service/"[Lit][]
  // !:informarCAEANoUtilizadoPtoVtaRequest -
"http://impl.service.wsmtxca.afip.gov.ar/service/"[Lit][]
  // !:informarCAEANoUtilizadoResponse -
"http://impl.service.wsmtxca.afip.gov.ar/service/"[Lit][]
  // !:informarCAEANoUtilizadoRequest -
"http://impl.service.wsmtxca.afip.gov.ar/service/"[Lit][]
  // !:consultarTiposTributoResponse -
"http://impl.service.wsmtxca.afip.gov.ar/service/"[Lit][]
  // !:consultarTiposTributoRequest -
"http://impl.service.wsmtxca.afip.gov.ar/service/"[Lit][]
  // !:consultarUnidadesMedidaResponse -
"http://impl.service.wsmtxca.afip.gov.ar/service/"[Lit][]
  // !:consultarPuntosVentaCAERequest -
"http://impl.service.wsmtxca.afip.gov.ar/service/"[Lit][]
  // !:consultarPuntosVentaResponse -
"http://impl.service.wsmtxca.afip.gov.ar/service/"[Lit][]
  // !:consultarPuntosVentaRequest -
"http://impl.service.wsmtxca.afip.gov.ar/service/"[Lit][]
  // !:informarCAEANoUtilizadoPtoVtaResponse -
"http://impl.service.wsmtxca.afip.gov.ar/service/"[Lit][]
  // !:informarAjusteIVACAEARequest -
"http://impl.service.wsmtxca.afip.gov.ar/service/"[Lit][]
  // !:autorizarAjusteIVAResponse -
"http://impl.service.wsmtxca.afip.gov.ar/service/"[Lit][]
  // !:autorizarAjusteIVARequest -
"http://impl.service.wsmtxca.afip.gov.ar/service/"[Lit][]
  // !:consultarTiposDatosAdicionalesResponse -
"http://impl.service.wsmtxca.afip.gov.ar/service/"[Lit][]
  // !:consultarTiposDatosAdicionalesRequest -
"http://impl.service.wsmtxca.afip.gov.ar/service/"[Lit][]
  // !:informarAjusteIVACAEAResponse -
"http://impl.service.wsmtxca.afip.gov.ar/service/"[Lit][]
  // !:consultarCAEARequest -
"http://impl.service.wsmtxca.afip.gov.ar/service/"[Lit][]
  // !:consultarPtosVtaCAEANoInformadosResponse -
"http://impl.service.wsmtxca.afip.gov.ar/service/"[Lit][]
  // !:consultarPtosVtaCAEANoInformadosRequest -
"http://impl.service.wsmtxca.afip.gov.ar/service/"[Lit][]
  // !:consultarCAEAEntreFechasResponse -
"http://impl.service.wsmtxca.afip.gov.ar/service/"[Lit][]
  // !:consultarCAEAEntreFechasRequest -
"http://impl.service.wsmtxca.afip.gov.ar/service/"[Lit][]
  // !:consultarCAEAResponse -
"http://impl.service.wsmtxca.afip.gov.ar/service/"[Lit][]
  // !:consultarUltimoComprobanteAutorizadoRequest -
"http://impl.service.wsmtxca.afip.gov.ar/service/"[Lit][]
  // !:informarComprobanteCAEAResponse -
"http://impl.service.wsmtxca.afip.gov.ar/service/"[Lit][]
  // !:informarComprobanteCAEARequest -
"http://impl.service.wsmtxca.afip.gov.ar/service/"[Lit][]
  // !:consultarComprobanteResponse -
"http://impl.service.wsmtxca.afip.gov.ar/service/"[Lit][]
  // !:consultarComprobanteRequest -
"http://impl.service.wsmtxca.afip.gov.ar/service/"[Lit][]
  // !:consultarUltimoComprobanteAutorizadoResponse -
"http://impl.service.wsmtxca.afip.gov.ar/service/"[Lit][]
  // !:autorizarComprobanteRequest -
"http://impl.service.wsmtxca.afip.gov.ar/service/"[Lit][]
  // !:exceptionResponse -
"http://impl.service.wsmtxca.afip.gov.ar/service/"[Flt][]
  // !:dummyResponse   -
"http://impl.service.wsmtxca.afip.gov.ar/service/"[Lit][]
  // !:solicitarCAEAResponse -
"http://impl.service.wsmtxca.afip.gov.ar/service/"[Lit][]
  // !:solicitarCAEARequest -
"http://impl.service.wsmtxca.afip.gov.ar/service/"[Lit][]
  // !:autorizarComprobanteResponse -
"http://impl.service.wsmtxca.afip.gov.ar/service/"[Lit][]
  // !:consultarTiposComprobanteRequest -
"http://impl.service.wsmtxca.afip.gov.ar/service/"[Lit][]
  // !:consultarMonedasResponse -
"http://impl.service.wsmtxca.afip.gov.ar/service/"[Lit][]
  // !:consultarMonedasRequest -
"http://impl.service.wsmtxca.afip.gov.ar/service/"[Lit][]
  // !:consultarCondicionesIVAResponse -
"http://impl.service.wsmtxca.afip.gov.ar/service/"[Lit][]
  // !:consultarUnidadesMedidaRequest -
"http://impl.service.wsmtxca.afip.gov.ar/service/"[Lit][]
  // !:consultarCotizacionMonedaResponse -
"http://impl.service.wsmtxca.afip.gov.ar/service/"[Lit][]
  // !:consultarCotizacionMonedaRequest -
"http://impl.service.wsmtxca.afip.gov.ar/service/"[Lit][]
  // !:consultarTiposDocumentoResponse -
"http://impl.service.wsmtxca.afip.gov.ar/service/"[Lit][]
  // !:consultarTiposDocumentoRequest -
"http://impl.service.wsmtxca.afip.gov.ar/service/"[Lit][]
  // !:consultarTiposComprobanteResponse -
"http://impl.service.wsmtxca.afip.gov.ar/service/"[Lit][]
  // !:consultarCondicionesIVARequest -
"http://impl.service.wsmtxca.afip.gov.ar/service/"[Lit][]
  // !:consultarAlicuotasIVAResponse -
"http://impl.service.wsmtxca.afip.gov.ar/service/"[Lit][]
  // !:consultarAlicuotasIVARequest -
"http://impl.service.wsmtxca.afip.gov.ar/service/"[Lit][]


  //
************************************************************************
//
  // Namespace : http://impl.service.wsmtxca.afip.gov.ar/service/
  // soapAction:
http://impl.service.wsmtxca.afip.gov.ar/service/%operationName%
  // Transport : http://schemas.xmlsoap.org/soap/http
  // Stil     : document
  // Verwenden von       : literal
  // Bindung   : MTXCAServiceSoap11Binding
  // Service   : MTXCAService
  // Port      : MTXCAServiceHttpSoap11Endpoint
  // URL       :
https://fwshomo.afip.gov.ar/wsmtxca/services/MTXCAService
  //
************************************************************************
//
  MTXCAServicePortType = interface(IInvokable)
  ['{CE45775E-4B42-2FED-D0BF-02287F61DC20}']

    // Entpacken nicht möglich: 
    //     - Ausgabe-Part verweist auf kein Element
    function  dummy: dummyResponse; stdcall;

    // Entpacken nicht möglich: 
    //     - Eingabe-Part verweist auf kein Element
    //     - Ausgabe-Part verweist auf kein Element
    function  autorizarComprobante(const parameters:
autorizarComprobanteRequest): autorizarComprobanteResponse; stdcall;

    // Entpacken nicht möglich: 
    //     - Eingabe-Part verweist auf kein Element
    //     - Ausgabe-Part verweist auf kein Element
    function  solicitarCAEA(const parameters: solicitarCAEARequest):
solicitarCAEAResponse; stdcall;

    // Entpacken nicht möglich: 
    //     - Eingabe-Part verweist auf kein Element
    //     - Ausgabe-Part verweist auf kein Element
    function  informarComprobanteCAEA(const parameters:
informarComprobanteCAEARequest): informarComprobanteCAEAResponse;
stdcall;

    // Entpacken nicht möglich: 
    //     - Eingabe-Part verweist auf kein Element
    //     - Ausgabe-Part verweist auf kein Element
    function  consultarUltimoComprobanteAutorizado(const parameters:
consultarUltimoComprobanteAutorizadoRequest):
consultarUltimoComprobanteAutorizadoResponse; stdcall;

    // Entpacken nicht möglich: 
    //     - Eingabe-Part verweist auf kein Element
    //     - Ausgabe-Part verweist auf kein Element
    function  consultarComprobante(const parameters:
consultarComprobanteRequest): consultarComprobanteResponse; stdcall;

    // Entpacken nicht möglich: 
    //     - Eingabe-Part verweist auf kein Element
    //     - Ausgabe-Part verweist auf kein Element
    function  consultarTiposComprobante(const parameters:
consultarTiposComprobanteRequest): consultarTiposComprobanteResponse;
stdcall;

    // Entpacken nicht möglich: 
    //     - Eingabe-Part verweist auf kein Element
    //     - Ausgabe-Part verweist auf kein Element
    function  consultarTiposDocumento(const parameters:
consultarTiposDocumentoRequest): consultarTiposDocumentoResponse;
stdcall;

    // Entpacken nicht möglich: 
    //     - Eingabe-Part verweist auf kein Element
    //     - Ausgabe-Part verweist auf kein Element
    function  consultarAlicuotasIVA(const parameters:
consultarAlicuotasIVARequest): consultarAlicuotasIVAResponse; stdcall;

    // Entpacken nicht möglich: 
    //     - Eingabe-Part verweist auf kein Element
    //     - Ausgabe-Part verweist auf kein Element
    function  consultarCondicionesIVA(const parameters:
consultarCondicionesIVARequest): consultarCondicionesIVAResponse;
stdcall;

    // Entpacken nicht möglich: 
    //     - Eingabe-Part verweist auf kein Element
    //     - Ausgabe-Part verweist auf kein Element
    function  consultarMonedas(const parameters:
consultarMonedasRequest): consultarMonedasResponse; stdcall;

    // Entpacken nicht möglich: 
    //     - Eingabe-Part verweist auf kein Element
    //     - Ausgabe-Part verweist auf kein Element
    function  consultarCotizacionMoneda(const parameters:
consultarCotizacionMonedaRequest): consultarCotizacionMonedaResponse;
stdcall;

    // Entpacken nicht möglich: 
    //     - Eingabe-Part verweist auf kein Element
    //     - Ausgabe-Part verweist auf kein Element
    function  consultarUnidadesMedida(const parameters:
consultarUnidadesMedidaRequest): consultarUnidadesMedidaResponse;
stdcall;

    // Entpacken nicht möglich: 
    //     - Eingabe-Part verweist auf kein Element
    //     - Ausgabe-Part verweist auf kein Element
    function  consultarTiposTributo(const parameters:
consultarTiposTributoRequest): consultarTiposTributoResponse; stdcall;

    // Entpacken nicht möglich: 
    //     - Eingabe-Part verweist auf kein Element
    //     - Ausgabe-Part verweist auf kein Element
    function  consultarPuntosVenta(const parameters:
consultarPuntosVentaRequest): consultarPuntosVentaResponse; stdcall;

    // Entpacken nicht möglich: 
    //     - Eingabe-Part verweist auf kein Element
    //     - Ausgabe-Part verweist auf kein Element
    function  consultarPuntosVentaCAE(const parameters:
consultarPuntosVentaCAERequest): consultarPuntosVentaCAEResponse;
stdcall;

    // Entpacken nicht möglich: 
    //     - Eingabe-Part verweist auf kein Element
    //     - Ausgabe-Part verweist auf kein Element
    function  consultarPuntosVentaCAEA(const parameters:
consultarPuntosVentaCAEARequest): consultarPuntosVentaCAEAResponse;
stdcall;

    // Entpacken nicht möglich: 
    //     - Eingabe-Part verweist auf kein Element
    //     - Ausgabe-Part verweist auf kein Element
    function  informarCAEANoUtilizado(const parameters:
informarCAEANoUtilizadoRequest): informarCAEANoUtilizadoResponse;
stdcall;

    // Entpacken nicht möglich: 
    //     - Eingabe-Part verweist auf kein Element
    //     - Ausgabe-Part verweist auf kein Element
    function  informarCAEANoUtilizadoPtoVta(const parameters:
informarCAEANoUtilizadoPtoVtaRequest):
informarCAEANoUtilizadoPtoVtaResponse; stdcall;

    // Entpacken nicht möglich: 
    //     - Eingabe-Part verweist auf kein Element
    //     - Ausgabe-Part verweist auf kein Element
    function  consultarPtosVtaCAEANoInformados(const parameters:
consultarPtosVtaCAEANoInformadosRequest):
consultarPtosVtaCAEANoInformadosResponse; stdcall;

    // Entpacken nicht möglich: 
    //     - Eingabe-Part verweist auf kein Element
    //     - Ausgabe-Part verweist auf kein Element
    function  consultarCAEA(const parameters: consultarCAEARequest):
consultarCAEAResponse; stdcall;

    // Entpacken nicht möglich: 
    //     - Eingabe-Part verweist auf kein Element
    //     - Ausgabe-Part verweist auf kein Element
    function  consultarCAEAEntreFechas(const parameters:
consultarCAEAEntreFechasRequest): consultarCAEAEntreFechasResponse;
stdcall;

    // Entpacken nicht möglich: 
    //     - Eingabe-Part verweist auf kein Element
    //     - Ausgabe-Part verweist auf kein Element
    function  autorizarAjusteIVA(const parameters:
autorizarAjusteIVARequest): autorizarAjusteIVAResponse; stdcall;

    // Entpacken nicht möglich: 
    //     - Eingabe-Part verweist auf kein Element
    //     - Ausgabe-Part verweist auf kein Element
    function  informarAjusteIVACAEA(const parameters:
informarAjusteIVACAEARequest): informarAjusteIVACAEAResponse; stdcall;

    // Entpacken nicht möglich: 
    //     - Eingabe-Part verweist auf kein Element
    //     - Ausgabe-Part verweist auf kein Element
    function  consultarTiposDatosAdicionales(const parameters:
consultarTiposDatosAdicionalesRequest):
consultarTiposDatosAdicionalesResponse; stdcall;
  end;

function GetMTXCAServicePortType(UseWSDL: Boolean=System.False; Addr:
string=''; HTTPRIO: THTTPRIO = nil): MTXCAServicePortType;


implementation
  uses System.SysUtils;

function GetMTXCAServicePortType(UseWSDL: Boolean; Addr: string;
HTTPRIO: THTTPRIO): MTXCAServicePortType;
const
  defWSDL =
'https://fwshomo.afip.gov.ar/wsmtxca/services/MTXCAService?wsdl';
  defURL  = 'https://fwshomo.afip.gov.ar/wsmtxca/services/MTXCAService';
  defSvc  = 'MTXCAService';
  defPrt  = 'MTXCAServiceHttpSoap11Endpoint';
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 MTXCAServicePortType);
    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
  { MTXCAServicePortType }
  InvRegistry.RegisterInterface(TypeInfo(MTXCAServicePortType),
'http://impl.service.wsmtxca.afip.gov.ar/service/', 'UTF-8');
  InvRegistry.RegisterDefaultSOAPAction(TypeInfo(MTXCAServicePortType),
'http://impl.service.wsmtxca.afip.gov.ar/service/%operationName%');
  InvRegistry.RegisterInvokeOptions(TypeInfo(MTXCAServicePortType),
ioDocument);
  InvRegistry.RegisterInvokeOptions(TypeInfo(MTXCAServicePortType),
ioLiteral);

end.
{/code}


-- 
Patrick Schwarzer
Cologne, GMT+2
0
Patrick
6/10/2015 2:56:28 PM
Reply:

Similar Artilces:

Problem upgrading web service client from Delphi 7 to Delphi XE
In trying to upgrade our web service client to Delphi XE we have now get a web service error of Invalid Format. When we examine the SOAP request we see the following differences from Delphi 7 vs Delphi XE In Delphi 7 we get <SomeStuff xmlns="" xsi:nil="true" /> In Delphi XE we get <SomeStuff xsi:nil="true" /> We have narrowed the failure down to these differences in the client request. Is there anyway to get Delphi XE to generate a SOAP request with the xmlns attribute set to blank as it used to be? Hello, > In trying to u...

SOAP Web Service Problem (problema con un web service)
Please help, I can't read a webservice method (webmethod) from asmx web service, with Delphi firemonkey, In my first try I put a WDSL Importer, and I can retrive data from simplex type (string, booleans, integers) but when the method returns a DataSet, i loose my way. Por favor, ayuda, no puedo leer datos de un web service si el metodo que regresa es un DataSet, el web service esta hecho en dot.net así que es un asmx, utilizando el WDSL importes, traje datos sencillos como enteros, boleanos y otros, pero en el caso de arreglos como un DataSet no lo he conseguido, estoy perdido, y l...

Has anyone successfully used a Delphi web service client against an ENCRYPTED WCF web service server?
Has anyone successfully used a Delphi web service client against an ENCRYPTED WCF web service server? Which is to say, of course, that the URL would be starting with https. Anyone? ...

Problem calling Web Service using the DynamicPopulate Extender
Hi, I'm quite new to ASP.Net AJAX so please forgive my ignorance.  I have downloaded and installed the RC1 version and am following through some of the tutorial videos.  I am having a problem with the Dynamic Populate Extender example.  I have created some asp controls with onclick events calling a javascript function.  From there I am attempting to use a dynamic populate extender control to call a web service - it's a function declared on that ASPX page as the tutorial explains in necessary and decorated with the System.Web.Services.WebMEthod AND System.Web.Script.Serv...

Web Service Problem
I have created an NVO and deployed as a web service using PB 11.5. The object tries to access a database and return a string. When I try to test this from the project painter I get the following error: System.Web.Services.Protocols.SoapException: The specified module could not be found. (Exception from HRESULT: 0x8007007E) ---> System.IO.FileNotFoundException: The specified module could not be found. (Exception from HRESULT: 0x8007007E) at Sybase.PowerBuilder.PBSessionBase..ctor(String liblist) at Sybase.PowerBuilder.Web.PBSession..ctor(String liblist) at Sybase.PowerB...

Problem using Java web service from Delphi 7
Hello all, I am a Delphi developer trying to build a client for a java written web service. In Delphi (I am using Delphi 7 enterprise) I use the wizard which imports the wsdl and builds Delphi interfaces (and types, classes) related to the service imported. Everything works a part a (very important!) detail: if an axis method returns a string array the wizard "sees" a simple string only. I've tried to tweak with several options of the wizard, or even manually modify the generated interface but with no success. Other messages found with google seems to confirm that there...

Problem deploying web service to web server
This is my first time developing and deploying web service and I think my problem should have a very simple solution I just never went through this path before.   Here is what I am doing. I have my .net web site pushed up to the web server which web site houses my xml web service. I have a flash/flex component which is suppose to communicate with my web service. This my architecture.Now back to my issues.   Do I need to add service reference/web reference to my web site solution that will expose my web service and how to do that?   I added a service reference just to s...

Web Box and Web Service Box Problems
1st off, I want to say that I appreciate what Stephen has done for the .NET community. This is the single best piece of .NET software available to the ASP.NET community. That being said, I have a few problems with the newest version. Our site at http://gnonug.xocomp.net has some Web Box and Web Service issues. I have my main page set to show 2 random Web Boxes and 4 random Web Service Boxes. 1) The site displays all selected Web Boxes initially, then gradually drops some off. What would cause this? 2) The site initially displays the Web Service Boxes fine, then suddenly stop...

Problem with web service only on remote web server
  Hello! I have a web service that I have created. on my computer, the web service works fine. but on the web server (hosting service with asp.net 2.0) I get the following error: Parser Error Message: Could not create type 'Service'.Source Error: Line 1: <%@ WebService Language="C#" CodeBehind="~/App_Code/Service.cs" Class="Service" %> what can be the problem? it works on my computer, so what is the problem with server?  thanks! Dekel C. Did you deployed all your dlls under the bin directory? Did you deploy all your dlls under the bin directory? I gues...

problem adding web reference to a web service in my solution
I get the following error when trying to add a web reference to a web service in my solution  There was an error downloading 'http://localhost:3143/FileExplorerTreeViewService.asmx'. Parser Error Message: Could not create type 'Treeview_LoadFrWbsvc.FileExplorerTreeViewService'. Source Error: Line 1: <%@ WebService Language="C#" CodeBehind="FileExplorerTreeViewService.asmx.cs" Class="Treeview_LoadFrWbsvc.FileExplorerTreeViewService" %> The project is a sample from ComponentArt - populating a treeview control from a webservi...

Web Service Problem, No Web References were found on this page?
Hi Everyone I am new for ASP.Net. I just wanna one client problem to use a web service. The web service has been tested by view from browser. It is successful. Then I wrote the client problem, add web service, fill in address as following:http://localhost/CurrencyConverter1/CurrencyConverter1.vsdisco Then I got following error: Web Services (none) No Web References were found on this page. Click for help on finding a Web Reference. Errors The document was not recognized as a known document type (WSDL, XML Schema, or Discovery document)...

Calling a Web Service from a Web Service
Hello,I was looking for some feedback on calling a web service from within a web service. I've heard that it's not good practice (or not possible). I have a scenario where I think it might make some sense.Within our infrastructure, we've created a web service that handles incoming updates on the statuses of all processes. This has proven to be a good thing since it allows applications to communicate across server to make status updates. It's also used by third party developers and applications to communicate with our infrastructure.Along these lines ... we are planning to create a new compon...

Is web services a part of web Service?
  I have a question: Is web services a part of web server?? And when the client calls web service, it means that client calls web server?? Or is it a different entity in itself which communicates separately both with client and server and acts as middleware application.. I am very confused.. Can someone explain me the architecture...??? Thanks..Dont forget to click "Mark as Answer" on the post that helped you.This credits the member,earns you a point & marks your thread as Resolved so that new users will know where to search for their queries. When you build and dep...

what are web services and what are the advantages of web services?
 Hello  i am new to this .net stuff and i was ask on the job interview what a web services is?and if i did not know given that i had a project ( as a project manager,  or a web developer)   what  is it? how do i start a >NET project on it? what are the main advantages is?  HOW DO I START THIS IN THE INTERVIEW>  and what basic books do i buy?   Hi There, There plenty of source on the net about webservice Definiton: http://en.wikipedia.org/wiki/Web_service http://www.codeproject.com/Purgatory/Defining_Web_Services.asp...

.Net Web Services consume DCOM problem!!! big problem!!!
the senario is like that: PC1 got a Com+ application PC2 is Web Service that host the .net web services I export the Com+ application proxy and install into the PC2. I add reference in the Web services project then I code: <WebMethod()> Public Function GetCustomerWS() As String Dim objFDIP As New FDIPCOM.FDIPCOMServices() Dim strReturn As String objFDIP.GetAllCustomer(strReturn) Return strReturn End Function when I run the Web Services, and invoke it, it return nothing but: HTTP 500 Internal server error. ...

Web resources about - Problem with web service - embarcadero.delphi.webservices

Is–ought problem - Wikipedia, the free encyclopedia
The is–ought problem in meta-ethics as articulated by Scottish philosopher and historian David Hume (1711–76) is that many writers make claims ...

The problem with the RBA's terms-of-trade forecasts
Most commodity markets have proved too reactionary to offer much insight into future price developments.

6 problems with the Moto X Play and how to fix them
... every other smartphone and tablet out there, the Moto X Play is not without its issues. Which is why, we've rounded up some of the common problems ...

Apple is working on an iOS app for troubleshooting device problems
... with knowledge of goings-on at Apple’s Infinite Loop HQ,” the in-development application asks customers “basic questions to boil down the problem” ...

Sleeping in on weekends linked to health problems
... morning snoozes (however glorious they may be). Sleeping late on days-off—and other sleep-time adjustments—are linked to metabolic problems ...

DeAndre Hopkins Having No Problem with Darrelle Revis, Burns Him for 61-Yard TD - Bleacher Report
Many believed Houston Texans wide receiver DeAndre Hopkins would be stranded on Revis Island this Sunday. He hasn’t been—at all...

This is not just some oddity from Ottawa: Yoga really is a cultural appropriation problem.
Here 's a story from Canada. At the University of Ottawa, the Centre for Students with Disabilities has decided to end its program of free yoga ...

Oil Patch Problems: Rigs Down 60%, Production Down 3%, $40-$50 Price Doesn't Work
... has not hand a monthly close below $40 since mid-2004. And $40 to $50 is not even profitable, putting producers into a bind. Oil Patch Problems ...

E. Coli Isn't Chipotle's Only Problem
Brand perception was way down even before the latest outbreak.

Yahoo's board suddenly has a big, looming problem and it could mean the end of Marissa Mayer
... winnable for Starboard. And with the Alibaba stake looking more risky, this argument is potentially worth fighting harder for. The IRS problem ...

Resources last updated: 11/23/2015 5:38:57 PM