java.lang.InvocationTagetException

2003-11-06 Thread Tracy McGrady
Hello, Firstly, I'm new to Axis, so I hope you will be comprehensive... Secondly, I've a problem in running my application using Axis. I've already deployed several services, which runs correctly, but now I've an AxisFault ! It says : AxisFault faultCode: {http://schemas.xmlsoap.org/soap/enve

Services sharing same session

2003-11-06 Thread Magnus Sandberg
Hi, I have several Services running in the same Webapp. Axis seems to generate both server and client side OK - but I'd like to share the Session between the different services. A simple maintainSession() on the client and a getSession() on the server side doesn't seem to be good enough. I have a

Deserialize XML

2003-11-06 Thread tom ONeill
Hi all, Some existing mails seem to touch on this subject but Im still not clear on the issue so here goes. I have used wsdl2java to create my stubs and also a number of complex types defined within the wsdl file. Before I invoke my web service I am receiving an XML stream, the structure of wh

Hitting error: "java.net.BindException: Address already in use: connect"

2003-11-06 Thread Jan Vissers
Hi all,   I'm currently investigating Axis and I was doing a simple "performance" test. Here is my (client) code:   package com.cumquatit.axis.generated;   import com.cumquatit.axis.generated.IFHelloWhoSoapBindingStub;import com.cumquatit.axis.generated.IFHelloWhoServiceLocator;   public cla

RE: Axis Implementation to update an xml record

2003-11-06 Thread chris
A convergence of Xindice, http://xml.apache.org/xindice/, and Axis would be cool. right now, they have a XML-RPC API. /Chris http://cvs.apache.org/~haddadc -Original Message- From: Travis Stevens [mailto:[EMAIL PROTECTED] Sent: Thursday, November 06, 2003 7:14 PM To: [EMAIL PROTECTE

Re: XML Encryption w/ DigitalSignature

2003-11-06 Thread Davanum Srinivas
James, would you like to join us in implementing whatever JCP 105/106 folks are working on? Also can you please try the xml encryption code current in WSS4J CVS (http://sourceforge.net/projects/wss4j/) and let us if it servs your purpose? -- dims --- James Black <[EMAIL PROTECTED]> wrote: >

Re: XML Encryption w/ DigitalSignature

2003-11-06 Thread Davanum Srinivas
WSS4J has a sample. You will have to get it directly from CVS. http://sourceforge.net/projects/wss4j/ -- dims --- fred smith <[EMAIL PROTECTED]> wrote: > hi Pankaj. it seems verisign charges money for their jar file. i was really > looking for some > example on how to do this using free source

RE: classpath error

2003-11-06 Thread Kanchana Welagedara
  -Original Message-From: kishani Liyanage [mailto:[EMAIL PROTECTED]Sent: Friday, November 07, 2003 10:05 AMTo: [EMAIL PROTECTED]Subject: classpath error Although i have installed axis and given the classpath accordingly i have been unsuccessful at running the samp

Re: java.lang.reflect.InvocationTargetException, Server.userException?

2003-11-06 Thread Srinath Perera
sounds like it is at the client side, Check all the get set methods of your beans exists. hope this helps Srinath On Thu, 2003-11-06 at 21:53, Christopher A. Brooks wrote: > Hi, > > I built a webservice, deployed it into tomcat/axis with no problems, but > when I try to consume the web servic

classpath error

2003-11-06 Thread kishani Liyanage
Although i have installed axis and given the classpath accordingly i have been unsuccessful at running the samples. So far i have been unable to figure out the problm - can someone pls help?I have attached my "Autoexec" for your reference. Pls check whether i have set my  classpath variables righ

RE: Method overloading

2003-11-06 Thread Srinath Perera
Hi Srinivas; Personally I belive do not rely on the method overloading is better. Axis does support method overloding but WSDL1.2 does remove it and support for the method overloading might disapper form axis in the future. (IMO)Web service is exposing a interface but not exposing All OOP conc

Re: Problem with Axis and HTTPS/SSL

2003-11-06 Thread teoman teoman
hi Andrew,   I had the same problem before, and I set the my .keystore file location and password for it as follow and it did worked for me: java  -Djavax.net.ssl.trustStore= -Djavax.net.ssl.trustStorePassword=   hope it works...   teoman Andrew Davis <[EMAIL PROTECTED]> wrote: Our environment:RH L

Axis Implementation to update an xml record

2003-11-06 Thread Travis Stevens
I have a task to create a SOAP interface which would, in its simplest form, allow one to find/create and add/delete/update elements in a persistant xml record(document). I could go forth and do this myself, but I was wondering if there is an implementation or even a spec for this sort of thing

RE: Method overloading

2003-11-06 Thread I-Sampige, Srinivas
Then what would be your suggestion for getting around that? For example if I would like to render a pdf file from either a .fo file that Is passed in or from a URL to a .fo file passed in; I was thinking of having these methods - //~~for these, debug Is false by default

Re: Method overloading

2003-11-06 Thread Tom Oinn
Just to follow up my own post (and apologies!) From http://www.w3.org/TR/2002/WD-wsdl12-20020709/ - [CLOSED] Issue (issue-operation-overloading): Should operation overloading be disallowed? Source: Joyce Yang WSDL 1.1 allows overloaded operations- operations with the same name but different

Re: Method overloading

2003-11-06 Thread Tom Oinn
No, this is not allowed as of WSDL1.2 and rightly so, it causes immense confusion with dynamic systems such as workflow engines (our project). Under WSDL1.1 I believe it was allowed but fortunately someone saw sense and removed it. Cheers, Tom Oinn http://taverna.sf.net I-Sampige, Srinivas w

RE: Method overloading

2003-11-06 Thread I-Sampige, Srinivas
Title: Message Thanks for your reply. I wrote a small sample and got it working. I coded the client by hand. I have to see if wsdl2java outputs a client properly with both the methods.   thanks Srinivas   I have attached the sample for those interested.   Note: Please reply to the discussi

Re: XML Encryption w/ DigitalSignature

2003-11-06 Thread James Black
fred smith wrote: hi Pankaj. it seems verisign charges money for their jar file. i was really looking for some example on how to do this using free source code. so if anyone has an example of how to do a HelloWorld service that passes in String, encrypts is using XML encryption then returns

Re: XML Encryption w/ DigitalSignature

2003-11-06 Thread fred smith
hi Pankaj.  it seems verisign charges money for their jar file.  i was really looking for some example on how to do this using free source code.  so if anyone has an example of how to do a HelloWorld service that passes in String, encrypts is using XML encryption then returns the String digitally s

RE: Sending Array of DataHandlers to SOAP Service ??

2003-11-06 Thread I-Sampige, Srinivas
Have you tried sending your binary data as atrtachments? As I understand, the way you are doing it, the binary data is encoded as a part of the SOPA message which causes problems when large binary data is invloved. Here is whatI did on my service side to put the attachements in the response -

Method overloading

2003-11-06 Thread I-Sampige, Srinivas
Does SOAP support overloading? If I want to expose two methods- 1.sayHello(String firstName) 2.sayHello(String firstName, String lastName) Then how do I do it in AXIS. Can somebody point me to some samples and materials where I can learn more about this aspect

Problem with Axis and HTTPS/SSL

2003-11-06 Thread Andrew Davis
Our environment: RH Linux ES 2.1 Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_04-b01) Latest Axis Tomcat 4.1.27 mod_jk2 Apache 1.3.27 I have apache listening on ports 80 and 443. I'm using mod_rewrite to take all requests to port 80 and send them through the port 443 virtual hos

Re: help! No serializer found for class org.apache.axis.message.SOAPB odyElement

2003-11-06 Thread Junaid . Bhatra
Try using Vector elems = (Vector) call.invoke(input); instead of Vector elems = (Vector) call.invoke("processInboundData",input); The one that you are using is for calling an RPC-based service (I think). For doc-literal services, the "method" to invoke is based on the QName of the root-elem

AW: WSDD question - parameters that control WSDL generation ??

2003-11-06 Thread Thomas Bayer
Hallo Mark, yes these parameters control the WSDL generation using the WSDL Querystring. I don't know where documentation can be found. Perhaps that helps: wsdlPortType = name for the port type wsdlServiceElement = name for service element wsdlServicePort = name for the port wsdlTargetNamespace =

Re: help! No serializer found for class org.apache.axis.message.SOAPB odyElement

2003-11-06 Thread Andre Charbonneau
Hi, I think the problem is that you are trying to pass a data type for which there is no serializer implemented for by default in Axis. The list of default data types supported is: xsd:base64Binarybyte[] xsd:boolean boolean xsd:bytebyte xsd:dateTimejava.util.Calendar xsd:

Re: Web Services Documentation Format...

2003-11-06 Thread Doug Davis
I believe so - I'm not aware of any way to tell Axis what values to put in there. -Dug [EMAIL PROTECTED] on 11/06/2003 12:42:49 PM Please respond to [EMAIL PROTECTED] To:[EMAIL PROTECTED] cc: Subject:Re: Web Services Documentation Format... Dug, Thanks for the informat

help! No serializer found for class org.apache.axis.message.SOAPBodyElement

2003-11-06 Thread ial
Hi, Brand new to axis and we created a message service that takes in a Document and returns a Document. Our client code is below which we modeled off of the Hello World message sample shipped with Axis. We are now getting this exception with the client code below and do not know what to do. OUR SE

Re: Web Services Documentation Format...

2003-11-06 Thread Sumit_Babu
Dug, Thanks for the information. I have a AXIS based Web Service then, do I need to edit the generated WSDL file to add in the documentation? Thanks and Regards, <<<>>> <<<>>> <<<>>> <<<>>> <<<>>> <<<>>> <<<>>> <<<>>> <<<>>> <<<>>> Ring the bells that still can ring. Forget your perfe

Re: Web Services Documentation Format...

2003-11-06 Thread Doug Davis
Sumit, Try looking at: http://dwdemos.dfw.ibm.com/wstk/wsdldoc/index.html It makes use of the documentation tags in the wsdl. -Dug [EMAIL PROTECTED] on 11/06/2003 12:18:03 PM Please respond to [EMAIL PROTECTED] To:[EMAIL PROTECTED] cc: Subject:Web Services Documentation Format...

Re: XML Encryption w/ DigitalSignature

2003-11-06 Thread pankaj4oss
Check out http://www.j2ee-security.net/book/sample-chap/ and http://www.j2ee-security.net/book/dnldsrc/ The examples currently use VeriSign's TSIK but I will soon be porting them to use WSS4J. /Pankaj. > Hello. I have been fussing with this issue for some > time now and can't for the life of m

Web Services Documentation Format...

2003-11-06 Thread Sumit_Babu
Hi Guys, Is there any standard way to document a Web Services? What I mean is java has javadoc which generates a very good documentation interface. Is there any such equivalents in the Web Services world? Thanks, <<<>>> <<<>>> <<<>>> <<<>>> <<<>>> <<<>>> <<<>>> <<<>>> <<<>>> <<<>>> Ri

Re: tomcat and Axis

2003-11-06 Thread Mithun Sheshagiri
Jan: Sometimes the shutdown.bat/shutdown.sh does not work for some reason. I think, in your case, tomcat is still running. If you are running windows try looking for tomcat.exe in the Processes tab of task manager. Use ps for linux. hope this helps! mithun http://www.cs.umbc.edu/~mits1 [EM

Need help with authentication

2003-11-06 Thread Andre Charbonneau
Greetings, Here is the scenario: The user accesses a web page that is generated by a servlet. This is protected using form-based authentication. Then while generating this web page, this servlet needs to make a web service call (to get some data out of a database...). The web service is also p

jwsdp 1.3 or AXIS

2003-11-06 Thread Stuart Barlow
Any thoughts about the JWSDP 1.3 from Sun? Is it mature enough? Are the JavaWSDL/WSDL2WSDL tools working? Why are they shipping tomcat 5 when it is still in Beta? Why would I use AXIS over the JWSDP release from Sun? Ta, Stuart.

tomcat and Axis

2003-11-06 Thread Jan . Wegener
Hi everyone, i delpoyed a very simple Axis-WebService and try to consume it via a Client generated with the Sun WSDP. But everytime I try I get a java.net.ConnectException: Connection refused: connect and the Tomcat is shut down. Please let me know if anybody has an idea about this. Jan Wegene

java.lang.reflect.InvocationTargetException, Server.userException?

2003-11-06 Thread Christopher A. Brooks
Hi, I built a webservice, deployed it into tomcat/axis with no problems, but when I try to consume the web service I get back a soap fault indicating there was a java.lang.reflect.InvocationTargetException. Anyone have any suggestions for me on what I might have missed? It suggests to me that my

WSDD question - parameters that control WSDL generation ??

2003-11-06 Thread Mark D. Hansen
In looking through some of the sample and test cases related to the JAXRPC implementation (e.g., /samples/jaxrpc/hello, /test/wsdl/jaxrpchandler), I notice that some of the deployment files (.wsdd files) define services with parameter sub-elements having names like: wsdlServiceElement wsdlServi

XML Encryption w/ DigitalSignature

2003-11-06 Thread fred smith
Hello. I have been fussing with this issue for some time now and can't for the life of me figure it out. I am trying to make a very simple HelloWorld service that takes in a String as a parameter, uses XML encryption on it and returns the String back digitally signed by the server. Does anyone h

problem with RDF

2003-11-06 Thread Mithun Sheshagiri
Hi all, I am trying to enclose RDF in SOAP body of my response messages. The schema I am using for the RDF is as follows: http://stuff/IProvider.xsd"; xmlns:xsd="http://www.w3.org/2001/XMLSchema"; xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/";

Re: UDDI, WSIL Public URLs

2003-11-06 Thread Denero Watz
Thank you. But, xMethods UDDI find_tModel always returns empty records. Can someone confirm this. This is the response I got: --- Anne Thomas Manes <[EMAIL PROTECTED]> wrote: > You can find the access points of the public UDDI > Business Registry (UBR) here: > http://www.uddi.org/register.htm

Re: Parameter base class

2003-11-06 Thread Srinath Perera
Hi Jonathan; To me this is impossible. If you derived the class A from B. You have to specify B in the WSDL (Schema). (hope I haven't miss understood you) Srinath On Thu, 2003-11-06 at 17:27, Jonathan Melvin wrote: > I would like the java objects I am returning from a webservice to be > derived

Parameter base class

2003-11-06 Thread Jonathan Melvin
I would like the java objects I am returning from a webservice to be derived from a base class and the base class not to be visible in the WSDL. Can this be done easily? Jon M This e-mail may contain privileged and confidential information and should not be used by anyone who is not the origina

RE : Exception : BeanDeserializer (org.xml.sax.SAXException)

2003-11-06 Thread Olivier Lamy
Title: Message Thanks, But do you have other solutions ? I can accept don't having the new field in the old stubs. Is it possible ? Olivier -Message d'origine-De : Sherman, Dennis (END-CHI) [mailto:[EMAIL PROTECTED] Envoyé : mercredi 5 novembre 2003 20:14À : [EMAIL PROTE

IllegalArgumentException - Problem with Deserializer

2003-11-06 Thread Karthik krishnamurthy
Hi All, I'm getting the following error while trying to invoke the web service using the client. I've generated the client and server using WSDL2Java. 11:53:27,295 ERROR [BeanPropertyTarget] Could not convert org.apache.axis.types. URI to bean field 'value', type org.apache.axis.types.URI 11:53: