RE: Question on timeout

2004-12-17 Thread Greg Michalopoulos
If you are using https then tcpmon wont be much help because the transmission will be encrypted before it leaves the client/server. If you change your request to http then the server will reject the request. -Original Message- From: Yu Feng [mailto:[EMAIL PROTECTED] Sent: Thursday, Dece

RE: data validation

2004-12-15 Thread Greg Michalopoulos
The server's WSDL should specify if a parameter can be null or not.  One way to do that is the minOccurs and maxOccurs properties of an element.       This just ensures that the element is specified in the request but does not care if it is null.  To do that use the nillable property.     I

RE: Newbie Question on Security

2004-11-22 Thread Greg Michalopoulos
in my head of axis receiving an encrytped response from a web service that it can't decrypt. Any thoughts ? -Original Message----- From: Greg Michalopoulos [mailto:[EMAIL PROTECTED] Sent: 22 November 2004 14:39 To: [EMAIL PROTECTED] Subject: RE: Newbie Question on Security If you are usi

RE: Newbie Question on Security

2004-11-22 Thread Greg Michalopoulos
If you are using a web server to handle all the requests and then forward to j2ee container (as typically is done) then the web server will handle all the ssl stuff for you. WSS4J is a ws-security implementation by apache if you want to actually encrypt and/or sign the xml messages sent by axis.

RE: How to get the int returned from the service

2004-11-17 Thread Greg Michalopoulos
Call.invoke returns type Object. You need to cast that into the Integer class and use intValue() to get the value into the primitive type int. Something like this: int a = (new Integer((String)call.invoke(new Object[]{}))).intValue(); -Original Message- From: Dacheng [mailto:[EMAIL PROTE

RE: Best Practice

2004-11-16 Thread Greg Michalopoulos
http://ws.apache.org/ws-fx/wss4j/ wss4j is Apache's stab at ws-security. It looks like a first run, but it doesn provide support for username tokens, encrypting/signing, etc. -Original Message- From: Vikas Phonsa [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 16, 2004 5:59 PM To: [EM

RE: Specifying a File URL to wsdl2java...

2004-11-11 Thread Greg Michalopoulos
WSDL2Java accepts a filename as an argument. -Original Message- From: Michael Burbidge [mailto:[EMAIL PROTECTED] Sent: Thursday, November 11, 2004 1:29 PM To: [EMAIL PROTECTED] Subject: Specifying a File URL to wsdl2java... I'm trying to create client-side stubs for a web-service which i

RE: axis problems - style="document"

2004-11-09 Thread Greg Michalopoulos
Provider still needs to be java:RPC.  WSDD should look like this for doc/literlal:   ...   ...   WSDL should be similar to this...      http://schemas.xmlsoap.org/soap/http"/>http://xml.apache.org/axis/wsdd/" use="literal"/>   http://xml.apache.org/axis/wsdd/" use="litera

RE: Hanging in SAX parser

2004-11-08 Thread Greg Michalopoulos
Ive used Xerces 2.6.2 with success.  When I did not specify the Xerces jar's in the class path I did have some issues although I cant remember if I had your specific issue. From: Kevin J. Duling [mailto:[EMAIL PROTECTED] Sent: Monday, November 08, 2004 12:47 PMTo: [EMAIL PROTECTED]Subject:

RE: doc-literal

2004-11-04 Thread Greg Michalopoulos
There is an echo implementation included in the samples with the source code. -Original Message- From: Henry Lu [mailto:[EMAIL PROTECTED] Sent: Thursday, November 04, 2004 3:12 PM To: [EMAIL PROTECTED] Subject: doc-literal Could someone show me a working example of following implementat

RE: array producing SAXException

2004-11-03 Thread Greg Michalopoulos
I believe XML Standard would be to wrap you shortAutoDescription with shortAutoDescriptions. ... But either way it is better than the schema in your first post to the list (). So in short your second method should work. -Original Message- From: Ben Anderson

RE: Axis blows up in AbstractXMLEncoder when serializing a complex object array of over 1000 elements.

2004-10-29 Thread Greg Michalopoulos
I found that tcpmon uses a lot of memory, so if you are using that you'll need to increase the heap size when starting tcpmon. -Original Message- From: Tami Wright [mailto:[EMAIL PROTECTED] Sent: Friday, October 29, 2004 4:35 PM To: [EMAIL PROTECTED] Subject: Axis blows up in AbstractX

RE: adding security to webservices in axis

2004-10-29 Thread Greg Michalopoulos
Check out wss4j from Apache (http://ws.apache.org/ws-fx/wss4j/). This is an implementation of the WS-Security spec. Documentation is a little weak at this point in time, but I was about to use the UsernameToken in the SOAP header and a password callback class to authenticate a user making a reque

RE: SSL with Axis

2004-10-07 Thread Greg Michalopoulos
Also, you can setup Apache (or other webserver) with SSL and then just add the filter to send requests to /services to Tomcat. This requires no change in config on Tomcat side I believe. -Original Message- From: Venkat Reddy [mailto:[EMAIL PROTECTED] Sent: Thursday, October 07, 2004 10:

RE: Axis and BEA Weblogic 8.1

2004-09-28 Thread Greg Michalopoulos
I've used Axis 1.1 and 1.2 beta 3 with WebLogic 8.1 SP3. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 28, 2004 2:42 PM To: [EMAIL PROTECTED] Subject: RE: Axis and BEA Weblogic 8.1 I'm using Axis 1.1 with WebLogic 8.1 SP2 without any probl

RE: deploying a wsdd file

2004-09-28 Thread Greg Michalopoulos
Just store the classpath in an environment variable and alter your command to: java -cp $CLASS_PATH_VARIABLE org.apache.axis.client.AdminClient axis/serviceDeployer/BankModulsCheckServiceDeploy.wsdd-1 http://81.192.132.189:8080/axis/services/AdminService -Original Message- From: Suzy Fynes

Axis & WSS4J

2004-09-28 Thread Greg Michalopoulos
Anyone using axis with wss4j? I have successfully implemented UsernameToken, but would like to use encryption and signature. Apache docs are pretty limited. Any help or references would be greatly appreciated. Thanks, Greg

RE: Method not executing

2004-09-27 Thread Greg Michalopoulos
Alter your method to return a boolean. Try adding some error debugging in your method and return true if you think it was run correctly and false if not. Log4j - you need to set up a config file and then you can call methods from you method to log info. Its from apache and has good documentation

RE: Method not executing

2004-09-27 Thread Greg Michalopoulos
You can use log4j to log execution of the method. Its included with the axis libs. What does the return SOAP message indicate happened on the server? Greg -Original Message- From: Hubble, Christopher [mailto:[EMAIL PROTECTED] Sent: Monday, September 27, 2004 2:33 PM To: '[EMAIL PROTEC

RE: Axis 1.1 samples.fault: No SOAP Fault response

2004-09-22 Thread Greg Michalopoulos
If you do not get SOAP response, then how does your client know the fault has occurred? Are you using tcpmon? -Original Message- From: Keast Ann [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 22, 2004 1:32 PM To: [EMAIL PROTECTED] Subject: Re: Axis 1.1 samples.fault: No SOAP Fault

RE: Axis 1.1 samples.fault: No SOAP Fault response

2004-09-21 Thread Greg Michalopoulos
Ann, You might want to try throwing a new AxisFault. This will force the server to reply with a SOAP fault instead of the stack dump. It looks like yours is being thrown like an Exception rather than an AxisFault. -Original Message- From: Keast Ann [mailto:[EMAIL PROTECTED] Sent: Tue

RE: WS-Security

2004-09-15 Thread Greg Michalopoulos
ve it must be reachable by the webapp classloader - which does not delegate to a "higher level" class loader. Jim Murphy Mindreef, Inc. Greg Michalopoulos wrote: > Could be a real dumb question but... > Using apache wss4j, and trying to use a custom password callback class. > Thin

WS-Security

2004-09-15 Thread Greg Michalopoulos
Could be a real dumb question but... Using apache wss4j, and trying to use a custom password callback class. Thing is, if I don't add the custom password callback class to the wss4j jar file, I get a java.lang.NoClassDefFound exception - even if the custom class is in the class path of the servlet