473,715 Members | 3,033 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 10994
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*******@yaho o.com> wrote in message
news:ut******** *************@n ews04.bloor.is. net.cable.roger s.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:##******** ******@TK2MSFTN GP09.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*******@yaho o.com> wrote in message
news:ut******** *************@n ews04.bloor.is. net.cable.roger s.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
1294
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 following error: Compiler Error Message: BC30002: Type 'PayPalAPIInterfaceService' is not defined. Do I have all the files necessary to create a simple Web Form Client?
0
4830
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 add authentication using a client certificate and that is where I am stuck.
7
4331
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 concrete class but with empty method implementation of course since WSDL does not provide any info on implementation. Thanks M.
3
2198
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 the steps i followed to create a .net client I created a web reference("NetClient") for a webservice running in Axis thru "Add Web Reference", it created succesfully. The next step I should do in order to invoke the service is to
1
2861
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 types and of more elaborate classes implementing IXmlSerializable. The resulting WSDL file for the webservice has two separate schemas in its <types> sections, and the client proxy (generated with wsdl.exe) is missing the definitions of the...
0
5112
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 the wsdl). This complex type is a collection of another complex type(elementType), and the Reference.cs has an array of these rather than the single returnedElementsType. If If I want to be able to obtain these elements from the SOAP response I...
1
1275
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 wsdl.exe, added it to the client project and I'm not sure what to do next in order to reference/invoke the web serivice. I read somewhere that it's possible, but all the examples I found are using web references.
3
5400
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 proxy classes (using WSDL) which consume more hard disk space & resources? For e.g. consider the following code which exists in a user-defined class file: Imports System Imports System.Data
1
2296
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 registry" nd may also get the WSDL / Service URL etc.. (which will be effective) 2) Now the Requestor would generate the "Client" at runtime (i.e
0
9196
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9103
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9047
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7973
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6646
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5967
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4477
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
3175
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2118
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.