473,239 Members | 1,874 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,239 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 10906
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...
3
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 3 Jan 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). For other local times, please check World Time Buddy In...
0
by: jianzs | last post by:
Introduction Cloud-native applications are conventionally identified as those designed and nurtured on cloud infrastructure. Such applications, rooted in cloud technologies, skillfully benefit from...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 7 Feb 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:30 (7.30PM). In this month's session, the creator of the excellent VBE...
0
by: fareedcanada | last post by:
Hello I am trying to split number on their count. suppose i have 121314151617 (12cnt) then number should be split like 12,13,14,15,16,17 and if 11314151617 (11cnt) then should be split like...
0
by: stefan129 | last post by:
Hey forum members, I'm exploring options for SSL certificates for multiple domains. Has anyone had experience with multi-domain SSL certificates? Any recommendations on reliable providers or specific...
1
by: davi5007 | last post by:
Hi, Basically, I am trying to automate a field named TraceabilityNo into a web page from an access form. I've got the serial held in the variable strSearchString. How can I get this into the...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: Aftab Ahmad | last post by:
Hello Experts! I have written a code in MS Access for a cmd called "WhatsApp Message" to open WhatsApp using that very code but the problem is that it gives a popup message everytime I clicked on...
0
by: Aftab Ahmad | last post by:
So, I have written a code for a cmd called "Send WhatsApp Message" to open and send WhatsApp messaage. The code is given below. Dim IE As Object Set IE =...

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.