Service Object Constructors

2003-03-03 Thread Hainer Neil
Hi, Is it possible to have a constructor that takes arguments to initialize a service object using SOAP/AXIS? Possibly using session or application scope? TIA, Neil Neil Hainer 8283 Greensboro Drive McLean, Virginia 22102-3838 703-902-6828 [EMAIL PROTECTED] <>

type information in return values?

2003-03-03 Thread Paul Andrews
When a return value is a complex bean (i.e. beans within beans), is it possible to force the xsi:type of the elements to get set. I need this because certain attributes are defined in terms of a common super-class, but a return value would typically set that attribute to one of the sub-classes. Unl

Clarification on Single Multi-Ref

2003-03-03 Thread Kellogg, Richard
The javadoc comments on the moveValueTargets method on the org.apache.axis.encoding.Deserializer makes the following statement: The DeserializationContext only allows one Deserializer to wait for a unknown multi-ref value. Would anyone care to elaborate? I have a document generated by the Micr

RE: DEserialization help needed

2003-03-03 Thread Twiggs, Glenn
Hey, I have the same issue. Have there been any replies to this? I haven't seen them. I currently access some services via SOAP and others with raw XML. Rather than use two different serialization mechanisms (with two different schemas for each Java object!), I want to use the AXIS serialization

RE: client-config.wsdd question

2003-03-03 Thread Vervoort, Claude
This is how my client-config.wsdd looks like, cheers, Claude http://xml.apache.org/axis/wsdd/"; xmlns:java="http://xml.apache.org/axis/wsdd/providers/java";> http://www.imsglobal.org/xsd/ims_qtiasiv1p2"; qname="ims-qti:assessmentType" type="java:com.webc

Server-config.wsdd question

2003-03-03 Thread jack smith
Dear Axis-user list, whenever I stop tomcat4.06 using Axis 1.0 on win2k, there is an error message that there is a problem with the servlet config file ie. server-config.wsdd file. Is there a default server-config.wsdd provided on installation or a sample server-config.wsdd file posted anywhere so

Specifying a TypeMapping (not ser/deser) in a WSDD

2003-03-03 Thread Pontus Rydin
Title: Specifying a TypeMapping (not ser/deser) in a WSDD Dear mailing list, I would like to specify a serializer/deserializer to use with a certain class *and* all its subclasses. Specifiying in a WSDD allows you to specify a serializer/deserializer for a class, but only for exact matches,

client-config.wsdd question

2003-03-03 Thread Paul Andrews
How do I add bean serializers/deserializers into client-config.wsdd? Can I use these elements outside of a element? Do I have to define a service? Is it possible at all? Is there any reference documentation for WSDD files?

Re: Axis (SOAP) Design Patterns

2003-03-03 Thread Benjamin Tomasini
For me, it has clearly been a the Proxy pattern. I create proxy objects on the client side, makes my client code operate the same in the client, and even on the server. Ben On Mon, 2003-03-03 at 15:01, Anecito, Anthony (HQP) wrote: > Hi All, > > Just thought would ask what design patterns you h

Re: Re: Fear of Attachments

2003-03-03 Thread Steve Loughran
not tried that; that is what GET is for (i.e. I return URLs to retrieve stuff). Have a look at what the echo sample does - Original Message - From: "Mount, Dave" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, March 03, 2003 10:22 Subject: RE: Re: Fear of Attachments Steve, I

Axis (SOAP) Design Patterns

2003-03-03 Thread Anecito, Anthony (HQP)
Title: Axis (SOAP) Design Patterns Hi All, Just thought would ask what design patterns you have found most helpful when using Axis. As I have mentioned in the past I think the Value object Enterprise level pattern has helped me tremendously when using SOAP & Axis. Also, is Axis using the S

Re: survey: generation of ws client code

2003-03-03 Thread IvanLatysh
Hello, Kevin! You wrote to <[EMAIL PROTECTED]> on Mon, 3 Mar 2003 11:42:20 -0800: KH> Hi - this is a general question - I am looking at potentially KH> building some KH> WS developer tools, and I need some brief feedback from WS KH> developers about how you develop your client code that invoke

survey: generation of ws client code

2003-03-03 Thread Kevin Hooke
Hi - this is a general question - I am looking at potentially building some WS developer tools, and I need some brief feedback from WS developers about how you develop your client code that invoke Web Services. Do you: a) generate the client code from WSDL using a tool such as Axis WSDL2Java, b) g

[axis & wsif?] User-defined exception handling

2003-03-03 Thread Rhett . DeWall
Couple of questions: I have an EJB that throws a user-defined exception named "userException" Java2WSDL produces WSDL with the following information: When the WSDL is generated, the following message is produced: createWSDL: [echo]

RE: Re: Fear of Attachments

2003-03-03 Thread Mount, Dave
Steve, I also found your article very helpful. Do you know how to send attachments back to the client? This poses the same problem if you follow the 'echo' sample code. I've tried adding it the same way that JAFDataHandlerSerializer does. That is: Attachments attachments= context.getCurr

Re: deploying a set of classes

2003-03-03 Thread Sesha Nandyal
Hi Vincenzo,    Thanks for the reply. Apparently, I had not configured the system correctly. I have got it working now. Thanks Sesha   Vincenzo Di Stefano wrote:  Hi Sesha... yes: you have to create test1/imp directories into common/classes, and to move into it the Class2.class file. But, if on

Re: axis message error

2003-03-03 Thread Ben Butchart
Arie, The four valid signatures for message-style service methods are: public Element[] method(Element [] bodies) ; public SOAPBodyElement [] method (SOAPBodyElement [] bodies) ; public Document method(Document body) ; public void method(SOAPEnvelope req, SOAPEnvelope resp) ; Check Axis User's

