|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #36546 just only got "Object id #2"
Submitted: 2006-02-27 18:47 UTC Modified: 2006-02-27 18:50 UTC
From: roderja at hotmail dot com Assigned:
Status: Not a bug Package: SOAP related
PHP Version: 5.1.2 OS: windows xp
Private report: No CVE-ID: None
 [2006-02-27 18:47 UTC] roderja at hotmail dot com
PHP call the web services which was wrote by ASP.NET.
Just only got "Object id #2" Thanks.
By the way, please tell me where can I get the detail PHP web services bible. Thanks.

Reproduce code:
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> 
<title>Ja page</title>
//call web services 
$wsdl_loc = "http://localhost:1071/WebSite3/Service.asmx?WSDL";
$soap_client = new SoapClient($wsdl_loc);
$result = $soap_client->SayHello();
//change to next line
echo ("<p></p>");   
echo $result;                        

=============================following is ASP.NET
Imports System.Web
Imports System.Web.Services
Imports System.Web.Services.Protocols

<WebService(Namespace:="")> _
<WebServiceBinding(ConformsTo:=WsiProfiles.BasicProfile1_1)> _
<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _
Public Class Service
     Inherits System.Web.Services.WebService

    <WebMethod()> _
    Public Function SayHello() As String
        Return "Hello"
    End Function

End Class

Expected result:

Actual result:
Object id #2 


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2006-02-27 18:50 UTC]
Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit as this bug system is not the
appropriate forum for asking support questions.  Due to the volume
of reports we can not explain in detail here why your report is not
a bug.  The support channels will be able to provide an explanation
for you.

Thank you for your interest in PHP.

PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Thu Feb 02 21:05:59 2023 UTC