Error generating WSDL

2004-02-11 Thread Thomas Saxtoft
Title: Meddelelse Hi,   In a project we are using the OC4J and axis. We have deployed a webservice and it shows up in http://localhost:/axis/services/. Now when we press the link to get the wsdl, we get an error, and it goes like this:   AXIS error   Sorry, something seems to have gone

RE: How to Underline a Title in Apache WIKI Page

2004-02-11 Thread Kanchana Welagedara
When you continue the Character "===" for a Considerable length as normally happens the next text line goes down and can see as a underline. Thanks Kanchana > -Original Message- > From: Kanchana Welagedara [mailto:[EMAIL PROTECTED] > Sent: Wednesday, February 11, 2004 12:01 PM > To: [EMAI

Re: Connection Timed Out

2004-02-11 Thread Airline Pedestal
Maybe an "Out of Memory" error. You could consider increasing the heap size on the server JVM. You could add something like set JAVA_OPTS=-server -Xms128m -Xmx256m to catalina.bat Just a guess though. --- Rommel Sharma <[EMAIL PROTECTED]> wrote: > > Just to add to my earlier query...I h

getting client ip in service class

2004-02-11 Thread Samir Shaikh
Hi, I have an axis webservice and I am wanting to get the Client IP (the one that comes in server access logs) for logging purposes. I dont know how to get that. Any help in this will be appreciated. Thanks. Samir

RE: how to sepcify certificate alias

2004-02-11 Thread Samir Shaikh
Hi, I have a webservice and I am wanting to get the Client IP (the one that comes in server access logs) for logging purposes. I dont know how to get that. Any help in this will be appreciated. Thanks. Samir

Re: map type information

2004-02-11 Thread Robert McIntosh
Robert McIntosh <[EMAIL PROTECTED]> 02/11/2004 02:35 PM Please respond to [EMAIL PROTECTED] To [EMAIL PROTECTED] cc Subject map type information I'm doing some testing with hashmaps, using 1.1 and 1.2beta, and the map gets serialized without any kind of type information

RE: Is it possible to output content of AXIS generated beans as x ml?

2004-02-11 Thread Manchaiah, Girish (LNG-DAY)
Title: july4.html Is it possible to output content of AXIS generated beans as xml? Using SerializationContext or some other mechanism.   thanks, girish -Original Message-From: Manchaiah, Girish (LNG-DAY) [mailto:[EMAIL PROTECTED]Sent: Wednesday, February 11, 2004 3:06 PMTo: '[

Freeware Testing tool

2004-02-11 Thread Tony Blair
Hi folks, Are there any freeware testing tool for web services? Thanks, Tony. Do you Yahoo!? Yahoo! Finance: Get your refund fast by filing online

XML Encoding for a void type?

2004-02-11 Thread Sam
Hi,   I need to invoke a web service that takes in a void type and returns a Vector. Thanks to Venkatesh Kancherla, I am able to do the Vector part fine. But I am now stuck with the void thing. (I am using Java) what do I need to do in the client if I have a service that takes in a void? Here's my

Re: how to sepcify certificate alias

2004-02-11 Thread Leo de Blaauw
Hey, Well I also found this on the IBM developer domain website: http://www-106.ibm.com/developerworks/java/library/j-customssl/ pretty good stuff on writing your own keymanager stuff ! But only half of the road as far as using it trough axis.. no news there.. Greetz Leo - Original Messag

RE: how to sepcify certificate alias

2004-02-11 Thread jzhang
I went through couple of books, two are security (forgot the title, but I think it is Java Security, there is a lot of low-level stuff that you might not be very interested as J2EE applications developer), and couple of J2EE books in general. This is the only one that I found discussed on KeyMan

Problem with RPC Datahandler attachment over jms

2004-02-11 Thread tnelson
Greetings, I have a demo application that attempts to send various types of attachments as SOAP messages over JMS using jaxrpc Service methods include: sendString(String str) sendBytes(byte[] bytes) sendDataHandler(DataHander dh) Sending a String or a byte array works fine, but sending a

map type information

2004-02-11 Thread Robert McIntosh
I'm doing some testing with hashmaps, using 1.1 and 1.2beta, and the map gets serialized without any kind of type information for the values. Should there be type information so it can be deserialized correctly? My collection serialization seems to work just fine as well as a simple type. Also, m

Re: Advanced WSDD

2004-02-11 Thread Leo de Blaauw
with... lol Leo - Original Message - From: "Galbreath, Mark A" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, February 11, 2004 9:15 PM Subject: RE: Advanced WSDD > mit? > > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Wednesday, Fe

RE: Advanced WSDD

2004-02-11 Thread Galbreath, Mark A
mit? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 11, 2004 3:07 PM To: [EMAIL PROTECTED] Subject: Re: Advanced WSDD Hi! I am one of four authors of a book called "Java Web Services mit Apache Axis". It will be available from the end of

Is it possible output WSDL2JAVA generated beans as xml?

2004-02-11 Thread Manchaiah, Girish (LNG-DAY)
Title: july4.html Hello,   Is it possible to write out xml from WSDL2JAVA generated beans? Using SerializationContext or some other mechanism.   regards, girish

Re: Advanced WSDD

2004-02-11 Thread Thilo Frotscher
Hi! I am one of four authors of a book called "Java Web Services mit Apache Axis". It will be available from the end of March. Unfortunately we are not allowed to publish any contents here, especially not before the book is available. But anyway - the book will contain a chapter called "WSDD Refer

RE: how to sepcify certificate alias

2004-02-11 Thread Shah, Soniya M. [RA]
In my case, I have one client which access many servers. I did not have to do anything in the client code for it to happen. It just works. I think underlying ssl implementation figures out which certificate to use, based on which certificate does the server presents. I am using sun's implemen

multiRef problem - returning XML Document type

2004-02-11 Thread christopher justin
My Web Service is returning org.w3c.dom.Document (returning an XML doc as the type). The WSDL shows the response type as type="apachesoap:Document" . I have nothing special in my deploy.wsdd for type matching or anything. The XML document shows up in a tag as part of the Soap Response. Whe

Re: how to sepcify certificate alias

2004-02-11 Thread Leo de Blaauw
Yes My own investigation suggested that solution, still no way how to specify trough axis to pass on the variable with the alias to the keymanager though ?? Let me know if you come up with a solution to that one. Greetz leo - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTE

RE: how to sepcify certificate alias

2004-02-11 Thread jzhang
I can give different aliases to different certificates. The problem is that the first one that CA recognize will be taken no matter which client is accessing the server. How did you tell the implemenation the alias value? I went to the bookstore and found in the book "J2EE Security" by Pankaj J

RE: client calling service that returns array possible ?

2004-02-11 Thread Quinten Verheyen
You are right. And it is due to my clumsiness that I didn't understand that the WSDL2Java tool would do the job.I appreciate the advice.Luckily for me I guess, it seems now that the web services returning an array are not the ones I have to implement in my Java Client.Unluckily however that

Re: how to sepcify certificate alias

2004-02-11 Thread Leo de Blaauw
Title: Message True, But what if you need to force the selection of a certain client certificate to just one server to identify your request ?   Greetz Leo - Original Message - From: Shah, Soniya M. [RA] To: '[EMAIL PROTECTED]' Sent: Wednesday, February 11, 2004 6:44

Problem with WSDL Validation when Generated by Apache-Axis Web Publisher.

2004-02-11 Thread Jerry Cole
Title: Message Hi.   I'm checking out the Axis Web Publisher that runs as a webapp under Tomcat. I'm using Axis 1.1 and Tomcat 5.0.   The WSDL generated by the AdminClient looks okay to me (I am not an expert) and works when called through the Axis client libraries (WSDL2Java).   However, a

RE: how to sepcify certificate alias

2004-02-11 Thread Shah, Soniya M. [RA]
Title: Message   I use a different alias for each certificate and it is working. I have about 10 certificates in the trust store file and the client can talk to each of those server.   Soniya -Original Message-From: bethana kumar [mailto:[EMAIL PROTECTED] Sent: Τετάρτη, 11 Φε

Re: SoapMonitorApplet problem

2004-02-11 Thread bethana kumar
Tony   No usei tried it already. i am using tomcat5.0 on windows 2000, Axis1.1 and IE5.0   any how thanksTony Blair <[EMAIL PROTECTED]> wrote: Well let's try all the steps and see where that takes us. This is what you need to do:   -Undeploy the example3 using the undploy.wsdd. -De

Re: SoapMonitorApplet problem

2004-02-11 Thread Tony Blair
Well let's try all the steps and see where that takes us. This is what you need to do:   -Undeploy the example3 using the undploy.wsdd. -Deploy the example3 using the deploy.wsdd that has the requestFlow and responseFlow. -State the SoapMonitorService -Run the example.   If no traffic shows, perhap

RE: method name is not passed in SOAP envelope

2004-02-11 Thread Wagh, Shrikant
Title: Message Hi Oleg,   If you look at your WSDD file the web service you deployed is of document literal type. And for document literal type of services the request does not contain the element with the  method name as the immediate child of the body. In turn the firsy child is the mes

Re: SoapMonitorApplet problem

2004-02-11 Thread bethana kumar
Hi     keyboard problem  :::)) No i did not see any soap traffic ..I am just executing the sample example  i.e  axis/samples/userguide/example3 which is bundled with axis. Tony Blair <[EMAIL PROTECTED]> wrote: Hi there,   Are you saying that soap traffic only shows when there is a delay?

Re: SoapMonitorApplet problem

2004-02-11 Thread Tony Blair
Hi there,   Are you saying that soap traffic only shows when there is a delay? I don't have that problem. Of course my service takes some times to process the request but there is no major delay. Your wsdd looks good.   Tony.bethana kumar <[EMAIL PROTECTED]> wrote: Hi      I have added request

RE: how to sepcify certificate alias

2004-02-11 Thread bethana kumar
Hi   I really do not understand how come JSSE does not allow specifying thealiaswhile the keystore file can store multiple certificates   U can give different alias name for each certificateif u give different names then we can store multiple certfictes in same keystore.   Why dont u read appl

RE: Advanced WSDD

2004-02-11 Thread Heitzeg, Bill
I'll definitely volunteer to add to the wiki as I figure out my issues. Does anyone recommend a simple way to reverse engineer the Axis wsdd spec? I suppose the source code would be the place to start unless someone has another idea. Bill -Original Message- From: Davanum Srinivas [mai

Re: SoapMonitorApplet problem

2004-02-11 Thread bethana kumar
Hi      I have added request flow and response flow tags . This is my deploy.wsdd.. i hope we can see soap traffic only when there is delay in requet and response ???           xmlns:java="http://xml.apache.org/axis/wsdd/providers/java">                    Tony Blair <[EMAI

Re: Advanced WSDD

2004-02-11 Thread Davanum Srinivas
It could be a joint effort on wiki - http://nagoya.apache.org/wiki/apachewiki.cgi?AxisProjectPages -- dims --- Anne Thomas Manes <[EMAIL PROTECTED]> wrote: > Call for volunteers? > > It would be really nice if someone could produce some documentation for the > rest of us... > > Anne > > At

Re: Advanced WSDD

2004-02-11 Thread Anne Thomas Manes
Call for volunteers? It would be really nice if someone could produce some documentation for the rest of us... Anne At 02:29 PM 2/11/2004, you wrote: Bill, I had a similar question myself but ended up reading all the wsdd files in the sample codes to figure things out as I needed them. The A

SOAP 1.1 section5 & Axis1_2

2004-02-11 Thread Balaji D L
Hi, Is axis1_2Alpha version is using http://schemas.xmlsoap.org/soap/encoding/ or http://www.w3.org/2001/XMLSchema for encoding primitive types like int,sting,byte etc., I ask this, coz i found the axis1_2Alpha is using SOAP encoding instead of literal encoding, and this is not accepted by .NET

RE: SoapMonitorApplet

2004-02-11 Thread Oleg Lebedev
Title: Message Sorry, it was a typo. I did add the to deploy.wsdd It's actually very easy with an ANT replaceregexp task. You can put the following target in your build.xml and call it right after you wsdl2java generates deploy.wsdd.   Hope this helps. name="update_wsdd" depends="generat

RE: how to sepcify certificate alias

2004-02-11 Thread jzhang
You are right. Based on your email and Stuart's, KeyManager is one possibility to tackle the problem. I'll see whether I can use the other alternative from Stuart about using different CA. I want to keep my code clean from any security logic if possible. Thanks a lot, Resonses from you and Stuar

Re: Axis + JXTA

2004-02-11 Thread Cheng Po-wen
Hi, dims & dahiya: We've created the project "JXTA & Web Services Gateway" on SourceForge U can have ur browser link to http://sourceforge.net/projects/j-x-w-s--gw/ and U can find it. Because ChoJun & me developed this prototype since the end of year 2002, and we couldn't have enough time to ma

Re: Advanced WSDD

2004-02-11 Thread Tony Blair
Bill,   I had a similar question myself but ended up reading all the wsdd files in the sample codes to figure things out as I needed them. The Aixs documentation is very brief on many topics. Thanks to many good people on this mailing list, I've been learning a lot.   Tony."Heitzeg, Bill" <[EMAIL

Re: SoapMonitorApplet problem

2004-02-11 Thread Tony Blair
Hi there, Did you added the requestFlow and responseFlow tag in your deploy.wsdd ? Once you do that you should start seeing the soap traffic.   Tony.bethana kumar <[EMAIL PROTECTED]> wrote:   Hi I have copied the deploy-monitor.wsdd which is mentioned in the site ,then i have deployed it with

RE: how to sepcify certificate alias

2004-02-11 Thread jzhang
Enforcing selection of cert with CA is a smart idea. I'll definitely go through the thread you mentioned. Thanks. Jian Stuart Miller

RE: contentlength calculation error with attachments

2004-02-11 Thread Mikael Larsson
Hi again! It seems like my problem was caused by the fact that the Content-Length is calculated before a call to MimeBodyPart.updateHeaders is done. I'm not sure where the call is made in axis that actually leads to the update of all mime headers but it seems to be done after calculation of the Co

RE: how to sepcify certificate alias

2004-02-11 Thread Leo de Blaauw
Title: RE: how to sepcify certificate alias Well, Just in short we went trough a whole discussion with IBM and apparently its not that common to want to do this from code. They come the suggestion pretty quick to write your own keymanager, wich is really not that difficult. I just havent fo

RE: client calling service that returns array possible ?

2004-02-11 Thread Sherman, Dennis (END-CHI)
Is there some reason you're not using the WSDL2Java tool that generates client stubs for you?  The code it generates will manage all of the call.set*(), QName creation, type mappings, and so on for you.    --Dennis R. ShermanEndeavor Information Systems847-227-2976[EMAIL PROTECTED]http://ww

RE: how to sepcify certificate alias

2004-02-11 Thread jzhang
We are using IBM implementation. We want to deploy two applications into the same JVM and what we have done so far is to define the system properties directly as JVM parameters. So both applications share the same system properties, and hence the same keystore file path. Even we put these defini

Re: SEND_TYPE_ATTR ignored?

2004-02-11 Thread Ben Brown
It was being caused by my setting an incorrect (undefined) QName type for a parameter- this overrode the SEND_TYPE_ATTR flag in axis. Benjamin Ben Brown wrote: I'm writing a client that should not send the XSI type attribute so I've set the property using: call.setProperty(org.apache.axis.cli

Advanced WSDD

2004-02-11 Thread Heitzeg, Bill
Good morning (at least where I am it's morning), Does anyone know of a good reference for the Axis WSDD? I've heard people say that the docs contain a good reference. If so, I certainly can't find it. If someone could point me to a detailed layout of the WSDD in the docs, that would be great.

RE: Simple arrays in complex types

2004-02-11 Thread Heitzeg, Bill
Using arrays in complex types turns out to be fairly simple.  You simple need to add an additional setter and an additional getter, so that Axis can set and get individual elements in the array.   The two should look like:   public PhoneInfo getPhoneItem(int i) { return phoneItem[i]; } a

Re: SoapMonitorApplet problem

2004-02-11 Thread bethana kumar
  Hi I have copied the deploy-monitor.wsdd which is mentioned in the site ,then i have deployed it with AdminClient.Now i am not getting any errors but i did not see any soap traffic while executing http://localhost:8080/axis/services/MyService?wsdl   whats the probelm?I did not see my service

Re: TCPMon

2004-02-11 Thread Tony Blair
Thanks Venkatesh and Dimuthu for your inputs. I will apply them.   <>   NO. Where have you been? I am the great prime minister of England :-)Dimuthu Leelarathne <[EMAIL PROTECTED]> wrote: Hi Tony,You have to set the target endpoint address as;call.setTargetEndpointAddress(newjava.net.URL(http://127

RE: TCPMon

2004-02-11 Thread Tony Blair
Thanks Robert. This makes a lot of sense.   Regards, Tony.ROBERT SJODIN <[EMAIL PROTECTED]> wrote: First of all, the client doesn't listen to port 1234, rather, it posts HTTP requests there (because that's where you have TCPMon listening). Your client needs to designate the TCPMon IP address and po

Re: SoapMonitorApplet problem

2004-02-11 Thread Tony Blair
Hi there,   Did you deploy the soap monitor service.Go to http://www.sosnoski.com/presents/java-xml/axis/axis-monitor.html and follow the instructions. I was getting the same error but now the Soap monitor is working fine.   Tony.bethana kumar <[EMAIL PROTECTED]> wrote: Hi    I am getting followin

SEND_TYPE_ATTR ignored?

2004-02-11 Thread Ben Brown
I'm writing a client that should not send the XSI type attribute so I've set the property using: call.setProperty(org.apache.axis.client.Call.SEND_TYPE_ATTR, Boolean.FALSE); According to the API: AXIS properties: SEND_TYPE_ATTR - Should we send the XSI type attributes (true/false) Using So

AW: Logging incoming and outgoing messages ?

2004-02-11 Thread Benjamin Marcel Flohr
Title: RE: Logging incoming and outgoing messages ? Hi all.   thanx for your help-- it worked liked you described it   greets from hamburg benjamin -Ursprüngliche Nachricht-Von: Wagh, Shrikant [mailto:[EMAIL PROTECTED]Gesendet: Donnerstag, 5. Februar 2004 23:24An: [EMAIL PROT

Re: SoapMonitorApplet problem

2004-02-11 Thread bethana kumar
Hi    I am getting following error when i have addedd SOAPMonitor Service for my service i.e axis/samples/userguide/example3. Exception - org.apache.axis.ConfigurationException: Can't find handler name:'null' type:'soapmonitor' in the registryorg.apache.axis.ConfigurationException: Can't find handl

contentlength calculation error with attachments

2004-02-11 Thread Mikael Larsson
Hi all! I'm using axis for sending and receiving SOAP message based requests with attachments (multipart mixed). When sending a message through the TCPMonitor I can see that the length is set to some value e.g. "Content-Length: 2821", on the receiving side (the server is also implemented using axi

some comments from new AXIS user

2004-02-11 Thread Ofer Baranes
Hello ,   I am new to AXIS , i enjoy to learn it and impressed from its power.   My comments is about the demo samples and the ‘Axis User’s Guide’ , 1 - the samples missing an index file or a good README file describing what     each demo target is. 2 - Also , by accident , I have s

RE: how to sepcify certificate alias

2004-02-11 Thread Stuart Miller
Jian, I'm afraid you cannot. Not even at the SSL level can you do this, unless you write your own KeyManager. When the SSL connection is made, the server will send a list of Issuer DN's which are acceptable, so that the client will decide this way which cert he can present (the decision is also

FW: client calling service that returns array possible ?

2004-02-11 Thread Quinten Verheyen
In addition I add my code for the Client class :    Service service = new Service();       Call call = (Call) service.createCall();    call.setTargetEndpointAddress( new java.net.URL(endpoint) );    call.setProperty(call.SOAPACTION_USE_PROPERTY, new Boolean(true));