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 23, 2008, 02:22:37 pm
Username: Password:
Login with username, password and session length

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

  Show Posts
Pages: [1] 2
1  soapUI / soapUI / Re: service does not have WSDL doc, using http post instead on: May 13, 2008, 07:05:28 am
Hi Ole,

Could you please respond to this query? We are waiting to implement SoapUI in several projects and this is the problem we are facing.

KC.
2  soapUI / soapUI / Re: service does not have WSDL doc, using http post instead on: April 25, 2008, 07:40:13 am
Hi Ole,

When i am creating the dummy WSDL, is it necessary that i have to define corresponding SOAP action for each operation in the WS and also specify how the input and output are encoded?

Please help. Waiting for your reply.
KC.
3  soapUI / soapUI / Re: service does not have WSDL doc, using http post instead on: April 23, 2008, 06:12:38 am
Hi Ole,

Could you please respond to this query? Is this a bug in SoapUI?
We want to use SoapUI in one of our projects but this issue is stopping us.

Looking forward for your response.
KC.
4  soapUI / soapUI / Re: service does not have WSDL doc, using http post instead on: April 21, 2008, 12:18:11 pm
Hi Ole,

This is goin' to be a pretty big post.

I have used a free WS which is available over the net. This is the link to that WS/site.
http://www.holidaywebservice.com/Holidays/default.aspx

and the endpoint is
http://www.holidaywebservice.com/Holidays/HolidayService.asmx

The original WSDL for the WS is available at
http://www.holidaywebservice.com/Holidays/HolidayService.asmx?WSDL

The below WSDL, is edited by me. I have removed most of the content from the original WSDL. I have retained just one request message, one response message, one operation for GetCountriesAvailable

Code:
<wsdl:definitions targetNamespace="http://www.27seconds.com/Holidays/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns="http://www.27seconds.com/Holidays/" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
   <wsdl:types>
      <s:schema elementFormDefault="qualified" targetNamespace="http://www.27seconds.com/Holidays/">
         <s:import namespace="http://www.w3.org/2001/XMLSchema"/>
         <s:element name="GetCountriesAvailable">
            <s:complexType/>
         </s:element>
         <s:element name="GetCountriesAvailableResponse">
            <s:complexType/>
         </s:element>
      </s:schema>
   </wsdl:types>
   <wsdl:message name="GetCountriesAvailableSoapIn">
      <wsdl:part name="parameters" element="tns:GetCountriesAvailable"/>
   </wsdl:message>
   <wsdl:message name="GetCountriesAvailableSoapOut">
      <wsdl:part name="parameters" element="tns:GetCountriesAvailableResponse"/>
   </wsdl:message>
   <wsdl:portType name="HolidayServiceSoap">
      <wsdl:operation name="GetCountriesAvailable">
         <documentation xmlns="http://schemas.xmlsoap.org/wsdl/">Get the countries supported.</documentation>
         <wsdl:input message="tns:GetCountriesAvailableSoapIn"/>
         <wsdl:output message="tns:GetCountriesAvailableSoapOut"/>
      </wsdl:operation>
   </wsdl:portType>
   <wsdl:portType name="HolidayServiceHttpGet">
      <wsdl:operation name="GetCountriesAvailable">
         <documentation xmlns="http://schemas.xmlsoap.org/wsdl/">Get the countries supported.</documentation>
         <wsdl:input message="tns:GetCountriesAvailableHttpGetIn"/>
         <wsdl:output message="tns:GetCountriesAvailableHttpGetOut"/>
      </wsdl:operation>
   </wsdl:portType>
   <wsdl:portType name="HolidayServiceHttpPost">
      <wsdl:operation name="GetCountriesAvailable">
         <documentation xmlns="http://schemas.xmlsoap.org/wsdl/">Get the countries supported.</documentation>
         <wsdl:input message="tns:GetCountriesAvailableHttpPostIn"/>
         <wsdl:output message="tns:GetCountriesAvailableHttpPostOut"/>
      </wsdl:operation>
   </wsdl:portType>
   <wsdl:binding name="HolidayServiceSoap" type="tns:HolidayServiceSoap">
      <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
      <wsdl:operation name="GetCountriesAvailable">
         <soap:operation soapAction="http://www.27seconds.com/Holidays/GetCountriesAvailable" style="document"/>
         <wsdl:input>
            <soap:body use="literal"/>
         </wsdl:input>
         <wsdl:output>
            <soap:body use="literal"/>
         </wsdl:output>
      </wsdl:operation>
   </wsdl:binding>
   <wsdl:binding name="HolidayServiceHttpGet" type="tns:HolidayServiceHttpGet">
      <http:binding verb="GET"/>
      <wsdl:operation name="GetCountriesAvailable">
         <http:operation location="/GetCountriesAvailable"/>
         <wsdl:input>
            <http:urlEncoded/>
         </wsdl:input>
         <wsdl:output>
            <mime:mimeXml part="Body"/>
         </wsdl:output>
      </wsdl:operation>
   </wsdl:binding>
   <wsdl:binding name="HolidayServiceHttpPost" type="tns:HolidayServiceHttpPost">
      <http:binding verb="POST"/>
      <wsdl:operation name="GetCountriesAvailable">
         <http:operation location="/GetCountriesAvailable"/>
         <wsdl:input>
            <mime:content type="application/x-www-form-urlencoded"/>
         </wsdl:input>
         <wsdl:output>
            <mime:mimeXml part="Body"/>
         </wsdl:output>
      </wsdl:operation>
   </wsdl:binding>
   <wsdl:service name="HolidayService">
      <documentation xmlns="http://schemas.xmlsoap.org/wsdl/">Web service that calculates national holidays for the country code provided.</documentation>
      <wsdl:port name="HolidayServiceSoap" binding="tns:HolidayServiceSoap">
         <soap:address location="http://www.holidaywebservice.com/Holidays/HolidayService.asmx"/>
      </wsdl:port>
      <wsdl:port name="HolidayServiceHttpGet" binding="tns:HolidayServiceHttpGet">
         <http:address location="http://www.holidaywebservice.com/Holidays/HolidayService.asmx"/>
      </wsdl:port>
      <wsdl:port name="HolidayServiceHttpPost" binding="tns:HolidayServiceHttpPost">
         <http:address location="http://www.holidaywebservice.com/Holidays/HolidayService.asmx"/>
      </wsdl:port>
   </wsdl:service>
