Suggestions required for developing a Webservice..

2004-04-13 Thread Vinod Patil
Hi All, I want to develop a webservice as follows 1) The client submits a xml request in a pre fixed standard embedded in SOAP body. (eg : 123 ) 2) This is received by the web service and it interprets it and sends back a response giving the Latitude and Longitude of the unit. ( eg :

RE: Beginners help

2004-04-13 Thread Mark Leone
I put some debug statements into the class that's throwing this Exception (org.apache.axis.wsdl.symbolTable.SymbolTable). I found something interesting. It looks like there is no problem with the operations in the binding. The Exception is thrown when the code is checking that each binding oper

RE: How can I specify the service host/port in autogenerated WSDL?

2004-04-13 Thread Nelson Minar
By the way, one other option for modifying the WSDL in your server is to do it via a Handler.generateWSDL() method: http://ws.apache.org/axis/java/apiDocs/org/apache/axis/Handler.html I haven't seen any examples or tests that actually do this, not sure how hard it is.

JAXB vs Axis generated classes

2004-04-13 Thread Srikanth Thiagarajan
Hi Guys, I am reposting my mail again as my previous mail had html content in it. I have some questions regarding JAXB and Axis. 1. What are the benefits of using Axis generated classes as against using standard like JAXB? 2. Will JAXB generation be included as part of the next version of JAX-RPC

problem accessing _some_ remote functions

2004-04-13 Thread Paul Phillips
Hi, I've just come back to my project after not touching it for a few days and have noticed it's now doing something quite strange. I can call perfectly some of my functions on the server, however there are a few that are not working at all and are throwing the exceptions soapenv:Server.userE

Re: log4j problem

2004-04-13 Thread John Langan
Thanks to Nelson and Jake for their help. At the moment I am ignoring the messages. Removing log4j.jar from the path stopped the warning, as expected. When I have log4j.jar and log4j.properties in the path I still get the warning message. I expect I'll sort it out when I get more proficient in usin

JAXB vs Axis generated classes

2004-04-13 Thread Srikanth Thiagarajan
Guys,I have some questions regarding JAXB and Axis.1. What are the benefits of using Axis generated classes as againstusing standard like JAXB?2. Will JAXB generation be included as part of the next version ofJAX-RPC spec?3. Has anyone tried to compare the performance using Axis generatedclasses as

RE: is it DOABLE to simulating a WebMethods server (WebMethods is soa p server like Apache Axis) ???

2004-04-13 Thread Zhao Sharon-CSC002
Title: Message Larbi,   Whey you use WSDL2java tool (See Axis Reference Guide) to generate client stub, it can also generate the server side skeleton with option -s/-S in the deploy.wsdd file. I think that you can install Axis as Server with this deploy.wsdd to simulate the Server Se

RE: Axis' built-in Providers

2004-04-13 Thread Wei Hsu
Title: RE: Axis' built-in Providers Thanks a lot for clarifying that.  That's what I had assumed, but I just wanted to make sure. Any idea how we can get this information into the user-guide or the reference guide?  Is there a standard process?  It seems like it would benefit a lot of people

is it DOABLE to simulating a WebMethods server (WebMethods is soa p server like Apache Axis) ???

2004-04-13 Thread Djoudi Larbi-CLD018
Title: Message I have a client working using generated stubs from a WebMethods server WSDLs. I used Axis to generate those stubs. For testing purposes, I don't have access to that server.  Can anyone please share some experience or input if it is DOABLE to:   1) simulate that We

RE: Axis' built-in Providers

2004-04-13 Thread Anne Thomas Manes
Both document and wrapped styles use the RPC provider (or the EJB provider). Only the message style uses the MSG provider.   From: Wei Hsu [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 13, 2004 4:38 PM To: [EMAIL PROTECTED] Subject: Axis' built-in Providers   Hi people,  

RE: Axis' built-in Providers

2004-04-13 Thread Anne Thomas Manes
Both document and wrapped styles use the RPC provider (or the EJB provider). Only the message style uses the MSG provider.   From: Wei Hsu [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 13, 2004 4:38 PM To: [EMAIL PROTECTED] Subject: Axis' built-in Providers   Hi people,  

RE: Is Axis creating a DOM object and hence it may cause memory issue?

2004-04-13 Thread Anne Thomas Manes
The Axis Messaging interface returns a DOM. Use the JAX-RCP interface instead. It returns Java types.   From: Liu, Scott [mailto:[EMAIL PROTECTED] Sent: Monday, April 12, 2004 9:21 PM To: [EMAIL PROTECTED] Subject: Is Axis creating a DOM object and hence it may cause memory issu

RE: Is Axis creating a DOM object and hence it may cause memory issue?

2004-04-13 Thread Anne Thomas Manes
The Axis Messaging interface returns a DOM. Use the JAX-RCP interface instead. It returns Java types.   From: Liu, Scott [mailto:[EMAIL PROTECTED] Sent: Monday, April 12, 2004 9:21 PM To: [EMAIL PROTECTED] Subject: Is Axis creating a DOM object and hence it may cause memory issu

RE: problem using WSDL2Java on RPC/Literal

2004-04-13 Thread Anne Thomas Manes
Actually, WSDL2Java is working properly, according to the rules defined in the WS-I Basic Profile [1]. Even you change the schema to elementFormDefault="qualified", the generated parameter elements should be in no namespace. The n1 namespace refers to the type definition, not to the element defini

RE: problem using WSDL2Java on RPC/Literal

2004-04-13 Thread Anne Thomas Manes
Actually, WSDL2Java is working properly, according to the rules defined in the WS-I Basic Profile [1]. Even you change the schema to elementFormDefault="qualified", the generated parameter elements should be in no namespace. The n1 namespace refers to the type definition, not to the element defini

RE: microsoft discontinuing dime spec?

2004-04-13 Thread Anne Thomas Manes
Microsoft plans to support XOP/MTOM in the future. XOP/MTOM is being defined by the W3C XMLP working group, and it will [most likely] be the standard mechanism used to pass binary data with SOAP messages in the future. For the moment Microsoft is still supporting DIME, but they will phase it out

RE: microsoft discontinuing dime spec?

2004-04-13 Thread Anne Thomas Manes
Microsoft plans to support XOP/MTOM in the future. XOP/MTOM is being defined by the W3C XMLP working group, and it will [most likely] be the standard mechanism used to pass binary data with SOAP messages in the future. For the moment Microsoft is still supporting DIME, but they will phase it out

Re: Axis' built-in Providers

2004-04-13 Thread Nelson Minar
>I am interested in developing services using doc/literal, but I am slightly >confused by what I need to do exactly in AXIS. You have the right idea, the part that's not clear is that for wrapped doc/literal services you also use Axis' RPC provider. In the simplest case, all you need to do to cha

RE: Axis' built-in Providers

2004-04-13 Thread Anne Thomas Manes
Both document and wrapped styles use the RPC provider (or the EJB provider). Only the message style uses the MSG provider.   From: Wei Hsu [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 13, 2004 4:38 PM To: [EMAIL PROTECTED] Subject: Axis' built-in Providers   Hi people,  

RE: Is Axis creating a DOM object and hence it may cause memory issue?

2004-04-13 Thread Anne Thomas Manes
The Axis Messaging interface returns a DOM. Use the JAX-RCP interface instead. It returns Java types.   From: Liu, Scott [mailto:[EMAIL PROTECTED] Sent: Monday, April 12, 2004 9:21 PM To: [EMAIL PROTECTED] Subject: Is Axis creating a DOM object and hence it may cause memory issu

Axis' built-in Providers

2004-04-13 Thread Wei Hsu
Hi people,   I am interested in developing services using doc/literal, but I am slightly confused by what I need to do exactly in AXIS.  In the user-guide, it mentions how the document or wrapped style is indicated in the WSDD by   for document style for wrapped style   However, it

RE: problem using WSDL2Java on RPC/Literal

2004-04-13 Thread Wei Hsu
Title: RE: problem using WSDL2Java on RPC/Literal Thanks for the tip.  I am creating RPC/Literal WSDL's because the services I'm writing for is somewhat of a legacy system that employs a hybrid approach between RPC/Encoded and RPC/Literal.  While I would love to move to doc/literal, I don't

Re: problem using WSDL2Java on RPC/Literal

2004-04-13 Thread Junaid . Bhatra
I'm not sure what support Axis has for RPC/Literal (if any), but it seems to be doing the right thing in this case. By definition, in an RPC/Literal message, the part names (in your case, SalesOrder) are simply wrappers and are NOT to be namespace-qualified. Hence you see the xmlns="" which sa

RE: problem using WSDL2Java on RPC/Literal

2004-04-13 Thread Robert Lowe
If your schema specifies elementFormDefault="unqualified", or does not specify the elementFormDefault attribute at all, then Axis is doing the correct thing. Try adding elementFormDefault="qualified" to your schema. Best regards, Robert Lowe http://RMLowe.com/ -Original Message- From

problem using WSDL2Java on RPC/Literal

2004-04-13 Thread Wei Hsu
Hi all,   I've been trying to run WSDL2Java on my RPC/Literal WSDL, but I keep running into a seemingly simple problem.  In the WSDL, I've created a createSalesOrderRequest message as the following:         Here, assume n1 belongs to namespace my.example.com and the namespac

RE: Axis - example 6 (use java2wsdl to create all files)

2004-04-13 Thread Yakulis, Ross (Ross)
 Adding the folowing to your client shoudl solve the problem where XXX is your service.      XXXServiceLocator locator = new XXXServiceLocator();XXX xxx= locator.getXX(new URL("http://somehost:8080/axis/services/XXX")); -Original Message-From: David Thielen [ma

RE: SOAP client timeout

2004-04-13 Thread Sriram Nookala
I came across the following thread which has a workaround for this. Is this the only way to do when using SAAJ?     Can you please log this as a bug? we should find an easier way to do this.Thanks,dims--- "Laenzlinger, Christof" <[EMAIL PROTECTED]> wrote:> Hallo Philip,> > I had the same pr

Axis - example 6 (use java2wsdl to create all files)

2004-04-13 Thread David Thielen
Hi;   Example 6 shows how to create everything for a web service – server and client side, with just a single interface .java file to start with. Which is great.   However… it looks like it is tied to a specific server location unless I am missing something. If we need to be

RE: How can I specify the service host/port in autogenerated WSDL?

2004-04-13 Thread Mike Panzitta
Hi Dennis, Normally I would just make the changes to the Axis code, submit it back in, and go on with life . However, my first-blush look at the code tells me that it's pretty complex, and without delving much deeper into the architecture (which I'd love to do but simply don't have the bandwidth

Asking again: Designing a Web Services interface

2004-04-13 Thread David Thielen
Hi; I am new to web services and so I’m at a loss as to the best way to design a Web Services interface for our reporting package. Basically the package has 2 input files and a couple of settings and generates an output file. For the architecture of this I have a couple of questions: 1a)

How to load an SSL client certificate into an Axis client running in a WebLogic servlet?

2004-04-13 Thread Ext-Zoltan.Schreter
Hi, I am trying to run an Axis client from a servlet under WebLogic 8.1. The servlet is NOT the Axis servlet, it's really only a client, not a Web Service, but it uses the Axis web service client API. I am trying to create an SSL connection to a Web Service from that client, and I am getting a

path for wsdl2jaja files

2004-04-13 Thread Gianni Pucciani
Hi all, I'm trying to develop a simple web service. After tested it on my local machine (with success) I'd like to remotely test it. To do this I put my jws file in the axis/ dir of my remote server and now I'm about to create the client. I use a dinamic dns service for my remote server, so it

Re: Performance issues?

2004-04-13 Thread Stuart Barlow
:-) Frustrating. I would like to say that in the area of SOAP attachments the DataHandler class's use of memory is very good compared to specifying the return type as a byte[]. To send a 1MB document tomcat grows from ~22MB at startup to ~34MB after one call. And after repeated calls it settles at

Re: Getting Axis to put header definitions in the WSDL?

2004-04-13 Thread Nelson Minar
I'm having a conversation with myself! In the spirit of sharing info: >Is there any way I can get it to document required SOAP headers in >the generated WSDL? I'm talking about tags After I filed this as a feature enhancement Tom J. was kind enough to close it out because Axis already does let yo

Re: Axis :: WSDL :: Complex Types :: Java Beans !! ['Watchdog': checked] ['Watchdog': Virus checked]

2004-04-13 Thread Stuart Barlow
Any beans exposed in your web service will be pure dataholders. No logic at all. If you want some logic on the client side then you will have to provide your clients with a client side library - external to the webservice. [EMAIL PROTECTED] wrote: Can any one reply for my questions please. I sent i

re: need help with interoperability

2004-04-13 Thread James Black
I had some webservices that were working with my .NET clients, but I was using a lot of overloaded methods. I have since changed them to no longer be overloaded, but now my clients aren't working. The problem is that I get a message from the webservice that it can't find a deserializer for

RE: Beginners help

2004-04-13 Thread Steffen Heil
Hi > I spent a couple of hours yesterday looking into this. I didn't have a definitive solution, But, I realize this. For your operation in the binding section, if you have mime specification, it does not go well with or . Once I change the to and to . Axis generated the classes. I started loo

Re: Performance issues?

2004-04-13 Thread Davanum Srinivas
of course they don't want to explain the issues. ALMOST EVERYTIME i ask someone even on this mailing list to come up with sample/test case to show the problem so that we could fix it, there is ABSOLUTE silence from those people after that. AND EVERYTIME someone shows HOW WONDERFUL their soap st

Performance issues?

2004-04-13 Thread Jani Väisänen
Hi, Has anyone seen any comparison documents between different web services toolkits? I have been training the use of AXIS for few weeks now and I have liked it. But today I heard that I should stay away from AXIS because it has some performance issues. The person who told that, didn't want to

Axis :: WSDL :: Complex Types :: Java Beans !! ['Watchdog': checked] ['Watchdog': Virus checked]

2004-04-13 Thread KKanagaraj
Can any one reply for my questions please. I sent it a week back but still didn't get any response. thanks -kannan Hi Friends, Iam at the design stage of my webservice components. I have decided to start with WSDL design and use WSDL2Java for further developments like Creation of java b

axis beginner - simple attachment service

2004-04-13 Thread Stuart Barlow
I am running axis 1.2 beta in tomcat 5.0.19 I have copied the axis webapp from the axis distribution and to get attachments working have copied in activation.jar and mail.jar. When I goto the axis validation URL it states that everything is good and I get the message... The core axis libraries are

'unable to tunnel though Proxy' error when running an Axis client from a WebLogic servlet

2004-04-13 Thread Ext-Zoltan.Schreter
Hi people, I am trying to run an Axis client from a servlet under WebLogic 8.1. The servlet is NOT the Axis servlet, it's really only a client, not a Web Service, but it uses the Axis web service client API. I am trying to create an SSL connection to a Web Service from that client, and I am ge