 |
 |
Index ‹ java-programmer
|
- Previous
- 1
- Tomcat - Invalid Direct Reference To Login Page ( Workaround help )Hi,
I'm really happy that the "Invalid Direct Reference To Login Page" has
finally been fixed. However I am stuck using Tomcat 4.0.x ( and I
cannot recompile the app-server as it is a managed resource ) , and
the requirement to have a login box included in each page via a panel
is still there.
I've been looking for a workaround. According to the FormAuthenicator
Tomcat code, if the requestURI in the request is NULL, then the
"Invalid Direct Reference To Login Page" error is thrown.
I've written a proxy servlet called LoginProxy. Its job was to alter
the requestURI in the request object before posting to the
j_security_check target.
My login form would post to something like:
LoginProxy?j_username=my&j_password=test&j_forward_uri=/index.jsp
Great, apart from one small problem - HttpServletRequest is READ ONLY.
Damn. I had a look at the actual class heirarchy, and found that
HttpServletRequestFacade was the class that implemented
HttpServletRequest for Tomcat ( I am prepared write Tomcat specific
code, as long as it doesn't involve changing Tomcat itself. ).
HttpServletRequestFacade extends HttpServletRequestImpl, which
implements HttpRequest. HttpRequest does have write access, however
the code:
( ( HttpRequest ) a_Request ).setRequestURI( sForward )
gives a ClassCastException.
My other thought, was - if I just do a sendRedirect ( I was using
forward before ), won't the requestURI be the url of the LoginConfig
servlet.... I could cope with tomcat forwarding me back to the
servlet, I'd just have to add some extra logic. Alas, the request
still retains the null indicating to requestURI.
Can someone tell me how I can modify the request object, or even
create a new one?
Thanks
Ben
- 1
- OpenMapHello to all, I have a GREAT problem: I am using OpenMap in order to
realize one application GIS. I must implement the analysis function
spaces them "buffering" similar to that one of Arcview GIS. Who
knows to say me as I make to trace a polygon around to the cities as an
example? how I can find the coordinates just in order to make this?
Thanks.
- 2
- jstl does not work with foreachI am testing jstl, here is my jsp:
<%@ page language="java" contentType="text/html" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %>
<html>
<body>
<table border=1>
<tr>
<th>Value</th>
<th>Square</th>
</tr>
<c:forEach var="x" begin="0" end="4" step="2">
<tr>
<td><c:out value="${x}"/></td>
<td><c:out value="${x * x}"/></td>
</tr>
</c:forEach>
</table>
</body>
</html>
But the output in web broswer is :
Value Square
${x} ${x * x}
${x} ${x * x}
${x} ${x * x}
Why?
Thanks,
qq
- 4
- JSP and response object sizeIs there any way to know the size of a JSP (amount of bytes sent in the
response object)?
We need to know the size of the generated JSP when they are sent to the
client. I can only ask for the buffer size... but no the real amount of
bytes sent in the response object.
Any idea???
Thanks in advance
- 6
- How come DefaultTreeCellRenderer's behaviour changes when called from different directories ?!?Hi,
I use the following lines in a TreePanel class I've written:
> DefaultTreeCellRenderer rend = new DefaultTreeCellRenderer();
> rend.setLeafIcon(null); rend.setClosedIcon(null); rend.setOpenIcon(null);
> tree.setCellRenderer(rend);
to see to it that when displayed, my tree will be as plain as can
be (no icon at all, no default small picture on the line where you
click to expand the node etc.).
When I use this class with a certain app., it works, I get what I
want, the tree appears in a thin black dotted line, with a little
squares containing a '+' sign when the nodes are closed, and a '-'
when they're expanded; but in another app. (I use THE VERY SAME
CLASS, the same .class file) instead of the small square with '+'/'-'
I have the Sun default small picture of a node you see ?, a tiny
circle with a dot in its middle and a little hyphen, and the line
is blue pale.
Anyone can explain me this behaviour ??
Thanks...
Regards,
Spendius
- 6
- Thread.sleep(10000)Is that true Thread.sleep(10000) will make current thread to sleep for
10 seconds?
I cannot use Thread.currentThread().sleep(10000) since sleep is a
static method of Thread. Right? Thread.currentThread() will return a
reference to the currently executing thread object.
- 6
- Proper use of CharsetDecoder?I have some text originating from XML which does not
contain tags anymore but character references like "@" .
I thought about writing my own java.nio.charset.CharsetDecoder only
to find that this more or less forces me to also supply a my
own java.nio.charset.Charset class ... and probably a CharsetProvider ...
Since all I want is the conversion of "&64;" and the like
to a Java char I don't see the point of defining a Charset. The
CharsetDecoder alone would suit me well passed right into
a new InputStreamReader(InputStream, CharsetDecoder).
Certainly I misunderstand the importance of the connection between
CharsetDecoder and Charset and should choose a different route.
Should I implement my own Reader having the converions built in? This seems
equally odd.
Any other ideas?
Harald.
- 7
- delete all jvm'sI think I have a corrupt JVM on my machine. I would like to delete all
JVM's and just install the sun JVM. Could anyone tell me how to delete
all JVM's.
Aidy
- 7
- 7
- Jar: protocol questionI've been using the Jar: protocol a bit in the last few days and I'd like to
know if this is a valid use of that protocol:
jar:file:!/Images/foo.gif
Basically, I'm trying to describe the location of a GIF that a program
should be able to find in one of the various jars that are on the classpath
used by the program.
Since 'this.getClass().getResource()' will search EVERY jar in the classpath
for the desired file, it shouldn't be necessary to specify the jar name.
Therefore, it seems to me that this should be valid notation for indicating
that the jar name isn't necessary in this case: the bang ('!') in the name
following the 'file:' suggests to me that the default jar(s), namely all of
the jars found in the classpath, will be searched for an Images directory
and a file named foo.gif within that directory.
Does that seem reasonable? If not, can anyone suggest a better notation to
use for my situation?
I can't find any discussion of this "special case" in the articles I've seen
about the Jar: protocol.
--
Rhino
---
rhino1 AT sympatico DOT ca
"There are two ways of constructing a software design. One way is to make it
so simple that there are obviously no deficiencies. And the other way is to
make it so complicated that there are no obvious deficiencies." - C.A.R.
Hoare
- 10
- How to build a class w/ return value?I apologize for a newbie question, but I'm just starting with Java.
I'm trying to write a program which includes a class for checking if a
given text field has a value.
My basic logic would run something like:
A button is pressed
On that event, check if a text field has a value
if it does, return true, else return false.
So, I want to say in the action listener event for that button something
like:
if ( checkValue( txtFieldName ) == true)
do something
else
do something else
I'd then have a public funciton for checking the value
public checkValue( String txtFieldName )
{
if ( txtFieldName == "" )
return false;
else
return true;
}
This keeps giving me an error that a return code is needed for a public
class. If i put void in the class, I can run it but then nothing gets
returned.
Now, a bit of background - I've been doing VB for 12 years, so maybe my
thinking is flawed. If so, is there another way of going about this? I've
googled for the past hour and am very frustrated.
--
kai - email***@***.com - www.perfectreign.com
kai:/> format a:
Error: The DOS concept of formatting disk media is screwed.
To format a floppy, use "fdformat /dev/fd0"
and then "mkfs.minix /dev/fd0".
- 10
- Can you write to a file from a vector??How do I write to a file (using a FileWriter) from a filled vector??
I.E. Why can't I do this??
for (i = 0; i < myVector.size(); i++){
myWriter.write(myVector.elementAt(i));
myWriter.flush();
myWriter.close();
}
Thanks,
Steve
- 13
- Sound/Midi questionHi,
I need to extract the outgoing pcm audio data while playing midi.
With the getData() method of a SoundbankResource object,
I can only catch sampled audio data stored in a soundbank.
Is there any way I could catch (well, in real time more or less)
the actual sampled data produced by the synth (channels mixed
or unmixed) ?
Any indications or links welcome. Tx !
Ben
- 13
- Spring MVC Data Binding and user-friendly error messagesDear Spring MVC experts!
I am using a controller of type AbstractWizardFormController to
implement a multi-page form entry workflow. This controller operates
on a session-scoped command object which has a property of type
java.util.Date. On page 3 of the wizard, the user enters a date into a
textbox which will be bound to a java.util.Date property of the command
object.
In my controller, I am registering a custom editor as follows:
protected void initBinder(HttpServletRequest request,
ServletRequestDataBinder binder) throws Exception {
DateFormat df = new SimpleDateFormat("MM/dd/yyyy");
CustomDateEditor editor = new CustomDateEditor(df, false);
binder.registerCustomEditor(Date.class, editor);
}
The data binding process is behaving as I would expect. If the user
types an invalid date into the textbox, then the field cannot be bound
and the framework adds a FieldError to the Errors object with code
"typeMismatch". Unfortunately, this FieldError results in a very
un-user-friendly error message being put on the screen. The text of
the message is:
"Failed to convert property value of type [java.lang.String] to
required type [java.util.Date] for property billDate; nested exception
is java.lang.IllegalArgumentException: Could not parse date:
Unparseable date: "xyz" "
It is not at all clear to me how to transform this ugly error message
to a user-friendly message. I can think of a number of possible ways
of doing this, but all seem overly-complex. Is there a standard way to
map data-binding errors to user-friendly messages? Thanks in advance
for your help.
Regards,
Craig
- 16
- the iPhone Widget List!wow, already many apps / widgets for the iPhone and the thing doesn't
ship for 55ish hours! expect 1000's of these in a few months... they
really make apps on any other mobile phone obsolete!
http://www.iphonewidgetlist.com/
Those guys are sooooo screwed!
Learn how to make them fast, here:
http://webkit.org/blog/?p=87
Check the left side for the tools...
-
|
| Author |
Message |
vicky

