Solved

client: Connector - Invalid Http method. (Soap)

Posted on 2001-06-18
12
914 Views
Last Modified: 2010-05-18
I'm trying to activate a soap client.
I configure the server and the IIS as was explained, but
I'm always get the same error.

The error values are:
faultcose = client
faultstring = client: Connector - Invalid Http method.
faultactor =
detail = Client: Sending the Soap message failed or no recognizable response was received HRESULT=0x800A13BE - Client:Connector - Invalid Http method. HRESULT=0x800A13BE

Rami
0
Comment
Question by:me8873
12 Comments
 
LVL 20

Expert Comment

by:Silvers5
ID: 6201736
can you post your code.. also is the soap web service running?
0
 
LVL 20

Expert Comment

by:Silvers5
ID: 6201751
0
 
LVL 20

Expert Comment

by:Silvers5
ID: 6201757
also post the web service component code if you developed it..
0
Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

 

Author Comment

by:me8873
ID: 6201766
>> also is the soap web service running?
The IIS is running. Is there other things that should be running?

>> can you post your code
The client code is:

set soapclient = CreateObject("MSSOAP.SoapClient")
On Error Resume Next

Call soapclient.mssoapinit("http://localhost/DocSample1/DocSample1.wsdl")

wscript.echo  soapclient.EchoString("Bob")

wscript.echo   soapclient.faultcode
wscript.echo   soapclient.faultstring
wscript.echo   soapclient.faultactor
wscript.echo   soapclient.detail

The server code is:

Public Function EchoString(ByVal testString As String) _
                           As String
    EchoString = testString
End Function

Public Function AddNumbers(ByVal NumberOne As Double, _
                           ByVal NumberTwo As Double) _
                           As Double
    AddNumbers = NumberOne + NumberTwo
End Function

Public Function SubtractNumbers(ByVal NumberOne As Double, _
                                ByVal NumberTwo As Double) _
                                As Double
    SubtractNumbers = NumberOne - NumberTwo
End Function

Thanks rami
0
 
LVL 20

Expert Comment

by:Silvers5
ID: 6201793
Did you install the soap server objects?
0
 
LVL 20

Expert Comment

by:Silvers5
ID: 6201806
set soapclient = CreateObject("MSSOAP.SoapClient")

Once instantiation is complete, the SOAP object can call the mssoapinit() method. This method has three parameters: the URI of the WSDL file, the name of the service (same name as the SERVICE tag in the WSDL) and the port name (the same name as the PORT tag in the WSDL).

Call soapclient.mssoapinit("http://www.xmethods.net/sd/ PingService.wsdl", "PingService", "PingPort")
 

you didn't include the other 2 parameters.. get more info here:

http://www.techmetrix.com/trendmarkers/tmk0201/tmk0201-5.php3
0
 
LVL 20

Expert Comment

by:Silvers5
ID: 6201816
hmm these are optional..
0
 

Author Comment

by:me8873
ID: 6201888
>> you didn't include the other 2 parameters.. get more info here:

I tried calling mssoapinit with one, two, three and four parameters. Thay all results the same.

rami
0
 
LVL 20

Expert Comment

by:Silvers5
ID: 6201899
you are browsing from the server machine? try to browse the wdsl can you get the file?
0
 

Author Comment

by:me8873
ID: 6201915
yes
0
 
LVL 27

Expert Comment

by:Asta Cu
ID: 6932052
Hopefully you've already been helped with this question, but thought you'd appreciate knowing this.  It would be great if you could bring this question to a conclusion, awarding the experts above who helped you with points or a comment to them on your status today.

WindowsUpdate has new updates for .NET users; Details follow - Microsoft .NET Framework
The .NET Framework is a new feature of Windows. Applications built using the .NET Framework are more reliable and secure. You need to install the .NET Framework only if you have software that requires it.

For more information about the .NET Framework, see http://www.microsoft.com/net. (This site is in English.)

System Requirements
The .NET Framework can be installed on the following operating systems:
Windows 98
Windows 98 Second Edition (SE)
Windows Millennium Edition (Windows Me)
Windows NT 4.0® (Workstation or Server) with Service Pack 6.0a
Windows 2000 with the latest service pack installed (Professional, Server, Datacenter Server, or Advanced Server)
Windows XP (Home Edition and Professional)
You must be running Internet Explorer version 5.01 or later for all installations of the .NET Framework.

To install the .NET Framework, your computer must meet or exceed the following software and hardware requirements:

Software requirements for server operating systems:
MDAC 2.6
Hardware requirements:
For computers running only a .NET Framework application, Pentium 90 mHz CPU with 32 MB memory or the minimum CPU and RAM required by the operating system, whichever is higher.
For server operating systems, Pentium 133 mHz CPU with 128 MB memory or the minimum CPU and RAM required by the operating system, whichever is higher.
Recomended software:
MDAC 2.7 is recommended.
Recommended hardware: For computers running only a .NET Framework application, Pentium 90 MHz CPU with 96 MB memory or the minimum CPU and RAM required by the operating system, whichever is higher.
For server operating systems, Pentium 133 MHz CPU with 256 MB memory or the minimum CPU and RAM required by the operating system, whichever is higher.

How to use -> Restart your computer to complete the installation. No other action is required to run .NET Framework applications. If you are developing applications using the .NET Framework, you can use the command-line compilers or you can use a development environment, such as Visual Studio .NET, that supports using the .NET Framework.

How to uninstall
To uninstall the .NET Framework: Click Start, point to Settings, and then click Control Panel (In Windows XP, click Start and then click Control Panel.).
Click Add/Remove Programs.
Click Microsoft .NET Framework (English) v1.0.3705 and then click Change/Remove.
More here  http://www.microsoft.com/net/

The .NET topic is being considered for addition to our All Topics link soon, so this may interest you as well:
http://www.experts-exchange.com/newtopics/Q.20276589.html

EXPERTS POINTS are waiting to be claimed here:  http://www.experts-exchange.com/commspt/Q.20277028.html

":0)
Asta


0
 

Accepted Solution

by:
SpideyMod earned 0 total points
ID: 8622368
Administrative Action - PAQ'd and points NOT refunded.

SpideyMod
Community Support Moderator @Experts Exchange
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Update static table with two columns and multiple rows... 15 89
Issue with Loop 4 57
Want the count number from this QUery 2 49
ASP/VB email question 4 34
Hello, all! I just recently started using Microsoft's IIS 7.5 within Windows 7, as I just downloaded and installed the 90 day trial of Windows 7. (Got to love Microsoft for allowing 90 days) The main reason for downloading and testing Windows 7 is t…
I was asked about the differences between classic ASP and ASP.NET, so let me put them down here, for reference: Let's make the introductions... Classic ASP was launched by Microsoft in 1998 and dynamically generate web pages upon user interact…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

773 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question