Hi im having a few problems consuming a SOAP::Lite web service.
I think the problem is actually with the WSDL but im not sure.
I have a SOAP::Lite client which works ok using the WSDL (which i defined by hand).
The .NET client on the other hand does not work at all and i get this error when i send the request.
Failed to access class (2001::XMLSchema): syntax error at (eval 91) line 1, near "require 2001"
Here is the function call which causes the error.
private void butCreateVSP_Click(object sender, System.EventArgs e){
admin.mediadev02.Search.FindCustomersService myCustomerService = new admin.mediadev02.Search.FindCustomersService();
Search.Customer myCustomer = myCustomerService.FindCustomers("a string");
Response.Write(myCustomer.ToString());
}
The whole stack trace is here
Stack trace:- http://pastebin.com/403820
The WSDL file which i use is here.
WSDL:- http://pastebin.com/403817
Here is the Perl service incase it helps. Thanks
http://pastebin.com/403829