By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
444,246 Members | 1,515 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 444,246 IT Pros & Developers. It's quick & easy.

create proxy client class or web service method without using wsdl

P: n/a
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
Share this Question
Share on Google+
2 Replies


P: n/a
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

P: n/a
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 discussion thread is closed

Replies have been disabled for this discussion.