Jump to content

Calling a web service in php that was written in asp.net 2.0 urgent.


macupryk

Recommended Posts

<html>

<head>

<title>PHP test page </title>

</head>

<body>

<?php

//Define the request

$request='http://192.168.0.65/aircanada/WebSrvHello/WebSrvHello.asmx/HelloService';

$xml = simplexml_load_string($request);

 

 

?>

 

PHP Warning: simplexml_load_string() [function.simplexml-load-string]: Entity: line 1: parser error : Start tag expected, '<' not found in C:\Inetpub\wwwroot\invoke.php on line 9 PHP Warning: simplexml_load_string() [function.simplexml-load-string]: http://192.168.0.65/aircanada/WebSrvHello/WebSrvHello.asmx/HelloService in C:\Inetpub\wwwroot\invoke.php on line 9 PHP Warning: simplexml_load_string() [function.simplexml-load-string]: ^ in C:\Inetpub\wwwroot\invoke.php on line 9

 

======================================================================

 

I need some examples please.

 

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.