Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to make a web service call using jqSOAPClient.js

 
Bernhard Haeussermann
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?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic