Re: Does Axis support polymorphism?

2005-06-21 Thread Anne Thomas Manes
Yes -- for interoperability reasons. Axis and other Java-based systems can handle abstract types pretty easily, but other languages have a lot more trouble with them. Web services should work with concrete XML structures. Anne On 6/20/05, Steven Smith <[EMAIL PROTECTED]> wrote: > > Anne, >

No serializer found for return-type

2005-06-21 Thread Wille Faler
Hi, I am getting the following exception: java.io.IOException: No serializer found for class com.somecompany.stockquote.Quote in registry [EMAIL PROTECTED] Basically, the Service gets invoked (I see this from the log), but for some reason it cannot find a serializer even though a serializer is se

Re: WSDL2Java http://util.java

2005-06-21 Thread Anne Thomas Manes
No Ollie, it's more than that. wsdl2java is expecting to find a complex type definition with a name of "Properties" in a schema with a targetNamespace of "http://util.java";. You can't use namespace declarations and schema imports to import JAR files. All elements and complex types must be defined

WSDL2Java http://util.java

2005-06-21 Thread Michael Oliver
I am trying to run WSDL2Java  I won’t post the WSDL file here unless someone thinks I should.  I don’t think the problem is with the WSDL file itself.   When I run WSDL2Java from ant, both with an ant task and with an ant Java task  I am getting an error similar to:     [axis-wsdl2java

Re: Correct usage of wsdl:part/@element for doc/literal

2005-06-21 Thread Anne Thomas Manes
You need to define an element in your schema (rather than just a type), and reference this element from your description. You need to do the same for your input message. And rather than using the unwrapped document style, I recommend that you use the wrapped document style, which means that you sh

Re: No Operation

2005-06-21 Thread Anne Thomas Manes
How did you define your WSDL? Do you have a schema of your XML data? If so, you want to make sure that your input message definition points to the root element of this XML data schema. If you don't have a schema of the data, then your input message should specify something like: Of course, if y

Re: [Axis2] RESTful WebServices

2005-06-21 Thread Abdulla, John
Does anyone have any sample code on how this is done. I'm have written lots of Web Services in .NET but am a newbie to Web Services in Java. I have created a Web Service and deployed it to JRun. How do I go about configuring my web service so that it supports REST ? Any sample code for the clie

Retrieving original data

2005-06-21 Thread Laura Baño
Hi there,   I’m working with axis 1_2RC3 with xml documents. I wonder how to preserve the original data, so it isn’t omitted the namespaces that have appeared before. Is there any way to get this? The matter is the next one:         RequestID="0001" xmlns:ds="http://www.w3.org/2000/09/

WSDL and multiple port types

2005-06-21 Thread Flores, Raul
Title: WSDL and multiple port types Hello, I have defined two Ports in my WSDL file (doc/lit) and thus two addresses: localhost/dataService (dWS)  and localhost/adminService (aWS) The set of operations for dWS includes a login operation. Under Tomcat, I can login to dWS and use the return

Correct usage of wsdl:part/@element for doc/literal

2005-06-21 Thread Z Ellmy
I'm trying to compose a valid doc/literal WSDL but I'm having trouble. If I use: this works and I can generate stubs and bindings but SOAPScope and other tools clue me that this violates WS-I Basic Profile: Missing "element" attribute - Wsdl:part phone does not have an "element" attribute

RE: AXIS 1.2 / OSCAR - How to automate server services deployment

2005-06-21 Thread Ephemeris Lappis
Thanks for this first start point. I'll have a look at the sources... I confess i'd hoped a little bit more... Thanks anyway. >>> -Original Message- >>> From: Mike Barton [mailto:[EMAIL PROTECTED] >>> Sent: Tuesday, June 21, 2005 4:56 PM >>> To: axis-user@ws.apache.org >>> Subject: Re: AXI

NoClassDefFoundError: javax/activation/DataSource in axis-java2wsdl

2005-06-21 Thread Alessandro Malgaroli
Hi all. Using axis 1.2 final, we're facing a strange "NoClassDefFoundError" while running axis-java2wsdl ant task. the task declaration in our build.xml is as follows: The refid for "cc.classpath" is as follows: The path "axis.classpath" contains all JARs in axis "lib" dir

Can a classcast exception be caused by a malformed WSDL?

2005-06-21 Thread Patrick Quinn
Hi I'm receiving a java.lang.ClassCastException as an exception when attempting a 'wrapped' style service call. Could this be a WSDL problem, or is it more likely to be down to other factors? Any help gratefully received again - as I am dealing with a customer's WSDL, and am not that familiar w

No Operation

2005-06-21 Thread Niall McLoughlin
Greetings, I am calling an existing webservice with no operations defined. We simply pass some xml. The server expects the request to look like this: Re: AXIS 1.2 / OSCAR - How to automate server services deployment
I would recommend that you start looking at AxisEngine and WSDDGlobalConfiguration to better understand how Axis manages deployments. As for partitioning, it all depends on your requirements. From an ease of management perspective, I would suggest using a single instance of Axis, managing mult

Re: BasicHandler and real path

just thought I'd mention, you can do it also via: call.setProperty("configFile", servletContext.getAttribute ("configFile")); but then you have to initialise the handler in it's invoke method which seems naff! Alistair On 21 Jun 2005, at 15:43, Alistair Young wrote: managed it via the

Re: BasicHandler and real path

managed it via the dynamic handler setting: HandlerInfo info = new HandlerInfo(MyHandler.class, null, null); HashMap map = new HashMap(); map.put("configFile", servletContext.getAttribute("configFile")); info.setHandlerConfig(map); the javax.xml.rpc.handler.Handler can then get access to real in

axis1.2.1 bug or incompatibility with axis1.2rc3

Hello there,   I’m using WSDL2Java tool with the attached file. If I use axis1.2_RC3 it works fine but it doesn’t work either axis1.2 or 1.2.1. The problem with both of them is:   java.io.IOException: Type {http://www.w3.org/2000/09/xmldsig#}SignatureProperty is referenced but no t def

Creating a java-WebService based on Interfaces?

Hello,   in the past i wrote some POJO’s, define the interface and runs java2wsdl to create the wsdl file. But there is always the problem, that a specific implementation defines the entity. Is it possible to define an interface for each entity to decouple the definition form the implemen

Re: BasicHandler and real path

thanks for that. I'm using JAXRPCHandler though as Axis BasicHandler doesn't seem to be able to be used as a client-side handler. The jaxrpc MessageContext is almost empty and has almost no functionality compared with the Axis version. I converted the jaxrpc handler to BasicHandler but the

Re: BasicHandler and real path

Should be able to do this in the Handler... AxisHttpSession session = (AxisHttpSession) MessageContext.getCurrentContext().getSession(); HttpSession httpsession = session.getRep(); String propertiesUrn = httpsession.getServletContext().getRealPath("/WEB-INF/properties/somefile.properties"); Hope

Benchmark

Hi, I m currently trying the last release of Axis on OC4J . Do you have any benchmark of axis against some others ws engines ? Of where can I find it ? Thanks in advance Alexandre

BasicHandler and real path

Is there any way a BasicHandler or a jax-rpc Handler can find out the real path of a file? where servlets have getRealPath, do handlers have anything similar? Otherwise there's no way for a handler to load it's config file without specifying the full path in the wsdd as a . ta, Alistair

DotNetInterop examples

Title: DotNetInterop examples Hi, I'm working on an interop problem with AXIS 1.2 and .NET (See my thread "AXIS 1.2 and MS VB interop (arrays)") I've found some examples that are mentioned in the list some time before but the link http://dinoch.dyndns.org:7070/axis1.2/AboutArrays2.jsp on

Element attribute w/ custom simpleType error? (resend)

I don't know if what I'm running into is a bug or a feature, but I thought I'd bring it up in case it hasn't been noticed before. If you create a WSDL similar to the one below in wrapped/literal style, you will not be able to create a complexType whose attribute is of a custom simpleType. In the

RE: complextype in ant task ( java2wsdl )

die works thank you Harry Am Dienstag, den 21.06.2005, 14:01 +0200 schrieb Ephemeris Lappis:  Hello. I think you're talking about what i've reported few weeks ago in the JIRA 1987. The only workaround i know and use is to add the classpath dependancies in the path of

Re: X.509 Token Profile HandsOn with WSS4J and AXIS

look at the wsdd's in the interop directory. pay attention to the comments there. -- dims On 6/21/05, Kumar <[EMAIL PROTECTED]> wrote: > Hi All, > > I am newbie to WSS4J. Can anyone please point me to any handson > tutorials of how to implement X.509 Token Profile using WSS4J and > AXIS. > > Th

X.509 Token Profile HandsOn with WSS4J and AXIS

Hi All, I am newbie to WSS4J. Can anyone please point me to any handson tutorials of how to implement X.509 Token Profile using WSS4J and AXIS. Thanks & Regards, Kumar.

Using of DataHandler

Hi,   I’am trying to use a Data Handler to send a serialized object to my server. On the Client Side I try to serialize my object:   Client Side:   //Gets the CContentService     CContentServiceServiceLocator csLocator =     new CContentServiceServiceLocator();   

Re: Axis 1.2 and java 1.3 SE or EE ?

Axis based client does not need any J2EE features. On 6/21/05, Kozikowski Miroslaw <[EMAIL PROTECTED]> wrote: > > > > Hello, > > > > I'm working on an Webservice Client 9 ( Axis 1,2 based ) for Oracle 9.2 > database. I have working application… > > but Oracle support claims that it

RE: complextype in ant task ( java2wsdl )

 Hello. I think you're talking about what i've reported few weeks ago in the JIRA 1987. The only workaround i know and use is to add the classpath dependancies in the path of the java2wsdl/wsdl2java taskdef. It works when these task are used once in a script, but is a bigger issue when they

complextype in ant task ( java2wsdl )

hy!!! i have troubles using complextypes in java2wsdl-tasks here is the ant build file: description="Generates the WSDL file from Sms.java"> output="${local.wsdl}" location="http://${target.server}:${target.port}/axis/services/WS-Test" namespace="urn:sms" classname="at.co

AXIS 1.2 / OSCAR - How to automate server services deployment

Hello. I'm working on a test to evaluate the difficulty level of an automated service deployment in an axis server embeded in an OSGi bundle... I've quickly made a first prototype of server side deployment descriptor generation, starting with a wsdl input and a given implementation class. This fi

"soapenv:encodingStyle": duplicate attribute

Hello,   I have an application that is using axis 1.2.1 to access .net remoting objects. Sometimes, when two threads are concurrently making calls, the axis engine duplicates the "soapenv:encodingStyle" attribute, causing a .net exception at server side:     2005-06-21 12:00:21,171

Validating of proper attachment type

Hi all, I would like to validate the attached file. (eg) I would like to validate if the attached file is only xml . The client will use dataHandler to send the file as an attachment. The service has to verify if the attached file is only xml only then accept it else through with an error. I

Re: WSS4J : java.lang.IllegalAccessError: tried to access method org.apache.axis.SOAPPart.setCurrentMessage

Ok, it works, thx. But I use Eclipse to develop more complex web services client and Eclipse WebTools doesn't support Axis 1.2.1 I'll have to wait for the next release of Webtools(1st of July I think) if I want to continue to use Eclipse. Davanum Srinivas wrote: Use Axis 1.2.1 On 6/16/05, H

restrict axis to override the Attached filenames .

HI all, I would like to configure the filenames when axis tries to store the file in the configured attachment folder. It uses default handler for generating filename? . How do I restrict axis to override the filenames . Thanks and Regards, krthekeyan.s

AXIS 1.2 and MS VB interop (arrays)

Title: AXIS 1.2 and MS VB interop (arrays) Hello All, I'm new to the list and when I've searched the archive I''ve found a lot of stuff that seems to be related to my problems. It would be nice if somebody could give me a hint where to look exactly. Here's my problem: We have a system that

Axis 1.2 and java 1.3 SE or EE ?

Hello,    I’m working on an Webservice Client 9 ( Axis 1,2 based ) for Oracle 9.2 database. I have working application…  but Oracle support claims that it won’t work properly because  my SOAP client is not Java 1.3 SE platform compliant  and it requires EE platform …..   Are they right

RE: soap:address

Hi Not sure what happened with that previous post there! Thanks Anne for your reply about the soap address - obvious, really :-) It's just that I've seen a couple of broken ones recently which confused me. Also, I've seen 'localhost' specified a few times - I guess production WSDLs will give a sp