service-methode that returns array

2003-10-31 Thread Tore Halset
Hello. I have a method that returns an array of Strings. Is it possible to publish that methode as a service? How should the wsdd-service entry look like? Or do I have to create a new class that wrapps the array of Strings? - Tore.

RE: service-methode that returns array

2003-10-31 Thread Søren Neigaard
I have a service like that, and the WSDL generated by AXIS works just fine without any modifications, my Java and .NET clients are happy :D /Søren -Original Message- From: Tore Halset [mailto:[EMAIL PROTECTED] Sent: 31. oktober 2003 10:17 To: [EMAIL PROTECTED] Subject: service-methode th

Any god documentation/tutorial of the WSDD deployment descriptor file?

2003-10-31 Thread Søren Neigaard
I have found that it in the WSDD the hard part is with AXIS. For example I have a SOAP-RPC method that returns a Bean wich has a array of some other bean inside, but I have no idea how this should be mapped in the WSDD file. I have not been able to find any good documentation for the WSDD, so I of

Re: Urgent. Axis client handler help !

2003-10-31 Thread Dimuthu Leelarathne
Hi Timour, Are you sure this happens ? Look at server_confing.wsdd and client_config.wsdd files and check whether there is a difference between the way you have deployed the handler on server and client. Regards, Dimuthu. - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTE

RE: service-methode that returns array

2003-10-31 Thread Tore Halset
On Fri, 31 Oct 2003, Søren Neigaard wrote: > I have a service like that, and the WSDL generated by AXIS works just > fine without any modifications, my Java and .NET clients are happy :D Ah, perfect! How can I tell the Call-object that the return type are String[]? - Tore.

Re: Any god documentation/tutorial of the WSDD deployment descriptor file?

2003-10-31 Thread Stephen Gordon
Have you tried the Reference guide: http://ws.apache.org/axis/java/reference.html stephen Søren Neigaard wrote: I have found that it in the WSDD the hard part is with AXIS. For example I have a SOAP-RPC method that returns a Bean wich has a array of some other bean inside, but I have no idea ho

Re: Any god documentation/tutorial of the WSDD deployment descriptor file?

2003-10-31 Thread Tore Halset
On Fri, 31 Oct 2003, Søren Neigaard wrote: > I have found that it in the WSDD the hard part is with AXIS. For example I > have a SOAP-RPC method that returns a Bean wich has a array of some other > bean inside, but I have no idea how this should be mapped in the WSDD file. I think you should have

How do you guys seperate you SOAP services from the rest of your code?

2003-10-31 Thread Søren Neigaard
What I have right now, is one WEB-App. containing AXIS SOAP and my SOAP services, and also containing all the rest of my code so that the SOAP services can access those classes (same classpath). But is it possible to have one WEB-App. running AXIS SOAP and my SOAP services, and another WEB-App. run

RE: service-methode that returns array

2003-10-31 Thread Søren Neigaard
Well I just generated the client "stubs" from the WSDL, and the generated client method retuned String[], so I really had to do nothing. /Søren -Original Message- From: Tore Halset [mailto:[EMAIL PROTECTED] Sent: 31. oktober 2003 10:43 To: [EMAIL PROTECTED] Subject: RE: service-methode t

RE: Any god documentation/tutorial of the WSDD deployment descriptor file?

2003-10-31 Thread Søren Neigaard
I have tried with a beanMapping, but when the bean contains a array of other beans this is not enough. If I give a bean as a parameter to a method, and this bean has an array of other beans, i have found that i can make this work by adding this to my WSDD: http://myNameSpace"; qname="mt:Destinatio

RE: Any god documentation/tutorial of the WSDD deployment descriptor file?

2003-10-31 Thread Tore Halset
On Fri, 31 Oct 2003, Søren Neigaard wrote: > But somehow this is not engough wheh its the return type of the method > is a bean with a array of beans inside?? Have you ever done excatly > this? I started using axis four days ago, so I am a real newbie :) Here is the wsdd-entry for one of my test-

RE: Any god documentation/tutorial of the WSDD deployment descriptor file?

2003-10-31 Thread Søren Neigaard
Well im also a newbie :) I would like to have the WSDL describe this to the last detail, so that the "stubs" generated from it works "out of the box". But I have no idea if it can be done here, and how I get AXIS to generate souch a "perfect" WSDL in this example. /Søren -Original Message

How to get generated wsdl

2003-10-31 Thread Tore Halset
Hello! I am integrating axis into an existing web-app. I have created several services, by creating the server-config.wsdd manually. One of the services are called "Distributor". The services are working, but I want to take a look at the generated wsdl. http://myserver/myapp/services/Distributor

Re: Very odd "No deserializer for java.lang.String" error

2003-10-31 Thread Charles Kubicek
Right I see. I am using OGSA which is a Web serivce system build on axis, so they must be using an older verison. I fixed the problem, the error was implementing the toString method on my custom type. Thanks, Charles >You must be using an old version since there is no >getDeserializerForClass

ANNOUNCE: Release of Apache Axis C++ v1.0 (Alpha)

2003-10-31 Thread Susantha Kumara
We are proud to announce the release of Apache Axis C++ v1.0 (Alpha).This implementation of a C++ SOAP engine provides a stable platformfor developing Web services using C/C++ as well as a client sidelibrary for developing C/C++ client applications. This releaseincludes the following featur

Re: Urgent. Axis client handler help !