RE: axis message error

2003-03-03 Thread Cory Wilkerson
>From Axis User Guide: -- There are four valid signatures for your message-style service methods: public Element [] method(Element [] bodies); public SOAPBodyElement [] method (SOAPBodyElement [] bodies); public Document method(Document body); public void method(SOAPEnvelope r

axis message error

2003-03-03 Thread Ghershony, Arie
I receive the following error when trying to view the the wsdll file. I thought that signature rule is being followed correctly. can any one point out what Is wrong with the code? Thanks, Aria -AXIS error Sorry, something seems to have gone wrong... here are the details: Fault - org.apache.axis

RE: Axis Servlet Admin Servlet 404 -(solved)

2003-03-03 Thread jack smith
Dear Michael, thanks much for your post. I followed your suggestion, moved the "axis" directory to the tomcat\webapps directory and the ran the happyaxis.jsp which reported finding all required axis libraries and I was able to access the AxisServlet Admin which reported the server running. thanks a

RE: Axis Servlet Admin Servlet 404 -(2)

2003-03-03 Thread jack smith
Hi Michael, thanks, I will move the "axis" directory to C:\tomcat\webapps and post the results immediately. jack --- Michael Mattox <[EMAIL PROTECTED]> wrote: > You must put "axis" under "webapps" (and NOT under > "root"). Give that a > try. > > Michael > > > -Original Message- > > From:

RE: Axis Servlet Admin Servlet 404

2003-03-03 Thread Michael Mattox
You must put "axis" under "webapps" (and NOT under "root"). Give that a try. Michael > -Original Message- > From: jack smith [mailto:[EMAIL PROTECTED] > Sent: lundi 3 mars 2003 16:20 > To: [EMAIL PROTECTED] > Subject: Axis Servlet Admin Servlet 404 > > > Dear Axis User list, I am trying

AXIS bugs.

2003-03-03 Thread IvanLatysh
Hello, Oliver! You wrote to <[EMAIL PROTECTED]> on Mon, 3 Mar 2003 15:57:21 +0100: OA> I used the transport/tcp sample as my base. OA> We have to provide our services over different communication layers OA> (not only http). And so we implemented a simple server which uses OA> axis. Thank you I

Axis Servlet Admin Servlet 404

2003-03-03 Thread jack smith
Dear Axis User list, I am trying to install Axis 1.0 with Tomcat 4.06 on Windows 2000, but when I try and access the Admin Axis link, I receive an HTTP 404 error message that Axis Servlet Admin is not available. I installed Axis to tomcat by copying xml-axis\webapps\axis directory to tomcat\webapps

No serializer found for class java.net.URL in registry

2003-03-03 Thread Michael Mattox
I'm sending an object that contains a java.net.URL. When I look at the wsdl it has the URL: But when I run my application I get: Received a fault: java.io.IOException: No serializer found for class java.net.URL in registry [EMAIL PROTECTED] Is there anything I need to do to have the default s

RE: Client side deserializer?

2003-03-03 Thread Paul Andrews
Anyone? I can't find this information in the documentation, nor in the examples. > -Original Message- > From: Paul Andrews [mailto:[EMAIL PROTECTED] > Sent: Friday, February 28, 2003 5:43 PM > To: [EMAIL PROTECTED] > Subject: Client side deserializer? > > > How do I install serializers

AW: AW: Running AXIS standalone.

2003-03-03 Thread Oliver Adler
Hi Ivan, I used the transport/tcp sample as my base. We have to provide our services over different communication layers (not only http). And so we implemented a simple server which uses axis. Regards Oliver -Ursprüngliche Nachricht- Von: IvanLatysh [mailto:[EMAIL P

Re: Handler chain implementation

2003-03-03 Thread Sreekant Thirunagari
Hi Toshi, This is exactly what i wanted to configure, index of the handler user wants to start in case of 'return false'. You got me. Instead of storing class name, index makes things lot easier. Ofcourse wsdd gives more flexibility. I am not sure if we need to support '-1' option you mentione

AW: Document style services

2003-03-03 Thread Oliver Adler
hi jay, use the wsdl2java generator. Here is the part in the wsdl which defines the doc style: http://schemas.xmlsoap.org/soap/http"; style="document"/> Regards oliver -Ursprüngliche Nachricht- Von: jay k [mailto:[EMAIL PROTECTED] Gesend

WSDL generation problem

2003-03-03 Thread Lindeman, Bob
LS. I have the following problem with the generation of WSDL for a serializer: The targetNamespace of the schema stays empty as you can see in the attachements. This appears not to be a problem for calling the webservice. It works fine. It is just that other programs like xmlSpy cannot create a SO

Re: Handler chain implementation

2003-03-03 Thread Toshiyuki Kimura
Hi, Sreekant: (B (B You did a good job for our common problems, Sreekant! (BI anticipated you would cover it, and you did covering. (BThanks a lot!! (B (B The current version of "our collaborated solution" (Bwould be enough to follow the spec. If you hope that (Byou would like immediatel

Re: deploying a set of classes

2003-03-03 Thread Vincenzo Di Stefano
Hi Sesha... yes: you have to create test1/imp directories into common/classes, and to move into it the Class2.class file. But, if on the server side you don't see any exception message, maybe your problem is not the one you wrote me... maybe you have a bad server configuration, and your clie

RE: Invalid element error with a Collection of Strings

2003-03-03 Thread Michael Mattox
I thought of this but the problem is my client and server will be in different locations and will be behind firewalls. I have the ability to fully configure the firewall, but I've never done RMI over the internet. Do you think it would work? Thanks, Michael > -Original Message- > From: