Forum » Forum / Existing Content » Testing Web Services with soapUI
Started by: Automatic
On: 1260880598|%e %b %Y, %H:%M %Z|agohover
Number of posts: 8
rss icon RSS: New posts
This is the discussion related to the wiki page Testing Web Services with soapUI.
Excellent work, saved me from Oracle's JDeveloper
Jeff Buehrle (guest) 1272594689|%e %b %Y, %H:%M %Z|agohover

Just wanted to say "Thanks" for posting this. I was looking for a good way to test a Web Service before just dumping on the third-party for testing and the only thing I could find was Oracle's JDeveloper. Then I found this. It was quick and easy to get setup and running. I am still having trouble figuring out the security, where I want the connection to go through as a specific user, not the "default" App Server user or XMLLINK user.

Reply  |  Options
Unfold Excellent work, saved me from Oracle's JDeveloper by Jeff Buehrle (guest), 1272594689|%e %b %Y, %H:%M %Z|agohover
Re: Excellent work, saved me from Oracle's JDeveloper
PrajPraj 1273038656|%e %b %Y, %H:%M %Z|agohover

Glad this helped you out.

You should be able to pass the (simple) authentication information through the SOAP request header, something like:

<wsse:Security soap:mustUnderstand="1" 
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" 
xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
      <wsse:UsernameToken>
        <wsse:Username>PS</wsse:Username>
        <wsse:Password>PS</wsse:Password>
      </wsse:UsernameToken>
    </wsse:Security>

You can generate the request message with the correct security settings using the generate SOAP template functionality:
PeopleTools > Integration Broker > Service Utilities > Generate SOAP Template

Last edited on 1273038678|%e %b %Y, %H:%M %Z|agohover By Praj + Show more
Reply  |  Options
Unfold Re: Excellent work, saved me from Oracle's JDeveloper by PrajPraj, 1273038656|%e %b %Y, %H:%M %Z|agohover
Re: Excellent work, saved me from Oracle's JDeveloper
inbainba 1273083331|%e %b %Y, %H:%M %Z|agohover

We are trying to integrate PS with Sharepoint. I have created the CI-Based web services and generated WSDL. The ASP.net team is able to consume the WSDL and can invoke Get/Add/Update methods. Could you please let know how to access the Delete method. I find it difficult to get any reference on this Delete. Im talking in particular about the Delete buttons we have on the PS ESS page - Phone/Email. Thanks

Unfold Re: Excellent work, saved me from Oracle's JDeveloper by inbainba, 1273083331|%e %b %Y, %H:%M %Z|agohover
Re: Excellent work, saved me from Oracle's JDeveloper
PrajPraj 1273118930|%e %b %Y, %H:%M %Z|agohover

By the way you can also do this in the request properties in soapUI. Select the request then look at the bottom left - there should be a bunch of request properties available including Username and Password.

Unfold Re: Excellent work, saved me from Oracle's JDeveloper by PrajPraj, 1273118930|%e %b %Y, %H:%M %Z|agohover
Re: Excellent work, saved me from Oracle's JDeveloper
MeridianGuy (guest) 1280984846|%e %b %Y, %H:%M %Z|agohover

Praj, I tried using an invalid UserName and Password using the Request Properties and it has no affect on the Request results.

My real question is how you get the UserName and Password elements to appear in the header of the SOAP envelope. These elements appear when you generate the SOAP from PeopleSoft, but they do not appear when 3rd party apps such as SoapUI generate the SOAPs from the WSDL URL.

Unfold Re: Excellent work, saved me from Oracle's JDeveloper by MeridianGuy (guest), 1280984846|%e %b %Y, %H:%M %Z|agohover
Re: Excellent work, saved me from Oracle's JDeveloper
PrajPraj 1282278383|%e %b %Y, %H:%M %Z|agohover

One thing I've noticed is that the web service authentication information is not shown in the XML view for the request. Try switching to the Raw view and check if it appears there? These are the two tabs on the left hand side.

Reply  |  Options
Unfold Re: Excellent work, saved me from Oracle's JDeveloper by PrajPraj, 1282278383|%e %b %Y, %H:%M %Z|agohover
Repurposing soapUI tests as load tests and monitor
Frank Cohen (guest) 1273852778|%e %b %Y, %H:%M %Z|agohover

Thanks for the post about soapUI. PushToTest TestMaker is an open source test platform that repurposes soapUI tests to be functional tests, load and performance tests, and business service production monitors. A tutorial on using soapUI in TestMaker is at http://www.pushtotest.com/tutorials/soapuitutorialfull

Thanks!

-Frank

Reply  |  Options
Unfold Repurposing soapUI tests as load tests and monitor by Frank Cohen (guest), 1273852778|%e %b %Y, %H:%M %Z|agohover
PrajPraj 1273880230|%e %b %Y, %H:%M %Z|agohover

That looks very promising. Thanks for post.

Reply  |  Options
Unfold by PrajPraj, 1273880230|%e %b %Y, %H:%M %Z|agohover
New Post
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License