Re: Deserialization problems with document/literal Web service

2003-08-09 Thread Anne Thomas Manes
Stuart, Since you haven't defined global elements in your schema, I suspect there's an error in your WSDL: When using document style, your definitions must use an element= attribute rather than a type= attribute, and you must reference an definition rather than a definition. So you need to def

RE: WSDL SchemaDTD

2003-08-09 Thread Hansen, Richard
Title: Message http://schemas.xmlsoap.org/wsdl/ -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]Sent: Friday, August 08, 2003 2:38 PMTo: [EMAIL PROTECTED]; [EMAIL PROTECTED]Subject: WSDL SchemaDTD Hi folks,   Is there a WSDL schema or

RE: WRAPPED services without wsdl

2003-08-09 Thread Hansen, Richard
Yes, it is a bit harsh. Just trying to make a point. I definitely think suppliers and consumers of web services have different levels of responsibility and knowledge. I struggle with the WSDL too. XML schema is not as easy as DTD. I finally buckled down and read a 400 page book on XML schema. How

RE: (500) Internal Server Error!? What does this Exception mean...

2003-08-09 Thread Jim Harris
Frank, The information from the Client seems to give the best pointers: > and the Clientapplication: > Tried to invoke method public boolean > indeedsimulation.ws.IndeedsimulationSoapBindingImpl.setFile(java.l ang.String,java.lang.String,javax.activation.DataHandler) throws > java.rmi.RemoteExcep

Re: Deserialization problems with document/literal Web service

2003-08-09 Thread Britbiker4
Hi Anne, I should have added the whole WSDL file. (you'll find it below) As you can see, I already have the global elements. And when I only send an object of the type "User", the causes no problems. So, I think that this is not the source of error. I'm quite sure that the problem is the Hash

SOAPConnection interface question

2003-08-09 Thread Shantanu Sen
Is there any way to specify properties like javax.xml.rpc.Stub.USERNAME_PROPERTY or javax.xml.rpc.Stub.USERNAME_PROPERTY to a javax.xml.soap.SOAPConnection? I could not find any way to do this using the JAX-RPC/SAAJ APIs. I would like to create a soap message and add attachments and send it out t

no connection made to server

2003-08-09 Thread Stuart Barlow
When I connect to my service from my AppServer I get nothing inside my SimpleChain::invoke ... 2003-08-08 15:26:14,031 DEBUG axis.SimpleChain [Jura Thread #32] Enter: SimpleChain::invoke 2003-08-08 15:26:14,031 DEBUG axis.SimpleChain [Jura Thread #32] Exit: SimpleChain::invoke However when I mak

Re: WRAPPED services without wsdl

2003-08-09 Thread Anne Thomas Manes
I think you're being a little harsh, Richard. WSDL is a very complex beast. I've been studying WSDL for a couple of years, now, yet I often need to reference the spec when I answer questions about it. Stuart's correct -- a Web services toolkit should know how to spit out valid WSDL. But doc/litera

RE: ClassCastException + SOAP Header session

2003-08-09 Thread Said Elaissaoui / 1Genia
It still not work.   I reexplain lmy problem :   Axis commes a handler called org.apache.axis.handlers.SimpleSessionHandler that provides SOAP header based session management. To use the simple session handler with the Web Service, you have to tell the Axis framework to add the handler to t

RE: ClassCastException + SOAP Header session

2003-08-09 Thread Said Elaissaoui / 1Genia
it wa just a mistake in my email i have : in my wsdd files -Message d'origine- De : Jim Harris [mailto:[EMAIL PROTECTED] Envoyé : vendredi 8 août 2003 11:11 À : [EMAIL PROTECTED]; [EMAIL PROTECTED] Objet : RE: ClassCastException + SOAP Header session Said, One thing I can see is that

RE: RPC & Faults

2003-08-09 Thread Bayliss Paul
Hi Cory, But you do want to return a SOAP Fault element, right? Axis will create a new Exception class that matches your wsdl description. It is up to you whether you throw this exception in response to catching another exception or from any of your own criteria. Let me know if I'm still not und

Auto instantiate a service's object upon startup.

2003-08-09 Thread Winston Ng
Hi, Is it possible to configure a service with "Application" scope to instantiate the object upon Axis startup? That object needs to start some TimerTasks upon instantiation and therefore I don't want to delay its construction until a client request comes in. Thanks! Winston

How do you detect that a service is down?

2003-08-09 Thread James Waldrop
Hi there folks, I hope this is a simple question, but a search of the archives did not turn up a specific answer. I am using client-side Axis to connect to a remove SOAP service (also Axis, but this is irrelevant for this particular question). I'm in the midst of putting in code to detect various e