Im working with client side Tcl implementation on unix box of web services, to login to a tool with web service method written in C# on windows box and it is accessed by its link from the browser on unix box.
Sorry that i have hidden the original names for security reasons.
Using SOAP im trying to access 'Connection' method of the web service which
has 3 arguments URL, Username and password.
The code for SOAP implementation is:
The method is called as:
On calling the method as the way specifed above it is throwing the following
exception:
Quote:
ERROR {EXCEPTION {System.Runtime.InteroptServices.COMException (0x80040154)
: Class not registered (Exception from HRESULT: 0x80040154
(REGDB_E_CLASSNOTREG))
at API.ConnectionClass.Init (String ServerName)
at A.B.Connection(String url, String username, String password) in
<PATH> \File.cs.line 31}}
Additionally i tried the Tcl code with "?WSDL" option which also does not
work.
There is also no change from using in the '-params' tag of defining the
three inputs as string with quotes/without quotes.
I suspect there is some mistake in my code in forming the method in my side
of implementation in Tcl.
Please let me know what may be the reason for this error as the method works fine from browser.
Also i found that the webservice is working fine for getting any data from server and only if i give any input to the server it is not even reaching the server end.
Thanks in advance.
Last edited by SankarV; 02-22-2008 at 06:49 AM..
Reason: additional information
Hi,
I have executed the below perl code to check whether SOAP module is working or not.
#!/usr/bin/perl
use SOAP::Transport::HTTP;
print "Hai";
But I got the below error message:
Can't locate SOAP/Transport/HTTP.pm in @INC (@INC contains:... (2 Replies)
Following error encountered while executing characterizationEngine.tcl
:confused::confused:
$ ./characterizationEngine.tcl
Tcl Client is running Ixia Software version: 5.60
Can't find tclx.tcl in the following directories:
/usr/lib/tclX8.3
/usr/lib/tclX8.3
/usr/lib/tclX8.3... (0 Replies)
Hi everybody,
I`d llike to know if it is possible to create a script that call a specific soap method and collect the response time of this method. Can someone give some tips and examples ?
Thank you so much ! (0 Replies)
I have a TCL script that logs into a switch using expect.I send a command "show port-security address" and it returns a table having a large number of rows.I need to capture this output(the table) and store it in a .txt file.
I have done this:
match_max 5000
set expect_out(buffer) {}
set... (0 Replies)
Hello everyone:
I have a script that writes and read DATA in/from a socket, but i have a great problem while writing.
My socket is created in this way:
set connection
fconfigure $connection -encoding binary -translation binary -blocking 1
And the writer procedure is this one:
... (0 Replies)
I'm trying to write a script that will do the following:
Open a text file for reading/writing.
Read each line.
When I find a specfic value in a line, append something to the end of that line.
I loop through and read all the lines in myfile.txt looking for dev123_data_log and find a... (5 Replies)
Under Unix however we had many many many many problems. We had to use Ansi2utf8(), repstr() and XMLval() to prevent "Invalid token" errors. And because we didn't know what the raw XML result was, it allways was a big problem to find the cause of it. (0 Replies)
running solaris 2.5.1 on a sparc5, with less than 12 users runnign compilers, gui's, really not a heavy load on it however, sometimes, not always, when users run diff, or sdiff or a .tcl script, the computer locks up. One time right before everything froze, I noticed in top, that the sdiff process... (2 Replies)