How to return a Vector

2004-02-09 Thread Sam
Hi,   I am writing a web service (in Java) that has a method returning a Vector. Can anyone let me know how this can be handled in the client? Specifically, how do I call the call.setReturnType() method? Also, does it matter what the Vector has? (I think it does not, but just to confirm). And do w

Stateless Session Bean as a webservice client

2004-02-09 Thread Vivek Nagulapati
Hello Guys, I deployed a SLSB - Stateless session bean as a webservice client which accesses a webservice implemented in .NET technologies. Well, I was successful in deploying the bean in the application server which is JBoss 3.2.1 but somehow I could not make it to work. I configured Axis 1.1

RE: Message Archives?

2004-02-09 Thread Oliver White
http://marc.theaimsgroup.com/?l=axis-user&r=1&w=2 HTH -Original Message- From: Vivek Nagulapati [mailto:[EMAIL PROTECTED] Sent: Tuesday, 10 February 2004 2:23 PM To: axis-user Subject: Message Archives? Hello All, I am new to the Axis mailing list. Does anyone know the URL to the messa

Message Archives?

2004-02-09 Thread Vivek Nagulapati
Hello All, I am new to the Axis mailing list. Does anyone know the URL to the message archive of the mailing list, so that I could go through the old messages. Thanks in advance, Vivek

Re: Faults: What am I *supposed* to see?

2004-02-09 Thread Christopher Blunck
An additional piece of information... The server returning the soap fault has a faultcode of generalException. I double checked the deploy.wsdd to make sure my fault class has a mapping registered. It does. So maybe this is the intended behavior for Axis, this is? -c On Mon, Feb 09, 2004 a

Faults: What am I *supposed* to see?

2004-02-09 Thread Christopher Blunck
All- I have a somewhat basic question regarding custom / user defined faults in Axis. First, some background: I define my services via WSDL, and translate them into Java classes. In my WSDL I define a fault, and what is generated is a class that extends AxisFault. In my server side implementa

Re: Where Axis store the WSDL?

2004-02-09 Thread Tony Blair
Thanks that's what I heard :-)Leo de Blaauw <[EMAIL PROTECTED]> wrote: Tony,   Then its only generated on the fly.   Leo - Original Message - From: Tony Blair To: [EMAIL PROTECTED] Sent: Monday, February 09, 2004 9:36 PM Subject: Re: Where Axis store the WSDL? Hi Leo,   I mentioned t

SoapMonitorApplet

2004-02-09 Thread Tony Blair
Hi,   I looked thru the archives and saw one post about the SoapMonitorApplet. It mentioned that the applet is part of the axis folders. I search thru the axis folders, lib and src but couldn't find it. I am trying to access http://localhost:8080/axis/SOAPMonitor and I get an Class not found except

SOAPBodyElement must have namespace?

