473,383 Members | 1,958 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,383 software developers and data experts.

Problems with WSDL and Consuming SOAP::Lite Server

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

Nov 23 '05 #1
3 3024
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.
On Mon, 24 Oct 2005 09:02:27 +0100, "Ben Crinion"
<be*@dontspam.mediaburst.co.uk> wrote:
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


Nov 23 '05 #2
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 http://www.mediaburst.com/testsite/w...chService.wsdl

Ben

"Marvin Smit" <ma*********@gmail.com> wrote in message
news:e2********************************@4ax.com...
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.
On Mon, 24 Oct 2005 09:02:27 +0100, "Ben Crinion"
<be*@dontspam.mediaburst.co.uk> wrote:
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

Nov 23 '05 #3
Hi,

i'm sorry , but i'm getting an access denied on the wsdl.

Marvin Smit.

On Mon, 24 Oct 2005 14:18:48 +0100, "Ben Crinion"
<be*@dontspam.mediaburst.co.uk> wrote:
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 http://www.mediaburst.com/testsite/w...chService.wsdl

Ben

"Marvin Smit" <ma*********@gmail.com> wrote in message
news:e2********************************@4ax.com.. .
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.
On Mon, 24 Oct 2005 09:02:27 +0100, "Ben Crinion"
<be*@dontspam.mediaburst.co.uk> wrote:
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

Nov 23 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Blaine Everingham | last post by:
Hello, I have installed SOAP::Lite 0.60 and am running a simple test to see the XML output. I noticed that the output indicated it's using the www.w3.org/1999/XMLSchema instead of the prefered...
0
by: Rushikesh Joshi | last post by:
I have really no any idea how can i trace the error that are generated at runtime. Like invalide arguments, error in type conversion, user already registered, user deactive.. This fault strings...
0
by: Lamar | last post by:
I have been told that we cannot have both the SOAP::Lite and the DBI modules available on our IRIX box due to some conflict. Has anyone else encountered this problem and/or discovered a work...
0
by: fliversen | last post by:
Hello, I want to use my scripts on my site with webservices. So, with the book 'Programming Web Services with SOAP' I make tests with Server: SOAP::Lite 'myhibye.cgi'...
6
by: Vinit | last post by:
Hi I am passing an arraylist to a c#/.net webmethod from a perl client using soap:lite. The trace shows the elements in the xml request. The arraylist input in the webmethod however does not...
1
by: parimalb | last post by:
Hi All, I want to pass an array argument to the java webservice from perl client using SOAP::LITE package. Please let me know if anyone knows about this. The web method declaration in java is...
4
by: daChf | last post by:
I'm attempting to write an application using SOAP::Lite that receives XML code from a WebService. The XML code should look like the following: <Message MessageID="12345" PageNumber="1"...
0
by: cbeels | last post by:
The client code is #install SOAP-Lite and MIME-tools packages use SOAP::Lite 'trace', 'debug'; #override version SOAP::Lite->soapversion('1.2'); #override credentials sub...
0
by: vigneshrao | last post by:
Hi, I have been working on a script that loops through multiple records and sends data (one record per call) to a WS. I am supposed to make a new call for each record before sending the data....
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.