Forum Discussion
Hi,
I am just guessing what is done inside the WSinit() function, but have you tried
RequestObj.before = "xsi:nil" ?
If it does not help, can you provide the code for WSinit() and the contents of the service WSDL file?
TanyaYatskovska wrote:Hi Lorenzo,
If you already have a ready SoapUI test, you can call it from TestComplete. Starting since TC 10.6, the product has the Ready! API and SoapUI Integration feature. Please read the "Integration With Ready! API and SoapUI" ( http://smartbear.com/viewarticle/66716/ ) help topic for more information.
Thanks Tanya,
i tried integrating SOAPUI but I have do do some programmatic checks and other things within a script.
I kno I can do a lot of things with SOAPUI but we have a lot of codebase already written for TestComplete and at the moment we don't want to switch all to SOAPUI.
AlexKaras wrote:Hi,
I am just guessing what is done inside the WSinit() function, but have you tried
RequestObj.before = "xsi:nil" ?
With this command I'm telling to put the value "xsi:nil" in the attribute before, that is a Date.
The interpreter says me something like "Type mismatch" (I have the italian version that says "Tipo non corrispondente")
If it does not help, can you provide the code for WSinit() and the contents of the service WSDL file?
Sorry for that, this is my WSInit
' ============================================================================= ' retrieve WS information and returns the request ready to be sent ' inspired by http://support.smartbear.com/viewarticle/56393/ ' REQUIRE: a WebService definition named WSName Function WSinit( WSName, MethodName ) Dim ServiceInfo, RequestObj ' Initialise the service information from the project's WebServices Set ServiceInfo = WebServices.CreateWebServiceInfoFromItem( WSName ) ' Create an object with the method's input parameters Set RequestObj = ServiceInfo.PrepareRequestObject( MethodName ) Set WSinit = RequestObj end Function
- AlexKaras11 years agoCommunity Hero
Hi,
Excuse me for the delayed reply...
I hope that these threads:
http://support.smartbear.com/viewarticle/29074/ and
http://community.smartbear.com/forum/post/?mode=singleThread&thread=e395e0c9-ca48-4401-bb31-0a88390498ae should help.
Out of curiosity - why are you using low-level .CreateWebServiceInfoFromItem() and other functions instead of more handy regular approach described in the help (e.g. http://support.smartbear.com/viewarticle/56243/)?