2004-02-09 Thread Xiao, Hui
I am trying to use message style web service to send a plain xml document. The element tag in the document has no namespace in front of it. And I got the following error when invoking the service: AxisFault faultCode: {http://xml.apache.org/axis/}Call.invoke faultSubcode: faultString: Cannot

SAXParseException: Illegal character

2004-02-09 Thread Eric Freed
I am trying to get an attachment from a SOAP::Lite (Perl) server, and I am getting: SAXParseException: Illegal character at end of document, - Non-attachment calls work fine. I know that - is a hyphen, so I am guessing that there is either a stray hyphen somewhere, or (perhaps) this is just a sym

Where to catch http protocol?

2004-02-09 Thread Bill Pfeiffer
I have a need to detect the protocol that a soap request comes in on (http or https). I have a method to do this, but am wondering where in the Axis architecture I should implement this. Should I create a handler? Should I use a servlet filter? I will need access to the request to make the dete

Re: Where Axis store the WSDL?

2004-02-09 Thread Leo de Blaauw
Tony,   Then its only generated on the fly.   Leo - Original Message - From: Tony Blair To: [EMAIL PROTECTED] Sent: Monday, February 09, 2004 9:36 PM Subject: Re: Where Axis store the WSDL? Hi Leo,   I mentioned that in my email as well but where does Axis

Adding Cookies to Axis Http Request

2004-02-09 Thread Visu
I wrote a proxy which uses Service() and Call() classes to access the web service. I guess, Call's invoke method generates the actual Http Request sent to the service. I have to add some cookie information to that Http request. How can I achieve this through call or Service objects. I am using this

RE: Will Axis ever support WS-Security

2004-02-09 Thread dave.prout
Thanks -Original Message- From: Davanum Srinivas [mailto:[EMAIL PROTECTED] Sent: Mon 09/02/2004 20:33 To: [EMAIL PROTECTED] Cc: Subject: Re: Will Axis ever support WS-Security

Re: Where Axis store the WSDL?

2004-02-09 Thread Tony Blair
Hi Dave,   I didn't use the java2WSDL. I used the ClientAdmin to deploy the deploy.wsdd.   Tony.Dave Knox <[EMAIL PROTECTED]> wrote: Hi Tony,Look in the output directory that you specified in your java2WSDL command line for the generated copy of the wsdl. For the copy that is used for the ?wsdl req

Re: Where Axis store the WSDL?

2004-02-09 Thread Dave Knox
Hi Tony, Look in the output directory that you specified in your java2WSDL command line for the generated copy of the wsdl. For the copy that is used for the ?wsdl request: The wsdl file should get archived for deployment into a servlet container like Tomcat. If you created a Jar file with your

RE: Where Axis store the WSDL?

2004-02-09 Thread Robert Lowe
Tony, I'm not Axis expert but I believe Axis generates the WSDL on-the-fly in response to the browser request. I don't think it's actually stored on the hard drive. Best regards, Robert Lowe http://RMLowe.com/ -Original Message- From: Tony Blair [mailto:[EMAIL PROTECTED] Sent: Tuesd

Re: Where Axis store the WSDL?

2004-02-09 Thread Tony Blair
Hi Leo,   I mentioned that in my email as well but where does Axis store the WSDL? the stub? the Skeleton?   Tony.Leo de Blaauw <[EMAIL PROTECTED]> wrote: Tony,   Enter the full URL for your service, followed by ?wsdl this should show you the wsdl for that service in most cases.Greetz Leo ---

Re: Will Axis ever support WS-Security

2004-02-09 Thread Davanum Srinivas
The idea is to get wss4j as part of http://ws.apache.org/ws-fx/ soon. thanks, dims --- [EMAIL PROTECTED] wrote: > Dims, > > > Does WSS4J count as part of Apache Axis ? I'm trying to pull together a report > for very senior > managers about WS-Security, and when we should start usi

Will Axis ever support WS-Security

2004-02-09 Thread dave.prout
Dims, Does WSS4J count as part of Apache Axis ? I'm trying to pull together a report for very senior managers about WS-Security, and when we should start using it. Part of this will be a section on the implementations. We're all familiar with Axis, so should I quote WSS

Re: Will Axis ever support WS-Security

2004-02-09 Thread Davanum Srinivas
Yes, see CVS at http://wss4j.sf.net/. When the spec is final the code will be ready too :) -- dims --- [EMAIL PROTECTED] wrote: > and if so when ? > > Thanks > > Dave > UK > = Davanum Srinivas - http://webservices.apache.org/~dims/

Will Axis ever support WS-Security

2004-02-09 Thread dave.prout
and if so when ? Thanks Dave UK

[newbie] Serialize JavaBean to a SOAP message

2004-02-09 Thread Sam Cheung
Is there a way to serialize a JavaBean to a SOAPmessage? Take the DelayedStockQuote as an example, can i create 2 classes: QuoteRequest (with an string attribute 'symbol') and QuoteResponse (with an float attribute 'result'). And I can use AXIS to serialize the QuoteRequest to a SOAP message an

Re: Where is the WDSL?

2004-02-09 Thread Leo de Blaauw
Tony,   Enter the full URL for your service, followed by ?wsdl this should show you the wsdl for that service in most cases.Greetz Leo - Original Message - From: Tony Blair To: [EMAIL PROTECTED] Sent: Monday, February 09, 2004 8:00 PM Subject: Where is the WDSL?

Where is the WDSL?

2004-02-09 Thread Tony Blair
Hi,   After deploying my web service to Tomcat using the Client Admin along with the deploy.wsdd. I don't seem to find the wsdl on my hard drive. I know if I point my browser to myservice?WSDL I will see it. Where is WSDL?   Thanks, Tony. Do you Yahoo!? Yahoo! Finance: Get your refund fast by filin

RE: JAX-RPC with attachments question

2004-02-09 Thread christopher justin
Cedric, By returning the Dom as the response, does this make the web service non-portable because the Object is serialized by Java (as I am assuming it is sent as xsd:anyType) - only Java knows how to un-serialize the object ? Is the Dom serialized when returned or passed as plain XML text ? W

Re: JAX-RPC with attachments question

2004-02-09 Thread Anna Bikkina
If we have huge xml file(in MB) is it a good idea to send it as a return type of a method or as a attachment? Also can someone send example to have xml file as return type of a method. Please send your comments. Thanks, Anna. On Monday 09 February 2004 11:42 am, Carbone Cedric wrote: > etAs

RE: JAX-RPC with attachments question

2004-02-09 Thread Carbone Cedric
This an example i use for my message style Web service. The webService wait a DOM and response with another DOM and a binary attachment. I have added several comments in the code following. Hope this helps, Cédric Carbone Neopost France ccabrainsoft.fr Server side (the Web service) : --

RE: finding ip address of client

2004-02-09 Thread Pathuru, Kiran
Please ignore this message as I found the solution in a message posted earlier. The solution is as follows if anyone is interested... HttpServletRequest req = (HttpServletRequest)MessageContext.getCurrentContext).getPropertyHTTPConstan ts.MC_HTTP_SERVLETREQUEST); Thanks once again for Vitali for

