Jump to content

mausmb

Members
  • Content Count

    55
  • Joined

  • Last visited

Posts posted by mausmb


  1. On 10/26/2018 at 11:12 AM, ertank said:

    SOAP service side is most likely prepared in C#. Not my web service at all. This is an electronic invoice service provider. Company between government and developers.

    Hi,

     

    This SOAP web service can't be imported in Delphi via WSDL importer 😞 Without import you can't use it directly If you don't understand all objects ... Wsdl importer error message "XML document must have a top level element" Line 0.

    Wsdl is generated with  "Published by JAX-WS RI at http://jax-ws.dev.java.net. RI's version is JAX-WS RI 2.2.5-b05 . " and not 

     

    yours service

    <!--
    Published by JAX-WS RI at http://jax-ws.dev.java.net. RI's version is JAX-WS RI 2.2.5-b05 .
    -->
    <!--
    Generated by JAX-WS RI at http://jax-ws.dev.java.net. RI's version is JAX-WS RI 2.2.5-b05 .
    -->
    <binding xmlns:ns1="http://service.earsiv.uut.cs.com.tr/" name="EarsivWebServicePortBinding" type="ns1:EarsivWebService">
    <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
    ....

     

    Example from c# .Net framework

    <wsdl:definitions xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:tns="????????" xmlns:s1="http://microsoft.com/wsdl/types/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" targetNamespace="????????">
    <wsdl:types>
    <s:schema elementFormDefault="qualified" targetNamespace="http://ros.si/R16">
    <s:import namespace="http://microsoft.com/wsdl/types/"/>

     

    My guess is you have also REST available !?

     

    Solution : c# import that Service and wrap it to helper service (regular SOAP service) ... and import wrapped WSDL into Delphi

     

     

    regards,

    M

×