This week's giveaway is in the Java in General forum.
We're giving away four copies of Java Challengers and have Rafael del Nero on-line!
See this thread for details.
Win a copy of Java Challengers this week in the Java in General forum!

Mayank Bhatia

Greenhorn
+ Follow
since Jan 29, 2002
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Mayank Bhatia

Dev platform: Win2K English
I am using the default JDBC-ODBC bridge to connet to a MS SQL Server 7 database which is hosted on a Windows NT 4 Operating System.
I am trying to read chinese characters from a table but am getting ??? as return values.
I am running the code in a JSP on the Sun J2ee server.
Thanks in advance.
18 years ago
1) I am using iPlanet Web Server 4.1 Enterprise
2) Created a simple JSP that queries a Japanese Oracle DB for a Japanese string entered via the browser.
3) In all the cases below the JSP is the same and the backend being queried is the same:
a) When I host the JSP on iPlanet 4.1 enterprise and use Internet Explorer 5.5 / 6.0 as the client, I get a <b>Bad Request</b><br>Your browser sent a query this server could not understand
b) Everthing works like a charm when I use my Mozilla 1.0 RC2 as the client
c) Everything works like a charm when I host the JSP on Jakarta Tomcat server.
Has anyone faced similar issues? Is this an iPlanet + IE problem that someone is aware of?
Any clues will be greatly appreciated.
Thanks in advance.
18 years ago
Done wise guys
Thanks for being "unusually nice" Jim.
19 years ago
hi,
1) have a japanese language text being generated on japanese NT4.0, so figure that the default encoding must be Shift-JIS (not sure, just a guess)
2) copied csv file to win2k english
3) my application reads the data and gives me junk.
4) here is the code that I am using;

5) I tried setting the string encoding to utf-8, utf-16, utf-16le, utf-16be but nothing works
Any clues???
19 years ago
hey OK, I figured out writing the client and I wrote it as well
For those familiar with Apache SOAP samples, I am trying to invoke the GetAllListings method of the AddressFetcher Service.
Here is the code that I use:
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
Set xmlhttp = CreateObject("Microsoft.XMLHTTP")
xmlhttp.open "POST", "http://r2d2assinmedge:8080/soap/servlet/rpcrouter", False
xmltext = "<SOAP:Envelope xmlns:SOAP=""http://schemas.xmlsoap.org/soap/envelope/"" "& _
"><SOAP:Header/><SOAP:Body>" & _
"<x:getAllListings xmlns:x=""urn:AddressFetcher2""/>" & _
"</SOAP:Body></SOAP:Envelope>"
xmlhttp.send xmltext
strResponse = xmlhttp.responseText
wscript.echo strResponse
Set objXML = CreateObject("MSXML.DOMDOCUMENT")
objXML.load strResponse
wscript.echo "DONE"
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
And here is the response that I get:
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
<?xml version='1.0' encoding='UTF-8'?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xm
lns:xsi="http://www.w3.org/1999/XMLSchema-instance" xmlns:xsd="http://www.w3.org
/1999/XMLSchema">
<SOAP-ENV:Body>
<SOAP-ENV:Fault>
<faultcode>SOAP-ENV:Server.Exception:</faultcode>
<faultstring>java.lang.NullPointerException</faultstring>
<faultactor>/soap/servlet/rpcrouter</faultactor>
</SOAP-ENV:Fault>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
I cannot figure out why I am getting a null pointer exception
The method that I try to invoke does not expect any params.
Any clues???
19 years ago
Hi guys,
Simple question.
I have the apache soap server atop Jakarta tomcat.
I want to write a Microsoft Client Application (preferably VBS) to access the a service deployed on the SOAP server.
My confusion is - I have d/l the MS SOAP Toolkit and it takes the notion of a web service for everything. This is not a web service, my SOAP service does not have any wsdl or wsml files with it.
Any ideas?
19 years ago