Announcement

Collapse
No announcement yet.

WebService mit reinem SOAP 1.1

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • WebService mit reinem SOAP 1.1

    Hallo,

    ich entwickle WebService mit C# und Visual Studio 2008.

    Jetzt habe ich Projektpartner, die Probleme mit SOAP 1.2 haben und ihre Engine nur mit viel Aufwand anpassen können.

    Die WSDLs die automatisocn von .NET bzw. dem IIS generiert werden enthalten ja standardmäßig Defintionen für SOAP 1.1 und optional für SOAP 1.2.

    Die optionalen SOAP 1.2 Definitionen müssten also quasi raus.

    Gibt es eine Möglichkeit das im Code bzw. in Visual Studio so anzupassen, dass SOAP 1.2 nicht mit generiert wird?


    Bye,
    Martin

  • #2
    Hallo,

    in der Konfig
    Code:
    <configuration>
        <system.web>
            <webServices>
                <protocols>
                    <remove name="HttpSoap1.2" />
                </protocols>
            </webServices>
        </system.web>
    </configuration>
    einfügen sollte das lösen.


    mfG Gü
    "Any fool can write code that a computer can understand. Good programmers write code that humans can understand". - Martin Fowler

    Comment


    • #3
      Hallo,

      danke für Deine Hilfe!
      So funktioniert es.

      Allerdings mit:

      Code:
       <remove name="HttpSoap12" />
      anstelle von:

      Code:
       <remove name="HttpSoap1.2" />

      Bye,

      Martin

      Comment

      Working...
      X