Re: .java to .xsd

2005-02-28 Thread Bill Keese
Axis' Java2Wsdl generates WSDL files that contain the same information, in the same format, as the XSD file. babloosony wrote: Hi All, Are there any commercial, opensource tools out there that can convert my java class (that use inheritance) to XSD file ? Since I want to use such generated xsd in

Help for returning soap from a JAX-RPC web service

2005-02-28 Thread Sandeep Gaikwad
I am new to web services in sun. I want to return a soap envelope  from JAX-RPC web service as we return the integer in sum web service.Whether it is possible?If yes how? Do you Yahoo!? Yahoo! Mail - Easier than ever with enhanced search. Learn more.

Help for returning soap from a JAX-RPC web service

2005-02-28 Thread Sandeep Gaikwad
I am new to web services in sun. I want to return a soap envelope  from JAX-RPC web service as we return the integer in sum web service.Whether it is possible?If yes how? Do you Yahoo!? Yahoo! Mail - You care about security. So do we.

.java to .xsd

2005-02-28 Thread babloosony
Hi All, Are there any commercial, opensource tools out there that can convert my java class (that use inheritance) to XSD file ? Since I want to use such generated xsd in wsdl file and make no mistake by handcrafting xsd files based on my java files. Thanks & Regards, Kumar.

in client-config.wsdd?

2005-02-28 Thread Peter Smith
I can configure JAX-RPC Handlers using in server-config.wsdd. How can I define a similar chain for the client side in client-config.wsdd? Apparently is only valid within a element http://www.osmoticweb.com/axis-wsdd/handlerInfoChain.htm but I don't know how to configure such a thing in the cli

attachments not getting stored.

2005-02-28 Thread Krthekeyan Suriyanarayanan
HI all, I am trying to send attachments through webservice , When I try to figure out the receipt of attachment file . I am getting the data from client, but the file is not getting stored in the attachment.directory which i had mentioned in config file. what could be the problem. I suppose the

Test Mail

2005-02-28 Thread venkatesh
 

Re: Poor performance with Axis 1.2 client vs Apache Soap 2.3.1

2005-02-28 Thread Airline Pedestal
I've been doing some performance comparations simular to the ones in the below forwarded email. Although, I'm comparing AXIS 1.1 vs AXIS 1.2RC3. I'm seeing noticably slower perforamce with AXIS 1.2RC3. I thought it was suppose to be faster. My server uses AXIS 1.1 in all my tests but this shou

Re: java stand-alone axis client

2005-02-28 Thread Kevin Duffey
I've another thread regarding this very same issue. I'd love a "quick" snippet of code that shows me the "basics" of a client webservice call. Is it simply put axis.jar in the classpath and use the Service, Call and so forth? Is this a wrapper around JAX-RPC? Or does this tie me to Axis? I don't th

Re: java stand-alone axis client

2005-02-28 Thread Sunil Kothari
Hi, I think using DII to invoke a web service will greatly reduce the size of code. But if you are using custom exception handling then you might have to think twice before going for it. Sunil Kothari DISCLAIMER: Any Information contained or transmitted in this e-mail and / or attachments

Handler configuration in client-config.wsdd

2005-02-28 Thread Peter Smith
I am experimenting with Axis handlers of type JAXRPCHandler I can successfully configure *server-side* requestFlow/responseFlow handlers in the server-config.wsdd such that they are service specific. But on the *client-side* it only seems to work when the handlers are configured in the requestF

Re: "no serializer found" when using custom serializer problems

2005-02-28 Thread Airline Pedestal
I think your encodingStyle should be set to empty string (""). --- Jay Glanville <[EMAIL PROTECTED]> wrote: > Hello all > > I'm trying to write my own serializer/deserializer. > So, on that > education path, I'm taking rather small steps. I've > got a small bean > (one attribute), a test s

java.lang.reflect.InvocationTargetException

2005-02-28 Thread Jerome Gagner
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hey guys, I am getting the exception: "java.lang.reflect.InvocationTargetException" which I'm sure is pretty common, and isn't a problem with axis. I've debugged this situation once by just doing System.out.println in certain areas, and looking at T

Question on using Webservices

2005-02-28 Thread Soti, Dheeraj
Title: Question on using Webservices Hi, I am new to webservices and axis. The product that I am working on has a J2EE based middle tier which can be accessed by .NET clients (for UI). I am planning to publish by APIs as webservices. Has anyone experienced the same scenario before. I would a

