473,394 Members | 1,715 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,394 software developers and data experts.

SOAP TOOLKIT AND WEBSERVICE CREATE IN .NET ERROR

hi everybody,

I still have some difficulties to acces a web service created in C# with
soap toolkit..

In fact I'd like to access it with the low-level sample that was on the
sample exemple.

I always get.. the error Message Invalid procedure call or method..

here my code :

Dim Serializer As SoapSerializer30
Dim Reader As SoapReader30
Dim ResultElm As IXMLDOMElement
Dim FaultElm As IXMLDOMElement
Dim Connector As SoapConnector30
Dim Method As String

Method = "GetList"

Set Connector = New HttpConnector30
Connector.Property("EndPointURL") =
"http://chtiws06/TIGroupDocWS/Editor.asmx?WSDL"
Connector.Connect

' binding/operation/soapoperation
Connector.Property("SoapAction") = "http://tempuri.org/" & Method
'Connector.Property("SoapAction") = "http://tempuri.org/GetList"

Connector.BeginMessage

Set Serializer = New SoapSerializer30
Serializer.Init Connector.InputStream

Serializer.StartEnvelope "soap"
Serializer.StartBody
Serializer.StartElement Method, "http://tempuri.org/"
Serializer.StartElement "strEnvironment"
Serializer.WriteString "TIDOCWEBF"
Serializer.EndElement
Serializer.StartElement "strXMLInputStream"
Serializer.WriteString
"<DDINT68S><MESSAGEVERSION>1.0</MESSAGEVERSION><MESSAGETOPIC>TIGroupDoc.Edit
or.GetList</MESSAGETOPIC><INPUT><DDWRKRGCHK>1</DDWRKRGCHK><DDWRKUSRID>TIJYP<
/DDWRKUSRID><USAPIACTIONCODE></USAPIACTIONCODE><DDINSTFTCH></DDINSTFTCH><USA
PIINSTANCETOGET>1</USAPIINSTANCETOGET><DDDDBDESC></DDDDBDESC></INPUT></DDINT
68S>"
Serializer.EndElement
Serializer.EndElement
Serializer.EndBody
Serializer.EndEnvelope

Connector.EndMessage

Set Reader = New SoapReader30
Reader.Load Connector.OutputStream

If Not Reader.Fault Is Nothing Then
MsgBox Reader.FaultString.Text, vbExclamation
Else
MsgBox CDbl(Reader.RpcResult.Text)
End If
My Soap xml file build with the serializer looks ok I checked it and if I
try to access the same web service
with the high-level code all works fine..

Any idea ??

Thanks
Nov 12 '05 #1
0 1313

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

Similar topics

2
by: mkosca01 | last post by:
Hello, I have recently downloaded and installed the Soap Toolkit 3.0 from microsoft. I have successfully created the example web service DocSample1 and am able to run this from the command line...
5
by: mark kurten | last post by:
i have a requirement to send a soap message to a web service. i'm familiar with the soap toolkit using vb. i need to generate a xml document which i think i can do, but i don't know how to...
0
by: Nalla | last post by:
Hi, I have a requirement to call webservices from my old C++ application.So first I tried with Vc++.net as follows.....There are 2 approach Dotnet frame work and soaptoolkit 3.0 I am not able to...
7
by: Q. John Chen | last post by:
All, I have a WebService created in .NET. I have VB6 Client consume the WebService (using Soap ToolKit 3.0) But I have couple user who got error accessing the WebServer with error message...
6
by: LP | last post by:
Hello, I am looking into ways to consume Web Service (developed in .NET/C#) from legacy COM based applications. Porting COM applications to .NET is not a viable option at this time. I am aware...
1
by: sahan malagi | last post by:
Hello, I am new to webservices and I am trying to get a simple Webservice client in VB (Using Microsoft SOAP Toolkit) to access a webservice on a public site. I get the following error message...
1
by: LP | last post by:
Hello, I am really hoping someone can help me here. I have a web service running on Win 2003 IIS 6.0, and VB6 client connecting to it with the use of Soap Toolkit. Everything worked fine until I...
0
by: jimmyfishbean | last post by:
Hi, I have a successful VB6 web service client that uses the SOAP Toolkit 3 to make calls to a web service written in ASP.Net (VB.Net). However, due to Microsoft not recommending the use of...
1
by: Vesna Sarajevo | last post by:
Hi all and thanx for your help in advance. I'm using MS SOAP Toolkit V3 to call my webservice (which works) but I always get 0 in result, whatever numbers I send. This is just a dummy function...
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
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
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...

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.