473,396 Members | 1,726 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Service A calls Service B, both on localhost, get HTTP 405 error

I have a web service

http://localhost/ServiceA/ProxyService.asmx

calls

http://localhost/ServiceB/Service.asmx

And I get an error in ServiceB's method when it calls Invoke() it craps
out and returns

The request failed with HTTP status 405: Method not allowed.

I created a WSDL stub with wsdl.exe for calling B which A uses.

What's the deal? Why does this not work? Are there restrictions for a
web service calling another web service, even when both services are on
both machines? And what with the 405 error? I thought I'd only get
that if I an incorrect HTTP verb was sent to IIS but it should be
sending a POST.

I can call B directly just fine, and A is just a proxy and passes
client calls directly to B using the class created by WSDL.

Help???

Dec 6 '05 #1
3 2983
GCR
I'm using the same topology as the one you described and never got that kind
of error - it should be some kind of coding error. Did you tried to debugg it?

"sh*****@gmail.com" wrote:
I have a web service

http://localhost/ServiceA/ProxyService.asmx

calls

http://localhost/ServiceB/Service.asmx

And I get an error in ServiceB's method when it calls Invoke() it craps
out and returns

The request failed with HTTP status 405: Method not allowed.

I created a WSDL stub with wsdl.exe for calling B which A uses.

What's the deal? Why does this not work? Are there restrictions for a
web service calling another web service, even when both services are on
both machines? And what with the 405 error? I thought I'd only get
that if I an incorrect HTTP verb was sent to IIS but it should be
sending a POST.

I can call B directly just fine, and A is just a proxy and passes
client calls directly to B using the class created by WSDL.

Help???

Dec 8 '05 #2
Of course I tried debugging it. It craps out when ServiceA calls
Invoke() to make the call to ServiceB, that's as far as I can get.

Dec 8 '05 #3
GCR
OK, try putting a http monitor between the services, so you you can see how
the requests really looks like. You'll find apretty usefull monitor on
http://www.ws-i.org/Testing/Tools/20..._Final_1.1.zip

"sh*****@gmail.com" wrote:
Of course I tried debugging it. It craps out when ServiceA calls
Invoke() to make the call to ServiceB, that's as far as I can get.

Dec 8 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

11
by: Tomas Kepic | last post by:
Hi, i'm trying to create my first ASP.NET project ( HelloASPWorld project) but an error occured when I put OK button in NewProject. ERROR: "The Web server reported the following error when...
1
by: Elias | last post by:
Hi, I have a project that calls a web service that is in another project, but on the same server. I make the reference to the web service using localhost (for example,...
7
by: WhiskRomeo | last post by:
I have a WIN .NET application that calls a web service to retrieve data. I deployed the application to a server and configured the webservice. The webservice and SQL Server 2000 database are on...
2
by: Trevor | last post by:
Argh! This problem is driving me nuts! Can you help? In November of 2003, I installed a web service on Windows Server 2003 built in VB.NET for v1.1.4322 of the framework. It contains a timer...
2
by: SM | last post by:
Hi, I have a web service method developed in .Net 1.1 where both http get and post protocols are enabled. the problem is that , when i access my web method from ie window like...
0
by: Dmitry Bogdanov | last post by:
I have a problem - if I access the session in Web Service, as soon as I store anything in it, requests are no longer running in parallel - instead, they are queued and executed sequentially. Here...
4
by: Dylan | last post by:
Hello, I was trying to do a WCF tutorial (http://wcf.netfx3.com/content/ BuildingHelloWorld.aspx). I need to get the meta data from my service usin svcutil.exe why is not working? Please see...
2
by: steven | last post by:
hi i've got a web app that calls a web service, both of which i've written and are available on localhost. i've added a web reference in my web app to http://localhost/mywebservice. i've set a...
20
by: =?Utf-8?B?cmtibmFpcg==?= | last post by:
I was executing the steps given in http://suppor.microsoft.com/kb/308359 for testing a sample web service application. However, the following line gives a compilation error: localhost.Service1...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
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...
0
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...
0
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...
0
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,...

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.