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
Hi,
ehh. I'm not sure what the cause for this issue is, but the prefix
"2001" is not allowed. You must have a alphanumeric character to start
with for your prefix (just like the element names, etc).
Hope this helps,
Marvin Smit.
>Hi im having a few problems consuming a SOAP::Lite web service.
>
[quoted text clipped - 22 lines]
>Here is the Perl service incase it helps. Thanks
>http://pastebin.com/403829
Ben Crinion - 24 Oct 2005 14:18 GMT
The only place where 2001 appears is in the namespace attributes of the
definitions elements of the WSDL and imported WSDL. I dont have a message or
portType with the string 2001 in them.
WSDL is at www.mediaburst.com/testsite/wsdl/SearchService.wsdl
Ben
> Hi,
>
[quoted text clipped - 37 lines]
>>Here is the Perl service incase it helps. Thanks
>>http://pastebin.com/403829
Marvin Smit - 25 Oct 2005 15:11 GMT
Hi,
i'm sorry , but i'm getting an access denied on the wsdl.
Marvin Smit.
>The only place where 2001 appears is in the namespace attributes of the
>definitions elements of the WSDL and imported WSDL. I dont have a message or
[quoted text clipped - 45 lines]
>>>Here is the Perl service incase it helps. Thanks
>>>http://pastebin.com/403829