#36546 [Opn->Bgs]: just only got "Object id #2"
| From: | derick@php.net | Date: | Mon, 27 Feb 2006 17:50:32 +0000 |
| Subject: | #36546 [Opn->Bgs]: just only got "Object id #2" | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-93723@lists.php.net to get a copy of this message | ||
ID: 36546
Updated by: derick@php.net
Reported By: roderja at hotmail dot com
-Status: Open
+Status: Bogus
Bug Type: SOAP related
Operating System: windows xp
PHP Version: 5.1.2
New Comment:
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 http://www.php.net/support.php 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.
.
Previous Comments:
------------------------------------------------------------------------
[2006-02-27 18:47:22] roderja at hotmail dot com
Description:
------------
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:
---------------
<HTML>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<title>Ja page</title>
<body>
<?php
//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;
?>
</body>
</html>
=============================following is ASP.NET
Imports System.Web
Imports System.Web.Services
Imports System.Web.Services.Protocols
<WebService(Namespace:="http://tempuri.org/")> _
<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:
----------------
Hello
Actual result:
--------------
Object id #2
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=36546&edit=1