Re: java2wsdl2java deletes code in beans

2003-07-15 Thread Peter Landmann
Hi Jrg, I use to generate the Java classes into a seperate directory and with the option helpergen=true, which generates seperate helper classes with the SOAP specific stuff. After that I move the *Helper, *Service, *ServiceLocator and *SoapBindungStub files into a separate package of my source

Re: Problem with custom exceptions not getting deserialized

2003-07-15 Thread Dan Kamins
I faced the same problem (can't throw app-specific exceptions) and solved it by subclassing AxisFault for all of my exceptions. It allows me to explicitly set text for the actor, code, details, etc. fields of the SOAP fault fairly easily in the constructors of the exceptions. That being

Re: Problem with custom exceptions not getting deserialized

2003-07-15 Thread Dan Kamins
I faced the same problem (can't throw app-specific exceptions) and solved it by subclassing AxisFault for all of my exceptions. It allows me to explicitly set text for the actor, code, details, etc. fields of the SOAP fault fairly easily in the constructors of the exceptions. That being

Re: Problem with custom exceptions not getting deserialized

2003-07-15 Thread Dan Kamins
I faced the same problem (can't throw app-specific exceptions) and solved it by subclassing AxisFault for all of my exceptions. It allows me to explicitly set text for the actor, code, details, etc. fields of the SOAP fault fairly easily in the constructors of the exceptions. That being

Re: Problem with custom exceptions not getting deserialized

2003-07-15 Thread Dan Kamins
I faced the same problem (can't throw app-specific exceptions) and solved it by subclassing AxisFault for all of my exceptions. It allows me to explicitly set text for the actor, code, details, etc. fields of the SOAP fault fairly easily in the constructors of the exceptions. That being

One way service in AXIS

2003-07-15 Thread Duraiswamy, RajaManickam (Cognizant)
Hi All, How do configure a web service with one-way operation in axis??. thanks in advance, raj This e-mail and any files transmitted with it are for the sole use of the intended recipient(s) and may contain confidential and privileged information. If you are not the intended recipient,

Re: Problem with custom exceptions not getting deserialized

2003-07-15 Thread Davanum Srinivas
Dan, This problem has been fixed already in 1.1 thanks, dims --- Dan Kamins [EMAIL PROTECTED] wrote: I faced the same problem (can't throw app-specific exceptions) and solved it by subclassing AxisFault for all of my exceptions. It allows me to explicitly set text for the actor, code,

Re: Problem with custom exceptions not getting deserialized

2003-07-15 Thread Peter Landmann
Dear Dvanum, Davanum Srinivas [EMAIL PROTECTED] wrote: Dan, This problem has been fixed already in 1.1 I am using the 1.1 release version (I never tried it with 1.0). Last week I even tried one of the nightly builds, but the problem is still the same, and wsdl2java generates the same

ANN: SOAPscope 2.0 beta available

2003-07-15 Thread Jim Murphy
SOAPscope 2.0 beta - FREE to a good home. SOAPscope 2.0 is a major new release of SOAPscope adding significant WSDL-related features. The beta is available now by registering at http://www.mindreef.com/beta/ New in SOAPscope 2.0 Beta 2 --- - Improved User

Re: Problem with custom exceptions not getting deserialized

2003-07-15 Thread Davanum Srinivas
We are NOT going to change the way wsdl2java generates code...In 1.1, you can register your own exceptions and throw/catch them. Look at samples\faults -- dims --- Peter Landmann [EMAIL PROTECTED] wrote: Dear Dvanum, Davanum Srinivas [EMAIL PROTECTED] wrote: Dan, This problem has

RE: Axis attachment file created in the Temp directory

2003-07-15 Thread jzhang
Ideally Axis can clean it up once the request is serviced. How about using cron job to clean up temprary files that are older than say 30 minutes.

complex return type question

2003-07-15 Thread Sameer Bombatkar
Hi all I have a method which returns a user-defined compelx object ..But this object in turns contains a map.I want to call this method in .NET front end. I guess there is no direct support for Maps in .NET and one has to convert that Map into an array of JavaBean. How do I deal with this

Performance of Web Service Clients

2003-07-15 Thread dave . prout
Hi, I'm in the Web Services team at BT. We use Axis a lot, as it works, and scores highly on interoperability. For the last couple of months I've had to look at calling web services secured with various kinds of Transport Security, i.e. Basic Authentication with and without SSL,

WSDL2Java

2003-07-15 Thread Godfrey, Gary
Title: WSDL2Java The web service we are writing uses complex objects. We have created our main interface, implementation and complex data object structure. We have run Java2WSDL and this has created the WSDL as expected. We have run WSDL2Java and asked for the generated classes to go into

Re: WSDL2Java

2003-07-15 Thread James Black
Godfrey, Gary wrote: How do we tie the Axis generated code to our implementation code? The only way we see of doing it is to write adapter classes to map our data transfer classes to the Axis versions. This is incredibly complex due to the data hierachy and requires business logic to handle

To override SocketFactory.

2003-07-15 Thread Sriram . V
Hi, I would like to set the components properties by creating a service definition file. Can anyone help me on how to create this file. Thanks and Regards Sriram GE Frankona Re V,Sriram

Re: Message Style Service and Exception Handling

2003-07-15 Thread remko de knikker
I don't seem to have a problem with it. here's my example which creates a SOAPResponse on the SOAPMonitor. Could it be that your server is configured to override and handle the exception, I remember that I once had that issue, although I am no expert on this. import javax.xml.soap.SOAPBody;

RE: SSL on Apache Axis

2003-07-15 Thread Shah, Soniya M.
Sriram, I am trying to do the same but running into errors. Can you tell me how did you set the attributes 'trustStore' and trustStorePassword' and got it working? Thanks, Soniya -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday, July 14, 2003 1:25 PM

Re: Performance of Web Service Clients

2003-07-15 Thread Davanum Srinivas
Dave, Can you please try latest CVS / Nightly Build. Checked in fixes for performance a few days back. I'd like a comparison between latest CVS and what you have now. (I definitely know that 1.1RC2 had a lot of problems, so you might want to use 1.1Final.). Please post the results here. Also

RE: SSL on Apache Axis

2003-07-15 Thread Davanum Srinivas
It's javax.net.ssl.trustStorePassword. (See http://www.cs.ttu.edu/~cs5331/ns/modules/SSLTLS/SSLTLS.html on how to set this in the command line) -- dims --- Shah, Soniya M. [EMAIL PROTECTED] wrote: Sriram, I am trying to do the same but running into errors. Can you tell me how did you set

RE: Axis attachment file created in the Temp directory

2003-07-15 Thread jaccoud
I noted that my Axis client does not dump the attachments to a file unless I use some data handler function that forces it. For example, if I use dh.getName() Axis will dump the contents to a temp file and return its name. If you just use dh.writeTo() to specify where to put the data, Axis will

RE: SSL on Apache Axis

2003-07-15 Thread Sriram . V
Hi , I was looking through the Axis System Integration guide on the section of pluggable components. I wanted to set up my own SocketFactory implementation and found that the preferred way is by creating a service definition file rather than setting the System.properties which is

RE: Message Style Service and Exception Handling

2003-07-15 Thread Bhanu Pabreja
what do you mean my server is configured to override and handle the exception. I mean if the response is with flow and no exception is thrown then the SOAP response is perfectly norman but it is only on the event of an exception that the SOAPMonitor shows the status as ACTIVE and nothing

RE: Message Style Service and Exception Handling

2003-07-15 Thread Bhanu Pabreja
BTW I wan unable to do a copy command (CTRL + C) on the SOAP monitor how did you do that :) Bhanu Pabreja -Original Message-From: Bhanu Pabreja [mailto:[EMAIL PROTECTED]Sent: Tuesday, July 15, 2003 1:39 PMTo: [EMAIL PROTECTED]Subject: RE: Message Style Service and

RE: Performance of Web Service Clients

2003-07-15 Thread dave . prout
Thanks, I'll do as you suggest, and post the results by the end of this week. Dave -Original Message- From: Davanum Srinivas [mailto:[EMAIL PROTECTED] Sent: Tue 15/07/2003 17:50 To: [EMAIL PROTECTED] Cc: Subject: Re: Performance of Web Service Clients Dave, Can you please

Remote Administration of SOAP Monitor

2003-07-15 Thread Bhanu Pabreja
I am surely not able to find the information but I want to configure my SOAP Monitor so that I can use it remotely. I had read that there is a tag which has to be included in one of the files to turn remote adminstration possible. Can some body guide me to that. Thanx in advance. dumdum420

Re: Remote Administration of SOAP Monitor

2003-07-15 Thread Davanum Srinivas
Please visit the Wiki (http://nagoya.apache.org/wiki/apachewiki.cgi?AxisProjectPages) --- Bhanu Pabreja [EMAIL PROTECTED] wrote: I am surely not able to find the information but I want to configure my SOAP Monitor so that I can use it remotely. I had read that there is a tag which has to be

Re: Problem with custom exceptions not getting deserialized

2003-07-15 Thread Dan Kamins
How specifically has this problem been fixed? I'm looking at the samples/faults example in v1.1 and I can see now that a RemoteException (not AxisFault) is being thrown, and that it has a bean typeMapping in the wsdd. But what control does a developer have over this mapping? This should be

RE: Remote Administration of SOAP Monitor

2003-07-15 Thread Bhanu Pabreja
thanx, Bhanu Pabreja -Original Message- From: Davanum Srinivas [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 15, 2003 2:13 PM To: [EMAIL PROTECTED] Subject: Re: Remote Administration of SOAP Monitor Please visit the Wiki (http://nagoya.apache.org/wiki/apachewiki.cgi?AxisProjectPages)

Re: Problem with custom exceptions not getting deserialized

2003-07-15 Thread Davanum Srinivas
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=19682 http://marc.theaimsgroup.com/?l=axis-devm=105354748107569w=2 -- dims --- Dan Kamins [EMAIL PROTECTED] wrote: How specifically has this problem been fixed? I'm looking at the samples/faults example in v1.1 and I can see now that a

Re: Message Style Service and Exception Handling

2003-07-15 Thread remko de knikker
Actually, it was on IIS/.NET I believe, where you can set priority to exception handling either by the server or the application, so forget about what I said about it, I don't know if Tomcat/Java can do the same. I checked on my Client, where I was just catching the Exception instead of

RE: Message Style Service and Exception Handling

2003-07-15 Thread Bhanu Pabreja
but I dont see the response in the SOAPMonitor itself. I mean if there was something like a exception alteast some response should have taken place and should have shown in the monitor. I did not even see the response envelope. Expalin the AxisFault scenario a littel bit more ... cause the

Re: Message Style Service and Exception Handling

2003-07-15 Thread remko de knikker
Hmm, that's right, you don't see any Response on the TCPMonitor (I assume that means you see a Request ofcourse). I see that you write return new RemoteException(ex.toString() what happens if you throw the exception (ie what i did in my exception handling) instead of returning it?

RE: Message Style Service and Exception Handling

2003-07-15 Thread Bhanu Pabreja
i am not returning but throwing the exception ... I just coded a method and returned the exception in the main exception block and threw it from there. Made a method cause my document could have muliple conditions so did not want to write the same code everywhere ... But yes I am

IDREF/IDREFs support in AXIS 1.1

2003-07-15 Thread Tony Opatha
Does the AXIS 1.1 WSDL2WebService tool support XML Schema types IDREF and IDREFs? It seems that a XSD used with WSDL is results in following error when used with WSD2WebService tool: Error found in the WSDL document: The XML Schema type 'IDREF' is not currently supported. Any ideas why this

Reading Header from SOAP Envelope

2003-07-15 Thread Samprathi, Subramani non Unisys
Hi All, I am having a problem in reading the header. I have a complex data"RequestHeader"set in SOAPHeader. When I tried using soapHeaderElement.getObjectValue() it returns NULL!!.. Is there a wayIcan the handle to RequestHeader object? Following is the debug info:

Re: Keep-alive and session scoped services

2003-07-15 Thread landon clark
Sorry to follow up to my own email, but it looks like this is fixed in CVS. Sorry for the noise. landon landon clark wrote: Hi everyone, Config: Axis 1.1 client and server Tomcat JDK1.3.1 I am trying to use HTTP1.1 with session-scoped web services. I have got both working on their own but

disabling xml decoding.

2003-07-15 Thread Suresh Avadhanula
Suresh Avadhanula wrote: Hi, I am using axis to send a SOAP message to a .NET Server. It takes 2 parameters. First param is a integer, second is a XML String. A xml is passed as string. When I send the message via axis, the xml gets encoded, ie becomes lt , becomes gt etc. Can I disables

Re: disabling xml decoding.

2003-07-15 Thread Dan Kamins
XML-ish characters (, , etc.) are *supposed* to get encoded when embedded as strings in XML. If the .NET server is expecting something else, then it is likely that it is specifying a type other than xsd:string. Post your WSDL so we can see how the service describes its expectations. If it is

odd bug: Does axis reparse its own SOAP?

2003-07-15 Thread Jeffrey J Gaynor/jqhome
We are using AXIS as part of a file uploading service (it will eventually run under the Globus Toolkit verions 3.0.) Now, part of this involves having a URI such as gsiftp://server.a.b.c:1234/file_staging_area/tempFil35.tmp This is to be returned to the service as a string after the upload is

Problem returning byte array in SOAP attachment

2003-07-15 Thread puccio
Hi, I've been able to return strings in SOAP attachments, but I haven't been successful returning a byte array. I wrote in previously about this problem because I was getting error messages such as javax.activation.UnsupportedDataTypeException: no object DCH for MIME type

how to specify attachments in deploy.wsdd file

2003-07-15 Thread Astie, Sebastien
Hello, First sorry to ask that question but I am new to axis. I would like to create a webservice thatreceives a file from a client (.NET client). I want to know if I have to create something specific in the wsdd to specify that the webservice requires/ accept attachment. I use the