Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Services > Containing two webservices inside a WSDL file

Thread Tools

Containing two webservices inside a WSDL file

Posts: n/a

I am in the process developing two webservices A and B using VS.NET

I am given a single WSDL file containing the description of the two
The requirement is to create two webservices, which i understand will
each point to a unique and different URL.

I have tried two options:

1) Two .ASMX files each containing a webservice. In this case, two WSDL
files will be created correponding to the asmx file.

2) Single asmx file containing both the webservices [i use WebService
attribute for both the classes to label them as webservice]. When i
test with the browser, i get to see only the first webservice in the
asmx file. I was hoping to see the webmethods of both the web services
in the single page. Also, the description shows the wsdl corresponding
to first webservice only.

Is it possible to put two webservices class in a single asmx file?
Is it possible to store the description of two webservices in a single
wsdl file?

Your thoughts are highly appreciated.


Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
webservices, wsdl & xsd (schema-2-wsdl) Dark Java 1 11-14-2008 07:58 PM
wsdl errors for multiple webservices with reference to same dataset wc_chan ASP .Net 1 12-07-2006 05:50 AM
WebServices and wsdl generation Java 0 07-28-2005 09:27 PM
wsdl.exe fails with WebMethods generated wsdl file mrnu ASP .Net Web Services 0 06-07-2004 04:51 PM
WSDL file produces useless class when imported with WSDL.exe RH ASP .Net Web Services 1 05-27-2004 09:40 PM