Je crée un service Web ASP.NET qui implémente un WSDL existant spécifique. Il y a quelques différences mineures qui ne sont probablement pas un gros problème, mais j'aimerais être le plus près possible d'un match. Je commence à penser que ce n'est même pas possible.Réorganisation des définitions wsdl: dans un service Web ASP.NET
Cette première différence est le wsdl: les définitions sont dans un ordre différent et ont une valeur supplémentaire.
C'est ce que je veux ressembler:
<wsdl:definitions
xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:s="http://www.w3.org/2001/XMLSchema"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:tns="urn:MyNamespace:Gateway"
xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/"
xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
targetNamespace="urn:MyNamespace:Gateway"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
>
et ce que je reçois:
<wsdl:definitions
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:mime="http://schemas.xmlsoap.org/wsdl/mime/"
xmlns:tns="urn:MyNamespace:Gateway"
xmlns:s="http://www.w3.org/2001/XMLSchema"
xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/"
xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"
targetNamespace="urn:MyNamespace:Gateway"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
>
avis qu'ils sont dans un ordre différent, et j'ai le plus soap12 espace de noms. Comment les obtenir dans le même ordre et supprimer l'espace de noms soap12?
Merci, qui l'a fait. –