473,408 Members | 2,832 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,408 software developers and data experts.

create proxy client class or web service method without using wsdl

Hi,

Is it possible to create a proxy client class or a web service method by
VS.NET without using wsdl? My stupid client is using a xml schema (.xsd) to
describe all their web service methods (and my webmethods) by Java (Apache
toolkit) instead of using WSDL. What should I do?

Thanks a lot!
Raymond
Nov 12 '05 #1
2 10949
Raymond,

Yes, you can create a proxy by hand, but it may take a little bit of work,
depending on how complex their message types are. It would be fairly simple
for RPC formatted messages with primitive parameter types, but may require
some work for document-literal messages. The best way to get started is a
proxy class you generated with wsdl.exe from another web service. Then take
your client's schemas, generate .NET classes for the parameter types using
XSD.exe and customize the generated proxy class by adding the classes and
renaming the methods.

However, Apache Axis does support adding ?wsdl to the web service URL to
retrieve a WSDL. You may want to check with your client if they can't just
do that ...

--
HTH
Christoph Schittko [MVP, XmlInsider]
Software Architect, .NET Mentor
"raymond" <ra*******@yahoo.com> wrote in message
news:ut*********************@news04.bloor.is.net.c able.rogers.com...
Hi,

Is it possible to create a proxy client class or a web service method by
VS.NET without using wsdl? My stupid client is using a xml schema (.xsd) to describe all their web service methods (and my webmethods) by Java (Apache
toolkit) instead of using WSDL. What should I do?

Thanks a lot!
Raymond

Nov 12 '05 #2
Thanks a lot!

"Christoph Schittko [MVP]" <ch********************@austin.rr.com> wrote in
message news:##**************@TK2MSFTNGP09.phx.gbl...
Raymond,

Yes, you can create a proxy by hand, but it may take a little bit of work,
depending on how complex their message types are. It would be fairly simple for RPC formatted messages with primitive parameter types, but may require
some work for document-literal messages. The best way to get started is a
proxy class you generated with wsdl.exe from another web service. Then take your client's schemas, generate .NET classes for the parameter types using
XSD.exe and customize the generated proxy class by adding the classes and
renaming the methods.

However, Apache Axis does support adding ?wsdl to the web service URL to
retrieve a WSDL. You may want to check with your client if they can't just
do that ...

--
HTH
Christoph Schittko [MVP, XmlInsider]
Software Architect, .NET Mentor
"raymond" <ra*******@yahoo.com> wrote in message
news:ut*********************@news04.bloor.is.net.c able.rogers.com...
Hi,

Is it possible to create a proxy client class or a web service method by
VS.NET without using wsdl? My stupid client is using a xml schema (.xsd)

to
describe all their web service methods (and my webmethods) by Java (Apache toolkit) instead of using WSDL. What should I do?

Thanks a lot!
Raymond


Nov 12 '05 #3

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

Similar topics

0
by: Nate | last post by:
Hi All, I am having difficulty creating a new instance of a proxy for an XML Web Service in my Web Form Client (VB) .NET code. When I try to run my 'hello world' file, hw.aspx, I receive the...
0
by: Paul Hastings | last post by:
Hi All - I am trying to build a Web Service that can be accessed using an Excel spreadsheet. I have been able to do this for relatively simple access to the Web Service. But now I need to...
7
by: MarkoH | last post by:
Wsdl.exe /server creates abstract class derived from WebService. Is there a way to create this class at runtime based on some WSDL file given at runtime ? What would be even better - creating...
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: louis_la_brocante | last post by:
Dear all, I am having trouble generating a client proxy for a webservice whose methods return a "complex" type. The type is complex in that it is a class whose members are a mix of primitive...
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...
1
by: Vi | last post by:
Hi, I'd like to invoke a web service from a Windows Forms client, without creating a web reference to the web service in the client project (VS.NET 2005). I created the proxy class using...
3
by: Arpan | last post by:
Web Services make use of proxy classes whose methods & properties are accessed in exactly the same way as how a normal class' methods & properties are accessed. So what for does ASP.NET generate...
1
by: webServiceHelp | last post by:
hi... I have deployed a web service ..generated wsdl. but i can't understand how to do my ultimate job. I want to do the following.. 1) The Requestor would find "the Service" from the "UDDI...
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?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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
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...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.