Hi Mike
I had a go at this a while back so I repeated the simple experiment I
carried out back then. I took the greeting.wsdl from examples/SCA/
helloworldscawsservice/wsdl. I fixed it to remove the xsi:type
attributes ( :-( need to fix this) and then imported it into my
VisualStudio environment. Now I currently have a fairly old 2003 copy
of VS.net so your experience may differ but I imported it as a web
reference.
I then wrote a little bit of C# relying heavily on code completion to
tell me what to do.
using System;
namespace HelloWorld
{
/// <summary>
/// Summary description for Class1.
/// </summary>
class Class1
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main(string[] args)
{
//
// TODO: Add code to start application here
//
Console.WriteLine("Hello World Test");
WebReference1.GreetingService greetingService = new
WebReference1.GreetingService();
WebReference1.greet request = new
WebReference1.greet();
request.name = "Fred";
WebReference1.greetResponse response =
greetingService.greet(request);
Console.WriteLine(response.greetReturn);
}
}
}
I then ran up the PHP SCA samples by copying examples into htdocs.
Then I ran this C# app in a console and got.
C:\simon\Projects\VisualStudio\phpsoa\HelloWorld\bin
\Debug>HelloWorld.exe
Hello World Test
hello Fred
Clearly not an exhaustive test but it can be made to work at the very
basic level.
Hope that helps
Simon
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"phpsoa" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.co.uk/group/phpsoa?hl=en
-~----------~----~----~----~------~----~------~--~---