Re: Send a zip file with SOAP attachments in axis

2006-02-20 Thread Wade Chandler
This will get you doing attachments by using your WSDL and your Object model instead of using the attachments set directly. I prefer this method. This is the full conversation: http://marc.theaimsgroup.com/?l=axis-user&m=113405973719486&w=2 If you have trouble with the link search the archive (a

Re: Error with "module.xml"

2006-02-20 Thread Yariel Ramos Moreno
Hi Deepal... thanks for your help. I have download addressing.mar... it seems to be the last 'cause it's date is 01/29/06. After copy it into .axis2/modules directory I executed a test client and got another exception: Exception in thread "main" java.lang.NoSuchMethodError: org.apache.axis2.conte

Sending XML in web services

2006-02-20 Thread Pedro Silva
Hi, I've started to work with axis couple a weeks ago and I'm tryng to build a web service that accepts XML content and does something with it returning it modified or a completely new XML. >From what I've read in user guide it seems to me that Message services are the most appropriate to do this

Deploying services through webapps

2006-02-20 Thread Pedro Silva
Hi, I've started working with Axis for the past weeks, and I've been trying to implement a webapp that allows me to list and do deployments and undeployments without having to use the command line. (interesting for remote servers). I've been trying to do it with AdminClient class that I've found

Re: Error with "module.xml"

2006-02-20 Thread Deepal Jayasinghe
Hi Yariel; In the current implementation its fixed . To solve your porblem you have to download addressing.mar and drop that into .axis2/modules directory. Yariel Ramos Moreno wrote: > Hi: > > I'm working with Axis2 since a few months ago. I'm making an > application that consists of 2 Web Ser

Parameter question

2006-02-20 Thread Alan Aguia
Maybe Its really simple but I dont know how to do it.   I include parameters in my axis2.xml (server side) but I dont kwow how to retrieve them when the petition arrive from the client. How can I get access to that file to retrieve that parameters?   Thank you. Yahoo! Mail Use Photomail to

again return Long value

2006-02-20 Thread Tomáš Procházka
Hi. I have again the same problem with AXIS 1.3 and I can't find reason for it. I make server class Synchronisation with method public boolean authorize(String name,String password,double client_version) { return true; } with ANT task I create from it WSDL file and consecutivel

Re: [Axis2] JAXB unmarshalling does not work with 0.95-snapshot

2006-02-20 Thread Davanum Srinivas
Please open a bug report with a test case. thanks, dims On 2/20/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Hello, > > trying to use JAXB for databinding under > axis2-0.95-snapshot I got an exeption (see below) > while performing a > Unmarshaller.unmarshall(XMLStreamReader) call. > > Wher

Re: Send a zip file with SOAP attachments in axis

2006-02-20 Thread Simone Bonazzoli
i see the example but there isn't a cmplete wsdl and if i take the wsdl generated by axis wsdl2java doesn't work!On 2/20/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: The attachment sample in axis samples folder can help you. I would like to dothe same thing some times ago and by the example I

Re: Send a zip file with SOAP attachments in axis

2006-02-20 Thread fabricio
The attachment sample in axis samples folder can help you. I would like to do the same thing some times ago and by the example I could make my own web service with attachement. It's very helpful. Take a look there and you will be able to do too. Citando Simone Bonazzoli <[EMAIL PROTECTED]>: > th

Re: Send a zip file with SOAP attachments in axis

2006-02-20 Thread Simone Bonazzoli
the informations in that guide are very poor... is it possible that there isn't any official guide to SWA, attachments and a complete sample??? in the swa sample in axis there isn't source file... only .class and the attachments sample was not generated with wsdl2java . On 2/20/06, Mukesh

Re: Send a zip file with SOAP attachments in axis

2006-02-20 Thread Mukesh Kumar Maniraj
You can take a look at this Axis attachments FAQ, http://www.mail-archive.com/axis-user@xml.apache.org/msg08732.html, its pretty easy, -MukeshOn 2/19/06, Leodiadis Iraklis <[EMAIL PROTECTED]> wrote: I want to write a webservice that a client will send a zip file to the server.I have read t

Error with "module.xml"

2006-02-20 Thread Yariel Ramos Moreno
Hi:   I'm working with Axis2 since a few months ago. I'm making an application that consists of 2 Web Services (both WS have the same implementations, but with some diferent configuration parameters and names). The first of them receive a request from a client, it processes the information and

Re: Storing objects?

2006-02-20 Thread robert
We're getting pretty far of topic here, but... 1) Use LDAP to perist java objects that are read more then written. LDAP natively has 'java.schema' that can store any object that implements 'serializable' - such as a hashmap filled with strings. However, you did say 'simple' ;-) . 2) Use a s

Re: Storing objects?

