Contributions
How to keep return carriages in a global variable?
Hi, I am parsing a SOAP response to extract a SAML assertion with the following configuration of a property transfer, which is then assigned to a global variable: declare namespace ns2='http://docs.oasis-open.org/ws-sx/ws-trust/200512'; declare namespace saml2='urn:oasis:names:tc:SAML:2.0:assertion'; //ns2:RequestSecurityTokenResponse/ns2:RequestedSecurityToken/saml2:Assertion It is working fine, except that the assertion contains return carriages in the X509 certificate, which are then replaced by a single space in the global variable. Is there a way to keep those special characters (pretty-printing is already disabled) so the hash doesn't fail? Response: Global variable: <ds:X509Certificate>MIIDEzCCAtGgAwIBAgIET/WquDALBgcqhkjOOAQDBQAwbTELMAkGA1UEBhMCVVMxCzAJBgNVBAgT Ak9IMQ4wDAYDVQQHEwVNYXNvbjEQMA4GA1UEChMHTWVkUGx1czESMBAGA1UECxMJQ2hhcnRNYXh4 MRswGQYDVQQDExJDaGFydE1heHggQ0VTUCBTVFMwHhcNMTIwN Thanks!748Views0likes0CommentsDOMParser error when using the WS-I testing tools
Hi, Using SoapUI-4.6.4 on Ubuntu 13.10 64 bits. When trying to use the wsi-test-tools, I am getting the following stack: Running WSI Analyzer for [PRPClaimServiceSOAPBinding] directory: /softwares/SmartBear/SoapUI-4.6.4/wsi-test-tools/java/bin command: [sh, -c, /softwares/SmartBear/SoapUI-4.6.4/wsi-test-tools/java/bin/Analyzer.sh -config /tmp/wsi-analyzer-config5557780121446155076.xml] Default WSI home directory Set classpath Set Java options Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/xerces/parsers/DOMParser at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:800) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) at java.net.URLClassLoader.defineClass(URLClassLoader.java:449) at java.net.URLClassLoader.access$100(URLClassLoader.java:71) at java.net.URLClassLoader$1.run(URLClassLoader.java:361) at java.net.URLClassLoader$1.run(URLClassLoader.java:355) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:354) at java.lang.ClassLoader.loadClass(ClassLoader.java:425) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308) at java.lang.ClassLoader.loadClass(ClassLoader.java:358) at org.wsi.xml.jaxp.DocumentBuilderImpl.<init>(Unknown Source) at org.wsi.xml.jaxp.DocumentBuilderFactoryImpl.newDocumentBuilder(Unknown Source) at org.wsi.xml.XMLUtils.parseXML(Unknown Source) at org.wsi.xml.XMLUtils.parseXML(Unknown Source) at org.wsi.test.analyzer.config.impl.AnalyzerConfigReaderImpl.readAnalyzerConfig(Unknown Source) at org.wsi.test.analyzer.config.impl.AnalyzerConfigReaderImpl.readAnalyzerConfig(Unknown Source) at org.wsi.test.analyzer.config.impl.AnalyzerConfigImpl.parseArgs(Unknown Source) at org.wsi.test.analyzer.Analyzer.<init>(Unknown Source) at org.wsi.test.analyzer.BasicProfileAnalyzer.<init>(Unknown Source) at org.wsi.test.analyzer.BasicProfileAnalyzer.main(Unknown Source) Caused by: java.lang.ClassNotFoundException: org.apache.xerces.parsers.DOMParser at java.net.URLClassLoader$1.run(URLClassLoader.java:366) at java.net.URLClassLoader$1.run(URLClassLoader.java:355) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:354) at java.lang.ClassLoader.loadClass(ClassLoader.java:425) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308) at java.lang.ClassLoader.loadClass(ClassLoader.java:358) ... 22 more FYI, I also had to rename "analyzer.sh" to "Analyzer.sh". Thanks, Phil11 years agoPlace ReadyAPI QuestionsReadyAPI Questions2.4KViews0likes3CommentsFrozen popup during load test on Ubuntu
Hi, Using Ubuntu 11.10 64 bits, Sun JDK 1.0.6_26, and SoapUI Pro 4.0.1. When running a Load test with the "simple" strategy, a popup titled "Progress" comes up. It doesn't do anything, and stays there all the time. It cannot be closed or cancelled. It doesn't prevent to use SoapUI at all, the load test can be run multiple times, other features work as well. Sometimes, I even get 2 such popups. Anything I can do to fix that. My current workaround is to restart SoapUI, which is not very practical. Thanks and regards, Phil13 years agoPlace ReadyAPI QuestionsReadyAPI Questions1.6KViews0likes1CommentLicense installation crashes SoapUI Pro 3.0 on Ubuntu
Hi, I am running Ubuntu 9.04 with Sun JDK 1.6.0_14. Trying to run SoapUI Pro 3.0 (ZIP version). When importing the license: The program 'TuxPack GTK+' received an X Window System error. This probably reflects a bug in the program. The error was 'BadWindow (invalid Window parameter)'. (Details: serial 3228 error_code 3 request_code 20 minor_code 0) (Note to programmers: normally, X errors are reported asynchronously; that is, you will receive the error a while after causing it. To debug your program, run it with the --sync command line option to change this behavior. You can then get a meaningful backtrace from your debugger if you break on the gdk_x_error() function.) Best regards, Phil1.3KViews0likes0CommentsRe: Form wrong based on correct XML schema
Hi Ole, Thanks for the build, it did solve some if the issue, but not all. Please see the 2 attached screen shots. The problem is that I cannot add a new QueryItem in the form, and also when I input several of them through the XML interface, I only see the first one in the form view. Thanks and best regards, Phil2KViews0likes0CommentsForm wrong based on correct XML schema
Hi, I am working with a simple web service. For some reason, the form in SoapUI Pro is malformed. I have to use the XML input. I have attached the relevant documents. It shouldn't ask for a queryItem entry... the XML input is correct: Any idea? Thanks and best regards, Phil3.2KViews0likes7CommentsKeystores/Certificates -- failed to extract any certificates or private keys
Hi, This seems to be a recurrent issue... however I couldn't find a complete solution in the forums. I found a topic on Sourceforge with the same problem but the solution (same password for keystore and priavte key) didn't make any sense. http://sourceforge.net/forum/message.php?msg_id=4683168 I have created a keystore with the following command: keytool -genkey -keyalg RSA -keystore test_keystore.jks -storepass asdf321 -alias test_key -keypass test_key_password -dname "CN=Test, OU=IHC, C=US" -keysize 1024 -validity 1460 When importing it in SoapUI, it gives me an error: java.io.IOException: DerInputStream.getLength(): lengthTag=109, too big. (BC as a provider gives another message: java.io.IOException: stream does not represent a PKCS12 key store) In the console: KeyStoreException: failed to extract any certificates or private keys I used the JRE provided with SoapUI 2.0.2 Pro as well as another JDK, with no success in both cases. Any idea? Thanks! Phil3.9KViews0likes2Comments