finding ip address of client

2004-02-09 Thread Pathuru, Kiran
hi, Can anybody suggest me how can find the IP address of the client from where I am getting requests. Or atleast how to get the request object, so that I can use request.getRemoteAddr() method... Any ideas where I can look into.. Regards, kiran pathuru http://www.ect-telecoms.de Tel: +49 89 5529

RE: JAX-RPC with attachments question

2004-02-09 Thread Steve Pruitt
I think I understand.  Are the both strings returned as attachments?  If so, I was hoping to return the xml as my soap body, if this is even possible.  I will look at the holders package.   Thanks,   Steve Pruitt     -Original Message-From: Pathuru, Kiran [mailto:[EMAIL PROTECTED]Se

RE: JAX-RPC with attachments question

2004-02-09 Thread Pathuru, Kiran
In my case I am returning two strings. I think it should be the same with you as well. My wsdl seems something like   . .             .. ..   I used WSDL2Java to produce java code, and the method generated will look something like   public void method(String arg1, String

Re: JAX-RPC with attachments question

2004-02-09 Thread Anna Bikkina
Can you please point me to the example that returns xml document. I am searching for it. Thanks, Anna. On Monday 09 February 2004 11:00 am, Steve Pruitt wrote: > I have a service that needs to return xml and an attachment, the xml > contains some meta-information about the attachment. I am usin

RE: Generating a web application from a web service

2004-02-09 Thread Heitzeg, Bill
My vision is pretty simple. I would like to take my wsdl and generate a web application that will call the service. For each method in the service I would have a single web page with a set of fields representing the request data. When the user presses submit, the web service is called and the

JAX-RPC with attachments question

2004-02-09 Thread Steve Pruitt
I have a service that needs to return xml and an attachment, the xml contains some meta-information about the attachment.  I am using the jax-rpc api.  My question is how to return both an xml document and an attachment.  I can see how to return one or the other, but not both.   Can someone

Re: InvocationTargetException

2004-02-09 Thread priyada2
Regards Ashok Priyadarshan Applications Specialist Gartmore Global Investments 1200 River Road Conshohocken, PA 19428 (484) 530-1503 http://www.gartmore.us

Re: InvocationTargetException

2004-02-09 Thread Sai Pradeep - Hotmail
Title: setting cookie property in Call HI Sharma!   This problem occurs whenever tomcat couldn't find the service you are trying to invoke. Check whether you have copied the DLL(s)/Lib(s) of your service on to the System32 directory(if you are using windows).   Hope this works.   Cheers Sai.

RE: Generating a web application from a web service

2004-02-09 Thread chris
Beyond the capabilities of WSDL2Java ? what is your vision? /Chris -Original Message- From: Heitzeg, Bill [mailto:[EMAIL PROTECTED] Sent: Friday, February 06, 2004 5:35 PM To: [EMAIL PROTECTED] Subject: Generating a web application from a web service Hi everyone, Does anyone know

RE: Generating a web application from a web service

2004-02-09 Thread Heitzeg, Bill
I looked into this. It looks very interesting, but I don't think I have the time for something like this. It's a project unto itself. They are using Java Generics along with a third party compiler that works with Java Generics. For some reason I can't get it all to work together. I only spent

RE: Generating a web application from a web service

2004-02-09 Thread Heitzeg, Bill
Thanks Sanjesh, I'll check it out! -Original Message- From: Sanjesh Pathak [mailto:[EMAIL PROTECTED] Sent: Sunday, February 08, 2004 6:24 PM To: [EMAIL PROTECTED] Subject: RE: Generating a web application from a web service You mean something like this: http://www.extreme.indiana.edu/x

RE: Attachment is accidentally added twice!! (but only when calle d from an EJB) - FIXED IN v1.2a

2004-02-09 Thread Stuart Miller
Just in case anyone had the same problem, this issue has gone away with version 1.2a.   Stuart   -Original Message-From: Stuart Miller [mailto:[EMAIL PROTECTED]Sent: Friday 30 January 2004 14:29To: '[EMAIL PROTECTED]'Subject: Attachment is accidentally added twice!! (but on