soapui

Request on Soa, SoapUI, SaaS and Web services

Hi all, I recently moved south to Bangalore and I am working for a large software integrator mainly testing. My project team is working on web service project. We plan to use an open source software like soapUI now. Are you able to point me to online and offline resources/trainings that can help me and friends get up to speed with this ...

Mocking Web Service Response | Bundle couple of them in a web app

I am working in an enterprise project and my team is responsible for creating front end of the application and there is another team developing webservices and has provided WSDL for all the services that will be available as part of this project. In development phase our local dev environment will point to one of the development box of t...

how do I test an MTOM webservice with soapUI?

I've built a webservice that wraps Apache FOP. You send it XML, and it gives you an MTOM stream that contains the rendered PDF. Now that its working, I'd like to run some performance tests on it. soapUI says they support MTOM, and I use it for all my other webservice performance testing, so'd I'd be great if I didn't have to write a cust...

Create MockService in soapUI without wsdl

Is it somehow possible to create mock service in soapUI without having wsdl file? All I have is sample request and responses. I think that should be possible to generate WSDL from request and response examples with soapUI but I'm not able to find any tutorials about it. ...

PHP SoapFault not WSDL Schema compliant in soapUI?

Hi all, I came across a strange one today, it goes like this: I'm setting up test suites for QAing a web service of mine, which is written in PHP5 - making use of the class SoapFault among others. I use the class to return error message to the clients. Example: if (!$this->CheckHost(getenv('REMOTE_ADDR'))) { return new SoapFault(...

can a valid xml body have escaped characters for the '<' and '>' around the element names

My web service is receiving xml from a third party that looks like this: <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"&gt; <SOAP-ENV:Body> &lt;Foo&gt;bar&lt;/Foo&gt; </SOAP-ENV:Body> </SOAP-ENV:Envelope> My jaxws web service rejects this with a parsing error. Also if I try to validate this xml u...

SoapUI request to WCF service fails without decrypting

I am trying to get a WCF service configured with message security (no transport security) such that it can communicate with Java clients. I have been using SoapUI to test, and have overcome numerous hurdles. Now, WCF seems to be authenticating the message, but it is routing it to the operation without decrypting it. I am getting the foll...

WCF Difference in two URLs that point to the WSDL

URL in browser: http://localhost:12345/FRB.EC.BMI.WebSvc/Datafaction.svc shows this: You have created a service. To test this service, you will need to create a client and use it to call the service. You can do this using the svcutil.exe tool from the command line with the following syntax: svcutil.exe http://sfbztkdev01v.biztalkde...

soapUI assertion where value is groovy reserved word

I have a response that contains the following: <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"&gt; <env:Header/> <env:Body> <project:loginResponse xmlns:project="http://project.somewhere.com/"&gt; <return>34715527grsbN3C</return> </project:loginResponse> </env:Body> </env:Envelope> I n...

WSDLs generated by Axis2 services can't be read by SoapUI or WSDL2Java

I'm converting some services from Apache SOAP to Axis2, so the Java service classes already exist. I created a new project in Eclipse, imported the source, made sure that the Axis2 project facets were installed, and Axis2 emitter properties are correct. Then, in Eclipse, I selected the service class and chose "Create Web Service," choosi...

How to make sure web services are kept stable from one release to the next?

The company where I work is a software vendor with a suite of applications. There are also a number of web services, and of course they have to be kept stable even if the applications change. We haven't always succeeded with this, and sometimes a customer finds that a service is not behaving as before after upgrading. We now want to han...

How to save web service response (a byte array) as a file using SOAP UI?

I am using SOAP UI 3.0.1 for testing my web service which returns a byte array. I want to save the byte array as a word file. How do I accomplish it using Groovy Script or any other way? The web service response is, 0M8R4KGxGuEAAAAAAAAAAAAAAAAAAAAAPgADAP7/CQAGAAAAAAA............................... ...

Is it legal to have different SOAP namespaces/versions between the request and response?

THIRD EDIT: I now believe that this problem is due to a SOAP version mismatch (1.1 request, 1.2 response) masquerading as a namespace problem. Is it illegal to mix versions, or just bad style? Am I completely out of luck if I can't change my SOAP version or the service's? SECOND EDIT: Clarified error message, and tried to reduc...

Soapui & populating database before

SoapUi & database data needed Hi, In a J2ee project( spring ws + hibernate +postgresql+maven 2 + tomcat),We have created webservices with full crud operations. We are currently testing them with SoapUi (not yet integrated in the integration-test maven phase ). We need tomcat to test them. Actually before the phase test, with a maven p...

Soapui & Xpath : Problem with assertion for a simple node

Hi, i'm currently using SoapUI Free edition 3.2-beta 2. And i have a weird problem with a Xpath assertion: I have this in response: (...) And i'm using this xpath to assert that the "niveau" with id='2' is in the response: Xpath expression; //*:niveau[@id='2'] & the expected result...

Lightweight alternative to soapui?

I'm developing a soap web service and I'm using soapui to test it. I just need to read the wsdl file, automatically generate a skeleton request and see the results, and I was wondering if there's a lighter alternative to soapui. ...

Header Setup in SOAP with ASP.NET 3.5 WCF

I'm pretty new to SOAP so go easy on me. I'm trying to setup a SOAP service that accepts the following header format: <soap:Header> <wsse:Security> <wsse:UsernameToken wsu:Id='SecurityToken-securityToken'> <wsse:Username>Username</wsse:Username> <wsse:Password>Password</wsse:Password> <wsu:Created>Tim...

Extracting and Parsing data with soapUI

Hi. So I am in need to learn how to use soapUI pretty quick. I'm finding it pretty tedious to start so I was hoping I might be able to get some help here. Here's what I need to do. Lets say we have Company A and Company B which is a subset of Company B. Now Company A offers a webservice accessible by Company B such that Company B can ga...

How to create datetime string in soapui using groovy

Hi am using Soapui for testing web services. i need to create a customer record with email address and password. create customer record service contains emailid and password, wen i click the run(submit request) button in create customer record in soapui, i should get the emailid appended with current time of creation and any password. h...

Required element did not contain a wsu:id ??

Hey, I am new to soapUI 3.5. I tried some wsdl that acquire security against web service deployed on jboss 4.2.1 while running test on soapUI . It gives me <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"&gt; <env:Header/> <env:Body> <env:Fault> <faultcode>env:Server</faultcode> <faults...