Axis and xsd validation

2005-02-02 Thread Bharadwaj, Jyotsna
Title: Axis and xsd validation Hi I am using axis-1_2RC2 .I want to validate my webservice against the xsd in the wsdl.But axis does not seem to support that . Is that true? If yes than what is the workaround for doing these validations example "NILLABLE" etc. regds Jyotsna

Re: How to serialize elements of Vector independently in Axis

2005-02-02 Thread Suresh Avadhanula
Thanks for the info. I will give it a shot. -Suresh On Wed, 2 Feb 2005 14:14:25 -0600, Brown, Mike <[EMAIL PROTECTED]> wrote: > Currently Axis does not support vectors (that may change when they support > JDK 1.5 which has generic-based vectors). > > They do accept arrays of objects but the ar

Axis Application scope and MBean

2005-02-02 Thread A Szena
Hi All, I am creating a web service from an existing MBean that I run under JBoss 4.0. When JBoss starts up, it instantiates an instance of the MBean. Following is the Axis configuration of my service: I have the scope set to "Application" as I want only one instance of my class create

Re: "JRE 1.5 "enum" is a Reserved Word" Does Axis Comply withthis rule?

2005-02-02 Thread Davanum Srinivas
Carsten, you can replace xxx.enum.yyy with xxx.constants.yyyYes, Axis code has to be compiled with 1.3/1.4. Not all production level app servers have moved to JDK1.5 you know :) -- dims On Thu, 3 Feb 2005 14:10:50 +1100, Carsten Friedrich <[EMAIL PROTECTED]> wrote: > > The main problem with

SV: [SPAM] How to deploy related classes?

