RE: Can't use AppletViewer with Axis.

2008-01-30 Thread Ross Allard
Well, it turns out to have been a java security issue.  When I added a policy 
file to the vm args, the appletviewer Axis test works.

_
From: Ross Allard
Sent: Wednesday, January 30, 2008 9:48 AM
To: 'axis-user@ws.apache.org'
Subject: Can't use AppletViewer with Axis.


I'm using Axis from within an applet.  When the applet is run in the browser 
everything works.  When I run/debug the applet using Sun's AppletViewer, Axis 
stops working.  I get the following exception:

Jan 30, 2008 9:36:21 AM org.apache.axis2.transport.http.HTTPSender sendViaPost
INFO: Unable to sendViaPost to 
url[http://d16489:8080/SASScorecard/services/SpmWS2]
org.apache.axis2.AxisFault: Transport error: 404 Error: Not Found
at 
org.apache.axis2.transport.http.HTTPSender.handleResponse(HTTPSender.java:298)
at 
org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:192)
at org.apache.axis2.transport.http.HTTPSender.send(HTTPSender.java:77)
at 
org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java:327)
at 
org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:206)
at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:396)
at 
org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:374)
at 
org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:211)
at 
org.apache.axis2.client.OperationClient.execute(OperationClient.java:163)
at 
org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:528)
at 
org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:508)
at 
org.apache.axis2.rpc.client.RPCServiceClient.invokeBlocking(RPCServiceClient.java:101)


When I run the same code as a little java application (same classpath), it also 
works.  But, again, when run using AppletViewer I get the 404 transport.The 
server (jboss) has no log entry for any request.

Any ideas?  Thanks

Ross


Ask not what your country can do for you.  Ask what's for lunch.
-Orson Welles



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Can't use AppletViewer with Axis.

2008-01-30 Thread Ross Allard
I'm using Axis from within an applet.  When the applet is run in the browser 
everything works.  When I run/debug the applet using Sun's AppletViewer, Axis 
stops working.  I get the following exception:

Jan 30, 2008 9:36:21 AM org.apache.axis2.transport.http.HTTPSender sendViaPost
INFO: Unable to sendViaPost to 
url[http://d16489:8080/SASScorecard/services/SpmWS2]
org.apache.axis2.AxisFault: Transport error: 404 Error: Not Found
at 
org.apache.axis2.transport.http.HTTPSender.handleResponse(HTTPSender.java:298)
at 
org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:192)
at org.apache.axis2.transport.http.HTTPSender.send(HTTPSender.java:77)
at 
org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java:327)
at 
org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:206)
at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:396)
at 
org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:374)
at 
org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:211)
at 
org.apache.axis2.client.OperationClient.execute(OperationClient.java:163)
at 
org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:528)
at 
org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:508)
at 
org.apache.axis2.rpc.client.RPCServiceClient.invokeBlocking(RPCServiceClient.java:101)


When I run the same code as a little java application (same classpath), it also 
works.  But, again, when run using AppletViewer I get the 404 transport.The 
server (jboss) has no log entry for any request.

Any ideas?  Thanks

Ross


Ask not what your country can do for you.  Ask what's for lunch.
-Orson Welles



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]