Ticket #137 (closed defect: fixed)

Opened 9 months ago

Last modified 2 months ago

SOAP Attachment problem

Reported by: fcohen Assigned to: llara@avanticatec.net
Priority: critical Milestone:
Version: 5.1 Keywords: soap attachments soapui classpath wsdl4j
Cc:

Description

Hi.

I've solved this problem. You should remove wsdl4j.jar and wsdl4j-1.5.1.jar files from the %TEST_MAKER_HOME%\TestNetwork?\TestNode\webapps\TestNetwork?\WEB-INF\lib directory to make TestMaker work properly with SOAP request with attachment.

--- Исходное сообщение --- От кого: "Yuriy" Кому: users@lists.pushtotest.com Дата: 3 сентября, 17:22:34 Тема: [ptt-users] TestMaker & SOAP request with attachment

Hi. I'm trying to make a functional test for a web service which accept a SOAP request with an attachment. The test works properly within soapUI but when I run it within TestMaker the next error occurs: Running a functional test Executing time 0 Trying .\localhost\attach1-soapui-project.xml - Loaded project from [C:\work\tools\TestMaker\inst\TestMaker\TestNetwork\TestNode\.\localhost\attach1-soapui-project.xml] Triying suite TestSuite? Using com.eviware.soapui.impl.wsdl.testcase.WsdlTestCase?@10ff62a Progress: 1 - Loading definition from cache Retrieving document at 'file:C:\work\temp\1.wsdl'. - Loading schema types from [file:C:\work\temp\1.wsdl] - Getting schema file:C:\work\temp\1.wsdl - Exception during TestCase? Execution java.lang.NoSuchMethodError?: javax.wsdl.Definition.getAllServices()Ljava/util/Map; at com.eviware.soapui.impl.wsdl.support.MessageXmlObject?.findBindingOperation(MessageXmlObject?.java:207) at com.eviware.soapui.impl.wsdl.support.MessageXmlObject?.getMessageParts(MessageXmlObject?.java:92) at com.eviware.soapui.impl.wsdl.submit.transports.http.HttpClientRequestTransport?.initRequest(HttpClientRequestTransport?.java:186) at com.eviware.soapui.impl.wsdl.submit.transports.http.HttpClientRequestTransport?.sendRequest(HttpClientRequestTransport?.java:126) at com.eviware.soapui.impl.wsdl.WsdlSubmit?.run(WsdlSubmit?.java:112) at com.eviware.soapui.impl.wsdl.WsdlSubmit?.submitRequest(WsdlSubmit?.java:72) at com.eviware.soapui.impl.wsdl.WsdlRequest?.submit(WsdlRequest?.java:370) at com.eviware.soapui.impl.wsdl.teststeps.WsdlTestRequestStep?.run(WsdlTestRequestStep?.java:285) at com.eviware.soapui.impl.wsdl.testcase.WsdlTestCaseRunner?.run(WsdlTestCaseRunner?.java:172) at com.eviware.soapui.impl.wsdl.testcase.WsdlTestCaseRunner?.start(WsdlTestCaseRunner?.java:80) at com.eviware.soapui.impl.wsdl.testcase.WsdlTestCase?.run(WsdlTestCase?.java:462) at com.pushtotest.testmaker.XSTest.xml.TestScenario.ScriptRunner?.runSOAPUI(ScriptRunner?.java:312) at sun.reflect.NativeMethodAccessorImpl?.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl?.invoke(NativeMethodAccessorImpl?.java:39) at sun.reflect.DelegatingMethodAccessorImpl?.invoke(DelegatingMethodAccessorImpl?.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.pushtotest.testmaker.XSTest.xml.TestScenario.ScriptRunner?.execute(ScriptRunner?.java:982) at com.pushtotest.testmaker.XSTest.xml.TestScenario.ScriptRunner?.runJustOne(ScriptRunner?.java:667) at com.pushtotest.testmaker.XSTest.xml.TestScenario.TestusecaseRunner?.runOneTime(TestusecaseRunner?.java:383) at com.pushtotest.testmaker.XSTest.xml.TestScenario.TestscenarioRunner?.runFunctionaltest(TestscenarioRunner?.java:288) at com.pushtotest.testmaker.XSTest.xml.TestScenario.TestscenarioRunner?.access$000(TestscenarioRunner?.java:91) at com.pushtotest.testmaker.XSTest.xml.TestScenario.TestscenarioRunner?$FunctionalTest?.run(TestscenarioRunner?.java:272) Functional test failed. What might be a cause of the error? Maybe incompatible with soapUI library in TestMaker?

Change History

11/09/07 22:58:33 changed by fcohen

  • version changed from 5 to 5.1.

11/10/07 14:53:22 changed by fcohen

Removed wsdl4j.jar from TestMaker. It remains in soapUI. Closing this as fixed. -Frank

11/10/07 14:53:29 changed by fcohen

  • status changed from new to closed.
  • resolution set to fixed.

03/11/08 10:33:39 changed by root

  • milestone changed.

Milestone release deleted