This week's book giveaway is in the Other Languages forum.
We're giving away four copies of Rust Web Development and have Bastian Gruber on-line!
See this thread for details.
Win a copy of Rust Web Development this week in the Other Languages forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Junilu Lacar
  • Rob Spoor
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Jesse Silverman
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Piet Souris
  • Frits Walraven

Need help with SoapUI and/or Eclipse web-service Explorer.

 
Ranch Hand
Posts: 93
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Gentlmen,
my task is to create a client to some web-service. I want to test this web-service with some third-party software to be sure it works ok.

I have Eclipse web-services Explorer and free version of SoapUI.

1) web-service is password protected. in Eclipse the problem is that I dont know how to include the login-password into the query. When I code this I do something about "stub.setPropery(PASSWORD_PROPERTY, passwprd)" etc. But I dont understand how can I do this is Eclipse web-service Explorer.

2) in SoapUI I create a project, set WSDL, see the generated method names, but when I try to run some request to a method in says: Error getting response; java.lang.IllegalArgumentException: host parameter is null
How can I fix it?

Thanks everyone!
 
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I think the easiest way to test it is through the client that you have generated.
You can turn on the TCP/IP monitor in eclipse and see the soap request and response.
This way if you further want to test it with SOAP UI you will have a soap request that works.
 
Ranch Hand
Posts: 2198
1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi!
If you want to test your client, then you may want to set up a mock service with soapUI and have your client send requests to the mock service.
An alternative is to let the client send request through a monitoring proxy, such a TCP Monitor or Membrane SOAP Monitor, to the real web service - this way you will be able to manually inspect the requests and responses.
Best wishes!
 
Dmitry Zhuravlev
Ranch Hand
Posts: 93
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Guys, thank you for replies.

Ivan, probably I was not very accurate while writing my question. The thing is that I want to test web-service, but not by client. I want to see whether it works or not. What I want is to run some program which will make correct requests to some web-service basing on its WSDL. I have 2 programs of that kind - Eclipse WS Explorer and SoapUI, and have problems with them which I described in initial post..

OK, probably I should really use the TCP/IP monitor also.
 
Ivan Krizsan
Ranch Hand
Posts: 2198
1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi!
Just in case you haven't found it yet (took me a while ):
In soapUI you can configure authorization for individual requests, setting username, password, domain, outgoing and incoming WS-Security configuration to use.
This configuration is available if you open a request and click the Aut button in the lower left corner.
Hope this helps!
reply
    Bookmark Topic Watch Topic
  • New Topic