WSDL2Java bug in Axis 1.2 (and 1.2.1)

2005-05-27 Thread Jeff
Here's a WSDL2Java bug in Axis 1.2 (and 1.2.1)     This pattern:                   causes WSDL2Java to throw:       java.io.IOException: Type {http://ay-bee-cee/}MyOtherElement is referenced but not defined     maxOccurs="unbounded" is causing the problem because this pattern:        

Exception on wsdl2java

2005-05-27 Thread Wayne Richards
Hi all, I have a problem in trying to generate a client using the attached wsdl file. I don't understand the message or how to fix the problem. Has anyone had this problemm before and is able to give some advice?   the error is:   C:\workspace\axisNDNHandlers\src>wsdl2java C:\workspace\axisNDNHandl

procedure & streaming

2005-05-27 Thread Omar Bennani
In webservices, can I invoke procedure with a returned value in a client application ? Is there any kind of streaming in webservices, I mean some stuff to send continues data from the server to the client? ___

Help with webapp-based client.

2005-05-27 Thread Bob Carpenter
Hi, I'm using Axis 1.2 under JVM 1.4.2. My clients use JAX-RPC. Could someone point me to a doc that explains the requirements to get an Axis client to work from a webapp? Or, confirm what I have said below is true. The reason I ask, I am not able to get my webapp client to work. The same app wo

complex types

2005-05-27 Thread Omar Bennani
why no one want to help me with my complex types communications delphi-java ? _ Découvrez le nouveau Yahoo! Mail : 1 Go d'espace de stockage pour vos mails, photos et vidéos ! Créez

Re: Cannot install Axis 1.2 in BEA WebLogic Workshop 8.1.2

2005-05-27 Thread Anne Thomas Manes
Don't use the jws feature in Axis on WebLogic. Deploy your services using WSDD. On 5/27/05, Jason Liu <[EMAIL PROTECTED]> wrote: > Hi there, > >I am trying to install axis 1.2 in WebLogic Workshop 8.1.2. I > followed the instructions on http://ws.apache.org/axis/java/install.html. > The p

Cannot install Axis 1.2 in BEA WebLogic Workshop 8.1.2

2005-05-27 Thread Jason Liu
Hi there, I am trying to install axis 1.2 in WebLogic Workshop 8.1.2. I followed the instructions on http://ws.apache.org/axis/java/install.html. The problem is, WebLogic interprets .jws file as its own format (which should contain annotations specific to WebLogic), so the out-of-box Axi

document/wrapped services using Axis

2005-05-27 Thread Kiran Kumar
Hi,   I am trying to find an example on how to develop document/wrapped web services using Axis. I tried to follow the instructions given in the axis 1.2 tutorial, but I was not successful. If you know any tutorial links, please pass on..   Thank You Kiran    

Re: wsdl problem

2005-05-27 Thread Anne Thomas Manes
It's because the element is in the "http://www.AbundantTech.com/WebServices/Population"; namespace, not the "http://www.abundanttech.com/WebServices/Population"; namespace. (Namespace URIs are case sensitive.) Change the targetNamespace URI of your WSDL to "http://www.AbundantTech.com/WebServic

Re: Axis, HTTPS with Web Start

