Axis 1.2

2004-10-21 Thread Kozlow, Jan
Has a formal release date been announced for axis 1.2?   If so, what is it?   thanks   jdk

RE: Book recommendations?

2004-10-21 Thread Rick Kellogg
The current list of books on Axis can be found at: http://nagoya.apache.org/wiki/apachewiki.cgi?AxisProjectPages/AxisBooks The current list of articles with Axis coverage can be found at: http://nagoya.apache.org/wiki/apachewiki.cgi?AxisProjectPages/Articles You are correct most of the books are

RE: Book recommendations?

2004-10-21 Thread Rick Kellogg
The current list of books on Axis can be found at: http://nagoya.apache.org/wiki/apachewiki.cgi?AxisProjectPages/AxisBooks The current list of articles with Axis coverage can be found at: http://nagoya.apache.org/wiki/apachewiki.cgi?AxisProjectPages/Articles You are correct most of the books are

RE: Does Axis support polymorphism (dynamic send back the derived class)

2004-10-21 Thread Zhou Jian Han
Hi Christophe, I tried many times on gsoap using -t, but it still send out message without xsi:type(maybe it's a gSoap bug), and I checked the other stuff, such as rpc/encoded, they all look right. Do you think it's because of without xsi:type, that the client can not generate the right object? Bu

RE: Does Axis support polymorphism (dynamic send back the derived class)

2004-10-21 Thread Christophe Roudet
I am sorry but have I have never used gsoap, so I can't help much more. Try to make a diff on the code generated by both commands. Also check that you are doing rpc/encoded style. http://schemas.xmlsoap.org/soap/http"/> http://schemas.xmlsoap.org/soap/encoding/"; namespace="xxx

RE: Does Axis support polymorphism (dynamic send back the derived class)

2004-10-21 Thread Zhou Jian Han
Sorry Christophe, I think I read the wrong one, the soapcpp2 does have -t to generates code to send typed messages, but why it doesn't work, does my command wrong? soapcpp2 -t polymorph.h It looks like the output is same as I don't specify -t. Thanks, Zhuojian -Original Message- From: Zho

RE: Does Axis support polymorphism (dynamic send back the derived class)

2004-10-21 Thread Zhou Jian Han
Hi Christophe, I tried use the comand: soapcpp2 -t polymorph.h but it does not generate any xsi:type attribute. server still transfer the same xml to client. And I read the User Guide, it looks like I need to specify file after -t, such as '-t file', so it will use type map file instead of the defa

WSDL2Java and xsd:any

2004-10-21 Thread Lee Coomber
Hi, I'm implementing a specification for a client and need to achieve a message on the wire along the lines of:- … … http://schemas.xmlsoap.org/ws/2004/04/security/trust/Issue … The operation takes a WS-Trust RequestSecurityToken, an embedded WS-Trust Supporting element and a custom t

RE: Book recommendations?

2004-10-21 Thread Brian Jackson
Googling for "0596005318 site:oreilly.com" returns two Excel spreadsheets that indicate May 1, 2005, but using pricescan.com, several vendors, including Walmart.com, claim 10/30/2004. -Original Message- From: Michael Schuerig [mailto:[EMAIL PROTECTED] Sent: Thursday, October 21, 2004 3:58

Re: Book recommendations?

2004-10-21 Thread Michael Schuerig
On Thursday 21 October 2004 18:05, [EMAIL PROTECTED] wrote: > There is also rumoured to be an O'Reilly > book coming out at the end of this month: "Programming Apache Axis". > However, although Amazon are accepting pre-orders, there is *no* > mention of it on the O'Reilly web site, other than in th

RE: Need to let axis check if parameter is null ?

2004-10-21 Thread Jairam, Roopnaraine
Please help -Original Message- From: Jairam, Roopnaraine Sent: Wednesday, October 20, 2004 10:40 AM To: [EMAIL PROTECTED] Cc: Apache AXIS C Developers List; Apache AXIS C User List Subject: RE: Need to let axis check if parameter is null ? Does anyone know how to implement a webservice w

RE: Does Axis support polymorphism (dynamic send back the derived class)

2004-10-21 Thread Christophe Roudet
When abstract is true, your java class must be declared abstract. It is not your case, so removed it. Try to use gsoap soapcpp2 with flag -t to have typed messages, so your messages will have xsi:type attributes. .. Cubicle 4 40 ... Christophe > -Original Message- > From: Zhou Jian Ha

Interop problem with Axis 1.2RC1 and MS SOAP Toolkit 3

2004-10-21 Thread Nicolás Lichtmaier
Hi, I'm new with both SOAP and Axis, and (of course) I'm having some troubles. I've published a simple service and I had some troubles when connecting from VB (SOAP toolkit). I've hand-editted the generated WSDL file and now it works. How can I make this work without manual tweaking? The edits I've

RE: Does Axis support polymorphism (dynamic send back the derived class)

2004-10-21 Thread Zhou Jian Han
Hi Christophe, According to your suggestion, I took out the inherited fileds. and I checked my PolymorphStub.java, it does include both Shape and Square, see below: public PolymorphStub(javax.xml.rpc.Service service) throws org.apache.axis.AxisFault { if (service == null) { sup

RE: Does Axis support polymorphism (dynamic send back the derived class)

2004-10-21 Thread Christophe Roudet
I don't think you have to declare the inherited fields sides and size in the derived type Square. Check if you have a serializer declared for Square in your generated stub. public XStub(javax.xml.rpc.Service service) throws org.apache.axis.AxisFault { if (service == null) { super

RE: Does Axis support polymorphism (dynamic send back the derived class)

2004-10-21 Thread Zhou Jian Han
Thanks for the reply. Yes, I did include all the types in .wsdl, and I also see wsdl2java generate all the java beans, such as Shape.java; Square.java (also Square is extended from Shape), so all the generated code look fine. The only problem is after the request come back from server, if I send a

RE: Does Axis support polymorphism (dynamic send back the derived class)

2004-10-21 Thread Christophe Roudet
If you generate your client from a wsdl (with wsdl2java) make sure that your derived types are declared in. Christophe > -Original Message- > From: Zhou Jian Han [mailto:[EMAIL PROTECTED] > Sent:

Re: AW: AW: Log4j - Problems

2004-10-21 Thread Enric Jaen
plz post the log4j messages you get with the -Dlog4j.debug flag.. You can also try to copy the log4j.properties file in your working directory and add the flag -Dlog4.configuration=file:./log4j.properties Try that together with the -Dlog4j.debug flag and post which messages you get.. Check

Does Axis support polymorphism (dynamic send back the derived class)

2004-10-21 Thread Zhou Jian Han
Hi, I have a based class named Shape, and a derived class named Square( Square extends Shape). Is that possible I declare a method in service: public Shape getShape(int type) throws RemoteException and send back the Square Object? By the way, I use gSoap(c/c++ soap) on server side, and apache Axi

AW: AW: Log4j - Problems

2004-10-21 Thread Florian Theurich
I enter: java -cp %AXISCLASSPATH% org.apache.axis.wsdl.WSDL2Java -s -d application -o c:\tools\test c:\tools\test.wsdl quite straightforward, I guess... -Ursprüngliche Nachricht- Von: Enric Jaen [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 21. Oktober 2004 18:04 An: [EMAIL PROTECTED

having problems with SOAP attachments

2004-10-21 Thread Jason Boehle
Hi all, I'm having some problems getting SOAP attachments working in my webservice, and was wondering Here are the relevant snippets from the WSDL: ~~~ http://schemas.xmlsoap.org/wsdl/"; xmlns:xsd="http://www.w3.org/2001/XMLSchema"; xmlns:soap="http://schemas.xmlso

Re: AW: Log4j - Problems

2004-10-21 Thread Enric Jaen
Can u plz post the command you try to run? Also, use -Dlog4j.debug to see in the stdout detailed info about your log4j configuration. You should see sthing like this (but not exactly the same): log4j: Using URL [file:log4j.properties] for automatic log4j configuration. log4j: Reading configuration

Hiding JavaBean accessor methods?

2004-10-21 Thread Brian Jackson
Is there a way to hide properties (getters/setters) from Axis?  I’ve added a new method Map getAnswersByID() to my object Question.  This is for JSTL purposes so I can’t make it private or hide it using BeanInfo.  But Axis insists on serializing the Map as if it were a bean property, even t

Re: Book recommendations?

2004-10-21 Thread tony . q . weddle
By the way, "J2EE Web Services" is primarily concerned with web services that conform to WS-I Basic Profile 1.0. It doesn't mention non-conformant APIs or technologies, unless it is likely to be covered by a later version of the profile (in which case, appendixes are used to describe them). There

AW: Log4j - Problems

2004-10-21 Thread Florian Theurich
Now I'm sort of confused: I've downloaded axis1.1 and resin3.0 C:\resin3.0 C:\axis1.1 I copied the axis webapp to the webapps folder of resin3.0 as well as all needed libs to the \lib folder My classpath however still points to c:\axis1.1\lib as it was suggested in the manual My log4j.propert

Re: AW: Log4j - Problems

2004-10-21 Thread karim
<>Try to put the log4j.properties file into WEB-INF/classes repository and it'll works I think.

RE: Log4j - Problems

2004-10-21 Thread Arijit Mukherjee
Title: Message Pls correct me if I am wrong, but doesn't the log4j.properties go into WEB-INF/classes? Or should it just be anywhere on the classpath?   Arijit From: Florian Theurich [mailto:[EMAIL PROTECTED] Sent: 21 October 2004 16:25To: [EMAIL PROTECTED]Subject: AW: Log4j -

AW: Log4j - Problems

2004-10-21 Thread Florian Theurich
Title: Message I know nothing about a logger org.apache.axis.i18n.ProjectResourceBundle my log4j.xml   I did not change anything after having downloaded axis1.2_beta   I do not have a log4j.xml, but a log4j.properties in the \lib-folder   It contains the following   # Set root categ

Re: How to publish two class with one WSDL?

2004-10-21 Thread Dacheng
Thank you for your example. They are very useful. :-) Thanks again Sincerely Dacheng - Original Message - From: "Adrian Perez Jorge" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, October 21, 2004 4:05 PM Subject: Re: How to publish two class with one WSDL? > Dacheng wrot

Re: Book recommendations?

2004-10-21 Thread Michael Schuerig
Thanks for the comments and recommendations. I'll have a look at the other mentioned books. Michael -- Michael Schuerig Failures to use one's frontal lobes mailto:[EMAIL PROTECTED]can result in the loss of them. http://www.schuerig.de/michael/ --William H. Calvin

Re: How to publish two class with one WSDL?

2004-10-21 Thread Adrian Perez Jorge
c) generate WSDL for ClassB merging ClassB's WSDL: Sorry... It was: c) generate WSDL for ClassB merging ClassA's WSDL: Excuse me for the inconvenience. Adrian P.J.

RE: Log4j - Problems

2004-10-21 Thread Oleg Lebedev
Title: Message Based on the warning, I would think that you have a logger org.apache.axis.i18n.ProjectResourceBundle declared in your log4j.xml, but it does not have any appenders associated with it. you need to have smth like this:   org.apache.axis.i18n.ProjectResourceBundle" additivity="f

Re: How to publish two class with one WSDL?

2004-10-21 Thread Adrian Perez Jorge
Dacheng wrote: Can you do me a favor to give me an example? Sure. I have included ClassA and ClassB source code as examples. Command lines follows. a) put .java files in src/ directory and compile source samples from src/ directory to build/ directory, incluing debug information: javac -g -

Log4j - Problems

2004-10-21 Thread Florian Theurich
Is there anybody out there who can tell me why I get following exception when either running Java2WSDL or WSDL2Java:   log4j: WARN No appenders could be found for logger (org.apache.axis.i18n.ProjectResourceBundle) log4j: WARN Please initialize the log4j system properly   I have a log4

RE: what is the meaning of this??

2004-10-21 Thread Arijit Mukherjee
That's odd. http://localhost:5050/axis/services/MIRAccessService"/> A target like this generates the WSD

Interface extraction

2004-10-21 Thread Brian Jackson
Is there a way to write a WSDL that WSDL2Java will create interfaces with concrete implementations?  I have an interface “Answer” with an implementation class “ConcreteAnswer”.  I’d like Axis to serialize any Answer and deserialize the Answer into ConcreteAnswer cast as an Answer.  Is that

Serializer bug? (Axis 1.2 RC1)

2004-10-21 Thread Silvano Maffeis
Hi. In Axis 1.2 RC1 I defined the following WSDL sequence: as well as a simple "ping" operation returning a StringArray: Now, if my WebService returns a StringArray holding a zero sized String[]: return new StringArray(new String[0]) my "ping" client actually will receive

Immutable objects?

2004-10-21 Thread Brian Jackson
Does anyone know how to serialize/deserialize immutable objects?  I’d prefer that the objects Axis deserializes not have setters.  Is that possible?   Brian

RE: what is the meaning of this??

2004-10-21 Thread Koney, Satish
My service classs is as below: package com.sat.dao.hibernate; import java.util.List; import com.sat.dao.RoleDAO; import com.sat.model.User; import com.sat.model.Role; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.springframework.orm.hibernate.su

RE: what is the meaning of this??

2004-10-21 Thread Arijit Mukherjee
Mind posting your java class? Arijit >-Original Message- >From: Koney, Satish [mailto:[EMAIL PROTECTED] >Sent: 21 October 2004 14:32 >To: [EMAIL PROTECTED] >Subject: RE: what is the meaning of this?? > >But i am getting this problem while generating WSDL file I >have only one java clas

RE: what is the meaning of this??

2004-10-21 Thread Koney, Satish
But i am getting this problem while generating WSDL file I have only one java class which acts as a service. >From that i am trying to create WSDL file.. at that time i am getting that error > -Original Message- > From: Arijit Mukherjee [SMTP:[EMAIL PROTECTED] > Sent: Thursday, October 21

RE: what is the meaning of this??

2004-10-21 Thread Arijit Mukherjee
Guess this comes from your XSD/WSDL file. Use this: xmlns:xs="http://www.w3.org/2001/XMLSchema"; Arijit >-Original Message- >From: Koney, Satish [mailto:[EMAIL PROTECTED] >Sent: 21 October 2004 14:11 >To: [EMAIL PROTECTED] >Subject: what is the meaning of this?? > >Can someone explaing

what is the meaning of this??

2004-10-21 Thread Koney, Satish
Can someone explaing the reason and how to solve this??? WSDLException: faultCode=OTHER_ERROR: Can't find prefix for 'http://www.w3.org/1 999/XMLSchema'. Namespace prefixes must be set on the Definition object using th e addNamespace(...) method.: Conf

very basic thing: array for return

2004-10-21 Thread Axel Burwitz
Hi, sorry for boring with a very basic question, but I cannot solve it.. want get back an int array from my web service. In the call, after some testing , reading, trying, I have set for "setReturnType" now "Constants.SOAP_ARRAY" (I am far from being sure...) But when I start the call, it gets "

Re: How to publish two class with one WSDL?

2004-10-21 Thread Dacheng
Can you do me a favor to give me an example? Cheers Dacheng - Original Message - From: "Adrian Perez Jorge" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, October 21, 2004 9:34 AM Subject: Re: How to publish two class with one WSDL? > > Hi, > > Use --input option of Java

deserializer problem

2004-10-21 Thread Dmitriy Shestakov
Hi! I have a problem on deserialization of answer. I have wsdl with following element description --- As you see, I supposed to receive byte array result in base64Binar

Re: Book recommendations?

2004-10-21 Thread Marcel Schepers
Its called 'Web Service Patterns Java Edition' by Paul Monday (ISBN1-59059-084-8). SourceBeat.com has also a book about Axis, check out http://www.sourcebeat.com/TitleAction.do?id=1 Marcel On Thu, 2004-10-21 at 13:35, [EMAIL PROTECTED] wrote: > I remeber a book named web services patterns. It us

Re: Deserializer probel with Style=document

2004-10-21 Thread Hector Flores
I suggest you first try upgrading to the latest axis (1.2 rc1) which has much better doc/lit support. If it doesn't work under axis 1.2, then I would suspect a wsdl error. Raul Martin Fernandes wrote: Hi,   I m using axis1.1 for my current porject. In my wsdl, I use encoding sty

Re: return null Object

2004-10-21 Thread t-online
Try the classes i have appended. don't forget to change the url in SoapUserServiceLocater.java I used your wsdd to deploy. -Ursprüngliche Nachricht- Von: Marco Rossi <[EMAIL PROTECTED]> An: [EMAIL PROTECTED] <[EMAIL PROTECTED]> Datum: Donnerstag, 21. Oktober 2004 11:56 Betreff: Re: return

Re: Book recommendations?

2004-10-21 Thread damitha
I remeber a book named web services patterns. It use axis java for its samples damitha > if you don't mind reading a german book, look for > 'Java Web Services mit Apache Axis' ISBN 3-935042-57-4 Software&Support > Verlag GmbH > It is focused an Axis and helps a lot. > > Karl-Heinz > > > I'm lo

RE: No such operation problem

2004-10-21 Thread Koney, Satish
i had similar problem while deploying a service which does not take any params. see the SOAP request message using tcpmon...and make sure that it has got all and only params that are required by the service. > -Original Message- > From: Tudor Vintilescu [SMTP:[EMAIL PROTECTED] > Sent: Thu

Re: No such operation problem

2004-10-21 Thread babloosony
how did u get my email id ... On Thu, 21 Oct 2004 13:33:58 +0300, Tudor Vintilescu <[EMAIL PROTECTED]> wrote: > Hi there. > > I have a problem when trying to call a method. I've used wsdl2java to > create the java classes (and interf.) for the service, i've compiled > them and deployed them on m

No such operation problem

2004-10-21 Thread Tudor Vintilescu
Hi there. I have a problem when trying to call a method. I've used wsdl2java to create the java classes (and interf.) for the service, i've compiled them and deployed them on my tomcat server. When I'm exploring the Axis service from the browser, all is fine. I can see the service deployed, with

Re: Book recommendations?

2004-10-21 Thread t-online
if you don't mind reading a german book, look for 'Java Web Services mit Apache Axis' ISBN 3-935042-57-4 Software&Support Verlag GmbH It is focused an Axis and helps a lot. Karl-Heinz I'm looking on a good book on web services that goes into the nitty-gritty details and has broad coverage as w

Re: return null Object

2004-10-21 Thread Marco Rossi
It doesn't work. This is the source: public class SoapUser { public SimpleUser findNameByPK(int id){ SimpleUser simpleUser = new SimpleUser(); UserService userService = new UserService(); WeseUser user = userService.getByPrimaryKey(1); simpleUse

RE: how to get rid of these warnings?

2004-10-21 Thread Arijit Mukherjee
Further to what Tami has mentioned - You can use your ORM objects within your service - I mean send an object to your service so that it is saved by hibernate in your DB or retrive an object - but that requires a document oriented approach. Define your objects in an xsd schema, use that in your

Error when using WSDL2Java and Java2WSDL

2004-10-21 Thread Florian Theurich
Hi there,   when starting with Axis I created a class that returns Arrays of JavaBeans which itself contain simple types and also Arrays of Strings.   I deployed this service with server_config.wsdd containing type-mappings and bean-mappings   When calling methods within the browser

Re: Book recommendations?

2004-10-21 Thread tony . q . weddle
They're both good. "Building Web Services with Java" has a section on Axis, which the other one doesn't. "J2EE Web Services" has better coverage of XML schema. I haven't read through all sections of each but they both have something to offer. If you need some Axis coverage, get the first. Tony I

Book recommendations?

2004-10-21 Thread Michael Schuerig
I'm looking on a good book on web services that goes into the nitty-gritty details and has broad coverage as well. By necessity it'll be a big book. The recommended readings from the Axis docs seem to be slightly out of date. Looking around I narrowed my focus on these two Steve Graham et al.

How to process huge byte arrays

2004-10-21 Thread Ivan Venuti
Hi, I'd like to use a service with a byte array as parameter. I don't know the size of it and I'd like to process it without retriving all data in memory. Can you suggest a way to achieve it? Thanks to all -- Ivan

Re: How to publish two class with one WSDL?

2004-10-21 Thread Adrian Perez Jorge
Hi, Use --input option of Java2WSDL; you will have to generate the wsdl for class A, then generate wsdl for class B but include A's wsdl file with --input. If you have also a class C then you will have to generate C's wsdl including B's wsdl using --input, and so on. Having a single WSDL fil

wsdl WS-I basic profile compliant file

2004-10-21 Thread Pascal Prioux
Hi, my question is fairly simple How can i do to generate a WSI-I basic profile compliant file from my java files : What are the parameters of the ant task (i use style="document" and use="literal") ? Whe i run the wscompile tool from the JME Wireless ToolKit 2.2 i'have the following errors

Re: return null Object

2004-10-21 Thread karim
Marco Rossi wrote: I try to create a ws with axis and Tomcat 4. I want that my ws return a simple object, something like this: Class SimpleObject{ private String name; public String getName(){ return name; } public void setName(String name){ this.name = name;

return null Object

2004-10-21 Thread Marco Rossi
I try to create a ws with axis and Tomcat 4. I want that my ws return a simple object, something like this: Class SimpleObject{ private String name; public String getName(){ return name; } public void setName(String name){ this.name = name; } } My start c

Deserializer probel with Style=document

2004-10-21 Thread Martin Fernandes
Hi,   I m using axis1.1 for my current porject. In my wsdl, I use encoding style as document. I m able to deploy the services using depoly.wsdd file which created when  I use  WSDLToJava command. But the problem is this service get deployed still the server is running. When i restart the ser

java.lang.OutOfMemoryError in WSDL2Java

2004-10-21 Thread NGUYEN Tuan anh
Hi, I'm using Axis 1.1 to create a webservice. I started with a WSDL file which import a XML schema A, the schema A includes another schema B who include A (A includes B and B includes A). When I use WSDL2Java to generate java files, I've got a java.lang.OutOfMemoryError error while parsing the wsd