473,662 Members | 2,390 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Consuming java webservice with vb6

jeffbroodwar
118 New Member
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_Clic k()

Dim Client As New MSSOAPLib30.Soa pClient30

Connect
Client.MSSoapIn it (strClient)

txtSoapMessage. Text = Client.sayHi("J eff")

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=0x80070 057: the parameter is incorrect.
-client: unspecified client error. HRESULT=0x80070 057: the parameter is incorrect.

-I hope someone can help me with this one..... i'm running out of time... thanx in advance.
Nov 3 '06 #1
0 1231

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

Similar topics

0
1110
by: sush | last post by:
Hi, I have a question, somebody with exposure please answer. I need to call a JAVA webservice from C# (VS.6 & SOAP tool kit or VS.net). The Java webservice has been deployed on SOAP RPC Router . But there is no absloute path for the WSDL docs, everything should go via this router. I have gone through different scenario and everywhere it is mentioned as the proxy should be created from the WSDL location or reference the absolute location...
0
1159
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 problem is i am able to get the data from that webservice but it is limited to 1024 Classes..
1
1462
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? thanks scottm
0
1596
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 client..........
2
2786
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 attached the sample client source code in vb6 : __________________________________________________ ________________ '********************* Created procedure ***************************** Private Sub Connect() strClient =...
0
1222
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 attached the sample client source code in vb6 : __________________________________________________ ________________ '********************* Created procedure ***************************** Private Sub Connect() strClient =...
5
5545
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 attached the sample client source code in vb6 : __________________________________________________ ________________ '********************* Created procedure ***************************** Private Sub Connect() strClient =...
4
5993
by: Boni | last post by:
I want consuming a webserivce trough a proxy. I use this code. myService s = new myService (); System.Net.WebProxy proxyObject = new System.Net.WebProxy("http://proxyhost:8080"); s.Proxy = proxyObject; It doesn't works, it returns a error HTTP 407: Proxy Authentication Required ( Access is denied. ). But my proxy don't need a user Authentication.
3
3268
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 'text/html; charset=ISO-8859-1', but expected 'text/xml'." but when the same webservice is called from SOAPUI (an open source application from www.soapui.org) or XMLSpy - it just works fine... so i'm confused about this, any suggestions??
0
8432
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8343
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8856
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8545
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8633
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7365
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6185
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5653
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
2762
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

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.