473,395 Members | 1,975 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Help : Consuming Java webservice with VB6...

jeffbroodwar
118 100+
hi, i need help about consuming webservice created in java with vb6. i've created the webservice in netbeans with sun java server bundle and used MS Soap toolkit 3.0 on the client side.

i've attached the sample client source code in vb6 :

__________________________________________________ ________________

'********************* Created procedure *****************************
Private Sub Connect()

strClient = "http://localhost:8080/HiWS/HiWS?WSDL"

End sub

'********************* Form events ************************************
Private Sub cmdDoHello_Click()

Dim Client As New MSSOAPLib30.SoapClient30

Connect
Client.MSSoapInit (strClient)

txtSoapMessage.Text = Client.sayHi("Jeff")

End Sub

__________________________________________________ ________________

just a reminder.. i've added microsoft soap type libraryv3.0 in the references window.

*sayHi is the method of the java webservice

i'm receiving the following errors :

client: incorrect number of parameters supplied for soap request hresult=0x80070057: the parameter is incorrect.
-client: unspecified client error. HRESULT=0x80070057: the parameter is incorrect.

-I hope someone can help me with this one..... i'm running out of time... thanx in advance.
Nov 6 '06 #1
2 2775
debasisdas
8,127 Expert 4TB
Question moved to Visual Basic Forum.
Nov 3 '07 #2
QVeen72
1,445 Expert 1GB
strClient = "http://localhost:8080/HiWS/HiWS?WSDL"
Hi,

Not very sure about this.. but..
Check that service is hosted on the localhost at the designated directory. also make sure that your web reference is showing a valid WSDL.
check strClient
strclient should be something like :

strClient = "http://localhost:8080/HiWS/HiWS.cfc?WSDL"

add ".cfc" and HiWS is repeated..

Regards
Veena
Nov 3 '07 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

5
by: Benne Smith | last post by:
Hi, I have three enviroments; a development, a testing and a production enviroment. I'm making a big application (.exe), which uses alot of different webservices. I don't use the webservices...
0
by: Srinivas Kotta | last post by:
Hi, I am Trying to get the Array of claases from Webservice which returns an array of classes. that webservice is returned in Java and i am consumin g that webservice in ASP.Net. my...
4
by: Guhanath | last post by:
Hi, We are developing a java client that need to call a .net web service in another server. I have 2 methods in .net WS,one returns a dataset and other returns a boolean. We have to use plain...
1
by: Scott McFadden | last post by:
Has anyone consumed a .net webservice from java? What java library did you use to consume the .net webservice? Is their a java tool that generates the java Soap proxy code given the .NET wsdl? ...
0
by: Alexiel | last post by:
Hi, i have a problem, I have a Java Client and i call my webservice on ..NET. This run perfectly just except when i send parameters don't work fine. I send my code : This is my java...
5
by: Preben Zacho | last post by:
Anyone that has a link or description that simply as possible shows how to add a web reference to a class library in C# and consuming it? TIA PZ
0
jeffbroodwar
by: jeffbroodwar | last post by:
hi, i need help about consuming webservice created in java with vb6. i've created the webservice in netbeans with sun java server bundle and used MS Soap toolkit 3.0 on the client side. i've...
5
jeffbroodwar
by: jeffbroodwar | last post by:
hi, i need help about consuming webservice created in java with vb6. i've created the webservice in netbeans with sun java server bundle and used MS Soap toolkit 3.0 on the client side. i've...
3
by: bharadwajrv | last post by:
i'm consuming a Webservice (created in java) in .Net 2003 (in C#)... whenever i invoke the webmethod, i'm getting below error message "Additional information: Client found response content type of...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.