php.de

Zurück   php.de > Webentwicklung > PHP Einsteiger > PHP Tipps 2005-2

 
 
LinkBack Themen-Optionen Thema bewerten
Alt 27.09.2005, 09:44  
Gast
 
Beiträge: n/a
Standard In Xampp PHP-Version aktualisieren

Hallo!

Ich arbeite noch nicht so lange mit PHP und habe immer Xampp 1.4.13 benutzt (Standardinstallation) (Windows , PHP 5.0.4)

Zur Zeit arbeite ich an einem Projekt, in dem es um Web Services, speziell WSRP geht. Dazu muss man SOAP nutzen. Dieses hat bei mir auch einwandfrei funktioniert. Jetzt kurz vor der Abgabe des Projektes bekomme ich immer einen Fehler mit der Meldung: "Fatal error: Uncaught SoapFault exception: [WSDL] SOAP-ERROR: Parsing Schema: union has both 'memberTypes' attribute and subtypes in" +dateiname

Also wie gesagt, dass Skript hat bis vor zwei Wochen einwandfrei funktioniert.

Zu dem Fehler habe ich folgenden Bug-Report gefunden: http://bugs.php.net/bug.php?id=34453

Die Frage ist jetzt, was kann ich tuen? Wie kann ich den Snapshot bei mir einbauen? Kann ich die PHP-Version von Xampp aktualisieren??

Danke

Dominik
 
Sponsor Mitteilung
PHP Code Flüsterer

Registriert seit: 21.08.2005
Beiträge: 4682
PHP-Kenntnisse:
Fortgeschritten

Alt 27.09.2005, 10:01  
Gast
 
Beiträge: n/a
Standard

Da fragst du am besten im Xampp Forum.
(Ich weiß, blöde Antwort )
 
Alt 27.09.2005, 10:55  
Gast
 
Beiträge: n/a
Standard

Ich poste das Skript mal hier herein.

Vielleicht hat jemand eine PHP-Version, bei der dieses funktioniert und kann mir helfen.

Wie gesagt, dass Skript hat bis vor ungefähr 14 Tagen funktioniert!

Ergebnis sollte sein: Es wird von Oracle ein Portlet mit Lotto-Zahlen angezeigt.


PHP-Code:
<?php

$wsdl_url 
'http://portalstandards.oracle.com/wsrp/jaxrpc?WSDL';
    
$registration_url $wsdl_url;
        
$description_url $wsdl_url;
        
$markup_url $wsdl_url
        
// create the clients
        
$registration_service = new SoapClient($registration_url
            
);

        
$description_service = new SoapClient($description_url,
            array(
'trace' => 1)
            );

        
$markup_service = new SoapClient($markup_url,
            array(
'trace' => 1)
            );

        try {
            
// register the consumer
            
$RegistrationData =
            array(
"consumerName" => "test",
                
"consumerAgent" => "test.1.0",
                
"methodGetSupported" => false,
                );

            
$RegistrationContext $registration_service->register($RegistrationData);

            
$getMarkup = array ("registrationContext" => array ("registrationHandle" => $RegistrationContext->registrationHandle
                    
),
                
"portletContext" => array ("portletHandle" => "E:1:default"// "E:5:default"
                    
),
                
"runtimeContext" => array ("userAuthentication" => "wsrp:none",
                    ),
                
"userContext" => array ("userContextKey" => "php",
                    ),
                
"markupParams" => array ("secureClientCommunication" => "false",
                    
"locales" => "en",
                    
"mimeTypes" => "text/html",
                    
"mode" => "wsrp:view",
                    
"windowState" => "wsrp:normal",
                    )
                );
        
//getMarkup
            
$MarkupResponse $markup_service->getMarkup($getMarkup);
            echo 
$MarkupResponse->markupContext->markupString;
        } 
        catch (
Exception $e) {
            
$html $html "[b]Error:[/b]
"
;
            
$html $html $e;
            
$html $html "<hr>";
            
var_dump ($e);
        } 
     

?>
 
 


Themen-Optionen
Thema bewerten
Thema bewerten:

Forumregeln
Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are an
Gehe zu

Ähnliche Themen
Thema Autor Forum Antworten Letzter Beitrag
Was mime_content_type übergeben dethlef14 PHP Tipps 2006 16 11.10.2006 17:35
suche DRINGEND phped freeware version cos Off-Topic Diskussionen 2 06.07.2006 12:56
Upgrade Version 4 auf Version 5 snoopiline Datenbanken 3 06.06.2006 15:43
MySQL Server startet nicht mehr richtig... Datenbanken 16 03.03.2006 19:40
PHP-Safe-Mode Configuration mit Xampp - Scripts laufen nicht DerN8WaechterX PHP Tipps 2006 7 27.01.2006 00:41
xampp -> alles an localhost will nicht notyyy PHP Tipps 2005-2 2 14.10.2005 17:03
Xampp öffnen Server, Hosting und Workstations 24 28.08.2005 22:04
[Erledigt] Seite wird nicht angezeigt, untersch. Fehler bei IE/FF/Safar PHP-Fortgeschrittene 19 31.05.2005 14:52
[Erledigt] Error Mail() function PHP Tipps 2005 3 14.04.2005 03:32
[Erledigt] warum kann nicht SVG files laden? PHP Tipps 2005 16 09.03.2005 14:05
Mysql Version 4.0.15 auf 4.1.7 Problem Ypsillon Datenbanken 1 27.02.2005 14:29
DOM/XML und PHP Version HTML, Usability und Barrierefreiheit 3 02.02.2005 15:42
neue xampp version php umschalter kid01 Server, Hosting und Workstations 7 18.10.2004 22:18
Vermutlicher Konflikt zwischen Version 4.3.1 und 4.3.4? PHP Tipps 2004 1 15.06.2004 03:08

Besucher kamen über folgende Suchanfragen bei Google auf diese Seite
php version aktualisieren, http://www.php.de/php-tipps-2005-2/31503-xampp-php-version-aktualisieren.html, xampp php aktualisieren, xampp php version aktualisieren, xampp aktualisieren, xampp update, xampp php update, xampp php updaten, xampp soap, http://portalstandards.oracle.com/wsrp/jaxrpc?wsdl, php in xampp updaten, php version in xampp aktualisieren, parsing schema: element has both \'type\' attribute and subtype, php version aktualisieren freenet, xampp update php, update xampp, update php xampp, xampp php version updaten, php upgrade xampp, uncaught soapfault exception xampp

Alle Zeitangaben in WEZ +2. Es ist jetzt 06:42 Uhr.




Powered by vBulletin® Version 3.7.2 (Deutsch)
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
Aprilia-Forum, Aquaristik-Forum, Liebeskummer-Forum, Zierfisch-Forum, Geizkragen-Forum

Creative Commons License
Dieser Inhalt ist unter einer Creative Commons-Lizenz lizenziert.