Proper way to return XML?

2004-03-12 Thread Barzilai Spinak
Hello list. (this is a bit long, but I hope useful to other members) After spending several days reading docs, mailing lists, articles, writing examples, etc., we (me and a friend) have become illuminated and very confused at the same time. We've read a thousand opinions on the pros-cons about d

Regarding Axis and deploying services

2004-03-12 Thread Marepalli, Somesh
Hi:    I am running into some problems with Axis deployment. I want to copy a .jar file for my web service into Axis lib folder while Tomcat is running (I have the reloadable flag set to true).   When I try to invoke the Axis AdminClient using my deployment descriptor, it seems to be ok.

Re: Possible bug: empty namespaces for attributes using doc-literal

2004-03-12 Thread Junaid . Bhatra
It is still not a bug. Let em clarify this a bit further: xmlns="" means that the element is in no namespace. Also elementFormDefault="unqualified" only affects locally declared elements - - It means local elements like , etc will be in no namespace (hence the xmlns=""). It does not affect gl

RE: Help - server_config.wsdd & deployment

2004-03-12 Thread Bobba, Ramesh
the way I did it (people can correct me if I am wrong) is by first deploying the service using AdminClient and then doing an "AdminClient list" and saving the output into server-config.wsdd. -Original Message- From: Oppenheim, Dave [mailto:[EMAIL PROTECTED] Sent: Friday, March 12, 2004 11

Re: Possible bug: empty namespaces for attributes using doc-literal

2004-03-12 Thread Matthew Sgarlata
Thank you for your help Junaid, but I still think that we have found a bug. You're right, specifying elementFormDefault="qualified" gives me the output I want. However, I think the SOAP generated when elementFormDefault="unqualified" (or is unspecified) is wrong. I think that specifying xmlns=""

Re: Where is Axis in BugZilla?

2004-03-12 Thread Matthew Sgarlata
Thanks! Looks like the homepage under "Bugs" points to the wrong place. That URL is: http://ws.apache.org/axis/bugs.html I will go ahead and enter into JIRA that the documentation still points at BugZilla. Matt - Original Message - From: "Tomasz Pik" <[EMAIL PROTECTED]> To: <[EMAIL PR

Re: Where is Axis in BugZilla?

2004-03-12 Thread Tomasz Pik
Matthew Sgarlata wrote: I want to enter a bug for Axis [...] http://nagoya.apache.org/jira/secure/BrowseProject.jspa?id=10460 Regards, Tomek Matt

Re: Possible bug: empty namespaces for attributes using doc-literal

2004-03-12 Thread Junaid . Bhatra
This does not seem to be a bug. Your schema definition needs to have the elementFormDefault attribute with a value of "qualified". The default value (if unspecified) is "unqualified" which results in your locally declared elements to be in no namespace. Modify your schema like: See if the

Where is Axis in BugZilla?

2004-03-12 Thread Matthew Sgarlata
I want to enter a bug for Axis (for WSDL2Java... this is a separate issue from my previous email), but when I go to BugZilla I don't see Axis in the list of projects. Am I doing something wrong? The URL below is correct for Axis' BugZilla, right? http://issues.apache.org/bugzilla/enter_bug.cgi

Possible bug: empty namespaces for attributes using doc-literal

2004-03-12 Thread Matthew Sgarlata
I may have found a bug with Axis' treatment of doc-literal encoding in Axis 1.2 alpha. My basic steps were: 1) Create a WSDL file with complexTypes defined using XML Schema 2) Run wsdl2java to generate my WSDD, skeletons, etc. The classes generated by WSDL2Java that correspond to my complexTypes

Re: Returning a PDF from a web service

2004-03-12 Thread Jim Collins
Thanks Tom, That does help I will try that. Regards Jim. - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, March 12, 2004 2:58 PM Subject: Re: Returning a PDF from a web service > I was able to do this: > put 'application/pdfpdf' > into a .mime.

Help - server_config.wsdd & deployment

2004-03-12 Thread Oppenheim, Dave
Hi, Can someone give me a quick (short) overview of server_config.wsdd? It's not on the distribution I just downloaded from . Don't I need it in order to deploy files using the AdminClient? When I try to deploy I get a 404 Exception about axis/services/AdminService.

RE: Doc/Literal support in axis

2004-03-12 Thread Hari Lakshmanan
While using java2wsdl with proper switches (DOCUMENT / LITERAL), I get proper wsdl. The only problem I am seeing is axis lack of support in auto generating the WSDL file when the service is deployed. To overcome this, I use wsdlFile tag in my WSDD file. Please let me know if I am missing somet

re: operation description not synchronized on one machine, fine on another

2004-03-12 Thread James Black
Hello, I have 4 different machines where I put my webservices. Three are production, one is development. On 3 of them the webservice is fine, I can see all of the methods, but on one machine two of my webservices have an error where the OperDesc is not synchronized. I am curious what may be

Re: How to get the HttpRequest object from within a Web Service?

2004-03-12 Thread Junaid . Bhatra
It's mentioned in the FAQ/Wiki: http://nagoya.apache.org/wiki/apachewiki.cgi?AxisProjectPages/HttpRequest - Junaid

Re: How to get the HttpRequest object from within a Web Service?

2004-03-12 Thread Lanto Randriamiharisoa
Hi, Take a look at the Axis User's guide on http://ws.apache.org/axis/java/user-guide.html, especially in paragraph "Classes to know". Perhaps it could help you... -Lanto [EMAIL PROTECTED] wrote: Hi all, Anybody knows how I can get at the HttpRequest object from within a Web Service when wor

Re: Returning a PDF from a web service

2004-03-12 Thread tnelson
I was able to do this: put 'application/pdfpdf' into a .mime.types file in my home directory... Create a javax.activation.DataHandler new DataHandler(new FileDataSource("myfile.pdf")) and pass it as a method parameter (or return type) then the resulting soap message has the pdf as an attachme

How to get the HttpRequest object from within a Web Service?

2004-03-12 Thread Ext-Zoltan.Schreter
Hi all, Anybody knows how I can get at the HttpRequest object from within a Web Service when working with Axis? I haven't found any way yet .. Thanks for any hints, Zoltan Schreter Nokia/Finland

Re: deploying a service with packages

2004-03-12 Thread Paul Phillips
Nicholas Remy wrote: Paul, It may be that your .class files aren't quite placed properly. If I'm not mistaken, they should be down a path that would be something along the lines of: axis/WEB-INF/classes/org/ppinc/deltadown Assuming the name of your service is "delta", your server-config.wsdd

Basic question on WSDL2java

2004-03-12 Thread Shailesh Khare
Hi , I am new to Axis and Soap and trying to generate Client Stub using WSDL2Java .one basic ques? Service is deployed on remote server like http://xyz.com:8844/TestSoap and it don't serve WSDL file directly from server. So my question is WSDL2Java tool required URL of wdsl file from server like

RE: call.invoke( env ) - how to pass parameters?

2004-03-12 Thread GANDHIRAJAN,AYYAPPAN (HP-India,ex2)
I guess u r trying to access a remote method, which accepts a parameter. If I am wrong, please ignore my mail. SOAPEnvelope env = new SOAPEnvelope(); Object[] paramValue = new Object[]{"myMessage"}; RPCElement re = new RPCEle

specifying wsdlsoap:address location

2004-03-12 Thread Gerhard Maree
Hi We have axis deployed on tomcat (running on port 8080), sitting behind an apache web server (running on port 80). Port 8080 is not accessable form the internet only 80 is. Is there a way to specify hostname and port number of the element in the WSDL that gets generated by the ?wsdl command

Re: deploying a service with packages

2004-03-12 Thread Nicholas Remy
Paul, It may be that your .class files aren't quite placed properly.  If I'm not mistaken, they should be down a path that would be something along the lines of: axis/WEB-INF/classes/org/ppinc/deltadown Assuming the name of your service is "delta", your server-config.wsdd file will handle the t

Re: AxisClient performance issue

2004-03-12 Thread Jay D
Hello,   Would caching the service object help? I am facing a similar issue. I am thinking of caching the "PortType" object so that the binding operation is done only once.   Any inputs from the Group on caching the port Type?   Regards jayFelix Dierich <[EMAIL PROTECTED]> wrote: Hello Axis users!I

Re: deploying a service with packages

2004-03-12 Thread Lanto Randriamiharisoa
I think that you end point URL is incorrect, it should be http://localhost:8080/axis/delta. Usually, and in code examples, URL is like http://localhost:8080/axis/services/ Another problem : you should put your .class files in the WEB-INF/classes directory of your web app (ie delta) Paul Phi

deploying a service with packages

2004-03-12 Thread Paul Phillips
Hello, I am trying to setup an Axis web service the "proper" way, by not using the .jws technique, but I am having a few difficulties. On the server side I have several classes that have to import each other, specifically one that returns a connection to my database. Now I know these classes

Error when deserializing an array String

2004-03-12 Thread Lanto Randriamiharisoa
I've coded a Web Service that provides a service returning a String[] When it is called by a client that uses code generated by WSDL2Java, I got an exception org.xml.sax.SAXException: Found character data inside an array element while deserializing at org.apache.axis.encoding.ser.ArrayDeseria

Re: C# Cllient , Axis Server, Session Management

2004-03-12 Thread Stefano Sambi
I changed my wsdl like Abhinav said, and it works. I also used ".Net web service studio" (http://www.gotdotnet.com/Community/UserSamples/Details.aspx?SampleGuid=65a1 d4ea-0f7a-41bd-8494-e916ebc4159c) to verify my wsdl. If something is wrong in your wsdl file, this product will tell you it. Anyway h

Re: Trouble with HTTPS/SSL and Axis -- seeding of SecureRandom causes program to hang

2004-03-12 Thread peter anthony cowan
Leo, Thanks a lot. I am using the java ssl libraries so i set javax.net.debug=all (i also set proxy and prroxyhost settings to allow outgoing http/https connections) and got a bunch of information. basically, i get several pages of this: > adding as trusted cert: [ > [ > ... > ] > Algorithm: [M

I am wondering the newly web services specification can be implemented using the AXIS such as the ws-adressing and ws-policy?

2004-03-12 Thread jiadao
Hi: I want to implement one system which needs the ws-addressing and ws-policy , and I saw that there is one group working on the ws-adressing in the apache, there is not completed yet. I don't know how to implement the ws-policy, may be it is very easy using AXIS. I am a newcomer to the AXIS. Ma