473,761 Members | 2,824 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Java web service , vb .net client

Jay
Hi,
I am trying to connect to a java web service. I have a vb .net client
which uses the service. It was working ok few days ago. The web
service has been updated and i have been getting the following error.
I did update my wsdl but of no avail.

at
System.Web.Serv ices.Protocols. SoapHttpClientP rotocol.ReadRes ponse(SoapClien tMessage
message, WebResponse response, Stream responseStream, Boolean
asyncCall) at
System.Web.Serv ices.Protocols. SoapHttpClientP rotocol.Invoke( String
methodName, Object[] parameters) ...

Invalid user/password combination.jav a.lang.RuntimeE xception: Cannot
get a db connection

I had a break point at the login method which gave me the following
error

A first chance exception of type
'System.Web.Ser vices.Protocols .SoapException' occurred in
system.web.serv ices.dll

Additional information: Invalid user/password
combination.jav a.lang.RuntimeE xception: Cannot get a db

<System.Web.Ser vices.Protocols .SoapRpcMethodA ttribute("",
RequestNamespac e:="urn:UsrRemo te",
ResponseNamespa ce:="urn:UsrRem ote") _
Public Function login(ByVal pUser As PropertyUser) As
<System.Xml.Ser ialization.Soap ElementAttribut e("loginReturn" )Boolean
Dim results() As Object = Me.Invoke("logi n", New Object()
{pUser})
Return CType(results(0 ),Boolean)
End Function
connection

Any suggestions??
thanks

Apr 16 '07 #1
1 3488
"Jay" <ja**********@g mail.comwrote in message
news:11******** **************@ y80g2000hsf.goo glegroups.com.. .
Hi,
I am trying to connect to a java web service. I have a vb .net client
which uses the service. It was working ok few days ago. The web
service has been updated and i have been getting the following error.
I did update my wsdl but of no avail.

at
System.Web.Serv ices.Protocols. SoapHttpClientP rotocol.ReadRes ponse(SoapClien tMessage
message, WebResponse response, Stream responseStream, Boolean
asyncCall) at
System.Web.Serv ices.Protocols. SoapHttpClientP rotocol.Invoke( String
methodName, Object[] parameters) ...

Invalid user/password combination.jav a.lang.RuntimeE xception: Cannot
get a db connection

I had a break point at the login method which gave me the following
error

A first chance exception of type
'System.Web.Ser vices.Protocols .SoapException' occurred in
system.web.serv ices.dll

Additional information: Invalid user/password
combination.jav a.lang.RuntimeE xception: Cannot get a db

<System.Web.Ser vices.Protocols .SoapRpcMethodA ttribute("",
RequestNamespac e:="urn:UsrRemo te",
ResponseNamespa ce:="urn:UsrRem ote") _
Public Function login(ByVal pUser As PropertyUser) As
<System.Xml.Ser ialization.Soap ElementAttribut e("loginReturn" )Boolean
Dim results() As Object = Me.Invoke("logi n", New Object()
{pUser})
Return CType(results(0 ),Boolean)
End Function
connection

Any suggestions??
It looks like a problem on the Java side. It looks like it can't get a
database connection for some reason, so it can't verify your username and
password.
--

John Saunders [MVP]
Apr 16 '07 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
3477
by: Chris Morgan | last post by:
I'm trying to get php to run on my webserver as a Java Servlet, it works the first time but fails the second time and crashes the JVM with the following error: I have tried the latest versions of PHP 4. (release and dev) I would appreciate any help with this issue. -- Chris
0
2216
by: aychai | last post by:
Hi all, I am trying to make use Oracle9i db to call an external .Net Web Service from a JAva Stored Procedure. I created the .Net Web Service and use JDeveloper 9.0.3.4Build(1247) to create the Client Stub Java class(ie: serviceClientStub.java). Following the instruction from the article"Calling External Web Service from Java Stored Procedure",
3
18902
by: Valeriu Filip | last post by:
Hello, I have a java web service, and created a wsdl file from the java class; based on the resulting wsdl file i generated the proxy C# class using wsdl.exe utility and the result i included in my window app. i am calling the web method but, i get no answer back, and after 1,2 minutes i get something like 'Operation time out'. if i check on the server where it runs the java web service, the method was called and parameters corectly...
7
7115
by: David Laub | last post by:
I've also posted this issue to a Sun/java formum, but since it appears to be an integration issue, this may be the better place to posr: I have written a dot net/c# Web Services doesn't fully work with J2ME client a) c# web service works with c# WIndows Client (local & remote web service) b) c# web service works with J2ME client - when the Web Service is local c) c# web service fails with J2ME client - when the Web Service is remote ...
2
1764
by: maleone41 | last post by:
I have a C# web service running on a machine that I would like to connect to with a Java client. To verify the web service is working properly, i quickly made a C# client, added a web reference, and connected to the web service no problem. My problem is developing the Java client. I'm creating a socket and then just sending the soap requests through out.println() to the web service, but it's not working at all. Any advice?
2
6965
by: Jobs | last post by:
Download the JAVA , .NET and SQL Server interview with answers Download the JAVA , .NET and SQL Server interview sheet and rate yourself. This will help you judge yourself are you really worth of attending interviews. If you own a company best way to judge if the candidate is worth of it. http://www.questpond.com/InterviewRatingSheet.zip
0
2389
by: TraceyAnnison | last post by:
I wonder if you can help me - I'm new to this, and working in a project that has already been configured to work with Axis. We have a Java project built with the Spring framework, in order to provide webservices for access via SOAP. As I understand it (ie not very well!) Axis works to accept these SOAP messages from the client and transform them into calls on our Java methods, and do the reverse with the responses - cool! Which is excellent,...
3
2243
by: Ian Semmel | last post by:
I am not new to computing, but I am to Java and wonder if anyone could point me in the right (or a) direction. Specifically, how are multi-tiered applications put together. There appears to be multiple paths available and it all gets a bit confusing (to me). If, for example, I have something like (this is not a web app): - a front end which controls a number (variable at runtime) of terminals/workstations. - a database later - a main...
0
2441
by: Siyodia | last post by:
This is a java program which i need to run facing compilation error Its consuming a third party web service method I have the supported files(folder) which contain necessary class files org/apache/axis The following is what i need to do but am unable to do //////////////////////////////////////////////////////////////////////////////////////////// set classpath where the below jars are located.... axis.jar commons-discovery.jar
0
10136
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...
0
9989
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9925
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
9811
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
8814
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...
0
6640
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();...
0
5405
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
3509
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2788
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.