Re: Newbie with EJB/web service problem

2005-02-09 Thread Peter Smith
I have also thought about putting a service-endpoint into ejb-jar.xml, but by now I am so confused I'm not sure which direction I should be heading. I haven't done any more than expose a simple EJB like in the Axis sample (I used Interstage EJB container with Axis.war deployed to it). If my u

Re: Aw: Re: Aw: Re: log4j:WARN message

2005-02-06 Thread Peter Smith
In addition to what was described in the install guide I found I needed to add the following to AXISCLASSPATH so I could run the samples. (But that was for Axis 1.2beta3): %AXIS_LIB%\wsdl4j.jar;%AXIS_LIB%\xmlParserAPIs.jar;%AXIS_HOME% Peter This is an email from Fujitsu Australia Software Te

Re: Aw: Re: log4j:WARN message

2005-02-06 Thread Peter Smith
I run the example stockquote using the following command: java -cp "%AXISCLASSPATH%" samples.stock.GetQuote -lhttp://localhost:8080/axis/servlet/AxisServlet -uuser1 -wpass1 XXX Result: Exception in thread "main" java.lang.NoClassDefFoundError: samples/stock/GetQuote Could anybody tell me whats

Re: Standalone Java web services server

2005-01-20 Thread Peter Smith
I think previous email is referring to http://wiki.apache.org/ws/SimpleAxisServer Peter Tim K. (Gmane) wrote: Axis has a built-in minimal HTTP server from what I read, but I never used it so I don't know the details. Look into it a little bit and see if it will work for you. Tim Douglas Kunzma

Re: Web Service with state

2004-12-22 Thread Peter Smith
Have read that web service has to be state-less. Why is that? Where did you read that? Maybe it's a hint which should be followed if possible, but nothing more IMHO. >From J2EE1.4 web services point of view this is not a "hint" at all See "Web Services for J2EE, Ve

Axis Wiki ?? Where did it go??

2004-12-22 Thread Peter Smith
page (http://wiki.apache.org/general) What's the story? Are the previous Axis wiki pages available elsewhere? Thanks. -- Peter Smith This is an email from Fujitsu Australia Software Technology Pty Ltd, ABN 27 003 693 481. It is confidential to the ordinary user of the email address

Re: Differences between the AdminClient and axis-admin Ant Task

2004-12-07 Thread Peter Smith
I successfully am using url instead of servletpath in the admin-task. For example:         url=""     xmlfile="${src.dir}/${myws.pkg.dir}/deploy.wsdd"     >     Cheers, Peter. William Ferguson wrote: Anyone have any ideas why the following AdminClient com

Re: Looking for description of the axis-admin Ant Task

2004-12-07 Thread Peter Smith
nsmit, distribute or commercialise the material if you are authorised to do so. The Hubbub Group gives no warranty as to the accuracy, reliability or completeness of information in this e-mail unless stated to the contrary.   -- Peter Smith Senior Software Development Engineer Fujitsu Aust

Re: How to get the int returned from the service

2004-11-17 Thread Peter Smith
> 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(); Or this int a = ((Integer)call.invoke(new Objec

Axis GUIs?

2004-10-24 Thread Peter Smith
Hi,   I am trying to find any information about Axis1.2 GUIs.   Can anybody help me by commenting on the following...     WSDL editing   * No such GUI comes with Axis. Right?   * But there are a number of WSDL editors/wizards/validators. For example, here is a list from t

Handler destroy() method - when?

2004-10-20 Thread Peter Smith
I was experimenting with a trivial implementation of javax.xml.rpc.Handler (it does nothing except say hello from each API). I wrapped it with one of those axis JAXRPCHandler components and added the following (in server-config.xml) to one of my services       

Re: WSDD files for EJB web services

2004-10-18 Thread Peter Smith
> > My questions are: > > > > Q. When exposing an EJB as an axis web service do I have to always > > *manually* make the WSDD file or can I somehow make an appropriate > > one using wsdl2java. > > You can use XDoclet (xdoclet.sf.net) axis support to build your .wsdd > files from your source code ja

WSDD files for EJB web services

2004-10-17 Thread Peter Smith
Hi,   I was able to deploy a simple EJB and then deploy an axis service exposing it. The simple WSDD file I manually created and used for the axis deployment is as follows.   http://xml.apache.org/axis/wsdd/"    xmlns:java="http://xml.apache.org/axis/ws

Re: capturing SOAP XML in a client for debug?

2004-10-12 Thread Peter Smith
SOAP XML in a client for debug? > Thanks, now if only createCall wasn't private so I could do this in a > subclass instead of having to alter generated code. > > Cheers > Simon > > > -Original Message- > > From: Peter Smith [mailto:[EMAIL PROTECTED] >

Re: capturing SOAP XML in a client for debug?

2004-10-11 Thread Peter Smith
I could achieve the same thing programatically by simply modifying the generated Stub as follows: BEFORE public int times(int in0, int in1) throws java.rmi.RemoteException { if (super.cachedEndpoint == null) { throw new org.apache.axis.NoEndPointException(); }

Deprecrated APIs in axis compile

2004-10-10 Thread Peter Smith
Hi,   I am using axis-1_2beta3 and java version "1.4.1_03".   When building axis from source using "ant compile" I get quite a few deprecation warnings. See below. I noticed the "Developer Guide" says use "1.3.1 JDK (or later)" so I'm guessing the deprecated APIs are deliberately used still

Re: problem getting java2wsdl ant task to be created

2004-10-07 Thread Peter Smith
I think the task is called "axis-java2wsdl"; not "java2wsdl". Refer to the axis-tasks.properties file in your axis-ant.jar and/or the documentation in /docs/ant Cheers, Peter. - Original Message - From: "James Black" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, October 08,

Re: axis-1_2beta3 - "functional-test" failures

2004-10-05 Thread Peter Smith
w.whitemesa.net/soap12/add-test-doc-int-uc?WSDL"; is valid or > not. Unfortunately that URL doesn't seem to be valid anymore. I think > because of this reason test case is failing. > > regards, > jayachandra > > > On Fri, 1 Oct 2004 11:37:00 +

Re: axis-1_2beta3 - "functional-test" failures

2004-09-30 Thread Peter Smith
?WSDL in the testSoap12AddTestDocUpperPortWSDL test. If anybody knows of some other/better way I can make get this test to work via a proxy server please let me know. Thanks, Peter. - Original Message - From: "Peter Smith" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTE

axis-1_2beta3 - "functional-test" failures

2004-09-28 Thread Peter Smith
Hi, (newbie question) Has anybody else encountered problems running the Axis12beta3 "functional-tests" ? For example, ant clean ant functional-tests (My Axis binaries are built from source but I haven't made changes to the original source code) My environment is - axis-1_2beta3 - Win200 svr -