Re: Same signature operations in WSDL

2005-02-28 Thread Anne Thomas Manes
Assuming you are using RPC style, then these two operations do have unique SOAP signatures, and therefore it is legitimate. In SOAP, the signature of the message is defined by the QName of the child element of the SOAP body. Since you have two different operation names, then the signatures of these

Re: Handmade WSDL?

2005-02-28 Thread Anne Thomas Manes
Actually, I just realized that there might be one more layer of wrapper in the response message. If you can give a sample SOAP response message, that would help. But, based on your current WSDL definition, I expect your response message schema to look like this:

Re: Handmade WSDL?

2005-02-28 Thread Anne Thomas Manes
I'm with Dino. I think you should convince your card processing service people to provide you with a decent schema. My chief concern is in regards to future maintenance. What if these "card processing service" people decide to change the message structure at some point in the future. Do they have a

Re: Handmade WSDL?

2005-02-28 Thread Elaine Nance
Well, I can contact the project manager and ask, but that would be effective only if I rewrite the WSDL first and include samples. The project manager is not a programmer. ITMT, which form of the changed WSDL below will be best? The responses which return xml documents (as strings) all seem t

RE: Handmade WSDL?

2005-02-28 Thread Dino Chiesa
Not stupid... Your approach is reasonable, but... Can you not contact the "card processing service" people and ask them to resolve the difference between the doc and the WSDL ? -Original Message- From: Elaine Nance [mailto:[EMAIL PROTECTED] Sent: Monday, February 28, 2005 3:45 PM To: a

Re: Using Axis 1.2RC2 stubs with Axis 1.1 ?

2005-02-28 Thread Anne Thomas Manes
Yes -- you can generate stubs using Axis 1.1 and run on Axis 1.2, but Sebastien was asking if he could generate stubs using Axis 1.2 and run on Axis 1.1. The latter does not work. Anne On Mon, 28 Feb 2005 11:11:03 -0600, sandeep arshanapally <[EMAIL PROTECTED]> wrote: > May be I misunderstood thi

RE: Dime Attachments

2005-02-28 Thread Shawn Konopinsky
Thanks for the response. Were you able to see any part of the DIME attachment with the TCP Monitor? Did you get this working with Axis 1.1? Something must happening server side, because when I attempt to pull the attachments from the response, there are none. However, running the exact same code

RE: Dime Attachments

2005-02-28 Thread Flores, Raul
I used the following test code to return various size files formated DIME from a server, and it worked (lookes like what you have). If I remember correctly, looking at messages via TCPMonitor, the message with DIME looks bizarro (as compared to MIME). So if you are saying that things do not work b

RE: Dime Attachments

2005-02-28 Thread Shawn Konopinsky
Just as a follow-up: I am running Axis 1.1. I just upgraded to Axis 1.2RC_2 and when I run the same code I get the following fault: [java] {http://xml.apache.org/axis/}stackTrace:java.io.IOException: DIME header less than 12 bytes. [java] at org.apache.axis.attachments.DimeDelim

Dime Attachments

2005-02-28 Thread Shawn Konopinsky
I have what seems to be a problem with send DIME attachments in SOAP. Mime works just fine for me when I use the following to set the send type: reply.getAttachmentsImpl().setSendType(Attachments.SEND_TYPE_MIME). However, when I make the simple modification to the line above to use DIME as the se

RE: Adding a custom handler

2005-02-28 Thread Alick Buckley
Title: RE: Adding a custom handler I have the following working =   QName portName = stub.getPortName () ;   Service service = stub._getService () ; // Axis 1.2 RC2   HandlerRegistry handlerRegistry = service.ge

Same signature operations in WSDL

2005-02-28 Thread Timour Mouratov
I have a simple question but I couldn't find an answer on w3.org. Can I define an operations in WSDL with same name and identical signatures. like this: When I generate the stubs and deploy the service , axis always c

"no serializer found" when using custom serializer problems

2005-02-28 Thread Jay Glanville
Hello all I'm trying to write my own serializer/deserializer. So, on that education path, I'm taking rather small steps. I've got a small bean (one attribute), a test service (that uses that bean), a rather simple serializer (that extends SimpleSerializer) and a rather simple serializer factory

Handmade WSDL?

2005-02-28 Thread Elaine Nance
Hope this is not stupid, but Problem: the wsdl for our (supposedly) enterprise credit card processing service shows well defined request parameters, but the SOAP responses are all designated as string, as shown below. I am thinking that the best way to generate the client stubs I need in Java

Same signature operations in WSDL

2005-02-28 Thread Timour Mouratov
I have a simple question but I couldn't find an answer on w3.org. Can I define an operations in WSDL with same name and identical signatures. like this: When I generate the stubs and deploy the serv

Re: Why Castor + AXIS?

2005-02-28 Thread Kenneth Stephen
Dino, In my case, it is primarily the first reason you mention. Castor has better coverage of XML schema features. Plus it also allows validation. Another minor thing : the Axis generated code serializes null object references using xsi:nil, whereas, wilth Castor, the XML element itself doesn

Axis setting classpath for client to use a custom API at run-time?

2005-02-28 Thread Ravi Shankar Sathish
Ranchers, I am a newbie to Axis; I have a simple webservice whose implementation is making use of a custom api; I include the jar file into my build path [I'm using eclipse as my IDE) and compile my webservice and my client; compilation goes through without any hassles; I generate my WSDL file B

RE: Speaking of deserialize exceptions

2005-02-28 Thread Dino Chiesa
Ah, no. I believe Mariano is saying : WSDL is the contract. The promise that is made between server and client. (I promise, that if you send me a message that looks like X, I will send you a reply that looks like Y). The De-serializer falls under the "execution" of the contract. That is t

RE: Doubts on java.util.Vector and XSD

2005-02-28 Thread Dino Chiesa
babloosony babbled: > in the below code snippet which is a xsd representation for java.util.Vector ... > I think we are saying that a vector can only contain string objects but not any other type of java objects. Am I right ? Yes. Therefore it is not a java.util.Vector, is it? If you wan

RE: java stand-alone axis client

2005-02-28 Thread Dino Chiesa
For AXIS 1.1, I think you need all the AXIS jars, a xerces implementation, and a servlet.jar ?     From: Dr Leinster [mailto:[EMAIL PROTECTED] Sent: Monday, February 28, 2005 1:22 PMTo: axis-user@ws.apache.orgSubject: java stand-alone axis client Hi,I want to use a light version of axis

RE: newbie::WSDL2Java::Very Basic help required

2005-02-28 Thread Dino Chiesa
> I thought WSDL2Java created the client side code only, I cannot understand the user guide, but it states that the tool creates both client and server code? (Surely I have the server code, otherwise how did I make the WSDL) Permit me to grind my axe a bit ... Your question presumes that all

RE: Document/Literal problem with .NET client

2005-02-28 Thread Dino Chiesa
We could help if you sent the WSDL and a copy of the request and response. If .NET does not see the namespace it expects, you'll get null. Even the smallest namespace change in the XML response document will cause the .NET client proxy to return null to the application. We saw this with Pradee

Why Castor + AXIS?

2005-02-28 Thread Dino Chiesa
What's the typical reason for using Castor with AXIS? - AXIS is missing features that Castor has? - Castor is already in use and the org wants to add webservices capability - something else? -Dino -Original Message- From: Kenneth Stephen [mailto:[EMAIL PROTECTED] Sent: Monday,

wsdl2java handling of xsd:sequence types

2005-02-28 Thread Andy Dolbey
Hello, I'm trying to connect to a service that's expecting a sequence of string arrays for its input. The WSDL I've got for this service includes these type configurations: The prob

java stand-alone axis client

2005-02-28 Thread Dr Leinster
Hi,I want to use a light version of axis to call webservices in a client =application...Size of the final application is an important factor for me.I am only interested in the client side of axis.Is there a way to reduce the dependecies and axis package size to >have what I need.thanks for

RE: Using axis ant task with typed enums

2005-02-28 Thread Bouche Paul
Or you can read in the jax-rpc spec 1.1 on how to write the java 1.4 enums in such a way that the axis engine will generate an enum that anne gave an example for... mainly the following: //Java public class { // ... // Constructor protected ( value) { ... } // One for each label in the enumerat

Fault code not being reported when CastorSerializer throws exception

2005-02-28 Thread Kenneth Stephen
Hi, I am seeing a validation failure in my response (which is an application failure that I will correct), but the associated fault code isnt being reported back to the client. Here is the exception that I see in the application server logs : [2/28/05 11:19:34:782 CST] 35205df6 SystemOut

Re: Using Axis 1.2RC2 stubs with Axis 1.1 ?

2005-02-28 Thread sandeep arshanapally
May be I misunderstood this, if the question is that you are generating stubs using Axis1.1 and running with Axis1.2 then it should be fine. Dims -- Do you think we will have issues with this?? Sandeep On Mon, 28 Feb 2005 11:53:43 -0500, Davanum Srinivas <[EMAIL PROTECTED]> wrote: > nope > >

Axis service deploy on tomcat timeout

2005-02-28 Thread Adam Landefeld
Hi all, I have been in development or a few weeks on an axis based web service. It has worked very well in dev. Now that I am deploying for production though, I find that it takes upwards of an hour for the service to become available after the tomcat server comes up. After the server is up I c

Axis debug message explanations

2005-02-28 Thread Ian Wootten
Hi there, I was wondering if there was any place to find explanations of each of the debug messages logged by Axis? Or a least a number of them which don't make much sense off of the bat? Would this be a case of just searching the api? Cheers, Ian

Re: Using Axis 1.2RC2 stubs with Axis 1.1 ?

2005-02-28 Thread Davanum Srinivas
nope On Mon, 28 Feb 2005 10:50:02 -0600, sandeep arshanapally <[EMAIL PROTECTED]> wrote: > You should be able to do that. > > Sandeep > > On Mon, 28 Feb 2005 17:46:16 +0100, Sebastien Mayemba Mbokoso > <[EMAIL PROTECTED]> wrote: > > Hi, > > > > just a question. I heard Axis 1.1 Ant Tasks don't

RE: Accessing Headers From WSDL2Java Generated Code

2005-02-28 Thread tore.larsen
Hei again James, My first implementation of retrieving header elements was by using a handler and that worked fine. But the new one seen below is just a method in my business code. I guess you should use a handler to intercept the message before it ends its journey. Tore -Original Message---

Re: Using Axis 1.2RC2 stubs with Axis 1.1 ?

2005-02-28 Thread sandeep arshanapally
You should be able to do that. Sandeep On Mon, 28 Feb 2005 17:46:16 +0100, Sebastien Mayemba Mbokoso <[EMAIL PROTECTED]> wrote: > Hi, > > just a question. I heard Axis 1.1 Ant Tasks don't work very well cause > of its many bugs. Does anybody know if i can use generated stubs by > Axis 1.2RC2 w

Using Axis 1.2RC2 stubs with Axis 1.1 ?

2005-02-28 Thread Sebastien Mayemba Mbokoso
Hi, just a question. I heard Axis 1.1 Ant Tasks don't work very well cause of its many bugs. Does anybody know if i can use generated stubs by Axis 1.2RC2 with Axis 1.1 ? --- Sebastien

RE: Accessing Headers From WSDL2Java Generated Code

2005-02-28 Thread J . Sugrue
Thanks Tore, But I am unsure how to access the MessageContext in the client side - I presume I need to implement my own Handler to do this? Thanks James <[EMAIL PROTECTED]> 28/02/2005 16:31 Please respond to axis-user@ws.apache.org To cc Subject RE: Accessing Headers From WSDL2Java Ge

RE: Accessing Headers From WSDL2Java Generated Code

2005-02-28 Thread tore.larsen
Hei James, I insert some code that I made for accessing my header elements on the server side. The header elements requestId, username and password are placed in the header when the client call is made and I retrieve them for use in a system that its own authentication functionality. Here it is, m

Adding a custom handler

2005-02-28 Thread J . Sugrue
Hi. I'm writing a client side Axis application, in which I need to create my own custom handler. I'm using WSDL2Java to generate my code stubs, and I was hoping that I could add a handler as follows: HandlerRegistry registry = service.getHandlerRegistry();

Re: JWSDP web service

2005-02-28 Thread Sandeep Gaikwad
I am trying to get the response from a jax rpc web service as a soapmessage or soapenvelope as we do in axis. Also jaxm support it but as an a servlet. But i want it as an web serivce so what should i do with jwsdp?Anne Thomas Manes <[EMAIL PROTECTED]> wrote: Please explain better what you're tryin

Re: Using axis ant task with typed enums

2005-02-28 Thread Anne Thomas Manes
Ulrich, First of all, WSDL does not contain any "class" descriptions. WSDL contains element and type descriptions -- specified using XML Schema. If you read through the archives, you will see frequent recommendations to take a "WSDL first" or "Schema first" approach to web services rather than a "

SwA

2005-02-28 Thread Christopher Johnson
I'm trying to send large attachments to my service based on the example found at http://viewcvs.globus.org/viewcvs.cgi/axis/java/samples/swa/ the service works great for small attachments but when trying to add large attachments I get java.lang.OutOfMemoryError exception. when using call.addAttac

Re: Problems in generating AXIS stubs

2005-02-28 Thread Anne Thomas Manes
Some problems with your WSDL: 1- You need to add a definition to your section and import the schemas into it rather than directly into the section: http://127.0.0.1:8080/axis/services/test";> 2- You must remove the namespace attributes from your definitions.

Re: Problem with Wrapped Literal style in .NET client

2005-02-28 Thread Anne Thomas Manes
If you convert your WSDL from rpc/literal to wrapped/literal, you shouldn't need to make any changes to your code base. If you supply the before and after WSDL file, perhaps we can help you diagnose the problem. Anne On Mon, 28 Feb 2005 12:34:00 +0600, Murad <[EMAIL PROTECTED]> wrote: > Hello A

Re: JWSDP web service

2005-02-28 Thread Anne Thomas Manes
Please explain better what you're trying to do and what problem you're having. On Mon, 28 Feb 2005 02:25:03 -0800 (PST), Sandeep Gaikwad <[EMAIL PROTECTED]> wrote: > Can anyone help me for passing the SOAP message as return from a JAX-RPC web > service. > > > > ___

How do I implement wss4j in Websphere 5.1.2?

2005-02-28 Thread anshuk pal chaudhuri
I have a simple web service in WSAD. I have also added the wss4j.jar file.Thus I will be able to access the classes. But how do I secure the web service using UserName Token using the wss4j apis in websphere? Please let me know. I am really stuck on that. _

RE: AXIS 1.2 Final ?

2005-02-28 Thread Dovholuk, Clint
Hi Kenneth, (and all) Is there support for a war within a war? Due to a legacy cacheing system (created long before hibernate et. al.) I need/want my app to run within the same JVM as Axis 1.1 AND Axis 2.0. Because of this, I want BOTH the Axis 1.1 jar AND the Axis 2.0 jars distributed with the w

JWSDP web service

2005-02-28 Thread Sandeep Gaikwad
Can anyone help me for passing the SOAP message as return from a JAX-RPC web service.     Do you Yahoo!? Yahoo! Mail - You care about security. So do we.

Re: Problem with Wrapped Literal style in .NET client

2005-02-28 Thread Murad
Please help me out as the problem remains the same. On Mon, 28 Feb 2005 15:45:53 +0600, Murad <[EMAIL PROTECTED]> wrote: > Thanks.. You showed two ways to track the problem. With number 2 I > found no errors in deserializing my classes associated with the proxy. > For number 1.I also prov

Re: Problem with Wrapped Literal style in .NET client

2005-02-28 Thread Murad
Thanks.. You showed two ways to track the problem. With number 2 I found no errors in deserializing my classes associated with the proxy. For number 1.I also provide all possible priviledges to the temp directory. On Mon, 28 Feb 2005 09:58:02 +0100, Gilles Devaux <[EMAIL PROTECTED]> wr

Problems in generating AXIS stubs

2005-02-28 Thread $B?9K\(B $B=$GO(B
Hi, (BI am developing SAML authority services on AXIS. (BWhen I try to generate stub codes with the attached (Bwsdl by WSDL2Java, I have some problems. (B (BOne of the problems is that some classes have (Bduplicated attributes. For example the class (BSubjectType has two SubjectConfirmatio

Re: [Axis2] problems with new web service deployment

2005-02-28 Thread jayachandra
Thanx guys! It turned out to be META-INF naming. The reason why I used meta-inf (lowercase) was that I opened a sample jar (sample1.jar) in winzip and saw the folder of service.xml displayed by winzip to be in lower case. May be that's the winzip custom style. Ajith! thanks for the explanatory not

RE: Problem with Wrapped Literal style in .NET client

2005-02-28 Thread Gilles Devaux
I also had this problem: 2 things: 1) It is possible that your temporary directory is not accessible by the .NET accounts -> your program can't create the temporary assemblies. 2) .NET can't serialize an object and the assembly is not created -> use the XmlPreCompiler (http://weblogs.asp.net/m