Quantcast
Channel: WCF, ASMX and other Web Services
Viewing all articles
Browse latest Browse all 555

WSDL - generation of proxy classes

$
0
0

I`ve got the following URLs for accessing web service:
WSDL URL http://77.79.218.70/platform_webservices.php/wsdl
Location http://77.79.218.70/platform_webservices.php

When I try to use svcutil to generate proxy classes I get the following error

SvcUtil.exe http://77.79.218.70/platform_webservices.php/wsdl

Microsoft (R) Service Model Metadata Tool
[Microsoft (R) Windows (R) Communication Foundation, Version 4.6.1055.0]
Copyright (c) Microsoft Corporation.  All rights reserved.

Attempting to download metadata from 'http://77.79.218.70/platform_webservices.php/wsdl' using WS-Metadata Exchange or DISCO.
Error: Nie można zaimportować elementu wsdl:portType
Szczegóły: Podczas wykonywania rozszerzenia importu WSDL zgłoszono wyjątek: System.ServiceModel.Description.XmlSerializerMessageContractImporter
Błąd: Nie można odnaleźć definicji getIVRSListRequest. Brak opisu usługi z obszarem nazw .
Nazwa parametru: name
Ścieżka XPath do źródła błędu: //wsdl:definitions[@targetNamespace='http://www.example.org/ResellerAPI/']/wsdl:portType[@name='PlatformAPI']

Error: Nie można zaimportować elementu wsdl:binding
Szczegóły: Wystąpił błąd podczas importowania elementu wsdl:portType, od którego zależy element wsdl:binding.
Ścieżka XPath do wsdl:portType: //wsdl:definitions[@targetNamespace='http://www.example.org/ResellerAPI/']/wsdl:portType[@name='PlatformAPI']
Ścieżka XPath do źródła błędu: //wsdl:definitions[@targetNamespace='http://www.example.org/ResellerAPI/']/wsdl:binding[@name='NewBinding']

Error: Nie można zaimportować elementu wsdl:port
Szczegóły: Wystąpił błąd podczas importowania elementu wsdl:binding, od którego zależy element wsdl:port.
Ścieżka XPath do wsdl:binding: //wsdl:definitions[@targetNamespace='http://www.example.org/ResellerAPI/']/wsdl:binding[@name='NewBinding']
Ścieżka XPath do źródła błędu: //wsdl:definitions[@targetNamespace='http://www.example.org/ResellerAPI/']/wsdl:service[@name='PlatformAPI']/wsdl:port[@name='ResellerAPISOAP']

Generating files...
Warning: No code was generated.
If you were trying to generate a client, this could be because the metadata documents did not contain any valid contracts or services
or because all contracts/services were discovered to exist in /reference assemblies. Verify that you passed all the metadata documents to the tool.

Warning: If you would like to generate data contracts from schemas make sure to use the /dataContractOnly option.

How can I make it working in that case?


Viewing all articles
Browse latest Browse all 555

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>