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 / March 2005

Tip: Looking for answers? Try searching our database.

HttpSoapRouter and retrieving WSDL

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Craig Neuwirt - 20 Jan 2005 16:00 GMT
I have a situation in which I must intercept all SOAP and HTTP traffic,
forward the requests to an existing legacy application and perform some
additional processing logic.  I extended the SoapHttpRouter and use a simple
naming algorithm to determine the URI to forward to.  This works very well
for SOAP requests.  However, I also forward HTTP requests which include WSDL
gets.  The problem I am having is that since I forward the wsdl HTTP GET
operations, I return a WSDL definition which includes the forwared address
in the wsdl:service/wsdl:port/soap:address @location attribute.

e.g.

<service name="OrderDataService">
   <port name="OrderDataServicePort" binding="tns:OrderDataServiceBinding">
       <soap:address
location="http://forwardedhost/order/OrderDataService.ashx" />
   </port>
</service>

However, I nice the intial receiving host in the location uri.  What is the
best way to acheieve this?  Do I need to process any returned wsdl documents
in my router and replace the location?

thanks,
 craig
Softwaremaker - 24 Jan 2005 12:22 GMT
> I have a situation in which I must intercept all SOAP and HTTP traffic,
> forward the requests to an existing legacy application and perform some
> additional processing logic.  I extended the SoapHttpRouter and use a simple
> naming algorithm to determine the URI to forward to.

[WT] Are you using WS-Referral for that ?

This works very well
> for SOAP requests.  However, I also forward HTTP requests which include WSDL
> gets.  The problem I am having is that since I forward the wsdl HTTP GET
[quoted text clipped - 11 lines]
>
> However, I nice the intial receiving host in the location uri.

[WT] I am not too sure what you mean by this statement. Could you please
further elaborate ?

What is the
> best way to acheieve this?  Do I need to process any returned wsdl documents
> in my router and replace the location?
>
> thanks,
>   craig
>
Signature

Thank you.

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

Craig Neuwirt - 24 Jan 2005 16:44 GMT
I don't believe I can use WS-Referral for the HTTP GETs or can I?

craig

> > I have a situation in which I must intercept all SOAP and HTTP traffic,
> > forward the requests to an existing legacy application and perform some
[quoted text clipped - 33 lines]
> > thanks,
> >   craig
Softwaremaker - 01 Mar 2005 20:39 GMT
Craig,

Not sure if I understood fully what you are trying to achieve ? Are you
trying to parse the WSDL ?

What do you mean with this statement ?
> This works very well
> for SOAP requests.  However, I also forward HTTP requests which include WSDL
> gets.  The problem I am having is that since I forward the wsdl HTTP GET
> operations, I return a WSDL definition...

and this statement as well:
> However, I nice the intial receiving host in the location uri.  What is the
> best way to acheieve this?

> I have a situation in which I must intercept all SOAP and HTTP traffic,
> forward the requests to an existing legacy application and perform some
[quoted text clipped - 20 lines]
> thanks,
>   craig

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.