header
header
Main Menu
Home
Eviware Store
Downloads
Products
News
Forum
Eviware Blog
Search
FAQs
Customer Area
Support
Documentation
Tutorials
CookBook
Downloads
Forum
Login Form
Welcome, Guest. Please login or register.
November 22, 2008, 02:01:38 pm
Username: Password:
Login with username, password and session length

Forgot your password?
 
Latest posts of: Joey Seekata
Welcome, Guest. Please login or register.
November 22, 2008, 02:01:38 pm
Home Help Search Login Register
News: The Forums are up! Welcome to eviware.

  Show Posts
Pages: [1]
1  soapUI / soapUI / can't import cisco AXL API wsdl on: February 05, 2008, 04:36:21 pm
an error box pops up:

"Error importing wsdl:org.apache.xmlbeans.XmlException: error: Whitespace missing after attribute value"

No clue as to where, and the file is quite large.

I can send you the wsdl and imported xsd files.

Any thoughts/help much appreciated.

Using SoapUI Pro 1.7.5
2  soapUI / soapUI / Re: Log4j and extending the HtmlLayout layout class on: October 11, 2007, 08:49:39 pm
Omatzura,

I don't know how you got that from the javadocs, but it was brilliant.  I used:

Logger.getRootLogger().getAppender("testResults").activateOptions();

and sure enough, it closed and reopened it.  With append set to false, it reopened it "clean".

I could not figure out what name to put into the Logger.getLogger call, so I used getRootLogger instead.

Who said there are no pointers in java?  You pointed me in the right direction with some java code.

But still, how did you get that behavior from the javadocs?  Some kind of secret decoder ring or what?

Thanks so much!

Joey
3  soapUI / soapUI / Re: Log4j and extending the HtmlLayout layout class on: October 11, 2007, 06:49:00 pm
Omatzura,

Thanks so much.  Turns out log4j is processed first so the soapui-pro.bat file needed to be modified. 

Next task, resetting the log file when a test case is run.  log4j's FileAppender has a property "Append" and it is set to false.  So when SoapUI-Pro starts up, the old log file is cleared (emptied of data).  That is great, but what I am being asked to do requires that same emptying for each test case run.  Any thoughts?  I have, of course, poured over the log4j documents and do not see anything that looks promising, so I am asking here.

Thanks again,

Joey
4  soapUI / soapUI / Log4j and extending the HtmlLayout layout class on: September 20, 2007, 02:40:07 pm
I think this is really about hooking in java code in general, but my specific need is to extend HTMLLayout (org.apache.log4j.HTMLLayout).  In the version of log4j that comes with SOAPui, the output from HTMLLayout is fixed (HTMLLayout does not derive from PatternLayout and therefore does not accept an ConversionPattern).

If I were to extend HTMLLayout in java, can I hook that code into SOAPui?  For example, I currently have this in soapui-log4j.xml:

  <appender name="testResults" class="org.apache.log4j.FileAppender">
     <param name="File" value="testResults.html"/>
     <layout class="org.apache.log4j.HTMLLayout">
      </layout>
   </appender>

What I would like to do is (for example):

  <appender name="testResults" class="org.apache.log4j.FileAppender">
     <param name="File" value="testResults.html"/>
     <layout class="com.company.project.MyHtmlLayout">
      </layout>
   </appender>

Where would I put the jar file that contains com.company.project.MyHtmlLayout such that SOAPui will load it up at startup?

Thanks for your attention to this matter.

Joey
Pages: [1]


Login with username, password and session length

Powered by MySQL Powered by PHP Powered by SMF 1.1.2 | SMF © 2006-2007, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
header header
header
header