Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / Web Services / October 2005

Tip: Looking for answers? Try searching our database.

Problems with WSDL and Consuming SOAP::Lite Server

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Ben Crinion - 24 Oct 2005 09:02 GMT
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
Marvin Smit - 24 Oct 2005 14:07 GMT
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

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.