RE: packaging a web service

2004-11-22 Thread Koney, Satish
Hi, I created the war file for the web service. In that service I placed the axis related jars. Then I configured web.xml such that the request goes to the AxisServlet. server-config.wsdd file is also kept in the WEB-INF directory. I was able to invoke the service. So my problem is solved

XSD2Java utility?

2004-11-22 Thread Leonard Harris
Hi all, Is any axis utility or API that allows me to generate java objects based on the .xsd schema file? I hope that I do not need to build a WSDL in order to generate objects through WSDL2Java utility. Many thanks, Leonard.   Do you Yahoo!? Meet the all-new My Yahoo! – Try it today!

RE: BeanSerializer

2004-11-22 Thread Nathan Wardle
Title: BeanSerializer If you just want to serialise java objects to xml, you could look at java.beans.XMLEncoder. However, if you want to see how axis does it this won't help. -Original Message-From: Levy, Avi [mailto:[EMAIL PROTECTED]Sent: Tuesday, 23 November 2004 9:54 AMTo

BeanSerializer

2004-11-22 Thread Levy, Avi
Title: BeanSerializer Hi, I'm trying to use BeanSerializer (from org.apache.axis.encoding.ser) to manualy serialize my Java object into raw XML. However, I don't really understand the javadoc of the serialize method in the class. Anyone knows how to use that class to serialize some java obje

re: bean incorrectly converted to wsdl

2004-11-22 Thread James Black
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I am using beehive to generate the webservice, but I am using Axis1.2RC2 to do the actual work. Both webservices use the same jar file for the Item class. What may have changed so that this doesn't work now? The problem is seen at http://dante.acomp.us

hiding a property from Axis serializer?

2004-11-22 Thread Sheptunov, Bogdan
Hello, Axis serializer by default picks up everything that looks like a JavaBean property, and puts it into response. This leads to an undesirable side effect: some of the class internals that have bean-like access, become exposed to the outside and end up being automatically included into the

Using a serializer and deserializer

2004-11-22 Thread Levy, Avi
Title: Using a serializer and deserializer Hi, I'm new to Axis. I used wsdl2java to generate code for my wsdl. I would like to be able to read/write my java objects from/to xml files so I can run tests and compare XML that being sent and received. Is it possible to use the Serializer and D

SOAP over JMS with Attachments - How do we specify the targetService?

