Laden...

Möglicher Versionskonflikt mit SOAP-API

Erstellt von TBR vor 12 Jahren Letzter Beitrag vor 12 Jahren 2.216 Views
T
TBR Themenstarter:in
154 Beiträge seit 2009
vor 12 Jahren
Möglicher Versionskonflikt mit SOAP-API

Hallo,
ich hab ein kleines Problem mit SOAP:

Ich verwende für mein Programm SOAP auf Basis eines PHP-Servers mit Zend-Framework.

Ich hab das Projekt jetzt gute 2 Monate liegen gelassen, vorher ging es jedoch noch.
Das Problem ist, dass nun immer wenn ich den Service aufrufe (also eine Methode davon), kommt ein Fehler:

"Möglicher SOAP-Versionskonflikt: Unerwartetes Einschließen des Namespaces 'http://schemas.xmlsoap.org/wsdl/'. Erwartet wurde http://schemas.xmlsoap.org/soap/envelope/."

Es ging vorher garantiert! Und ich hab auch nichts an der API geändert.
Nun kommt jedoch dieser Fehler und ich weiß nicht wie ich den beheben kann.

Wenn ich das WSDL anschaue finde ich nirgends einen solchen Namespace. Was ist hier bitte los? Ich kann mein Programm ohne funktionierende API blöderweise nicht großartig weiterentwickeln, da das meiste darauf basiert und ich die zum Testen bräuchte 😕

Das Problem ist ja öfters aufgetaucht, Google spuckt nur keine Lösung aus 😕
Weiß hier wer Bescheid?

Danke
TBR

V
66 Beiträge seit 2010
vor 12 Jahren

Aus http://msdn.microsoft.com/en-us/library/dd583131%28v=office.11%29.aspx:

Adding a Web Reference to your Custom Web Service from Visual Studio .NET

To bind against a custom Web service for Windows SharePoint Services, Visual Studio .NET requires a special set of .aspx pages. If you add a Web reference to the .asmx file for the service without the required .aspx pages, you receive the following error message:

"File not found" when adding a Web reference to the ASMX file from Visual Studio.NET.  

After you use the .disco file and the .wsdl file to create the two new .aspx files and move them to the appropriate _vti_bin virtual directory, you can successfully add a Web reference to the Web service from Visual Studio .NET. Be sure to add the Web reference to the .asmx file for the Web Service. Do not add the Web reference to either of the newly created .aspx files. If you do so, the Web service may appear to work in Visual Studio .NET, but at run time you receive the following error message:

Additional information: Possible SOAP version mismatch: Envelope namespace [  

> ](http://schemas.xmlsoap.org/wsdl/) was unexpected. Expecting
>
.

T
TBR Themenstarter:in
154 Beiträge seit 2009
vor 12 Jahren

Das hilft mir nicht wirklich ... zumindest find ich nichts hilfreiches 😕

Danke aber 😉