</wsdl:definitions>

I created a test case with GetCountriesAvailable and the request-response works fine.

Now for this same edited WSDL, i created another test case, with a request that is not mentioned in the edited WSDL. It is GetHolidaysAvailable. This request is supposed to get a list of all the holidays for a particular country. (Please see the main site for more info on this 'cause this post will get real lengthy if i have to post the requests and responses).

But the response i received for GetHolidaysAvailable was not correct. It was the response for  GetCountriesAvailable.

I checked the http log. The log shows response for GetCountriesAvailable.

Just to add to this, when i create any request, SoapUI presents me an option to choose from a list of operations which are present in the WSDL. In this case, for the edited WSDL, i get only one operation for GetCountriesAvailable. I had a doubt if this could be a problem for the wrong response for a request that did not exist in the WSDL.

Now my queries are,

1. If i assume that this WS does not have a WSDL, is the above WSDL (that i have edited and posted above) sufficient to access the entire WS, including the requests-responses that are not present in the WSDL?

2. If not, how sud i edit the WSDL in order to make the above requirement work? Also, can i edit the above WSDL to simplify it further?

3. You have suggested that i create a dummy-WSDL with only one operation. Is the WSDL i have created correct? Else, how should i prepare a dummy-WSDL?

I would be really greatful if you could help me with this problem.

Thanks in advance,
KC.
5  General Category / eviware general / Next Release of SoapUI on: April 18, 2008, 04:11:47 pm
Hi,

Could you tell me when is the next release of SoapUI and what are the features available in this release.

Thanks.
KC.
6  soapUI / soapUI / Re: service does not have WSDL doc, using http post instead on: April 18, 2008, 04:03:48 pm
Hi Ole,

I tried creating the WSDL for only one request and its corresponding response and with one operation.

This works well only with respect to this. When i tried to send another request, i got the response for the previous request and not the correct one.

Is it necessary that we have to have the info of all the requests/responses/operations in the service or just a sample will do.

Please help. Also it would be of great help if you could give me a sample WSDL which i can use.

Thanks in advance.
KC.
7  soapUI / soapUI / Re: global variables between suite and test case on: April 15, 2008, 11:25:51 am
Hi,

I was looking more like global variables rather than properties.
for example,

in test suite set up script i have
def a=0

i must be able to access the variable "a" from a test case script, something like perform the function

def b = a + 5

so for this i must be able to access "a" from the test case.

Please tell me how i can do this.

Thanks in advance.
KC.

8  soapUI / soapUI / Re: Test step Type on: April 15, 2008, 10:28:07 am
Hi,

Thanks Ole. Will check with this too.

KC.
9  soapUI / soapUI / Re: Test step Type on: April 15, 2008, 09:07:51 am
Hi Ole,

This is the error i got.

org.codehaus.groovy.runtime.metaclass.MissingPropertyExceptionNoStack: No such property: WsdlTestRequestStep for class: Script27

i did not replace "WsdlTestRequestStep" in the code with anything else. Was this the problem?

KC.

10  soapUI / soapUI / global variables between suite and test case on: April 15, 2008, 09:04:35 am
Hi,

i want to declare some groovy variables at the beginning of the suite (suite set up script) and update these values at the end of every test case (test case tear down) and then finally use these variables at the end of test suite (suite tear down).

How can i do this? Since, when i an declaring a variable in suite set up script, i can only access it with it the same script.

Thanks in advance.
KC.
11  soapUI / soapUI / Re: Test step Type on: April 15, 2008, 08:56:39 am
Hi,

I tried with

def requests = testCase.getTestStepsOfType( WsdlTestRequestStep.class )

but this did not work and was giving errors.
However i used

testStep.config.type


for my code and it gave me perfect results.  Smiley

Thanks a lot Ole.

Regards,
KC.
12  soapUI / soapUI / Re: SoapUI v. Appscan on: April 14, 2008, 03:23:01 pm
Yeah! Thanks a lot Ole.
13  soapUI / soapUI / Test step Type on: April 14, 2008, 02:31:10 pm
Hi,

How can i get the Test Step Type (like test request, groovy step, property transfer etc) for any test step? i want to use this information in groovy script.

Also how do u use the below method in a TestCase Interface? Could you please give me an example with respect to Test Request type?

<T extends TestStep> java.util.List<T> getTestStepsOfType(java.lang.Class<T> stepType)

Thanks in advance.
KC.
14  soapUI / soapUI / Re: SoapUI v. Appscan on: April 08, 2008, 01:56:07 pm
Hi Ole,

We are not using Appscan currently. Our projects are using different custom built tools for testing, and we are planning to standardize to one single tool all over the organization, with SoapUI and Appscan as two options to choose from.

And hence i need this information.

Thanks for the help in advance.
KC.
15  soapUI / soapUI / Re: SoapUI v. Appscan on: April 08, 2008, 07:19:02 am
Hi Ole,

Please find details of Appscan at this link.

http://www-111.ibm.com/software/dre/hmc/compare.wss?HMC02=C126096V43460Q17

Could you please let me know what features that are listed in the above link is also available in SoapUI? and please mention if it is present in a Pro version or available in the freeware too.

You would probably find the below links useful too...

http://www-306.ibm.com/software/awdtools/appscan/enterprise/
http://www-306.ibm.com/software/awdtools/appscan/enterprise/features/?S_CMP=wspace

http://www-306.ibm.com/software/awdtools/appscan/standard/
http://www-306.ibm.com/software/awdtools/appscan/standard/features/?S_CMP=wspace

http://www-306.ibm.com/software/awdtools/appscan/tester/
http://www-306.ibm.com/software/awdtools/appscan/tester/features/?S_CMP=rnav

I want to use SoapUI over any other tool, so if there are any extra features that are present in SoapUI, please do mention that as well.

Thanks a lot.

Pages: [1] 2


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