2005-05-27 Thread Christian faucher
Found the problem with this!   It seems Axis (or JNLP or something else) retrieves the proxy settings from IE (since I use IE to start get the web start rollin')...   After adding my HTTPS Axis server's URL to the "Ignore" list, it works fine with JNLP and HTTPS.  It was going through the proxy to

wsdl problem

2005-05-27 Thread footh
I am trying to generate proxy classes with wsdlToJava using this wsdl: http://www.abundanttech.com/webservices/population/population.wsdl However, I receive this error: java.io.IOException: Element {http://www.abundanttech.com/WebServices/Population }getCountriesResponse is referenced but not de

RE: Using Axis With Weblogic

2005-05-27 Thread Chandu Koppella
Haii   Thats encouraging...:)   Can you point me to some examples involving this? Thanks ChanduMark Ford <[EMAIL PROTECTED]> wrote: I recall seeing serializers/deserializers in axis for maps and collectionsso I suspect that this will work. -Original Message-From: Chandu Koppella [mailto:[EM

RE: Using Axis With Weblogic

2005-05-27 Thread Mark Ford
I recall seeing serializers/deserializers in axis for maps and collections so I suspect that this will work. -Original Message- From: Chandu Koppella [mailto:[EMAIL PROTECTED] Sent: Friday, May 27, 2005 2:48 PM To: axis-user@ws.apache.org Subject: RE: Using Axis With Weblogic Hi Mark T

RE: Using Axis With Weblogic

2005-05-27 Thread Chandu Koppella
Hi Mark  Thanks for your suggestion..I will try to wrap a java class and see what happens..The document that i have checked ragarding manually deploying  webservices in weblogic is specific to weblogic9.0.   I have done the same thing what they suggested in that document in weblogic 8.1. but in ejb

RE: Using Axis With Weblogic

2005-05-27 Thread Mark Ford
I've seen this work on weblogic 8.1 where the endpoint being exposed was packaged as a regular java class. My assumption is that if it works as a regular java class on 8.1, it should work as an ejb - although I could in fact be wrong. The difference between the two is minor when it comes to the WS4

RE: Using Axis With Weblogic

2005-05-27 Thread Chandu Koppella
Hi Mark   I checked out the JSR 109 Specification in weblogic but it is only compatible with  weblogic 9.0 beta version which i can not suggest for the production environment at my work place...Is there any other alternative that you can think of Thanks Chandu Mark Ford <[EMAIL PROTECTED]> wrote:

RE: Overriding default namespace - "ns1:xyz" to "ac:xyz"

2005-05-27 Thread Jeremy Hynoski
I did this for tracking. The only way to do this in 1.1 is to download the source, edit org.apache.axis.encoding.SerializationContextImpl method getPrefixForURI and replace the hardcoded "ns" with your string of choice (or I changed it to a system property for on the fly environment changes).

Re: JARs used in Axis 1.2 for emitter and for generated code

2005-05-27 Thread Davanum Srinivas
No. you don't need " axis-ant.jar and log4j-1.2.8.jar " to run the code. -- dims On 5/27/05, Kathy Chan <[EMAIL PROTECTED]> wrote: > > Hi, > > I noticed that Axis 1.2 contains a few more JARs in the lib directory > compare to Axis 1.0 and Axis 1.1. The list of JARs in axis-1_2\lib > dir

JARs used in Axis 1.2 for emitter and for generated code

2005-05-27 Thread Kathy Chan
Hi, I noticed that Axis 1.2 contains a few more JARs in the lib directory compare to Axis 1.0 and Axis 1.1.  The list of JARs in axis-1_2\lib directory are: activation.jar axis.jar axis-ant.jar commons-discovery-0.2.jar commons-httpclient-3.0-rc2.jar commons-logging-1.0.4.jar jaxrpc.jar log4j-

RE: Axis, HTTPS with Web Start

2005-05-27 Thread Ruiz González, Jose de Jesus
Using HTTPS, requires having a copy of the Server certificate somewhere in your System. Something like C:\Archivos de programa\Java\j2re1.4.2_04\lib\security\cacerts   I think, standalone runs because Java can find the Server Certificate. I dont't know how do you attach the Server certificat

Re: Axis, HTTPS with Web Start

2005-05-27 Thread Christian faucher
Yes I does.   All my client's jars (including Axis jars and friends) are signed with a dummy certificate, generated through keytool.   Security is also "" in my JNLP deployment descriptor.   The server (hidden behing the HTTPS URL) has a server certificate and does NOT require a client certificate.

Re: remote procedure returning an array of object

2005-05-27 Thread Srinadh Karumuri
Try following the thread: 'returning arrays of custom java objects' I had the same issue. I recommend you start with simple objects first. The way I did was: - Created server code to take couple of parameters and return an array of java objects. - Moved my classes to axis/WEB-INF/classes direc

RE: Axis, HTTPS with Web Start

2005-05-27 Thread Oleg Lebedev
Title: Message Is your client trying to access the web service on the domain it was downloaded from via WebStart? I remember having problems with cross-domain access. I ended up signing all the jars in order to get it to work. -Original Message-From: Christian faucher [mailt

Axis, HTTPS with Web Start

2005-05-27 Thread Christian faucher
Greetings,I have a situation where I am not sure if it belongs to this mailing or Web Start's.I have a Axis client, being deployed thru Web Start on client machines.  It can also be run standalone (java 'main'). I run JDK 1.4.2 with Axis 1.2 RC2 (yeah, I know I have to upgrade to 1.2...).  AppServe

RE: Overriding default namespace - "ns1:xyz" to "ac:xyz"

2005-05-27 Thread Sam Amarteifio
Thanks Anne, I will upgrade to Axis 1.2 and raise an enhancement request. SAM AMARTEIFIO [EMAIL PROTECTED] +44 (0)20 7780 5955 ec3 solutions / 1st floor 9-13 fenchurch buildings london ec3m 5hr / +44 (0)20 7780 5955 / http://www.ec3.com / -Original Message- From: Anne Thomas Mane

SV: Cannot query database from web service.

2005-05-27 Thread Martin Gülich
Hi! Thank you for your answer, but I am afraid I have already done most of that. I am using Windows ;) and the ODBC is defined both as a System DSN, and as a User DSN. The User DSN is used when I execute the java-program containing the WS-method directly, and the System DSN when I execute

AW: Access UDDI regestry

2005-05-27 Thread Ferruh Zamangoer
You can look at http://uddi4j.sourceforge.net/ download the binaries and there is a folder example when you extract the zip File. There you can see some examples how a UDDI server is accessed in java. -Ursprüngliche Nachricht- Von: Plorks mail [mailto:[EMAIL PROTECTED] Gesendet: Freitag

Access UDDI regestry

2005-05-27 Thread Plorks mail
Hi all Can anyone show me how i access a UDDI registery using java I then need to pass a web service name to get access to the wsdl and its methods Or point me to any examples Many thankd for any help _ Don’t just search. Find

AW: Using Axis Fault

2005-05-27 Thread Ferruh Zamangoer
Hi,   I post this question again, because I have not become any response. I want to know if the steps which use to throw a Fault is right. I write a interface in with two methods like:   1.) public interface CUserService {     public boolean addUser(String pseudonym, User user) throw

Re: AxisFault: Did not understand "MustUnderstand" header(s)

2005-05-27 Thread Anne Thomas Manes
You configure a client handler in the client-config.wsdd. Anne On 5/27/05, Manuel Nicolas Ortuño <[EMAIL PROTECTED]> wrote: > I don't know how can i do it. In web service I can implement a handler, I > can say the handler to the web service in deploy.wsdd, but this is a client > and I don't have

Re: AxisFault: Did not understand "MustUnderstand" header(s)

2005-05-27 Thread Anne Thomas Manes
You need to configure a handler to process the SAP SOAP headers. Anne On 5/27/05, Manuel Nicolas Ortuño <[EMAIL PROTECTED]> wrote: > > > > Hello, > > > > This is the client java code. > > > > package es.carm.ctyc.wc.CSigepal; > > > > import org.apache.axis.client.Call; >

Re: Error in deserialization

2005-05-27 Thread Anne Thomas Manes
Can you provide us with the WSDL? Somewhere in either the request or response message there is an element of type EndUserIdentifier, and it appears that this element isn't mapping properly. Anne On 5/27/05, Plorks mail <[EMAIL PROTECTED]> wrote: > > > Hi all > > I'm trying to access an exter

Re: UDDI to find access point

2005-05-27 Thread Anne Thomas Manes
A UDDI registry is a place where you register services and where you can place links to information about the services, such as WSDL and XML Schema definitions. There's a lot of information about UDDI in IBM DeveloperWorks. See http://www-128.ibm.com/developerworks/search/searchResults.jsp?searchT

Re: Access UDDI regestry

2005-05-27 Thread Anne Thomas Manes
UDDI is a web service. It exposes its interface through WSDL. You can retrieve the WSDL and use Axis to generate a client interface just as you would with any other web service. You can also use one of many UDDI client API libraries, such as UDDI4J. See http://sourceforge.net/projects/uddi4j. Ann

Re: Overriding default namespace - "ns1:xyz" to "ac:xyz"

2005-05-27 Thread Anne Thomas Manes
The messages are semantically equivalent. Is there a specific reason why you need the "ac" prefix rather than the "ns1" prefix? Axis does not provide a mechanism to specify a custom namespace prefix when generating SOAP messages. If your application requires a custom namespace prefix, then you mus

Re: Cannot query database from web service.

2005-05-27 Thread Don Albertson
I can't say for sure that this is your problem and if my assumption that your service is running on Windows is wrong then it almost certainly isn't but I have had problems with ODBC connections when they are not System connections.  If the ODBC connection is defined at user level, the web serv

Overriding default namespace - "ns1:xyz" to "ac:xyz"

2005-05-27 Thread Sam Amarteifio
We are in the early stages of building a web services application. In order for us to test what we have done so far were are sending a test message to the web services. In building the request message using Axis 1.1, the namespace prefixes are automatically generated by axis e.g. 'ns1' e.t.

Access UDDI regestry

2005-05-27 Thread Plorks mail
Hi all Can anyone show me how i access a UDDI registery using java I then need to pass a web service name to get access to the wsdl and its methods Or point me to any examples Many thankd for any help _ Be the first to hear wh

UDDI to find access point

2005-05-27 Thread Plorks mail
Hello I've been told by a web service supplier i need to programatically gain access to UDDI so i can get access to one of their web service Can anyone show me how to do this Being a beginner, is the UDDI a place to 'hold' wb service definistions like the wsdl files? I don't understand w

Error in deserialization

2005-05-27 Thread Plorks mail
Hi all I'm trying to access an external web service and get this error when it gets to this line String result = (String)call.invoke(new Object[] {param1, param2, param3}); Error in deserialization : failed deserializing value of type {http://www.api.org/schema/par/common/v1_0} EndUserIde

Cannot query database from web service.

2005-05-27 Thread Martin Gülich
Hello! I have a tricky problem that I cannot solve on my own. I want to use JDBC from within my web service implementation to query an Access 2000 database via ODBC (System DSN) and return the answer. That is, the java method implementing the web service uses JDBC. For some reason this doesn't wor