2005-02-02 Thread Stig Rasmussen
Putting the jdbc jar file in my axis\WEB-INF\lib worked - thanks Kraig! /Stig P. -Oprindelig meddelelse- Fra: Kraig [mailto:[EMAIL PROTECTED] Sendt: 2. februar 2005 14:45 Til: [EMAIL PROTECTED] Emne: Re: [SPAM] How to deploy related classes? Make sure to create the appropriate sub-direc

RE: "JRE 1.5 "enum" is a Reserved Word" Does Axis Comply withthis rule?

2005-02-02 Thread Carsten Friedrich
> The main problem with JRE 1.5 is that it implements DOM level 3. "enum" > is, at this point, only a warning, as are the deprecated classes, > methods etc - it would be best to fix them, but they can wait. It's not quite that minor. One major problem with the enum use in Axis is that it is part

question on service object state on "application/session" scoped service

2005-02-02 Thread tom chen
Hello All,   I published an application scoped.service. why does the service object not keep the object's state. There is only one object created? as   class AService{   private int lastValue=0;   public void setLastValue(int v){ lastValue=v;   }     public int getLastValue(){ return las

Re: "JRE 1.5 "enum" is a Reserved Word" Does Axis Comply with this rule?

2005-02-02 Thread Davanum Srinivas
use the endorsed override mechanism (http://java.sun.com/j2se/1.4.2/docs/guide/standards/) The SAAJ 1.2 spec that is implemented by Axis is still the old dom and not dom3. -- dims On Thu, 03 Feb 2005 11:29:44 +1100, John Delaney <[EMAIL PROTECTED]> wrote: > The main problem with JRE 1.5 is that

XML declaration no longer exists in Envelope

2005-02-02 Thread Kallen McInerney
Hi, I've changed to the new Axis 1.2RC2 jars (and dependencies) and am seeing a problem with the generated SOAP request. I did a TCPMon using 1.1 and 1.2 and it looks like the XML declaration is now missing from the SOAP envelope. I have shown the results below. Is there a way I can have this ad

No response from Web service

2005-02-02 Thread Jeevak Kasarkod
Hi,     I deployed my compiled classes to axis and on pointing the browser to http://localhost:8085/axis/services/SASPort?wsdl I am able to view the wsdl for the deployed service. I assumed that the service has been deployed properly and tried testing it out by running my client but it fai

Re: Problems with Axis with document/literal-wrapped

2005-02-02 Thread Bill Keese
Since you are doing document/literal-wrapped style, instead of an empty message (for the getAllCustomers() operation request), shouldn't you have a message containing the element ? Also, shouldn't the part name for all the messages be "parameters"? Yves Erb wrote: Hi, I don't think there's any

Re: "JRE 1.5 "enum" is a Reserved Word" Does Axis Comply with this rule?

2005-02-02 Thread John Delaney
The main problem with JRE 1.5 is that it implements DOM level 3. "enum" is, at this point, only a warning, as are the deprecated classes, methods etc - it would be best to fix them, but they can wait. If you want to see all of the errors and warnings just build Axis on a JRE 1.5 machine. The errors

deploy / class files

2005-02-02 Thread Bill Keese
It seems like before calling AdminClient to "deploy" a service (B(http://ws.apache.org/axis/java/user-guide.html#CustomDeploymentIntroducingWSDD), (BI have to copy over the class/jar files manually first. Am I missing (Bsomething? I thought the point of AdminClient was to automate (Beverything,

Re: message style and namespaces

2005-02-02 Thread Linus Kamb
Forgot: Using 1.2RC2 On Feb 2, 2005, at 4:03 PM, Linus Kamb wrote: Curious why when I try to send the simple XML some text using axis "message" style, out the other side comes: some text Note the empty namespace string. Are namespaces required on all elements? And if so, why isn'

message style and namespaces

2005-02-02 Thread Linus Kamb
Curious why when I try to send the simple XML some text using axis "message" style, out the other side comes: some text Note the empty namespace string. Are namespaces required on all elements? And if so, why isn't one being put on the outer element? The inner element is being c

RE: How do I reset the list of deployed Web services?

2005-02-02 Thread Dave Hoffer
Thanks, I will check it out! -dh -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 02, 2005 5:22 PM To: [EMAIL PROTECTED] Subject: RE: How do I reset the list of deployed Web services? Hi Dave, Just FYI, the wsabi4axis open source project al

RE: How do I reset the list of deployed Web services?

2005-02-02 Thread aveitas
Hi Dave, Just FYI, the wsabi4axis open source project allows you to manage your server-config.wsdd using an intuitive GUI. The GUI is actually a web application that can run standalone or be integrated within your axis deployment. For a demo, check out, http://demo.wsabi.org Click on "Configur

namespace optimization

2005-02-02 Thread Lam, King
We used WSDL2Java to generated code to access webservices. Here is a fragment of the xml request: http://schemas.xmlsoap.org/soap/envelope/"; xmlns:xsd="http://www.w3.org/2001/XMLSchema"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>http://www.domain.com/xmlschema/resource/metadata/oo

RE: How do I reset the list of deployed Web services?

2005-02-02 Thread Dave Hoffer
Worked for me too! Thanks. -dh -Original Message- From: Sagar Pidaparthi [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 02, 2005 4:19 PM To: [EMAIL PROTECTED] Subject: RE: How do I reset the list of deployed Web services? I presume that you are unable to undeploy. One other thing

RE: RE : RE : Install/Setup/Test of Axis fails

2005-02-02 Thread Dave Hoffer
Title: Message One more thing, do I need log4j.dtd for this also?   -dh   From: Faucher, Christian [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 02, 2005 1:45 PM To: [EMAIL PROTECTED] Subject: RE : RE : Install/Setup/Test of Axis fails   Let me correct myself (I'm t

RE: How do I reset the list of deployed Web services?

2005-02-02 Thread Sagar Pidaparthi
I presume that you are unable to undeploy. One other thing you can do is to open the wsdd file and edit and delete the offending service ( take a good care and don't mess it up). I am sure that there are other better ways, but, worked for me. Regards Sagar -Original Message- From: Dav

RE: How do I reset the list of deployed Web services?

2005-02-02 Thread Dave Hoffer
I don't want to delete all the services only the 'bad' one that I added. I want to get back to the set of services that Axis started with by default. -dh -Original Message- From: Sagar Pidaparthi [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 02, 2005 4:13 PM To: [EMAIL PROTECTED] S

RE: How do I reset the list of deployed Web services?

2005-02-02 Thread Sagar Pidaparthi
If you want to delete all the services, the fastest way would be to delete server-config.wsdd and start your server. Otherwise undeploy each one of them. Regards Sagar -Original Message- From: Dave Hoffer [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 02, 2005 1:10 PM To: [EMAIL P

RE: How do I reset the list of deployed Web services?

2005-02-02 Thread Dave Hoffer
Additional info: I made an undeploy.wsdd. When I run this with the AdminClient I get an AxisFault exception. -dh -Original Message- From: Dave Hoffer [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 02, 2005 4:06 PM To: [EMAIL PROTECTED] Subject: How do I reset the list of deployed W

How do I reset the list of deployed Web services?

2005-02-02 Thread Dave Hoffer
I am learning Axis, going through the documentation. When I click on View in the Welcome to Apache-Axis (index.html) page I used to get a list of all the installed web services. I now just deployed my own custom web service using WSDD; it said it was successful. However now the web service list

RE: How to serialize elements of Vector independently in Axis

2005-02-02 Thread Brown, Mike
Currently Axis does not support vectors (that may change when they support JDK 1.5 which has generic-based vectors). They do accept arrays of objects but the array has to be of a specific type. Now you can in theory make a generic type (let's call it WSParam). Your WSParam would have a getter/sett

Using soap.tcp between Microsoft WSE and Apache Axis

2005-02-02 Thread Davanum Srinivas
FYI, http://weblogs.asp.net/smguest/archive/2005/02/01/365046.aspx -- Davanum Srinivas - http://webservices.apache.org/~dims/

Re: UTF-8 char issue with 1.2RC2 ?

2005-02-02 Thread Aleksander Slominski
Mike Burati wrote: i can confirm it that this is UTF8 related problem with the service and not with AXIS. i have run the same test with XSUL SOAP stack using SDI and it failed in my UTF8 decoder as well. the byte sequence is incorrect: 0xE0 0x20 ("a`" " ") - E0 indicates that it

Whois

2005-02-02 Thread Tomek Minkowski
Hi, I guess this is off-topic, but I guess you' re the guys that might know the thing... Is there an integrated web service server acting as an interface to RIPE's, ARIN's and APNIC's whois databases? I can't find much on the net. Thanks. TM

RE : RE : Install/Setup/Test of Axis fails

2005-02-02 Thread Faucher, Christian
Title: Message Let me correct myself (I'm tired today):   IF it is the server-side Axis that complains about "Log4J not being initialised", then put log4j.xml in "/WEB-INF/classes" (not /WEB-INF/classes/attachments).   IF it is the client-side Axis that complains about "Log4J not being init

RE: UTF-8 char issue with 1.2RC2 ?

2005-02-02 Thread Mike Burati
> i can confirm it that this is UTF8 related problem with the service and not with AXIS. > i have run the same test with XSUL SOAP stack using SDI and it failed in my UTF8 decoder as well. Thanks, I was hoping it was the service as I didn't have time to debug what was going on deep down in AXIS

RE: RE : Install/Setup/Test of Axis fails

2005-02-02 Thread Dave Hoffer
Title: Message Just to clarify; is this the right location?  I tried this and it didn’t seem to find it.  Do I need to restart Tomcat?   /axis/WEB-INF/classes/attachments/log4j.xml ?   Thanks for the assistance!   -dh   From: Faucher, Christian [mailto:[EMAIL PROTECTED] Sen

Re: UTF-8 char issue with 1.2RC2 ?

2005-02-02 Thread Aleksander Slominski
Mike Burati wrote: I was looking into an issue a coworker ran into calling the Xmethods Babelfish translation service (specifically to test out non-ascii chars), and decided to try a simple WSDL2Java based client against the service to see how it compared to how he was using AXIS (1.2RC2), and I

RE : Install/Setup/Test of Axis fails

2005-02-02 Thread Faucher, Christian
Title: Message The warning comes from log4j not being initialised.  Although it does not preven your client app to work, it is noisy. Put the log4j.xml in attachment in "/WEB-INF/classes".  Axis will pick it up there (as "/log4j.xml" resource).  You can put it somewhere else, but you will hav

Re: Castor Based objects giving Errors

2005-02-02 Thread Ananth T. Sarathy
Thanks alot. You guys really helped me out. On Tue, 1 Feb 2005 14:31:38 -0500, Mike Burati <[EMAIL PROTECTED]> wrote: > > > >> > >> targetNamespace="http://xml.ws.pko.dia.mil"; > xmlns="http://xml.ws.pko.dia.mil"; > xmlns:xsd="http://www.w3.org/2001/XMLSchema";> > >>

RE: Install/Setup/Test of Axis fails

2005-02-02 Thread Dave Hoffer
Oops, the instructions didn't say to include wsdl4j.jar in my AXISCLASSPATH. (This should be updated.) Now I just have the warning! Any ideas on that? -dh -Original Message- From: Dave Hoffer [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 02, 2005 12:51 PM To: [EMAIL PROTECTED] Su

Install/Setup/Test of Axis fails

2005-02-02 Thread Dave Hoffer
Hello, I am following the Installation Instructions for Axis 1.2. I am installing on XP and have already installed and have running Tomcat 4.1.31. I am also using the optional Xerces parser and xmlsec.jar. When I validate the Axis installation with happyaxis all is well. The problems start when

Server Side AXIS-Web Service Unknown Exception

2005-02-02 Thread babloosony
Hi All, Environment 1. WSAD 5.1.2 2. AXIS 1.2 RC2 on both server and client 3. WebSphere Application Server 5.0 4. custom (de)serializers written replacing axis default (de)serializers both at server side and client side I have deployed an EJB using WSAD 5.1.2's WebSphere 5.0 Test E

UTF-8 char issue with 1.2RC2 ?

2005-02-02 Thread Mike Burati
I was looking into an issue a coworker ran into calling the Xmethods Babelfish translation service (specifically to test out non-ascii chars), and decided to try a simple WSDL2Java based client against the service to see how it compared to how he was using AXIS (1.2RC2), and I was able to reprod

Re: Adding objects as parameters

2005-02-02 Thread Tomek Minkowski
Hello, Create a bean with with fields as needed by the service and then: call.registerTypeMapping(YourBean.class, ...); As serializer /deserializer use org.apache.axis.encoding.ser.BeanDeserializerFactory and org.apache.axis.encoding.ser.BeanSerializerFa

Re: Loose-coupling a namespace-to-package binding

2005-02-02 Thread Toshiyuki Kimura
$BDZLn$5$s(B (B $B!!LZB<$G$9!#(B (B $B!!JV;v$,CY$/$J$C$F$7$^$$$^$7$?$,!"%3%a%s%H$5$;$FD:$-$^$9!#(B (B $B!!7k6I!"DZLn$5$s$NLdBjG'<1$O!"(B1)DLL Hell$BLdBj$H(B2)SOAP Header$B$r(B $BMxMQ$7$??6$kIq$$$NJQ99!"$H$$$&Fs$D$K<}B+$9$k$h$&$K;W$o$l$^$9!#(B (B $B!!(B1)$B$r2r7h$9$k$?$a$K!"J#?t

Re: [Announce] Internationalization progress of Axis (fwd)

2005-02-02 Thread Toshiyuki Kimura
[EMAIL PROTECTED]"(B (B $B!!LZB<$G$9!#(B (B (B# $BCY$$%l%9%]%s%9$G$9$_$^$;$s(B...$B!#(B (B (BOn Tue, 1 Feb 2005, Shouhei Kodama wrote: (B (B> # $B;d$O!"$I$N%=!<%9%U%!%$%k$+$i$b(B (B> $B!!6&DL$G;HMQ$9$k(B=$B$r(B*.properties$B$K(B (B> $B!!5-=R$7$F$*$/$H>! $B!!$H$j$"$($:$I$N$

Adding objects as parameters

2005-02-02 Thread Suzy Fynes
    Hey,   I’m calling a service that has objects as its parameters, how do I use it in the client? Do I enter each attribute as a string or do I create an object of the required type? (this is all in axis with a java client)   e.g.   if it was just wsdl with string parameters I d

Re: AXIS Stubs Problem and unable to consume EJB web service

2005-02-02 Thread babloosony
Hi Tom and Jeff, Thank you for your prompt response and making me realize my mistake. It is a problem with the jndi lookup conf. in wsdd file. However I am struck now with new error. Can you please suggest Is the error screaming about a problem in my wsdl file ? Connecting to service at http

Re: AXIS Stubs Problem and unable to consume EJB web service

2005-02-02 Thread Jeff Greif
Apparently, whatever web service was invoked has returned an unexpected type or there is an incorrect type mapping in the client deployment descriptor. Possibly the wrong web service was invoked, or there is some problem on the server side.The client is expecting to end up with a DCPlanListWSH

RE: AXIS Stubs Problem and unable to consume EJB web service

2005-02-02 Thread Tom Jordahl
Does the class com.ram.engine.ejb._DCSummaryWSHome_Stub Implement the interface com.ram.engine.ejb.DCPlanListWSHome That is all the EJBProvider is trying to do. If not, then your configuration isn't specifying the right class. Disclaimer: I don't know much about EJBs. I do think I am the o

AXIS Stubs Problem and unable to consume EJB web service

2005-02-02 Thread babloosony
Hi All, Environment WSAD 5.1.2 AXIS 1.2 RC2 on both server and client WebSphere Application Server 5.0 I have deployed an EJB using WSAD 5.1.2's WebSphere 5.0 Test Environment and exposed it as web service using AXIS 1.2 RC2 on the server side. I am able to test and run the ejb usi

Re: [SPAM] How to deploy related classes?

2005-02-02 Thread Kraig
Make sure to create the appropriate sub-directory structure for the package that DBManager.class is a member of under the WEB-INF\classes subdirectory. i.e.: WEB-INF\classes\org\xyx\dao\dbmanager.class Also put the jdbc driver jar file in the WEB-INF\lib directory. Kraig Stig Rasmussen wrote: H

Re: order of SOAP elements

2005-02-02 Thread Davanum Srinivas
you can switch off multiref's. check the doc/mailing list archive. -- dims On Wed, 2 Feb 2005 14:11:04 +0100, Michal Malecki <[EMAIL PROTECTED]> wrote: > Hello, > I'm porting application from Apache SOAP to AXIS.This is nearly done, > however I have problem with internal SOAP structure of AXIS.

order of SOAP elements

2005-02-02 Thread Michal Malecki
Hello, I'm porting application from Apache SOAP to AXIS.This is nearly done, however I have problem with internal SOAP structure of AXIS. I have small testing utility that compares recorded response, with one currently received. The comparison is very simple - just simple stripping. Hoever AXIS pr

Re: Problems with Axis with document/literal-wrapped

2005-02-02 Thread Yves Erb
Hi, I don't think there's any problem with your empty message. I wrote a service using a similar declaration and it works. I may suggest you two things : - see your application server logs, it can be more explicit than Axis - try to rename your message : getAllCustomersRequest for example (althoug

Problems with Axis with document/literal-wrapped

2005-02-02 Thread [EMAIL PROTECTED]
Hi, I'm trying out a bit with document/literal-wrapped style, but Axis gives me a few problems. I'm creating a WSDL file with 2 methods: createCustomer() and getAllCustomers(). getAllCustomers() has no parameters (so no input), only a return (output). But Axis doesn't seem to like this. I get