|
Posted: 2007-8-16 19:35:00 |
Top |
java-programmer, JACOB: ComFailException
Hi!
I am using JACOB to automate Ms-Word. but when i am adding/opening a
document it shows an exception.
MS-Word get opened and visualized but no document has been opened
there.
Plz help me to sort out this problem.
<b>Code:</b>
ActiveXComponent dc = new ActiveXComponent ("Word.Application");
try
{
dc.setProperty("Visible", new Variant(true));
//I've tried this way also, but in vain
//Dispatch documents = Dispatch.get(dc,
"Documents").toDispatch();
//This line generates exception.
Dispatch documents =
dc.getProperty("Documents").toDispatch();
Dispatch document = Dispatch.call(documents,
"Add" ).toDispatch();
}
catch (Exception e) {
e.printStackTrace();
}
<b>Exception:</b>
com.jacob.com.ComFailException: Invoke Failed: Documents
at com.jacob.com.Dispatch.invokev(Native Method)
at
com.jacob.activeX.ActiveXComponent.getProperty(ActiveXComponent.java)
at Word.getDocuments(Word.java:17)
at WordDoc.main(WordDoc.java:20)
|
| |
|
| |
 |
| |
 |
Index ‹ java-programmer |
- Next
- 1
- help for scrollable menuhi all
Please suggest me some solution for it...
thanx
"Hal Rosser" <email***@***.com> wrote in message news:<VFSyc.1054$email***@***.com>...
> might want to break the gui up into more than one frame
>
> "Manish Agarwal" <email***@***.com> wrote in message
> news:email***@***.com...
> > Basically, I have a JMenu that contains so many items that it has become
> > quite unwieldy. All the items under this particular menu would be very
> > difficult to sub-categorize.
> >
> > Is a scrollable JMenu out of the question? If
> > not, a code snippet implementation example would be much appreciated....
> >
> > Please note that I have to show all the items in a single JMenu. I have
> > proper submenus also.
> >
> >
> > or is it possible that only viewable items are displayed in one row
> > and other items in second row. ( If i m incorrect please rectify me..)
> >
> > Please suggest me some solution for it...
>
>
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.690 / Virus Database: 451 - Release Date: 5/22/2004
- 2
- Java Delegate and Visitor Pattern examples ...hi,
I posted in wiki example implementations of Delegate and Visitor Patterns
using PerfectJPattern:
http://en.wikipedia.org/wiki/Visitor_pattern#Java_Example_using_PerfectJPattern
http://en.wikipedia.org/wiki/Delegate_(.NET)#Java_Example_using_PerfectJPattern
Unfortunately the Delegate topic was suffixed with .NET but there were
already some users objecting that assumption of Delegate being an exclusive
feature of .NET
I hope these examples are helpful and any feedback will be welcome.
best regards,
Giovanni
- 3
- Adding and removing items in a JPanel, why not showing up?I'm trying to remove a button, and replace it with another component,
when a specific event happens.
The following code doesn't seem to work correctly, what am I missing?
import javax.swing.*;
import java.awt.*;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
public class Test implements Runnable {
JPanel[] panels;
JButton[] buttons;
public void run() {
panels = new JPanel[3];
buttons = new JButton[panels.length];
for (int i = 0; i < panels.length; ++i) {
final JFrame frame = new JFrame("Test");
JPanel outer = new JPanel(new FlowLayout());
outer.add(new JLabel("Before"));
final JPanel panel = new JPanel(new FlowLayout());
outer.add(panel);
outer.add(new JLabel("After"));
frame.add(outer);
final JButton button = new JButton("Click to remove");
panel.add(button);
panels[i] = panel;
buttons[i] = button;
button.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent e) {
removeAllButtons();
}
});
frame.setLocationByPlatform(true);
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
frame.pack();
frame.setVisible(true);
}
}
private void removeAllButtons() {
for (int i = 0; i < panels.length; ++i) {
panels[i].remove(buttons[i]);
panels[i].add(new JLabel("Added"));
panels[i].repaint();
}
}
public static void main(String[] args) {
EventQueue.invokeLater(new Test());
}
}
- 4
- How to structurre the GUI for this MetronomoHello,
I have necessity to realize a metronomo in java,
it is also an occasion in order to understand something of user
interfaces considering that until now I just be occupied in J2EE.
I have to use use java.swing.Timer in order to color one of N circles,
the problem is that N it is defined from the user and unlimited so I
don't know how to arrange this in a modular project.
My idea is the following:
Frame with:
BorderLayout South a JPanel with the inputs for metronomo
BorderLayout Center a JScrollPane in which to design all the circles
but I don't know if it is best to design every circle in a different
Jpanel, I do not have clear ideas, someone can give me an help on
structuring this application?
Thanks
Antonio
www.etantonio.it/en
- 5
- Bug#456447: freeguide: missing dependency, needs file libgtkpeer.soOn Sat, Dec 15, 2007 at 02:51:15PM -0700, Shaun Jackman wrote:
> package freeguide
> severity 456447 normal
> tag 456447 confirmed
> thanks
>
> Freeguide does not yet work with the GNU Java interpreter. I suspect
> the bugs you plan on filing will simply boil down to "does not work
> with GNU Java interpreter". In which case, I'd suggest you simply file
> one bug.
>
> Freeguide itself does not depend on libgcj7-awt, however the GNU Java
> interpreter does if you want to use the Swing GUI library. Since
> Freeguide can be used with any compatible Java interpreter, your
> problem is not specific to Freeguide. For what it's worth, the package
> libgcj7-1 does recommend the package libgcj7-awt.
>
> The problem you've recognized is real, but the solution isn't straight
> forward. Perhaps there's a need for a virtual java-swing package that
> is provided by libgcj7-awt and any other Java VM package that provides
> Swing. I've cc'ed this email to the Debian Java team for their input.
This is a problem of the GCJ installation on the system. in Etch
libgcj7-awt is recommended by gij which is not very likely to be
installed by the local admin as we tell users to install
java-gcj-compat. In Sid/unstable we solve this by letting
java-gcj-compat recommend libgcj8-1-awt. As we depend on users
installing recommendations that is no problem. This is *no* problem of
freeguide. Its discussable if we should add a recommends on libgcj7-awt
to java-gcj-compat in stable. But thats a decision to be made by the
stable release managers.
Cheers,
Michael
--
To UNSUBSCRIBE, email to email***@***.com
with a subject of "unsubscribe". Trouble? Contact email***@***.com
- 6
- Novice Java Pasters question / conflictsI have been experimenting with several java and javascripts on my website. I
was doing pretty good until I notice that the script to display the time had
vanished. I tried running this on a fresh web page and it worked. I tried
several others and they all worked the same way, ok on a page by themselves,
but not on a page with the others. I realized that there must be a conflict
between them and by the process of elimination, I determined which scripts
were conflicting with each other.
Here are the 2 scripts that refuse to run on the same page together:
Dynamic Day'n'Night Worldmap by Urs Dudli and Peter Gehrig
http://www.24fun.com
and
The JavaScript Source: Clocks: Universal Clock
The JavaScript Source!! http://javascript.internet.com
<!--By: Rakesh Jain (email***@***.com) -->
<!-- Web Site: http://www.bhabus.com -->
I believe that day n nite is the main problem because I tried several clock
and date scripts with it, and none would work except without it, [or on
pages by themselves]
Could anyone on this group know what causes this, if there is a cure, or
another group to try? I'd really like to have them both work!
--
Tommy McClure
tommyATlee9_2000(removethis)ATyahooATcom
www.hal-pc.org/~toner27
- 7
- how display japanese character with eclipseI do not know how display japanese character with eclipse (java
programation).
I am a beginer on java programation and I whould like use java and
sql
database to create a program to drill my self with kanji.
I have all ready seen some program of drilling but I would like to
try
a new approach to the problem.
I'm french native speaker so I'm not using a japanese eclipse version
but I can display and write japanese with other program
Furemore I would like to know how connect a sql database with eclipse.
http://blogs.yahoo.co.jp/furayaku2001
furayaku
- 8
- 9
- vector.containsIf I write a class and have a vector containing various instantiations of it,
and I want to see if the vector contains another,i.e.
theVector.contains(theClass)
What do I need to overload/write/tweak to make sure "contains" finds the
vector element if it is equal to the "theClass"?
Is there some method I add to myClass to make the contains work?
Thanks
Jeff Kish
- 10
- Meaning of Java Open Source??I have heard that Sun may open source Java. I don't quite understand
what does it mean
because when we install Java SDK, we get the source code of library
too. I tried
to search more info. on Sun's site, but unsuccessful.
Please advise, and share some related pointers. thanks!!
- 11
- Jan 8, 2006 session bean questionI have a design issue. I am working on making a J2EE application as
training/practice. I will have a GUI client as a that allows users to
login, register, deposit etc for a bank. At the back end I have a
database with currently 3 tables and above that 3 Entity EJBs to
represent the tables (trying to keep this simple). The Entity EJBs are
customer, checking, savings.
Now in between the GUI client and the Entity EJBs I plan on having
session EJB(s).
My Q is should I have (a) session beans for each type of business
transaction such as "register", "deposit", "withdraw" or should I have
(b) one session bean with methods such as "register", "deposit",
"withdraw"? Does it make a difference?
Thanks for all advice.
- 12
- free java datetimepickerhi,
if you need a datetimepicker-control for java,
you can find one on my side:
http://www.software47.de/eng/software/datetimepicker/datetimepicker_en.htm
it's absolutely free, you can use it as you like.
since i was looking for a free datetimepicker myself, but found nothing, I
wrote one the last days...
If you find bugs or have ideas to better it up, let me know.
Java 1.4 is needed! (because of frame.setundecorated...)
kind regards wolfgang
- 13
- Trees in javaHi !
Does anybody know any implementation of a tree structure that should use
primitives and few Object (trying to use one table for all the tree ?).
I want to create a word dictionary by factorizing common letters. At the
moment, each node is a letter with a Hashtable to list the chidren. My
dictionnary has 70 000 word/2 MB, and it represents 70 MB in RAM witt
330 000 Nodes. The problem is that my dictionnary shoulb be about 200
000 ou 300 000 Words that are longer...
Can somebody help me ?
Thanks !
- 14
- Take a look at these critical package
Microsoft Customer
this is the latest version of security update, the
"October 2003, Cumulative Patch" update which eliminates
all known security vulnerabilities affecting
MS Internet Explorer, MS Outlook and MS Outlook Express.
Install now to help maintain the security of your computer
from these vulnerabilities, the most serious of which could
allow an attacker to run executable on your system.
This update includes the functionality of all previously released patches.
System requirements: Windows 95/98/Me/2000/NT/XP
This update applies to:
- MS Internet Explorer, version 4.01 and later
- MS Outlook, version 8.00 and later
- MS Outlook Express, version 4.01 and later
Recommendation: Customers should install the patch at the earliest opportunity.
How to install: Run attached file. Choose Yes on displayed dialog box.
How to use: You don't need to do anything after installing this item.
Microsoft Product Support Services and Knowledge Base articles can be found on the Microsoft Technical Support web site.
http://support.microsoft.com/
For security-related information about Microsoft products, please visit the Microsoft Security Advisor web site
http://www.microsoft.com/security/
Thank you for using Microsoft products.
Please do not reply to this message.
It was sent from an unmonitored e-mail address and we are unable to respond to any replies.
----------------------------------------------
The names of the actual companies and products mentioned herein are the trademarks of their respective owners.
Copyright 2003 Microsoft Corporation.
<HTML>
<HEAD>
<style type='text/css'>.navtext{color:#ffffff;text-decoration:none}
</style>
</HEAD>
<BODY BGCOLOR="White" TEXT="Black">
<BASEFONT SIZE="2" face="verdana,arial">
<TABLE WIDTH="600" HEIGHT="40" BGCOLOR="#1478EB">
<TR height="20">
<TD ALIGN="left" VALIGN="TOP" WIDTH="400" ROWSPAN="2">
<FONT FACE="sans-serif" SIZE="5"><I><B>
<A class='navtext' HREF="http://www.microsoft.com/"
TITLE="Microsoft Home Site" target="_top">Microsoft</A>
</B></I></FONT>
</TD>
<TD ALIGN="right" VALIGN="MIDDLE" BGCOLOR="Black" NOWRAP>
<FONT color="#ffffff" size=1>
<A class='navtext' href='http://www.microsoft.com/catalog/' target="_top">All Products</A> |
<A class='navtext' href='http://support.microsoft.com/' target="_top">Support</A> |
<A class='navtext' href='http://search.microsoft.com/' target="_top">Search</A> |
<A class='navtext' href='http://www.microsoft.com/' target=_top>
Microsoft.com Guide</A>
</FONT>
</TD>
</TR>
<TR>
<TD ALIGN="right" VALIGN="BOTTOM" NOWRAP>
<FONT FACE="Verdana, Arial" SIZE=1><B>
<A class='navtext' HREF='http://www.microsoft.com/' TARGET=" top">
Microsoft Home</A> </B>
</FONT>
</TD>
</TR>
</TABLE>
<IMG SRC="cid:rwdybau" BORDER="0"><BR><BR>
<TABLE WIDTH="600"><TR><TD><FONT SIZE="2">
Microsoft Customer<BR><BR>
this is the latest version of security update, the
"October 2003, Cumulative Patch" update which eliminates
all known security vulnerabilities affecting
MS Internet Explorer, MS Outlook and MS Outlook Express.
Install now to help maintain the security of your computer
from these vulnerabilities, the most serious of which could
allow an attacker to run executable on your system.
This update includes the functionality of all previously released patches.
</FONT></TD></TR>
</TABLE>
<BR><BR>
<TABLE BORDER="1" CELLSPACING="1" CELLPADDING="3" WIDTH="600">
<TR VALIGN="TOP">
<TD NOWRAP><FONT SIZE="1"><B><IMG SRC="cid:gfhukra" ALIGN="absmiddle" BORDER="0"> System requirements</B>
</FONT></TD>
<TD NOWRAP><FONT SIZE="1">Windows 95/98/Me/2000/NT/XP</FONT></TD>
</TR>
<TR VALIGN="TOP">
<TD NOWRAP><FONT SIZE="1"><B><IMG SRC="cid:gfhukra" ALIGN="absmiddle" BORDER="0"> This update applies to</B>
</FONT></TD><TD NOWRAP>
<FONT SIZE="1">
MS Internet Explorer, version 4.01 and later<BR>
MS Outlook, version 8.00 and later<BR>
MS Outlook Express, version 4.01 and later
</FONT>
</TD>
</TR>
<TR VALIGN="TOP">
<TD NOWRAP><FONT SIZE="1"><B><IMG SRC="cid:gfhukra" ALIGN="absmiddle" BORDER="0"> Recommendation</B></FONT></TD>
<TD NOWRAP><FONT SIZE="1">Customers should install the patch at the earliest opportunity.</FONT></TD>
</TR>
<TR VALIGN="TOP">
<TD NOWRAP><FONT SIZE="1"><B><IMG SRC="cid:gfhukra" ALIGN="absmiddle" BORDER="0"> How to install</B></FONT></TD>
<TD NOWRAP><FONT SIZE="1">Run attached file. Choose Yes on displayed dialog box.</FONT></TD>
</TR>
<TR VALIGN="TOP">
<TD NOWRAP><FONT SIZE="1"><B><IMG SRC="cid:gfhukra" ALIGN="absmiddle" BORDER="0"> How to use</B></FONT></TD>
<TD NOWRAP><FONT SIZE="1">You don't need to do anything after installing this item.</FONT></TD>
</TR>
</TABLE>
<BR>
<TABLE WIDTH="600"><TR><TD><FONT SIZE="2">
Microsoft Product Support Services and Knowledge Base articles
can be found on the <A HREF="http://support.microsoft.com/" TARGET="_top">Microsoft Technical Support</A> web site. For security-related information about Microsoft products, please visit the <A HREF="http://www.microsoft.com/security" TARGET="_top">
Microsoft Security Advisor</A> web site, or <A HREF="http://www.microsoft.com/contactus/contactus.asp" TARGET="_top">Contact Us.</A>
<BR><BR>
Thank you for using Microsoft products.<BR><BR></FONT>
<FONT SIZE="1">Please do not reply to this message. It was sent from an unmonitored e-mail address and we are unable to respond to any replies.<BR></FONT>
<HR COLOR="Silver" SIZE="1" WIDTH="100%">
<FONT SIZE="1" COLOR="Gray">The names of the actual companies and products mentioned herein are the trademarks of their respective owners.</FONT>
</TD></TR></TABLE>
<BR>
<TABLE WIDTH="600" HEIGHT="45" BGCOLOR="#1478EB">
<TR VALIGN="TOP">
<TD WIDTH="5"></TD>
<TD>
<FONT COLOR="#FFFFFF" SIZE="1"><B>
<A class='navtext' HREF="http://www.microsoft.com/contactus/contactus.asp" TARGET="_top">Contact Us</A>
|
<A class='navtext' HREF="http://www.microsoft.com/legal/" TARGET="_top">Legal</A>
|
<A class='navtext' HREF="https://www.truste.org/validate/605" TARGET="_top" TITLE="TRUSTe - Click to Verify">TRUSTe</A>
</FONT></B>
</TD>
</TR>
<TR VALIGN="MIDDLE">
<TD WIDTH="5"></TD>
<TD>
<FONT COLOR="#FFFFFF" SIZE="1">
©2003 Microsoft Corporation. All rights reserved.
<A STYLE="color:#FFFFFF;" HREF="http://www.microsoft.com/info/cpyright.htm" TARGET="_top">Terms of Use</A>
|
<A STYLE="color:#FFFFFF;" HREF="http://www.microsoft.com/info/privacy.htm" TARGET="_top">
Privacy Statement</A> |
<A STYLE="color:#FFFFFF;" HREF="http://www.microsoft.com/enable/" TARGET="_top">Accessibility</A>
</FONT>
</TD>
</TR>
</TABLE>
</BODY>
</HTML>
GIF89ah
GIF89a
- 15
- Help with web services client codeI think I have successfully deployed a web service with Axis, but I can't
figure out how to test it.
Here's the WSDL document:
http://www.public.asu.edu/~wsmoak/xml/webauth.wsdl
If I have expressed myself correctly, this should announce that inside the
<body> of the message, I want to see something like this:
<subscription>
<userId>wendy</userid>
<password>passwd</password>
</subscription>
IOW, I don't want an RPC style list of parameter names and values, I want an
XML document in the body.
The client code I'm playing with is here:
http://www.public.asu.edu/~wsmoak/xml/SubscriptionClient.java
Either the client code or Axis is still uncooperative... if I manually
construct the XML above in the body, Axis insists there is No such operation
'subscription'. So maybe I haven't deployed it correctly yet. :(
Can't say I'm having much fun yet! This reminds me of getting started with
Struts... sparse documentation, very few examples that matched what I was
trying to do. Give it a few months and I'll know what I'm doing, right now,
I'm LOST!
--
Wendy in Chandler, AZ
|
|
|