ContributionsMost RecentMost LikesSolutionsgroovy select date object loses time valueHi, I am using groovy script as a step in SoapUI. In my groovy script, I need to select a date column from an Oracle DB. The column start_date has value "1/17/2011 4:00:00 PM". start_date is defined as DATE data type in the database. When I select using groovy: db.eachRow("select * from table where <conditon>") { startDate = it.start_date } the returned startdate only returns '1/17/2010'. It loses the "4:00:00 PM" part. I need the whole value for my assertion. Any ideas why or what should I do?Re: Re: problem uploading file using mtom/xop handlerok here is my http log...Thanks. Mon Aug 17 09:44:13 EDT 2009:DEBUG:>> "POST /SOAPAPI/CMService HTTP/1.1[\r][\n]" Mon Aug 17 09:44:13 EDT 2009:DEBUG:>> "Accept-Encoding: gzip,deflate[\r][\n]" Mon Aug 17 09:44:13 EDT 2009:DEBUG:>> "Content-Type: text/xml;charset=UTF-8[\r][\n]" Mon Aug 17 09:44:13 EDT 2009:DEBUG:>> "SOAPAction: ""[\r][\n]" Mon Aug 17 09:44:13 EDT 2009:DEBUG:>> "User-Agent: Jakarta Commons-HttpClient/3.1[\r][\n]" Mon Aug 17 09:44:13 EDT 2009:DEBUG:>> "Host: env.sdb.com:7001[\r][\n]" Mon Aug 17 09:44:13 EDT 2009:DEBUG:>> "Content-Length: 0[\r][\n]" Mon Aug 17 09:44:13 EDT 2009:DEBUG:>> "[\r][\n]" Mon Aug 17 09:44:13 EDT 2009:DEBUG:<< "HTTP/1.1 500 Internal Server Error[\r][\n]" Mon Aug 17 09:44:13 EDT 2009:DEBUG:<< "HTTP/1.1 500 Internal Server Error[\r][\n]" Mon Aug 17 09:44:13 EDT 2009:DEBUG:<< "Date: Mon, 17 Aug 2009 13:44:13 GMT[\r][\n]" Mon Aug 17 09:44:13 EDT 2009:DEBUG:<< "Transfer-Encoding: chunked[\r][\n]" Mon Aug 17 09:44:13 EDT 2009:DEBUG:<< "Content-Type: text/xml; charset=utf-8[\r][\n]" Mon Aug 17 09:44:13 EDT 2009:DEBUG:<< "X-Powered-By: Servlet/2.5 JSP/2.1[\r][\n]" Mon Aug 17 09:44:13 EDT 2009:DEBUG:<< "[\r][\n]" Mon Aug 17 09:44:13 EDT 2009:DEBUG:<< "0" Mon Aug 17 09:44:13 EDT 2009:DEBUG:<< "2" Mon Aug 17 09:44:13 EDT 2009:DEBUG:<< "6" Mon Aug 17 09:44:13 EDT 2009:DEBUG:<< "f" Mon Aug 17 09:44:13 EDT 2009:DEBUG:<< "[\r]" Mon Aug 17 09:44:13 EDT 2009:DEBUG:<< "[\n]" Mon Aug 17 09:44:13 EDT 2009:DEBUG:<< " env:Client Unable to parse the incoming request java.io.IOException: Could not parse SOAP message. Remaining stream ... [\n]" Mon Aug 17 09:44:13 EDT 2009:DEBUG:<< "javax.xml.soap.SOAPException: java.io.IOException[\n]" Mon Aug 17 09:44:13 EDT 2009:DEBUG:<< "java.io.IOException[\n]" Mon Aug 17 09:44:13 EDT 2009:DEBUG:<< "javax.xml.stream.XMLStreamException: javax.xml.stream.XMLStreamException: Premature end of file encountered[\n]" Mon Aug 17 09:44:13 EDT 2009:DEBUG:<< "javax.xml.stream.XMLStreamException: Premature end of file encountered[\n]" Mon Aug 17 09:44:13 EDT 2009:DEBUG:<< " " Mon Aug 17 09:44:13 EDT 2009:DEBUG:<< "[\r]" Mon Aug 17 09:44:13 EDT 2009:DEBUG:<< "[\n]" Mon Aug 17 09:44:13 EDT 2009:DEBUG:<< "0" Mon Aug 17 09:44:13 EDT 2009:DEBUG:<< "0" Mon Aug 17 09:44:13 EDT 2009:DEBUG:<< "0" Mon Aug 17 09:44:13 EDT 2009:DEBUG:<< "0" Mon Aug 17 09:44:13 EDT 2009:DEBUG:<< "[\r]" Mon Aug 17 09:44:13 EDT 2009:DEBUG:<< "[\n]" Mon Aug 17 09:44:13 EDT 2009:DEBUG:<< "[\r]" Mon Aug 17 09:44:13 EDT 2009:DEBUG:<< "[\n]" Mon Aug 17 09:44:13 EDT 2009:DEBUG:<< "[\r][\n]"Re: Re: problem uploading file using mtom/xop handlerI tried that but I still get the same error. Is there also a namespace that I need to add in my xml request? ex. xmlns:xop="http://www.w3.org/2004/08/xop/include" xmlns:xop-mime="http://www.w3.org/2003/12/xop/mime" How will relate to the namespace? Thanks. Re: problem uploading file using mtom/xop handlerI am getting an error trying to upload a csv file using mtom/xop: In arg2 is where I specify the csv file. Here is the xml: cid:12345678 I already enabled mtom, I also set the content-type in the attachement to plain/text and the ContentID to be 12345678 . I also included this in my soapenv: xmlns:xop="http://www.w3.org/2004/08/xop/include". This is the error I get: env:Client Unable to parse the incoming request java.io.IOException: Could not parse SOAP message. Remaining stream ... javax.xml.soap.SOAPException: java.io.IOException java.io.IOException javax.xml.stream.XMLStreamException: javax.xml.stream.XMLStreamException: Premature end of file encountered javax.xml.stream.XMLStreamException: Premature end of file encountered Please help!SOAPUI freezes after installing latest 2.5.2 build.Hi, I originally have the SoapUI Pro 2.5.2 version that was downloaded last April 28, 2009. Since this build has an error on the conditional goto, I downloaded that latest SoapUI 3.0 installer last Thursday. But when I opened SoapUI, it loads my projects but it immediately freezes. So what I did is uninstall 3.0 and then just downloaded the latest SoapUI 2.5.2 installer (dated 7/27)....however when I opened SoapUI with this latest version, after it loads the project, and then I open a request, it freezes up and I won't be able to click anything anymore. Only way to get out is close the other SoapUI small window. So now I reverted to our old original version downloaded last April 28 and it is back to working. Please help!SoapUI tool code generation pointing to existing SoapUI test suites.Hi, I just recently was able to use the SoapUI code generation tool for Apache CXF by entering the wsdl so that it generated the API requests from this. Is it possible to use this code generation feature so that it is pointing to the current set of Test Suites we already have in SoapUI which already have parameters in place and have this be the one converted into code? Thanks.Re: using apache cxf for code generation tool of soap uiok was finally able to make this work....i had to point to the bin folder inside the apache cxf folder... thanks.Re: using apache cxf for code generation tool of soap uiyes, i put the path in the tools... C:\Apps\apache cxf\apache-cxf-2.0.11 i just downloaded this cxf.... i use soap ui pro 2.5.2.using apache cxf for code generation tool of soap uihi first time we are trying the code generation feature of soapui pro and we chose apache cxf. after entering the settings, we get wsdl2java.bat not recognized. What are we missing? How do we generate this bat file? Thanks.missing previous request step when adding conditional gotonew to Soap UI pro... Just trying to add a conditional goto step after a test request but it keeps telling me "missing previous request step". How come it doesn't recognize the previous step which is a test request?