473,386 Members | 1,819 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,386 software developers and data experts.

Cannot create C# proxy for Axis SOAP service?

I've goggled a few posts about this but haven't found a definitive answer.

I have an Apache Axis SOAP web service that I ned to write a C# client for.

When I point VS.Net Studio 2003 at my Axis WSDL, I get the following error
message from VS.net:

- Report from 'WSDL Document' is 'There is an error in XML document (46,

16).'.

- Namespace prefix 'impl:urn' is not defined.

- Report from 'DISCO Document' is 'Discovery document at the URL

http://10.3.158.101:8080/DDServer/se...apService?wsdl could not

be found.'.

- The document format is not recognized.

- Report from 'XML Schema' is 'Expected Schema root. Make sure that the root

element is <schema> and the namespace is 'http://www.w3.org/2001/XMLSchema'

for an XSD schema or 'urn:schemas-microsoft-com:xml-data' for an XDR schema.

An error occurred at , (2, 2).'

I don't have the WSDL handy right now but can post it later.

Are there known issues/workarounds writing .net clients for Axis web
services?

-Randy


Nov 12 '05 #1
2 7208
Generally, you should be fine with Axis. Although I found a problem
with multiref soap fault handling (with .net).

Otherwise, you should be fine..

Regards,
Miha.

"RJGraham" <spamcop_764376_@surfbytes_123_._5637.com_4785> wrote in message news:<NN********************@giganews.com>...
I've goggled a few posts about this but haven't found a definitive answer.

I have an Apache Axis SOAP web service that I ned to write a C# client for.
[...]ve the WSDL handy right now but can post it later.
Are there known issues/workarounds writing .net clients for Axis web
services?

Nov 12 '05 #2
Thanks,

I found that the problem was with my service name.
I had a 'urn:' prefix on my service name which was causing problems.
I removed the urn: prefix and it worked.

-Randy

"Miha Valencic" <jo****@email.si> wrote in message
news:cb**************************@posting.google.c om...
Generally, you should be fine with Axis. Although I found a problem
with multiref soap fault handling (with .net).

Otherwise, you should be fine..

Regards,
Miha.

"RJGraham" <spamcop_764376_@surfbytes_123_._5637.com_4785> wrote in

message news:<NN********************@giganews.com>...
I've goggled a few posts about this but haven't found a definitive answer.
I have an Apache Axis SOAP web service that I ned to write a C# client for.

[...]ve the WSDL handy right now but can post it later.

Are there known issues/workarounds writing .net clients for Axis web
services?

Nov 12 '05 #3

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

Similar topics

0
by: Dhananjayan | last post by:
Hi, I have a webservice(eg.IStringServicePort) running on Axis, iam able to create a java client for the same and invoke the service and obtain the result. I wanted to create a .Net client(C#)...
3
by: Dhananjayan | last post by:
Hi, I have a java webservice running on Axis, Iam able to create a java client to invoke the webservice and obtain the result. But iam not able to invoke the service from .Net client.. Here are...
1
by: BeckyB00 | last post by:
Slightly different situation from the question of the 11/18/05 but the same error. (I'm just learning about web services so this is based on a 'quick tutorial') I'm running a web service using...
0
by: Richard Gregory | last post by:
Hi, I have the wsdl below, for an Axis web service, and when I select Add Web Refernce in Visual Studio the proxy is missing a class representing the returnedElementsType (see reference.cs below...
5
by: vthakur | last post by:
Hello: I have a Axis Web Service that sets the sessionid in the SOAP header for persisting the session. The client is a .Net client that processes the header as an Unknown Header. It sets the...
10
by: Andy Kendall | last post by:
I have a problem accessing my custom SoapHeader from a SoapExtension. My extension has no compile time reference to the class derived from SoapHeader, so how can cast it into a SoapHeader of the...
3
by: Peter van der veen | last post by:
Hi In my porject i use a custom header to be added to the SOAP message. I added the the custom SOAP header to the follwoing function which is in the proxy class. But when invoking the proxy...
0
by: TraceyAnnison | last post by:
I wonder if you can help me - I'm new to this, and working in a project that has already been configured to work with Axis. We have a Java project built with the Spring framework, in order to...
3
by: elh.maayan | last post by:
hi... i'm trying to use axis2 to call a dotnet web service.. public class Service : System.Web.Services.WebService { public Service () {} public string HelloWorld() { return "Hello World";...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.