2004-11-22 Thread Rajal Shah
How do I set the targetService when doing SOAP/JMS with Attachments? I’ve use the call.setTargetEndPointAddress(http://localhost..) – note the http even though I’m using the jms transport but it doesn’t seem to work..   faultString: The AXIS engine could not find a target service to invo

Re: Help! String xs:attributes not supported

2004-11-22 Thread Davanum Srinivas
David, Tom, Please log a bug report with the "diff -u"i'd make a case for a tiny unit test to make sure that this does not break again. thanks, dims On Mon, 22 Nov 2004 07:39:37 -0500, David Robison <[EMAIL PROTECTED]> wrote: > The following patch to ArraySerializer fixes the problem. I hop

RE: Newbie Question on Security

2004-11-22 Thread Greg Michalopoulos
Axis can call SSL encrypted web services as long as it can verify that the ssl cert of the server you are calling is properly signed, etc. Simply using https in the URL and Axis will take it from there, its real easy. -Original Message- From: Robin Mannering [mailto:[EMAIL PROTECTED] Sen

Re: Newbie Axis user converting from Apache Soap

2004-11-22 Thread Nige White
Oops! OK, what I was processing wasn't what I posted. There was some old WSDL with StringBuffer in it. Still working on it! Sorryeveryone, Nige _ This message has been checked for all known viruses. Virus scanning powered by Mess

Newbie Axis user converting from Apache Soap

2004-11-22 Thread Nige White
Hi everyone, I've been working with Apache Soap for a while. I'm working with a proprietary language on my server called "Synergy DBL". This language has a primitive type of "WSDL" which defines compound data types, and methods. So I'm generating the "Synergy DBL" server side code myself with a

Re: Axis, SwA and Basic Profile 1.1

2004-11-22 Thread Rafael Gomez
Sebastien, thanks a lot for your help. I appreciate it. Regards, -R Tardif, Sebastien wrote: I never saw */*, if it's not a legal mime format maybe other tools will be less forgiving that axis that by default when it doesn't regognize it use DataHandler. DataHandler is a Java things. As an example

Webservices call via Proxy server

2004-11-22 Thread Tarun Gupta
Hi I am trying to make a web services call via a proxy server which requires authetication. I am getting following error. Please help. (407)Proxy Authentication Required ( The ISA Server requires authorization to fulfill the request. Access to the Web Pro xy service is denied. ) at or

URL Mapping Question

2004-11-22 Thread Michael MacFadden
All, I am new to axis and I have it work fairly well. The question I have is about mapping URLs to services. My server setup is pretty much the default. I am using tomcat 5.5 with axis 1.1. The url to the server is http://loclhost:8080/axis/. All of the examples that I have seen make servi

RE: Newbie Question on Security

2004-11-22 Thread Robin Mannering
Hi, Yes, sorry for the confusion. They intend to publish the web services on a 'https' URL. Our end of things is this: We have a dynamic web site that runs off a remote database. They have given us access to their database with a collection of web services. We've got it all running well bo

Java.util.Locale

2004-11-22 Thread Frydl, Josef
I have a problem to invoke java.util.Locale generated by axis. I compile correctly new Locale l = Locale(); which does not exit in Sun version, but it loads the Sun class in the runtime and I get the message java.lang.NoSuchMethodError: java.util.Locale: method ()V not found at TestClient

RE: Newbie Question on Security

2004-11-22 Thread Ext-Zoltan.Schreter
It is somewhat unclear what you mean by 'webservices encrypted'. Do you mean that the web service host is running SSL? That is: does the web service have a 'https' instead of 'http' URL? In this case you might have to handle digital certificates, those sent by the server, and, if the web server

RE: Newbie Question on Security

2004-11-22 Thread Robin Mannering
Hi Greg, Thanks for your response. Is your answer related to if we are hosting the web services? I think it is, but we aren't hosting them, we are calling them and I've got this picture in my head of axis receiving an encrytped response from a web service that it can't decrypt. Any thoughts ?

Re: axis java client and php 5

2004-11-22 Thread Christian Kalkhoff
Hi Tom, great information. Thank you alot. Christian Am Montag, den 22.11.2004, 09:38 -0500 schrieb TMG: > Christian, > > Create a client-config.wsdd file with whatever descriptor information > you want to use, then make that file available in the classpath. > > Tom Gordon > > > Christian K

Re: axis java client and php 5

2004-11-22 Thread TMG
Christian, Create a client-config.wsdd file with whatever descriptor information you want to use, then make that file available in the classpath. Tom Gordon Christian Kalkhoff wrote: Hi khs, thank you very much. What i cannot understand is how to set this option for an axis client. :) Christian A

RE: Newbie Question on Security

2004-11-22 Thread Greg Michalopoulos
If you are using a web server to handle all the requests and then forward to j2ee container (as typically is done) then the web server will handle all the ssl stuff for you. WSS4J is a ws-security implementation by apache if you want to actually encrypt and/or sign the xml messages sent by axis.

Re: axis java client and php 5

2004-11-22 Thread KHSergel
Hello, so is your question: how can i set the axis-client to tell the server not to use multirefs? br khs -UrsprÃngliche Nachricht- Von: Christian Kalkhoff <[EMAIL PROTECTED]> An: [EMAIL PROTECTED] <[EMAIL PROTECTED]> Datum: Montag, 22. November 2004 13:58 Betreff: Re: axis java client

Newbie Question on Security

2004-11-22 Thread Robin Mannering
Hi all, It's just become apparent that the Web services we call are going to be encrypted using either 40bit or 128bit SSL encryption. My question is, will Axis be able to cope with the necessary encryption/decryption required on the responses we get from the remote Web Services? I've had a l

Re: How can I get the full path of the destination endpoint of a soap message in the handler

2004-11-22 Thread Dacheng
it works, thanks a lot,Tony. dacheng - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, November 22, 2004 9:39 AM Subject: Re: How can I get the full path of the destination endpoint of a soap message in the handler > You can get the original HTTP servl

RE: Help! String xs:attributes not supported

2004-11-22 Thread David Robison
The following patch to ArraySerializer fixes the problem. I hope this helps. I have not committed it to CVS since I do not have privileges. Maybe it is not to late to put it in the final 1.2 release. David Robison Index: ArraySerializer.java

Re: Bug about array of beans in 1.2RC2 (wrapped/literal)

2004-11-22 Thread WAJSBERG Julien RD-BIZZ
Thanks, it works perfectly. Do you know if it's specified in JAX-RPC ? [EMAIL PROTECTED] a écrit : I have encountered this same situation with .NET. To fix the problem we had to make the array property a Java Bean Indexed Property. Your ArrayBean needs to have not only the simple getter and setter

Re: axis java client and php 5

2004-11-22 Thread Christian Kalkhoff
Hi khs, thank you very much. What i cannot understand is how to set this option for an axis client. :) Christian Am Montag, den 22.11.2004, 12:14 +0100 schrieb KHSergel: > Hello, > > to tell Axis not to send multirefs, you change the server-config.wsdd like > this: > > > > > Default it is

Re: axis java client and php 5

2004-11-22 Thread KHSergel
Hello, to tell Axis not to send multirefs, you change the server-config.wsdd like this: Default it is set to true. br khs -UrsprÃngliche Nachricht- Von: Christian Kalkhoff <[EMAIL PROTECTED]> An: [EMAIL PROTECTED] <[EMAIL PROTECTED]> Datum: Montag, 22. November 2004 11:08 Betreff:

Attachments example

2004-11-22 Thread john smith
Hi All, I am a Axis Novice...Any help would be appreciated. I am looking for a simple client/server SOAP with Attachements example that returns a MIME file (and filename) from the server upon recieving a filename from the client. I use Axis 1.1 and Tomcat 5. I have looked at the Attachments exa

Re: packaging a web service

2004-11-22 Thread Michael Schuerig
On Monday 22 November 2004 13:13, Koney, Satish wrote: > I have developed a web service using AXIS. I want to distribute it > as a war file. > So I don't want my service classes to be under AXIS web applicaton. > Instead I should > deploy my service as a war file into a container. and it should h

Ignoring whitespace

2004-11-22 Thread tom ONeill
Hi all, I was wondering if someone could tell me how to get Axis to ignore whitespace when deserializing an XML message into Java types. I am receiving an XML string which includes whitespace as part of the contents of an element whose type is an integer. When this element is deserialized Axis

packaging a web service

2004-11-22 Thread Koney, Satish
Hi, I have developed a web service using AXIS. I want to distribute it as a war file. So I don't want my service classes to be under AXIS web applicaton. Instead I should deploy my service as a war file into a container. and it should have axis related classes in it's lib directory..Is thi

Send a mesage from a Handler

2004-11-22 Thread Alexandre Camy
Hi I would like to send a message to the client from a Handler, besides the service result. I tried a lot of things but nothing were correct. Can anybody send a piece of code that do this? Thanks... Alexandre Camy

Re: axis java client and php 5

2004-11-22 Thread Christian Kalkhoff
Hi Julien, i dunno if it is called multirefs, it is the id/href construction in the soap messages. I guess axis builds them on base of object references, so that data referenced twice is represented only once in the soap message. I looked in the code of php5 soap part end found the error message

Re: How can I get the full path of the destination endpoint of a soap message in the handler

2004-11-22 Thread tony . q . weddle
You can get the original HTTP servlet request with: ( HttpServletRequest )msgContext.getProperty( HTTPConstants.MC_HTTP_SERVLETREQUEST ) And, from this, you can get at all the information you need about the request, including getRequestURL(), which returns the full client request URL. Tony D

Activate updated web service without Tomcat restart?

2004-11-22 Thread Kai Grossjohann
If I have a servlet, then I can just recompile it and Tomcat will notice that the classes have changed and Tomcat will reload them. Is there an equivalent option for Axis webservices? Kai

Re: Initialising Axis

2004-11-22 Thread tony . q . weddle
Thanks, Paul. Implement it in what? I think this is for listeners that can be defined in web.xml, but how do I get hold of the global parameters defined in the WSDD file? Does Axis provide a reference, to that information, in the servlet context? Tony "Paul Callahan" <[EMAIL PROTECTED]> 19-