2006-02-20 Thread Justin Schoeman
Excellent thanks! I should have guessed someone would have already thought of it ;-) . -justin Thomas Burdairon wrote: then use a connection pool if you want to have a common db object (http://jakarta.apache.org/commons/dbcp/) On Feb 20, 2006, at 6:23 PM, Justin Schoeman wrote: Not session

Re: Storing objects?

2006-02-20 Thread Thomas Burdairon
then use a connection pool if you want to have a common db object (http://jakarta.apache.org/commons/dbcp/)On Feb 20, 2006, at 6:23 PM, Justin Schoeman wrote:Not session - global to the web service - every query should be able to retrieve a common db object (under a lock).-justinThomas Burdairon wr

[Axis2] JAXB unmarshalling does not work with 0.95-snapshot

2006-02-20 Thread donnerdrummel2000-mailing
Hello, trying to use JAXB for databinding under axis2-0.95-snapshot I got an exeption (see below) while performing a Unmarshaller.unmarshall(XMLStreamReader) call. Where there any changes in OM that confilict with the bridge provided with JAXB to get SAX events from XMLStreamReader? Thanks Ted.

Re: Storing objects?

2006-02-20 Thread Justin Schoeman
Not session - global to the web service - every query should be able to retrieve a common db object (under a lock). -justin Thomas Burdairon wrote: do you mean a session object ? On Feb 20, 2006, at 6:13 PM, Justin Schoeman wrote: Hi again. I am probably showing my ignorance of Java here, b

Re: Storing objects?

2006-02-20 Thread Thomas Burdairon
do you mean a session object ?On Feb 20, 2006, at 6:13 PM, Justin Schoeman wrote:Hi again.I am probably showing my ignorance of Java here, but is there a simple way to store Java objects in an Axis webservice?  I have a JDBC object for connecting to the DB, but the overhead is high.  I would like t

Storing objects?

2006-02-20 Thread Justin Schoeman
Hi again. I am probably showing my ignorance of Java here, but is there a simple way to store Java objects in an Axis webservice? I have a JDBC object for connecting to the DB, but the overhead is high. I would like to be able to store it between calls to speed up operation. Thanks, Justi

Re: Send a zip file with SOAP attachments in axis

2006-02-20 Thread Wade Chandler
--- Carmine Gargiulo <[EMAIL PROTECTED]> wrote: > Hi, > > this subject is of my interest also > > Please.can somebody help us (me and Leodiadis) > > :) > > Leodiadis Iraklis ha scritto: > > I want to write a webservice that a client will > send a zip file to the > > server.I have read tha

Webservice Axis2 and "xpp3" an another Xml Pull Parser?!

2006-02-20 Thread Pascal Dayre
Hi every body, I want to use " xpp3" Xml Pull Parser (http://www.extreme.indiana.edu/xgws/xsoap/xpp/) for implementing a method of a webservice. The problem is the simple declaration of an Xstream crash the call of this method: My class implementing the service: ... import com.thought

Re: Change endoint programmatically

2006-02-20 Thread DFrahm
Here's what I've got that's working.  Not sure if this is good/bad or whatever... Any thoughts?                         PoliceOfficerRegistryServiceLocator locator = new PoliceOfficerRegistryServiceLocator();                         Remote remote = locator.getPort(PoliceOfficerRegistryServiceSoap

Re: Axis 1.3 and PHP Web Service Attachments

2006-02-20 Thread Anne Thomas Manes
You might want to ask your question in a PHP discussion forum...On 2/20/06, axis <[EMAIL PROTECTED]> wrote: hi,I have just completed writing an Axis application, in fact several, to transfer documents as attachments using Axis 1.3. Once I understood I didn't have any problems.Now I'm trying to wri

Parsing multiple wsdls sequentially

2006-02-20 Thread Kamaljeet
Hi, I am a rookie in axis wsdl parsing. I have extened axis (basically emitter) for parsing of wsdls to my custom format. The problem I am facing with parsing, is tht  If I have two wsdls " foo.wsdl" and "doo.wsdl". Where "foo.wsdl" imports "doo.wsdl". Now if I try parsing sequentially foo.wsdl, an

HTTP Error 401 when deploying wsdd

2006-02-20 Thread georg
Hallo! The things was working already, and once when I tried to deploy my wsdd, I got the authorization error below. I have no in my web.xml, and didn't change anything in axis configuration. How can I turn off this authorization function? OR What could be the reason? Thnx George axis.cl

Axis 1.3 and PHP Web Service Attachments

2006-02-20 Thread axis
hi, I have just completed writing an Axis application, in fact several, to transfer documents as attachments using Axis 1.3. Once I understood I didn’t have any problems. Now I’m trying to write a PHP SOAP client to talk to the same Axis (Java) server and once again to transfer documents as At

Re: How to not send nillable="true" for null elements in a SOAP message

2006-02-20 Thread Tim R J Langford
Hello All, Is it a bug in Axis1.3 that WSDL with nillable="false" and minOccurs="0", still genrates a nilable="true" string on serialisation? Is there somewhere I can log this bug or enhancement? I may be able to do this in work time. Where would I start with Axis1.3 to add/alter the code to

JNI

2006-02-20 Thread Paul Michael Reilly
I have now painfully learned to use the Tomcat shared area to supply JNI code for my web application. However there are still a few questions that linger: 1) Using the Axis 1.3 (binary distribution) webapp, I modified EchoHeaders (as shown below) to load a shared library which predictably w

Re: Consuming Axis2 webservice with c# client?

2006-02-20 Thread Justin Schoeman
Thanks to everybody for your help. Converting 'type=' to 'xsi:type=' does allow the c# client to handle the response. I have filed a bug report on Jira: https://issues.apache.org/jira/browse/AXIS2-455 Hopefully this gets attended to soon. Does anybody perhaps know where in the source code thi