2003-10-31 Thread Timour_Mouratov
Hello Dimuthu, Yes I'm sure :-) . WSDD files look similar , actually client wsdd file is copy of server's one with small modification to classname parameter. But with the help I got yesterday, I'm using MessageContext.properties to share data between request and response. It works fine so I'll s

RE: How to get generated wsdl

2003-10-31 Thread Wilson, Allen
Tore... I just got a lot of help from several people on setting up Axis...so I hope I can return the favor. Have you tried using the AdminClient on your wsdd file. This will generate the wsdl for you... Allen -Original Message- From: Tore Halset [mailto:[EMAIL PROTECTED] Sent: Friday, O

Question: The prefix "rdf" for attribute "rdf:ID" is not bound.

2003-10-31 Thread Mithun Sheshagiri
Sorry for underspecifying the problem in my earlier mail. The web service I mentioned in the earlier mail has been deployed. I used WSDL2Java to generate the skeleton and stub. The "test123" operation is accessible by the client. But the itemLookup operation throws the exception-org.xml.sax.SAX

Question: The prefix "rdf" for attribute "rdf:ID" is not bound.

2003-10-31 Thread Mithun Sheshagiri
I am publishing a service using the following WSDL description and I get the following error: org.xml.sax.SAXParseException: The prefix "rdf" for attribute "rdf:ID" is not bound. I have declared rdf in my namespace. What is the problem? Thanks in advance. mithun http://www.cs.umbc.edu/~mits1

RE: hi everybody..i need little help please for deploying service using AdminClient over SSL

2003-10-31 Thread PARLEY,THUNDER (HP-MountainView,ex1)
Hi Teoman, If indeed your certificates are setup correctly, you should explicitly add the following on your java commandline to set the appropriate system properties "-Djavax.net.ssl.trustStore= -Djavax.net.ssl.trustStorePassword=" --Thunder -Original Message- From: teoman teoman [mailto

Session problem.

2003-10-31 Thread Walid
Hello, I generated my client and server bindings using WSDL2Java. I am trying to implements session in my WS but its not working, each time I request a method, the server send me a different sessionID : http://xml.apache.org/axis/session";>-8606424956536496167 and the client doesnt send

XML Schema for SOAP message

2003-10-31 Thread Volkmann, Mark
Title: XML Schema for SOAP message I'm looking for an example of an XML Schema that can be used to validate a specific SOAP request or response.  The combination of qualified and unqualified elements in a typical SOAP message seems to make this a real challenge.  If anyone has an example they

AXIS deserialization

2003-10-31 Thread Timour_Mouratov
Hello All, Can somebody explain me why the following is happening. Client signs a soap message and sends it to webservice. I can sniff the message out using tcp mon. It has a signature element : http://www.w3.org/2000/09/xmldsig#"; xmlns:soapenv ="http://schemas.xmlsoap.org/soap/envelope/";

RE: XML Schema for SOAP message

2003-10-31 Thread Carbone Cedric
Hi Mark, I used, thanks an IBM tutorial, Castor XML into Axis, 2 weeks ago. However, I have finded bugs with WSDL2Java tool when my message is complex (in fact, where my XSD is complex) Today, I haven't fix the problem with complex XML Schema so I use Castor XML outside Axis framework. This is

UDDI, WSIL Public URLs

2003-10-31 Thread Denero Watz
I am looking for some of the publicly available UDDI and WSIL repository URLs available on the net. Can you point me to some of these __ Do you Yahoo!? Exclusive Video Premiere - Britney Spears http://launch.yahoo.com/promos/britneyspears/

Re: XML Schema for SOAP message

2003-10-31 Thread Jeff Greif
XML Schema for SOAP messageI think there are bigger challenges. The soap envelope schema must allow arbitrary content for the body and header elements and sets processContents="lax" for those, so the guts of a specific SOAP message may not be validated by the SOAP processor if insufficient xsi:typ

Too many CLOSE_WAIT socket connections

2003-10-31 Thread Matteo Tamburini
Hi. I've got a thread (axis client) which calls an axis web service several times (some thousands). My client code creates the Service object, than creates the Call object (exactly as shown in the Axis User's Guide). Finally the invoke method from the Call class is called. Everything just works f

RE: Too many CLOSE_WAIT socket connections

2003-10-31 Thread Mike Burati
Both Unix and Windows appear to have TCP Time Wait timeouts set too high by default (about 5 minutes) where the OS leaves closed sockets in the CLOSE_WAIT state queuing up (which can make it real easy to hit the maxfd limit on a heavily loaded web server). I believe the value is something like tc

Re: Session problem.

2003-10-31 Thread Leonardo Mena
You have to explicity set the intention to maintain the session in the client too (is not enough the WSDL). To do that take your ServiceLocator (locator) and do locator.setMaintainSession(true); Leo - Original Message - From: "Walid" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Frida

Re: Session problem.

2003-10-31 Thread Walid
On Fri, Oct 31, 2003 at 02:03:51PM -0300, Leonardo Mena wrote: > You have to explicity set the intention to maintain the session in the > client too (is not enough the WSDL). To do that take your ServiceLocator > (locator) and do locator.setMaintainSession(true); > > Leo > Hello Leo, Thx for y

WSDL error when retrieving WSDL definition of an Axis service

2003-10-31 Thread Ravi
http://localhost:8080/axis/services/urn:EchoAttachmentsService?wsdlI got the same error !!!Namespaceprefixes must be set on the Definition object using the addNamespace(...)echoAttachment service work fine.Thank for help. I need a correct WSDL definition to create a C++ client.   Regards, Ra