Illegal XML character revisit and ways to handle the exception

2004-07-29 Thread Liu, Scott
Hi, All,   Searching from the mailing list and I have found several past entries about the illegal XML character topic but none of them have given a definite answer. I would like to know how people are handling them in their applications. My own example is due to the fact that there are

RE: WSDD and WSDL

2004-07-29 Thread Chandrasegaram Jeyakumaran
Hi, Sorry I didn't really see the replies for this mail. That's why my reply came. Ok if you have a complexed java class then what would be the easy way? I can suggest what I am doing with this.(I don't know whether it is the right method. But I used to do this) 1)generate the wsdl for your complex

Can I use axis for only one way flow?

2004-07-29 Thread Chandrasegaram Jeyakumaran
Hi, I want to use axis for only receiving the soap messages from one end. I need to get the soap messages and deserialize it in to a javabean. Then I only parse than java bean object to other application. That's all. I know it is bit different from the webservices logic. Can I do this with axis

Re: WSDD and WSDL

2004-07-29 Thread Chandrasegaram Jeyakumaran
Hi, you need WSDL for generating skelotons and stubs as well as publishing your service detail.(for a simple case). Once you have generated your skelotons and stubs,you don't really need wsdl. You need to deploy your service detail. Then only axis engine will be able to invoke your webservice. Th

RE: Class Loaders and axis

2004-07-29 Thread Sagar Pidaparthi
Title: RE: Class Loaders and axis Thanks for your message.  After reading the APIs in this class, I come to the conclusion that I need to do the following.  Please comment if this is right. 1.  Write  myjava2wsdl tool in which I first set the class loader to be myClassLoader, using setClass

wsdd and jws services

2004-07-29 Thread Makesh Rao
Hi Our team has webservices in different flavors, there are some that are deployed as .jws files and a few recent ones that were generated by having custom wsdd files. I'm trying to deploy them all as different modules in one webapp under Tomcat 4.1. The services that are .jws files work perfec

RE: Advanced serialization of Collections and Maps

2004-07-29 Thread Anne Thomas Manes
Anand, Your concerns are right on target. That's the reason why we keep recommending to people that they flatten all collections into simple types, structures of simple types, and arrays. If you want to pass these complex object graphs, then you should use RPC/encoded and you should assume that o

Re: Axis 1.1 and UDDI

2004-07-29 Thread Junaid . Bhatra
Axis does not offer programmatic registration of Web Services in the UDDI registry. There are other api's that do the job though. UDDI4J is one such api that I've personally used and found to be simple & straight-forward. I don't think Axis depends on the UDDI version being used. You would simply r

RE: Generating wsdl for interfaces

2004-07-29 Thread Bill Werth
Title: Message Even for an existing project that you want to expose as a web service, you can still create a separate interface for it that is different than the interface or classes that are used elsewhere. In the web service I created, I used this method. The original code had a huge class

RE: Generating wsdl for interfaces

2004-07-29 Thread Rick Badertscher
Title: Message You could create a service implementation described in wsdl, who’s implementation delegates to the “actual” implementation of the business method.   This then will decouple your business interfaces definitions from your webservice interface definitions.   You then write eithe

RE: Generating wsdl for interfaces

2004-07-29 Thread Oleg Lebedev
Title: Message    > If you are going to trick java2wsdl into using the State class, then you might as well return a State object from getState(), > since that kinda defeats the purpose of returning an interface in the first place, right? Not true, because this interface is used in

RE: Generating wsdl for interfaces

2004-07-29 Thread Bill Werth
Title: Message If you are going to trick java2wsdl into using the State class, then you might as well return a State object from getState(), since that kinda defeats the purpose of returning an interface in the first place, right?   I see alot of questions on this list where someone is tryin

Generating wsdl for interfaces

2004-07-29 Thread Oleg Lebedev
Title: Message Greetings.   I am trying to figure out how to get wsdl2java to work with methods which return interfaces. I have an interface, which declares the following method which returns IState interface: public IState getState(); java2wsdl generates correct wsdl, but shows a warning s

Re: Clients, Authorization, and more Fun!

2004-07-29 Thread NYY96
This doesn't work for two reasons. The first reason is that for the code you referenced:   com.blah.ExampleService s = new com.blah.ExampleServiceLocator();com.blah.Example e = s.getexample();((javax.xml.rpc.Stub)e)._setProperty(javax.xml.rpc.Call.USERNAME_PROPERTY, "username");   the clien

Re: Class Loaders and axis

2004-07-29 Thread Davanum Srinivas
see ClassUtils.java - Original Message - From: Sagar Pidaparthi <[EMAIL PROTECTED]> Date: Thu, 29 Jul 2004 11:29:39 -0700 Subject: Class Loaders and axis To: [EMAIL PROTECTED] Hi, I have a situation that requires the use of class loaders for loading my service classes. Reason for

Class Loaders and axis

2004-07-29 Thread Sagar Pidaparthi
Title: Class Loaders and axis Hi, I have a situation that requires the use of class loaders for loading my service classes.  Reason for writing a class loader: In my application I have service identified by a tag name MyService which points to MyServiceClass.  All the application has bee

Axis 1.1 and UDDI

2004-07-29 Thread rosmi
How does Axis related to UDDI? Does Axis allow programmatically registration of web service in the UDDI registry? Does Axis depend in some way on the version of UDDI? Can I use axis web services with any version of uddi? -- NEU: WLAN-Router für 0,- EUR* - auch für DSL-Wechsler! GMX DSL =

deployment problems

2004-07-29 Thread rory galvin
Hey guys, I'm having basic trouble deploying my own webservice on axis. I've followed all of the given examples and haven't had any trouble with them so far... until I wrote my own. The problem occurs when I go to view my deployed service on http://joni.cs.tcd.ie:8080/axis/servlet/AxisServlet. My

RE: wrong method generation with WSDL2Java

2004-07-29 Thread Yoshida, Akitoshi
Because you named your type "submitReqType" in your schema. If your type is also named as SubmitReq, the generated method should look like what you want. Regards, Aki > -Original Message- > From: egemen kalyoncu [mailto:[EMAIL PROTECTED] > Sent: Donnerstag, 29. Juli 2004 15:41 > To: [EMAI

XML attributes for code generated by WSDL2Java

2004-07-29 Thread Yoshida, Akitoshi
Hi, I tried to generate a SOAP header code that should serialize/deserialize something like: ... So far I was not able to generate a class that has a global attribute like in the above example ({urn:bar}id). Could someone tell me how to do this? I created two schemas: one for urn:foo an

Re: Clients, Authorization, and more Fun!

2004-07-29 Thread Davanum Srinivas
you can typecast the thing returned from the locator to javax.xml.rpc.Stub (http://java.sun.com/j2ee/1.4/docs/api/javax/xml/rpc/Stub.html) and use the _setProperty with USERNAME_PROPERTY and PASSWORD_PROPERTY to set the userid and password. See http://marc.theaimsgroup.com/?l=axis-dev&m=10656126172

AW: Trouble with live deployment

2004-07-29 Thread Florian Theurich
Hi Ciaran Which server are you using? I faced a similar problem with resin 2.1.6 as a live server, whereas everything was fine on my newer local instance (version 3.0)... Florian -Ursprüngliche Nachricht- Von: Anand Natrajan [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 29. Juli 2004

Re: Clients, Authorization, and more Fun!

2004-07-29 Thread NYY96
Not for the clients but most of the dirty work files are from WSDL2Java.   In a message dated 7/29/2004 11:23:38 AM Eastern Standard Time, [EMAIL PROTECTED] writes: Are u using stubs generated by WSDL2Java?- Original Message -From: [EMAIL PROTECTED] <[EMAIL PROTECTED]>Date: Thu

Re: Clients, Authorization, and more Fun!

2004-07-29 Thread Davanum Srinivas
Are u using stubs generated by WSDL2Java? - Original Message - From: [EMAIL PROTECTED] <[EMAIL PROTECTED]> Date: Thu, 29 Jul 2004 11:17:36 EDT Subject: Re: Clients, Authorization, and more Fun! To: [EMAIL PROTECTED] No I don't think it's a bug. All that I'm saying is that if I use th

Re: Clients, Authorization, and more Fun!

2004-07-29 Thread NYY96
No I don't think it's a bug. All that I'm saying is that if I use the created Handler class and call it that way, I get a nice output of the envelopes to the screen and the return type is equal to the return type of the axis function. If I use the Call type than I don't get these things. I b

Re: Clients, Authorization, and more Fun!

2004-07-29 Thread Davanum Srinivas
If there's a bug, we can fix it in 1.2 that's why i am asking. thanks, dims - Original Message - From: [EMAIL PROTECTED] <[EMAIL PROTECTED]> Date: Thu, 29 Jul 2004 11:08:21 EDT Subject: Re: Clients, Authorization, and more Fun! To: [EMAIL PROTECTED] I have to go to production with t

Re: Clients, Authorization, and more Fun!

2004-07-29 Thread NYY96
I have to go to production with this product eventually. Axis 1.1 is all I am using currently.   In a message dated 7/29/2004 11:06:11 AM Eastern Standard Time, [EMAIL PROTECTED] writes: Are u using Axis 1.2 Beta 2?- Original Message -From: [EMAIL PROTECTED] <[EMAIL PROTECTED]>D

Re: Clients, Authorization, and more Fun!

2004-07-29 Thread Davanum Srinivas
Are u using Axis 1.2 Beta 2? - Original Message - From: [EMAIL PROTECTED] <[EMAIL PROTECTED]> Date: Thu, 29 Jul 2004 10:59:23 EDT Subject: Re: Clients, Authorization, and more Fun! To: [EMAIL PROTECTED] In short I was wondering if I can merge both of the methods below to have a handl

Re: Clients, Authorization, and more Fun!

2004-07-29 Thread NYY96
In short I was wondering if I can merge both of the methods below to have a handler easily call the funciton but also by implementing HTTP Authentication   In a message dated 7/29/2004 10:57:57 AM Eastern Standard Time, [EMAIL PROTECTED] writes: Hello Everyone,   Previously I was cal

Clients, Authorization, and more Fun!

2004-07-29 Thread NYY96
Hello Everyone,   Previously I was calling my Axis Service very effectively using a handler and using the following call:   boolean success = handler.postReport(groupName, password, accountName, Data);   Now I am moving forward with the service and want to add HTTP Authentication. I have read

EJB's and Skeletons

2004-07-29 Thread Daryl Robbins/MxI Technologies
I have been attempting to setup Axis to access some of our session beans for quite some time now, but I am running into a number of issues. We are using WebLogic Server 8.1 as our application server. To generate the Web Services, we are running an ant script from the build process in JBuilder. Th

RE: WSDD and WSDL

2004-07-29 Thread Suzy Fynes
That's a big help! Thanks! Just one other thing, if I have a more complicated java class that I wish to deploy as a web service, does that mean I use a wsdd file to deploy it?If so where does the wsdl come from? -Original Message- From: Anand Natrajan [mailto:[EMAIL PROTECTED] Sent: 29 Ju

Re: WSDD and WSDL

2004-07-29 Thread Anand Natrajan
Suzy, WSDDs are Axis artifacts - they're present just to tell Axis what service you intend deploying. Subsequent to deploying a WSDD you have a web service (running inside Axis), and can get to the service's WSDL. JWS files also are Axis artifacts, I believe (this one I not so sure about). If you

Re: What version of SOAP does AXIS v1.1 support ?

2004-07-29 Thread Jim Murphy
Currently: SOAP 1.1 Ramasamy S/O Valliappan wrote: Is it v1.1 or v1.2 of SOAP ?

Re: WSDL version in Axis 1.1

2004-07-29 Thread Jim Murphy
Axis supports WSDL 1.1 and SOAP 1.1. Not sure what the plan is for WSDL 2.0 since its just coming together. Dims? Jim Murphy Mindreef, Inc. [EMAIL PROTECTED] wrote: Hello, what WSDL Version is using AXIS 1.1? Where can I see, what WSDL Version is used? regargs, rosmi

RE: Advanced serialization of Collections and Maps

2004-07-29 Thread Anand Natrajan
Marc, Thank you for explaining my abstract concerns with a concrete example - your efforts below capture exactly what I feared. I will second your analysis by stating that if you have complex types whose types will be known only at run-time, then a static WSDL generated a priori will be necessaril

Re: axis and mappoint .net

2004-07-29 Thread Davanum Srinivas
Cervi, i tried latest Axis CVS against your wsdl. It is creating a FindResultMask_null.java which has the 4 flags...I'd encourage you to review the output from WSDL2Java using latest CVS / nightly and open a detailed bug report. -- dims On Thu, 29 Jul 2004 09:51:51 -0400, Cervi, Anthony (PCLN-NW

Re: Differences in WSDL generated from JAVA2WSDL and Dynamic WSDL?

2004-07-29 Thread Dana Kaufman
Thank you! The tool I was using did not generate that tag. Adding it fixed the problem. -Dana Davanum Srinivas wrote: >Please add a namespace tag as a child element under your tag >in your wsdd file and see if that helps > > http://test.forum.com > >thanks, >dims > >PS: See http://www.fawcet

RE: axis and mappoint .net

2004-07-29 Thread Cervi, Anthony (PCLN-NW)
is the answer so obvious that noone cares to provide an answer for me? it would be nice to hear something even if it's just "rtfm". -Original Message- From: Cervi, Anthony (PCLN-NW) Sent: Wednesday, July 28, 2004 10:56 AM To: [EMAIL PROTECTED] Subject: RE: axis and mappoint .net let

Re: ServletContext

2004-07-29 Thread Davanum Srinivas
check the wiki - http://nagoya.apache.org/wiki/apachewiki.cgi?AxisProjectPages On Thu, 29 Jul 2004 09:31:19 -0400, Keith Tingle <[EMAIL PROTECTED]> wrote: > What is the correct / quickest way to get to the ServletContext from an Axis > handler? > > ***

wrong method generation with WSDL2Java

2004-07-29 Thread egemen kalyoncu
i can't generate method that i want with WSDL2Java i want to generate method like this public SubmitRsp mm7_response(SubmitReq) but WSDL2Java generate public submitRspType mm7_response(submitReqType) is there anyone who suggest any idea? Thanks. Egemen * related part from my schema

ServletContext

2004-07-29 Thread Keith Tingle
What is the correct / quickest way to get to the ServletContext from an Axis handler? *** Notice: This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential an

RE: Trouble with live deployment

2004-07-29 Thread Anand Natrajan
None except to say, try again. Also, when starting up the live server, watch the trace spewed out by the app server. Perhaps you may notice a problem right when the Axis was is being deployed. Also, check the lib directory for the app server on the live server - is it the same as your local machin

Complex Type with Array -> found the problem

2004-07-29 Thread Arnaud Vezain
I've found a strange problem in Axis. I've wrote a service which use a complex type Etiquette (5 String, 1 String[]) and when I published it, the dynamic wsdl contains a type Etiquette with 6 String ! So I've looked for the problem and I get it. When I generate the wsdd and the server side classes

WSDD and WSDL

2004-07-29 Thread Suzy Fynes
I’m just looking for clarity as to exactly how the web service deployment descriptor works.  How is it interrelated with wsdl in axis? Do I still create the WSDL by deploying a jws file? Once tested using the AdminClient class in axis how is processed from there?   Any help would be great

ISO-8859-1 Encoding

2004-07-29 Thread Florian Theurich
Hi,   The first line of my service’s WSDL says:   xml version="1.0" encoding="UTF-8" ?>   However I need to have my SOAP response display characters like ‚ü’ and ‘é’ without getting an XML parsing error. It works with ISO-8859-1 when I hardcopy this value in an XML file but I do not k

WSDL version in Axis 1.1

2004-07-29 Thread rosmi
Hello, what WSDL Version is using AXIS 1.1? Where can I see, what WSDL Version is used? regargs, rosmi -- NEU: WLAN-Router für 0,- EUR* - auch für DSL-Wechsler! GMX DSL = supergünstig & kabellos http://www.gmx.net/de/go/dsl

RE: How to measure time usage on client?

2004-07-29 Thread Andre Risnes
> From: Aleksander Slominski [mailto:[EMAIL PROTECTED] [...] > what i would do: write a small test program and see how long does it > take for the XML parser you use to parse this ~120 KB SOAP reply (N), > how long does it take to write XML for SOAP request (is it small?) (M), > and then compare

Re: Deployment without Axis

2004-07-29 Thread Craig M
of course, Axis just makes it easy if you don't want to mess with xml parsing   just use a standard servlet and code it yourself if you need to be tool agnostic - Original Message - From: Suzanne Fynes To: [EMAIL PROTECTED] Sent: Thursday, July 29, 2004 5:02 AM Subj

Help Please

2004-07-29 Thread Joel Carklin
Hi, I'm trying to setup a message style service. I have a test client developed by someone else which is sending soap xml to my tomcat service. My deploy.wsdd looks like this (taken from sample): http://xml.apache.org/axis/wsdd/"; xmlns:java="http://xml.apache.org/axis/wsdd/providers/

Re: What version of SOAP does AXIS v1.1 support ?

2004-07-29 Thread Nathan Sowatskey
1.1. Nathan On Thu, 2004-07-29 at 09:30, Ramasamy S/O Valliappan wrote: > Is it v1.1 or v1.2 of SOAP ? -- Nathan Sowatskey - Technical Leader, NMTG CTO Engineering - Desk +44-208-824-4259/+1-408-527-2595 - Mobile +44-7740-449794 - AIM id NathanCisco - [EMAIL PROTECTED]

Deployment without Axis

2004-07-29 Thread Suzanne Fynes
Does anyone know if it’s possible to deploy a web service without using axis (or any other vendor) on the hosting server?   Thanks, Suzy

Re: Importing axis generated wsdl containing anyType in .Net fails

2004-07-29 Thread Jean-Francois Denise - Sun Microsystems
Hello Davanum, any news on this front? Jean-Francois Denise - Sun Microsystems wrote: Find attached the wsdl generated by the agent (things.xml) .Net creates a new one from the original one. (things_msoft.wsdl) Davanum Srinivas wrote: i need the wsdl snippet -- dims On Tue, 27 Jul 2004 16:51:10 +0

What version of SOAP does AXIS v1.1 support ?

2004-07-29 Thread Ramasamy S/O Valliappan
Is it v1.1 or v1.2 of SOAP ?

AW: Advanced serialization of Collections and Maps

2004-07-29 Thread Dorner Thomas
Hi Marc, I have also problems with HashMap when using AXIS (WSDL2Java) My Problem is, I want to send an Array as the value of the HashMap. So my WSDL for the HashMap looks like this: http://xml.apache.org/xml-soap"; xmlns="http://www.w3.org/2001/XMLSchema";>

AxisFault override problem

2004-07-29 Thread Jarl van Schie
Hi all, By using the Axis WSDL2Java tool I ran into a problem I cannot cope with. The WSDL file contains a complextype with amongst others a faultCode element of type xsd:int. When turning this into a Java proxy with WSDL2Java, it results in a class that extends AxisFault and a method getFaultCod