SAPCRMアプリケーションからWebサービスを使用する.netクライアントを作成する必要があります。wsdlファイルを取得しました。しかし、wsdl.exeを使用してプロキシクラスを作成しようとすると、クラスが生成されないという警告が表示されます。私は何が間違っているのですか?
wsdlファイルのヘッダーがあります。
<?xml version="1.0" encoding="utf-8"?>
<wsdl:definitions targetNamespace="urn:sap-com:document:sap:soap:functions:mc-style"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"
xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
xmlns:tns="urn:sap-com:document:sap:soap:functions:mc-style"
xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy"
xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"
xmlns:n1="urn:sap-com:document:sap:rfc:functions">
VisualStudio2008を使用しています。
ありがとう
編集:私が受け取るエラーメッセージはドイツ語です。
Die SOAP 1.1-Bindung wurde nicht gefunden.: WS-I Basic Profile, Version
1.1、umf asst Implementationierungsrichtlinien、in denen Verfahren zur Verwendung einer Gruppe wichtiger Webdienstspezifikationen zum Entwickeln von interoperablen Webdienste nempfohlenwerden。Fürdas1.1-Profillautendiese Spezifikationen SOAP 1.1、WS DL 1.1、UDDI 2.0、XML 1.0、およびXMLスキーマ。
Weitere Informationen zu WS-I Basic Profile Version 1.1 finden Sie
in der Spezif ikationunterhttp ://www.ws-i.org/Profiles/BasicProfile-1.1.html。
Warnung: Es wurden keine Klassen generiert. Warnungen. Weitere Informationen finden Sie in den generierten
Quellkommentaren。
SOAP1.1バインディングが見つからなかったと表示されます。
更新:私はsvcutil.exeを使用してプロキシクラスを作成しましたが、機能しました。しかし、プロキシクラスを正しいエンドポイントに設定するにはどうすればよいですか?