Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Creating VB Client for webservice deployed on weblogic.  RSS feed

 
Arvind Chavar
Ranch Hand
Posts: 53
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have deployed a webservice on weblogic.My web service makes use of EJB to do the background work.This EJB takes JavaBean(having only SOAP supported data types)as input and returns similar bean as output.
It is easy to write a Java client,but How do you pass in the input bena from VB client.
Arvind
 
Doug Wang
Ranch Hand
Posts: 445
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, Arvind
What you need is a SOAP Kit for VB!
 
Arvind Chavar
Ranch Hand
Posts: 53
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Doug,
I have already downloaded MSSOAP toolkit and have written VB clients accessing webservices which handle basic types(String,int ,float,Array of strings etc).Now my concern is how do you write VB clients which passing values using Objects rather than basic data types and resume results in Objects.
If any one can help me with this , it will be of great help.
Thanks!!
Arvind
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13078
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Output of SOAP encoded Beans looks just like any other SOAP message, it is just that the names on the tags come from Bean variables. Grab the messages being sent and returned and you will see. You could use the UtilSnoop program I wrote - download from http://www.lanw.com/books/javasoap/

Bill
 
Arvind Chavar
Ranch Hand
Posts: 53
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Bill,
Thnaks for the info.More specifically I want to know about handling complex data types.
Can you please suggest me of the resources.
Thanks!!
Arvind
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13078
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You should certainly have available the SOAP standards from the www.w3.org site so you can see the encodings already covered. Be aware that the next version of SOAP may have some changes in the way arrays (for instance) are encoded.
For data types more complex than can be represented as beans, you may be better off devising your own XML encoding.
Bill
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!