[Dev] webservice recording TestMaker 4.3.1

William Martinez Pomares wmartinez at AVANTICATEC.NET
Thu May 31 11:03:47 PDT 2007


Hi Joseph.
Although the faultcode says "client", it is actually sending something
to the server. The server response indicates a problem located in the
client request is no letting the call to complete. 
It seems that the client is asking for an operation name that does not
exist. I have seen this problem when you have an RPC oriented SOAP but
your WSDL is document oriented and it is not wrapped (a trick from
microsoft to make/tweak a document/literal call to create a RPC/literall
SOAP message).
You can check the SOAp being sent by using TCPMonitor (comes with Axis).
Or you can check the WSDL to detemine which style/encoding is using and
the agent code to see how is it calling it.
Or, you can post the WSDL and the Agent so we can take a look at them
 
BWT, the WSDL recorder creates an agent that is totally working if the
WSDL operation is RPC oriented. But if not, document oriented needs an
XML as a body, and the recorder only leaves the statement there for you
to fill it with an appropriate XML. So it is important to know if your
WSDL is document oriented.
 
William Martinez Pomares
R&D Manager and Architect 
Avantica Technologies
Phone(US)  :+1 (650) 353-4522  Ext 131 
Fax(US)        :+1 (877) 372-1955  
Phone(CR)  :+506 283-9100 Ext 131 
Fax(CR)        :+506 253-7451 
http://www.avantica.net <http://www.avantica.net/>  
 
-----Original Message-----
From: dev-bounces at lists.pushtotest.com
[mailto:dev-bounces at lists.pushtotest.com]On Behalf Of Joseph Ribin Roy
Sent: Thursday, May 31, 2007 4:13 AM
To: dev at lists.pushtotest.com
Subject: [Dev] webservice recording TestMaker 4.3.1


Hi all
 
                               I m able to successfully record web
services (susiboats) which is deployed in my local system by giving WSDL
URL , but while replaying the skeleton script which is created I found
that it is not actually sending any request to server. I tried printing
the response object it shows a faultcode from client side. 
I tried recording some other web services but it also end up in the same
exception. 
 
------------------------------------------------------------------------
------------------------------------------------------------------------
--
Agent running: 
Description: 
 
Processing...
Sending request to server...
Technology=1 
com.pushtotest.tool.protocolhandler.SOAPProtocol at 1beffcd
<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"><env:Body><env:Fault><fault
code>Client</faultcode><faultstring>Unable to find a matching Operation
for this remote invocation 
&lt;/&gt;.  Please check your operation name.
</faultstring></env:Fault></env:Body></env:Envelope>
 
That took  0.0  milliseconds to complete.
 
Agent ended
------------------------------------------------------------------------
------------------------------------------------------------------------
----
So I thought of looking into the sample agent scripts provided along
with the TestMaker. But examples.pushtotest.com is not up it seams (I
learned from Franks reply mail) so I am not able to run those test agent
scripts.
 
 If any one can give me some pointers to make it fully functional will
be appreciated.
 
Joseph 
 

The information contained in, or attached to, this e-mail, contains
confidential information and is intended solely for the use of the
individual or entity to whom they are addressed and is subject to legal
privilege. If you have received this e-mail in error you should notify
the sender immediately by reply e-mail, delete the message from your
system and notify your system manager. Please do not copy it for any
purpose, or disclose its contents to any other person. The views or
opinions presented in this e-mail are solely those of the author and do
not necessarily represent those of the company. The recipient should
check this e-mail and any attachments for the presence of viruses. The
company accepts no liability for any damage caused, directly or
indirectly, by any virus transmitted in this email.

www.aztecsoft.com
	
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/ms-tnef
Size: 12183 bytes
Desc: not available
Url : http://cake.pushtotest.com/pipermail/dev/attachments/20070531/33ff2b3d/attachment-0001.bin


More information about the Dev mailing list