Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / Web Services / February 2005

Tip: Looking for answers? Try searching our database.

WSE2\SoapSender\SoapReceiver - publishing WSDL and hosting endpoin

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
JJJ - 04 Feb 2005 20:53 GMT
I'm currently designing some new WSE2 built services and a portal.  I'm using
the WSE2 implementation of WS-Addressing because I need more complex
exchanges that the simple Request\Response model permitted by ASMX etc.

We have our SoapSender\SoapReceiver endpoint code running as simple Windows
Services.  I know I can also host the endpoints in IIS using ashx files (I
think??) - Which is best?  Are there any best practice papers on this subject?

We also need to generate and publish WSDL.  Because we're not using ASMX, I
am sacrificing the auto-gen of WSDL ie (http...?WSDL).  The messages
exchanges between my services are defined in XSD files etc.  What is the best
practice here?  Is there a cool tool I can use to generate a WSDL document?  
What's the best way to then publish that document to my consumers?

Many thanks in advance.
William Stacey [MVP] - 04 Feb 2005 20:49 GMT
http://spaces.msn.com/members/staceyw/Blog/cns!1pnsZpX0fPvDxLKC6rAAhLsQ!304.entry

Signature

William Stacey, MVP
http://mvp.support.microsoft.com

JJJ - 04 Feb 2005 21:09 GMT
Many thanks.

So basically I can use wsewsdl2.exe to create my wsdl doc.

But what is the best way to publish this doc?  Is it considered best
practice for instance to make it available on a different url through IIS?

Also - do you have any guidelines on the SoapSender\Reciever question I asked?

Thanks again.

> http://spaces.msn.com/members/staceyw/Blog/cns!1pnsZpX0fPvDxLKC6rAAhLsQ!304.entry
William Stacey [MVP] - 04 Feb 2005 23:11 GMT
It is published.  The users just do the same thing to get their own proxy
using the web service address (and -name if required).  If you wanted to get
fancy, I guess you could have a job run every day or something and dress it
up into an nice HTML doc that is a link on your help page or something.  You
could also just publish examples using your own proxy in different code
versions with additional text help.

Signature

William Stacey, MVP
http://mvp.support.microsoft.com

> Many thanks.
>
[quoted text clipped - 8 lines]
>
> > http://spaces.msn.com/members/staceyw/Blog/cns!1pnsZpX0fPvDxLKC6rAAhLsQ!304.entry
Softwaremaker - 05 Feb 2005 02:21 GMT
On another note,

WSE 2 does have a pretty neat trick for requesting WSDL over any protocol.
If you send in a SOAP message with an action of
http://schemas.microsoft.com/wse/2003/06/RequestDescription

<Envelope>
  <Header>
     <Action>
     http://schemas.microsoft.com/wse/2003/06/RequestDescription
     </Action>

you get the WSDL back in the response soap body. This is something like
WS-MetadataExchange

Signature

Thank you.

Regards,
William T (Softwaremaker)
http://www.softwaremaker.net/blog
=========================================

> Many thanks.
>
[quoted text clipped - 8 lines]
>
> > http://spaces.msn.com/members/staceyw/Blog/cns!1pnsZpX0fPvDxLKC6rAAhLsQ!304.entry
Dilip Krishnan - 04 Feb 2005 23:23 GMT
Hello JJJ,
   If you host it in a IIS you get all that comes with it. Load balancing
etc. the "?wsdl" should still work if you host it in a windows service..
(might need to check on that).

HTH
Regards,
Dilip Krishnan
MCAD, MCSD.net
dkrishnan at geniant dot com
http://www.geniant.com

> I'm currently designing some new WSE2 built services and a portal.
> I'm using the WSE2 implementation of WS-Addressing because I need more
[quoted text clipped - 14 lines]
>
> Many thanks in advance.
Sidd - 04 Feb 2005 23:36 GMT
That is correct. If you have a SoapService inside IIS, then basically *any*
operation, as long as it is not and POST will return you the wsdl for that
service.

Thanks,

Sidd [MSFT]

> Hello JJJ,
>     If you host it in a IIS you get all that comes with it. Load balancing
[quoted text clipped - 26 lines]
> >
> > Many thanks in advance.
JJJ - 05 Feb 2005 07:19 GMT
Thanks everyone - very helpful.

> That is correct. If you have a SoapService inside IIS, then basically *any*
> operation, as long as it is not and POST will return you the wsdl for that
[quoted text clipped - 34 lines]
> > >
> > > Many thanks in advance.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.