Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

web service client test.

Anna Wang
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello everyone,

I try to test my web service locally using Tomcat. For example, I have hello.wsdl, I use WSDL2Jave to produce the client java files using Axis. Everything looks fine when I test the HelloWorld web service.(Input a string, get HelloWorld + that string in client part). But when I change the simple HelloWorld to another complex class(in server), It doesn't get what I want. The client doesn't call the method in server, just skip it.

It is no problem about the code in server. I tested it. The problem is why HelloWorld works , but when I changed to another a little bit complex code, It doesn't work. Do I need use WSDL2Java to produce server-side binding? (Skeleton) If I need, where should I put those classes? (for tomcat)

I am so frustrated with this problem. I tried all the ways to fix it. But it doesn't work. Hope somebody can help me. Thank you very mcuh.

  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic