Cannot deploy StockQuote service

2002-06-12 Thread Snigdha Pandit
hi, I need axis to make SOAP send and receive calls from Microsoft Exchange Server. I followed the following steps 1. I downloaded axis beta 2 and copied the following entries in webapps\axis\WEB-INF\web.xml to the web.xml for our app. AxisServlet Apac

Newbie trying TestClient: getting java.net.ConnectionException

2002-06-12 Thread runstein
I am fairly new to Java and brand-spankin new to Axis. I have been having trouble getting the following code to run. I keep getting "Error : java.net.ConnectionException: ConnectionRefused". I'm assuming that the error is coming from the address assigned to endpoint. I've tried the address sho

Registering the serializer/deserializer!

2002-06-12 Thread Sudhir
Is this the right way to register a serializer and a deserializer?   Class beansf = org.apache.axis.encoding.ser.BeanSerializerFactory.class;Class beandf = org.apache.axis.encoding.ser.BeanDeserializerFactory.class;Service  service = new Service();call = (Call) service.createCall();javax.xm

RE: Access query string from web service class?

2002-06-12 Thread thomas . cherel
Title: RE: Access query string from web service class? ((HttpServletRequest)msgContext.getProperty (HTTPConstants.MC_HTTP_SERVLETREQUEST)).getQueryString() -Original Message- From: Frank Xia [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 12, 2002 7:06 PM To: '[EMAIL PROTECTED]' S

Access query string from web service class?

2002-06-12 Thread Frank Xia
There is a need for me to access HTTP request query string from a service class. Anyone knows is it even possible? Here is an example, http://localhost:8080/axis/servlet/AxisServlet?Nation=USA&State=NY I would like to get t

document/literal namespace troubles

2002-06-12 Thread Tom Damon
We are trying to write a SOAP server that will talk to MS .Net, WebSphere, and AXIS clients using the document/literal style. However, there seems to be some disagreement as to how namespaces should be handled within the SOAP body. All clients were generated using the WSDL attached below. For the

WSDL2Java, case insensitive, but shouldn't be

2002-06-12 Thread Darren Hicks
Why does WSDL2Java build proxy classes which have invalid Getters and Setters due to changing the case of the elements in the WSDL. If my WSDL contains ( note the lowercase element names ) : Then the WSDL2Java creates setSUserID, setSWorkstationIP an

RE: .Net Client for Axis Service

2002-06-12 Thread Drew Haller
Title: Message In Beta 1 something like this worked.  You have to throw the right code in the AxisFault to get the 401.  This changed from Beta 1 so I'm not sure how you do it yet but here is some code that will force the challenge:   .    MessageContext mc = MessageContext.getCurrentCo

RE: .Net Client for Axis Service

2002-06-12 Thread thomas . cherel
Title: RE: .Net Client for Axis Service You can also try to confirm what I experienced if you do not do something like service.PreAuthenticate = true. Without doing the PreAuthenticate, every request from the client will first do a request without the auth header, get a 401 and then send the

RE: Exposing EJBs as web services...

2002-06-12 Thread thomas . cherel
Title: RE: Exposing EJBs as web services... Exception messages can just be serialized and passed form one client to another. May be trying to write an independent EJB client and making it work first can be a good idea. It will remove the Axis piece. This EJB client should be able to work only

RE: .Net Client for Axis Service

2002-06-12 Thread Jones, Rhys
Title: RE: .Net Client for Axis Service Hi all, I have got the servlet solution to work :-).  I made a servlet that checks if there is any auth information in the request.  If there is not it responds with a 401 and the WWW-Authenticate header.  If there is auth information, it forwards the

RE: Exposing EJBs as web services...

2002-06-12 Thread Hurst, Cyrus
Both ..On the client console I get : weblogic.rmi.extensions.RemoteRuntimeException - with nested exception: [java.lang.NoClassDefFoundError: com/nielsenmedia/lrs/cpr/common/CPREnterpriseException] at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:

RE: Exposing EJBs as web services...

2002-06-12 Thread thomas . cherel
From Axis or from the EJB container? If both output are logged at the same place you might not be able to make the difference.   Thomas -Original Message-From: Hurst, Cyrus [mailto:[EMAIL PROTECTED]]Sent: Wednesday, June 12, 2002 5:24 PMTo: '[EMAIL PROTECTED]'Subject: RE: E

RE: Exposing EJBs as web services...

2002-06-12 Thread Hurst, Cyrus
 Thats what I thought but when I only copied Remote and Home interface I kept getting NoClassDefFoundError on  helper classes,  user defined exceptions, etc ...    -Cyrus  -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]Sent: Wednesday, June 12, 2002 5:1

RE: Exposing EJBs as web services...

2002-06-12 Thread thomas . cherel
In the case of a web service implemented using EJBs, the Axis server will behave as an EJB client. Only the EJB client classes are required for the web service to work (meaning the Remote and Home interface). -Original Message-From: Hurst, Cyrus [mailto:[EMAIL PROTECTED]]Sent: W

Exposing EJBs as web services...

2002-06-12 Thread Hurst, Cyrus
 Hello,     I am trying to expose an existing stateless session bean as a web service .  I  basically followed the example(creating the client and wsdd)  given in the Wrox Axis(pg 255) .  The book  says to only copy the Remote and Home interface for the EJB into axis\WEB-INF\classes\ .  I

RE: Tomcat + Axisintegration problem

2002-06-12 Thread Minh Duong
Aravind, What JDK version are you using? When we were using JDK1.3.1, we were experiencing the same issue in a Win2K environment. When we switched to JDK1.4, the problem went away. Another symptom of this is to check whether you the AXIS server has started. Go to /axis on your local host us

Re: Tomcat + Axisintegration problem

2002-06-12 Thread Eric Roberts
Out of curiosity what xerces.jar file is your CLASSPATH pointing to? The one in tomcat/webapps/axis/WEB-INF/lib or xml-axis-beta1/lib?? I was getting the same errors until I realized you need the CLASSPATH to point to the xml-axis-beta1/lib/xerces.jar file. Actually, I pointed to all of

re: found solution for getting wsdl file from server

2002-06-12 Thread James Black
Hello, I didn't realize until today that I didn't undeploy a web service, and so, when I tried to redeploy it, and get the WSDL file from tomcat, I had a problem. So, it would appear that my emails on this problem were due to my inexperience with the system. Sorry about that.

Tomcat + Axisintegration problem

2002-06-12 Thread Aravind Chavar
Hi , I am trying to integrate axis - beta1 with tomcat 4.0.4-b3,a nd am getting the following error java.lang.NoSuchMethodError at org.apache.axis.deployment.wsdd.WSDDDocument.(Unknown Source) at org.apache.axis.configuration.FileProvider.configureEngine(Unknown Source)

RE: Custom Exceptions

2002-06-12 Thread St-Germain, Sylvain
Depending on the complexity of your EInvalidCustomer class you could maybe (in the mean time) stuff an XML document in the faultDetail.   I do not have Axis servers yet (mainly involved in client side stuff) so this is not something I need to get involved in yet but if I would have to throw

Re: Custom Exceptions

2002-06-12 Thread Sam Kapoor
Hi Sylvain: Yes that's what I thought too.  If I can throw an AxisFault then I should be able to throw a descendant. Well actually the exception class that I have defined on my server side is a descendant of Exception. EInvalidCustomer = class(Exception) And I am throwing that on my server. If

RE: Custom Exceptions

2002-06-12 Thread St-Germain, Sylvain
I may be misunderstanding your question but since I can throw an AxiFault shouldn't I be able to throw a descendent of AxisFault and, assuming it is a known type, expect the serialization to occur? Sylvain. -Original Message- From: Bob Cotton [mailto:[EMAIL PROTECTED]] Sent: Tuesday, J

Tocmat can't find libraries

2002-06-12 Thread Eric Roberts
I am having trouble getting packages to load in a JSP page. The Page imports a package called samples.userguide.load.LoadClient and the imports look like this: import java.io.*; import javax.servlet.*; import javax.servlet.http.*; import org.apache.axis.client.Call; import org.apache.axis.cl

Re: soapAction="" why?

2002-06-12 Thread Steve Loughran
- Original Message - From: "Gaël Pouzerate" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, June 12, 2002 6:03 AM Subject: Re: soapAction="" why? > > Ok, so there's no bug at all in having an empty string in soapAction... > Many thanx for your answer! well, not really a b

Re: client deployment

2002-06-12 Thread Bob Cotton
> "Geza" == Geza Szocs <[EMAIL PROTECTED]> writes: Geza> Hi guys ! Geza> 1 easy question. Geza> I happen to have a servlet which is also an Axis Geza> client. I also have some client-side handlers. I wrote the Geza> client_deploy.wsdd and deployed, getting a Geza> c

RE: A critical problen

2002-06-12 Thread Volanis, Alexander
Hi, I have successfully used Axis in the way you describe and discovered that adding the "javax.net.debug=ssl" property can cause this error in Weblogic 6.1. It helped diagnose misconfiguration during setup but once all configuration/keystore problems were corrected it was actually causing a prob

CDATA sections being removed from doc/lit response

2002-06-12 Thread Zeyn Saigol
I have a service which uses the document / literal style, and so my methods look like this: public Element[] myMethod(Vector bodyElems) In the Elements I'm returning, I have some CDATA sections - which are not making it into the XML in the SOAP response. Instead, characters in these sections ar

client deployment

2002-06-12 Thread Geza.Szocs
Hi guys ! 1 easy question. I happen to have a servlet which is also an Axis client. I also have some client-side handlers. I wrote the client_deploy.wsdd and deployed, getting a client-config.wsdd. If I'm using this with a regular Java class, which is run from the same directory, everything w

java.util.Map, List with wingfoot SOAP client and Axis beta 2 server

2002-06-12 Thread Martin Hubley
Title: java.util.Map, List with wingfoot SOAP client and Axis beta 2 server Hi, I noticed on compatibility test results on the wingfoot site that wingfoot SOAP is shown as fully compatible with Apache Axis. I was wondering if wingfoot soap1.02 with J2SE transport supports the use of Maps and

Re: soapAction="" why?

2002-06-12 Thread Gaël Pouzerate
Ok, so there's no bug at all in having an empty string in soapAction... Many thanx for your answer! 12.06.2002 14:07:32, Jürgen Kaatz <[EMAIL PROTECTED]> wrote: >Hi, > >A SOAPAction value of "" means, that the intent of the request is provided >by the HTTP request URI. An empty value fpr SOAPA

RE: Binary maping

2002-06-12 Thread Pavel Bernshtam
Thank you, but bean serializer will produce XML and I want to use binary serialization ... :( Bernshtam Pavel 053-398944 Certified Java 2 Programmer

EnumDeserializer inside of a BeanDeserializer?

2002-06-12 Thread Darren Hicks
Can a BeanDeserializer element contain an element which uses an EnumDeserializer? If so, why is the Enum member throwing BeanDeserializer.onStartChild() exceptions : ( ApiStatus is a Bean and eErrorLevel is the contained Enum ) org.xml.sax.SAXException: Invalid element in nskiosk1.Api

Re: soapAction="" why?

2002-06-12 Thread Jürgen Kaatz
Hi, A SOAPAction value of "" means, that the intent of the request is provided by the HTTP request URI. An empty value fpr SOAPAction means that the intent is not specified ... In fact, AXIS ignores the SOAPAction header and instead relies on this approach; the first child of the element and

Re: Custom Exceptions

2002-06-12 Thread David Owens
Hi Sam, As Bob Cotton mentioned, we are currently working on this, however, our challenge is to get the data from our custom exception sent over as well. If your custom exception does not have any ivars, it should work with the lastes version of the axis code. You do, however, have to catch you

Getting original input stream in transport handler

2002-06-12 Thread Andy Miller
Hi, I am using the Axis beta2 release. I've written a transport handler and I'm trying to use it to capture the "raw" input stream of a request. During the requestFlow call to my handler, I am using the method Message.writeContentToStream(). This seems to work fine, but I am having trouble figuri

RE: Binary maping

2002-06-12 Thread Heitzso
I tried the 'has anyone written their own serializer/deserializer' question awhile back and didn't get an answer. You may be luckier or have better skill at trying to implement your own ser/deser based on provided doc. What I did was just make sure I was writing java beans -- bean serializer/des

Re: easier automatic deployment

2002-06-12 Thread Heitzso
Hi Jeff, One variation is to build your own blat.war file that includes the axis libs, and add in the the server wsdd file with your services predeployed. I do this for our commonly deployed services. Then when I copy/build the war file I don't have to separately deploy the service. (if that was

A critical problen

2002-06-12 Thread Amit Ingale
hi, i am working with apache axis beta 2 version and have done setup of it on weblogic 5.1 sp11 i have a prob i have set up apache axis for two way ssl conf along with two way ssl for webloic using verisign certificate the prob is i have created a keystore added ca, client cert and server cer

FW: EnumDeserializer inside of a BeanDeserializer?

2002-06-12 Thread Darren Hicks
-Original Message- From: Darren Hicks [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 11, 2002 2:32 PM To: '[EMAIL PROTECTED]' Subject:EnumDeserializer inside of a BeanDeserializer? Can a BeanDeserializer element contain an element which uses an EnumDeserializ

RE: JRun 4.0 question and axis beta2-Macromedia experts

2002-06-12 Thread Tom Jordahl
This is a reasonable (although unsupported) thing to do. We expect to release supported updates to Axis for JRun, particularly when Axis 1.0 ships. FYI The webservice tag library will probably not work due to API changes in Axis since Beta 1. Not an issue if you aren't using it. -- Tom Jorda