Sign In/My Account | View Cart  
advertisement

Article:
 Creating and Consuming Web Services With PHP
Subject: Genrating WSDL Error!!
Date: 2005-12-26 15:35:35
From: Gulihsan

when i click the link
http://localhost/soapserver.php?wsdl


it gives this messege
and no web service working



Only one top level element is allowed in an XML document. Error processing resource 'http://localhost/soapserver.php?wsdl'....


Notice: Undefined index: HTTPS in E:\Program Files\Apache Group\Apache2\htdocs\nusoap.php


Previous Message Previous Message   Next Message No Next Message


Titles Only Titles Only Newest First
  • Genrating WSDL Error!!
    2005-12-30 11:59:26 MikeBigg

    Greetings.


    I am a NuSoap newbie trying to get the http://localhost/soaptest.php?WSDL to function with the newest version of NuSoap.


    When I use:


    require('nusoap.php');
    $ss = new soap_server;
    // Initialize WSDL support
    $WSDLName = "'soaptest-1wsdl";
    $nameSpace = "http://localhost/soap";
    $ss->configureWSDL( $WSDLName , $nameSpace );
    ...


    I (also) get this error:


    Notice: Undefined index: HTTPS in <internal webserver path>/nusoap.php on line 4006


    Any ideas anyone?
    Mike B.


    • Genrating WSDL Error!!
      2007-02-15 01:13:40 serverscreen

      when i click the link
      http://localhost/soapserver.php?wsdl


      It gives the following error


      Notice: Undefined index: HTTPS in
      D:\apache\Apache2\htdocs\testing\nusoap\lib\nusoap.php on line 4006


      Notice: Undefined variable: HTTP_RAW_POST_DATA in D:\apache\Apache2\htdocs\testing\nusoap\server.php on line 13





      • Genrating WSDL Error!!
        2007-07-11 01:52:37 ChinnuSuman

        replace the line 4006 with the following line..It works fine for me.


        $HTTPS=((isset($_SERVER['HTTPS']))?$_SERVER['HTTPS'] : 'no');


Sponsored By: