Win a copy of Java EE 8 High Performance this week in the Java/Jakarta EE forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How to make a web service call using jqSOAPClient.js  RSS feed

Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, I am trying to do a SOAP web service call from a web page using the jqSOAPClient.js library from Javascript. I can do a simple web service call like this:

This calls the sayHi() web method with the value "John" for the single parameter with name "name".

I am wondering how I can use this library to call a web method that takes as parameter an object other than a string. As an example, suppose that in the web service there a class AnObject defined as follows:

And a web method that is defined as:

How do I build such an object at the client and pass it as a parameter to this web method?
How do they get the deer to cross at the signs? Or to read this tiny ad?
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!