Adding Custom Headers to SOAP response

2003-01-16 Thread Mohideen, Khaja (Cognizant)
Hi all,   I have a small problem in adding headers to a SOAP response. I tried out the following code       Message mess = mc.getCurrentMessage();     SOAPEnvelope se = mess.getSOAPEnvelope();     se.addHeader(new SOAPHeaderElement("MyNS","RETURNCODE","1"));

Re: SOAP request redirection

2003-01-16 Thread Toshiyuki Kimura
Hi Shobha, (B (B Your question for me is "How can I handle the SOAP Header (Bin my client?" Is it right ??? (B (B If it's true, you'll be able to find a good luck by reviewing (Bthe following threads on the axis-user ML. (B (B -"Soap header, Authentication" (B -"Deploying the client for

RE: Altering default service page

2003-01-16 Thread Joe Shevland
> > Thanks for the advice (I should have thought of that) and > it's worked > > well - I've just subclassed AxisServlet at this stage and have > > overridden the doGet() method. I'm checking for an empty or > null query > > string, and when found I'm redirecting to a URL based on > the name of t

RE: SOAPMonitor

2003-01-16 Thread Davanum Srinivas
Can i ask you to please add a short doc on Wiki? http://nagoya.apache.org/wiki/apachewiki.cgi?AxisProjectPages/SoapMonitor Thanks, dims --- Cory Wilkerson <[EMAIL PROTECTED]> wrote: > WO. > > Thanks so much! A great first day with Axis! > > Cory > > -Original Message-

RE: SOAPMonitor

2003-01-16 Thread Cory Wilkerson
WO. Thanks so much! A great first day with Axis! Cory -Original Message- From: Davanum Srinivas [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 16, 2003 6:27 PM To: [EMAIL PROTECTED] Subject: RE: SOAPMonitor Don't worry about the wsdl file. Make sure that handl

RE: SOAPMonitor

2003-01-16 Thread Davanum Srinivas
Don't worry about the wsdl file. Make sure that handler is specified under deployment/globalConfiguration/requestFlow and deployment/globalConfiguration/responseFlow as well...See sample below Thanks, dims --- Cory Wilkerson <[EMAIL PROTECTED]> wrote: > See this

RE: SOAPMonitor

2003-01-16 Thread Cory Wilkerson
See this is in app-root/web-inf/server-conf.wsdd http://tempuri.org/wsdl/2001/12/SOAPMonitorService-impl.wsdl"/> The portName = "Demo" concerns me a bit...additionally, I don't have that wsdl file locally. -Original Message- From: Davanum Srinivas [mailto:[EMAIL PROTECTED]]

RE: SOAPMonitor

2003-01-16 Thread Davanum Srinivas
Check your webapps/axis/web-inf/ directory look for server-config.wsdd. Axis will create one there. Thanks, dims --- Cory Wilkerson <[EMAIL PROTECTED]> wrote: > Do you mean when I registered my services, did I add the SOAPMonitorHandler? >Today's my first > day with Axis -- I'm a bit new at th

RE: SOAPMonitor

2003-01-16 Thread Cory Wilkerson
Do you mean when I registered my services, did I add the SOAPMonitorHandler? Today's my first day with Axis -- I'm a bit new at this -- where exactly is the wsdd for server-config. All that I've ported to resin are the webapps/axis/web-inf/lib classes that were required for axis functionality

Re: SOAPMonitor

2003-01-16 Thread Davanum Srinivas
Dumb Question, Did you enable the entry for org.apache.axis.handlers.SOAPMonitorHandler in your server-config.wsdd? Thanks, dims --- Cory Wilkerson <[EMAIL PROTECTED]> wrote: > Hello All! > > I've integrated SOAP into the default web-app in Resin and I've been able to deploy >services and > su

SOAPMonitor

2003-01-16 Thread Cory Wilkerson
Hello All! I've integrated SOAP into the default web-app in Resin and I've been able to deploy services and successfully call them -- now I'm after SOAPMonitor functionality before I call it a day. In resin.conf (Resin's configuration file), I have, for the default web-app the following serv

Re: Altering default service page

2003-01-16 Thread Steve Loughran
- Original Message - From: "Joe Shevland" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, January 16, 2003 15:12 Subject: RE: Altering default service page > Hi Steve, > > Thanks for the advice (I should have thought of that) and it's worked > well - I've just subclassed Axis

RE: Apache SOAP vs AXIS

2003-01-16 Thread Davanum Srinivas
Added a Wiki Page - http://nagoya.apache.org/wiki/apachewiki.cgi?AxisProjectPages/Compare Thanks, dims --- Anne Thomas Manes <[EMAIL PROTECTED]> wrote: > I hate to break it to you, but Microsoft .NET and Microsoft SOAP Toolkit are > the two most common systems used to access SOAP. > > I agree t

Re: Stateful Web Services

2003-01-16 Thread Bill de hÓra
Steve Loughran wrote: think about this for a moment. How are you going to specify bank account and auth info? If it goes with every request, then you could be stateless. Otherwise the caller needs to first 'bind' to an account, then make requests on it. We call that 'state', no matter how it is a

RE: Altering default service page

2003-01-16 Thread Joe Shevland
Hi Steve, Thanks for the advice (I should have thought of that) and it's worked well - I've just subclassed AxisServlet at this stage and have overridden the doGet() method. I'm checking for an empty or null query string, and when found I'm redirecting to a URL based on the name of the service bei

RE: Will Axis Clients Simply Not Work In Applets ? (SOLVED, HERE'S HOW)

2003-01-16 Thread Nicholas
Yes, thanks. Signing worked perfectly. As a heads up to anyone else trying to do this with a test certificate for development, here are the simple instructions for doing so: (Extracted from http://java.sun.com/products/javawebstart/docs/developersguide.html#dev) Signing JAR Files with a Test Cert

RE: java.lang.LinkageError -- rpc and servlet conflict

2003-01-16 Thread Cory Wilkerson
Title: RE: java.lang.LinkageError -- rpc and servlet conflict I was afraid that ant might be infecting the process -- it was.  Thanks! -Original Message-From: David Altenburg [mailto:[EMAIL PROTECTED]]Sent: Thursday, January 16, 2003 3:13 PMTo: '[EMAIL PROTECTED]'Subject: RE:

RE: Apache SOAP vs AXIS

2003-01-16 Thread Anne Thomas Manes
I hate to break it to you, but Microsoft .NET and Microsoft SOAP Toolkit are the two most common systems used to access SOAP. I agree that Axis is the most commonly used SOAP implementation for Java. I don't think Apache SOAP fits in that category anymore, though. Use of Apache SOAP has definitely

Apache SOAP vs AXIS

2003-01-16 Thread dumdum 420
We are in the process of putting out infrastructure on the webservice front. I need to prepare a report (a little high level )about what are the difference between the two most common systems used to access the SOAP. The Apache SOAP and the AXIS. Can anyone help me with this research and compil

RE: java.lang.LinkageError -- rpc and servlet conflict

2003-01-16 Thread David Altenburg
Title: RE: java.lang.LinkageError -- rpc and servlet conflict Try setting 'fork="true"' in the java task in your ant file. David -Original Message- From: Cory Wilkerson [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 16, 2003 2:48 PM To: [EMAIL PROTECTED] Subject: RE: java.lang.

RE: java.lang.LinkageError -- rpc and servlet conflict

2003-01-16 Thread Cory Wilkerson
David/All Now running beta and still seeing same issue -- See below: File Exists: ${fileExists} WSDD File: ${wsddFile} Axis Home: ${axisHome} Deploying...

Re: tcp and SOAP monitor

2003-01-16 Thread Zhaohua Meng
Thanks! Dan Weston wrote: Check out http://www.sosnoski.com/presents/java-xml/axis/axis-monitor.html for a really good description of how to use it. The basic idea is that you have to add special handlers to your request and response chain for your service. These handler grab the messages as

RE: tcp and SOAP monitor

2003-01-16 Thread Dan Weston
Check out http://www.sosnoski.com/presents/java-xml/axis/axis-monitor.html for a really good description of how to use it. The basic idea is that you have to add special handlers to your request and response chain for your service. These handler grab the messages as they flow through the chain

RE: java.lang.LinkageError -- rpc and servlet conflict

2003-01-16 Thread Davanum Srinivas
we fixed this problem post 1.0 :) -- dims --- Cory Wilkerson <[EMAIL PROTECTED]> wrote: > 1.0. I'm so out of style. > > Cory > > -Original Message- > From: Davanum Srinivas [mailto:[EMAIL PROTECTED]] > Sent: Thursday, January 16, 2003 1:50 PM > To: [EMAIL PROTECTED] > Subject: Re: java

Re: tcp and SOAP monitor

2003-01-16 Thread Zhaohua Meng
Dan, How do you use SOAPMonitor? I run Tomcat at port 8080 and deployed axis1.1beta as a web app with context /axis. The following url is used to invoke the monitor: http://localhost:8080/axis/SOAPMonitor The applet is loaded but I just don't see any request/response there, although I got resp

RE: java.lang.LinkageError -- rpc and servlet conflict

2003-01-16 Thread Cory Wilkerson
1.0. I'm so out of style. Cory -Original Message- From: Davanum Srinivas [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 16, 2003 1:50 PM To: [EMAIL PROTECTED] Subject: Re: java.lang.LinkageError -- rpc and servlet conflict Cory, Which version of Axis? This does not sound right. Pl

Re: java.lang.LinkageError -- rpc and servlet conflict

2003-01-16 Thread Davanum Srinivas
Cory, Which version of Axis? This does not sound right. Please try latest 1.1beta1 or nightly. Thanks, dims --- Cory Wilkerson <[EMAIL PROTECTED]> wrote: > Hello all, > > I'm having issues with deploy wsdd files via org.apache.axis.client.AdminClient. >AdminClient > requires the presences of

Re: Call.invoke deserializer messing up QName namespaces

2003-01-16 Thread Davanum Srinivas
Bryan, Does this happen with latest 1.1beta or nightly build as well? Thanks, dims --- Bryan Field-Elliot <[EMAIL PROTECTED]> wrote: > I'm using Axis 1.0. > > When I issue a "Call.invoke()", the response message coming from the > server is being deserialized into a DOM strangely. Namely, it is

java.lang.LinkageError -- rpc and servlet conflict

2003-01-16 Thread Cory Wilkerson
Hello all, I'm having issues with deploy wsdd files via org.apache.axis.client.AdminClient. AdminClient requires the presences of the jaxrpc.jar as well as javax.servlet.ServletContext. When including the j2ee.jar to grab the servlet stuff -- I run into a conflict with org.xml.sax.InputSource

Re: ConnectException in DefaultSocketFactory

2003-01-16 Thread Davanum Srinivas
Try String args[] = new String[2]; args[0] = "deploy-svc1.wsdd"; args[1] = "deploy-svc2.wsdd"; AdminClient admin = new AdminClient(); result = admin.process(args); if (result != null) log.info(result); Thanks, dims --- "Dunn, Scott" <[EMAIL PROTECTED]> wrote: > I am having problems deploying

RE: tcp and SOAP monitor

2003-01-16 Thread Dan Weston
For me, the advantage of SOAPMonitor over TcpMon is that you don't have to change the URL that the client connects to when using SOAPMonitor, it just sits in the normal handler chain and shows you the messages. With TcpMon, you have to make the client connect to a different endpoint. SOAPMonitor is

Call.invoke deserializer messing up QName namespaces

2003-01-16 Thread Bryan Field-Elliot
I'm using Axis 1.0. When I issue a "Call.invoke()", the response message coming from the server is being deserialized into a DOM strangely. Namely, it is declaring a new namespace prefix for QNames, when the QName's namespace has already been declared in a parent node. This is a problem b

RE: Will Axis Clients Simply Not Work In Applets ?

2003-01-16 Thread Vidyanand Murunikkara
Nicholas Have u tried signing the applets , or giving full permission to the URL from which the applet originates from ? Vidyanand. -Original Message- From: Nicholas [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 16, 2003 5:37 AM To: [EMAIL PROTECTED] Subject: Will Axis Clients Simpl

ConnectException in DefaultSocketFactory

2003-01-16 Thread Dunn, Scott
I am having problems deploying multiple services from within a single VM. I have tried this on W2K and Solaris. To demonstrate the problem, I modified AdminClient.main() as follows public static void main(String args[]) { SDAdminClient admin = new SDAdminClient();

Re: tcp and SOAP monitor

2003-01-16 Thread Zhaohua Meng
Norris, I agree with you. I'm just curious. A technical person always tries to find an answer, although in most cases it's useless. Now I can use the tcpmon as a debugging tool which is all I need. Thank you very much for your response. Norris Merritt wrote: Hi Zhaohua, I don't use SOAPMonitor.

RE: tcp and SOAP monitor

2003-01-16 Thread Norris Merritt
Hi Zhaohua, I don't use SOAPMonitor. Not sure what the benefit is vs tcpmon although I may be missing something. I think SOAPMonitor would just annoy me because it does not show the HTTP headers. Without those, you cannot see any SOAPAction header, which many (most? all?) .NET services seem to want

RE: Will Axis Clients Simply Not Work In Applets ?

2003-01-16 Thread Joseph Carew
We ended up having to make the Axis and the jars it depends on signed to make it work in an applet. -Original Message- From: Nicholas [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 16, 2003 08:37 To: [EMAIL PROTECTED] Subject: Will Axis Clients Simply Not Work In Applets ? Has anyon

question about the method in attachments service sample

2003-01-16 Thread teo
hi all, I have couple of questions : 1)can anybody tell me how and when this function is called? is it called automatically? 2)and do I need to use it in order to define a Deserializer? the function is(I know that it is one of the four method explained in user guide): public Document attachments(D

Keep-alive SSL Web Service connections

2003-01-16 Thread billa
I am designing a web service based application the will require a work flow of web service calls. SSL will be used for transport security. I am concerned about the SSL handshake overhead if each of the web service calls use a new SSL connection. I would like reuse the SSL socket across several

Re: newbie question - installation problems

2003-01-16 Thread Steve Loughran
that was http://jakarta.apache.org/commons/discovery.html with an l at the end. oops

Re: newbie question - installation problems

2003-01-16 Thread Steve Loughran
- Original Message - From: "NJ Rogers" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, January 16, 2003 10:02 Subject: newbie question - installation problems > Hi > > I've got axis deployed in tomcat, running on Windows 2K. > > I can validate ok - happyaxis.jsp > tells me th

RE: newbie question - installation problems

2003-01-16 Thread Daleiden, Mike
Your missing the commons-discovery.jar file, which is causing the error. This should be placed in the same directory as your other Axis libs. -Original Message- From: NJ Rogers [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 16, 2003 1:03 PM To: [EMAIL PROTECTED] Subject: newbie questi

newbie question - installation problems

2003-01-16 Thread NJ Rogers
Hi I've got axis deployed in tomcat, running on Windows 2K. I can validate ok - happyaxis.jsp tells me that I've got all the core axis libraries, but that 1 optional library is missing (xmlsec.jar which I will obtain) But I cannot "View the list of deployed Web services " The tomcat logs for t

Re: Access statistics

2003-01-16 Thread Steve Loughran
- Original Message - From: "rf" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, January 16, 2003 04:30 Subject: Access statistics > Does AXIS already have any mechanism to maintain > certain statistics like service access count, service > invoker ipaddress, etc OR I have to d

RE: record and playback of SOAP messages

2003-01-16 Thread ajbanck
Thanks. I did look at AntEater before but forgot about it. Only problem is that I don't want to write a script (planning on testing something like 10.000 SOAP messages) so I guess the best way is to write something to record the traffic and transform it to AntEater tasks. ArentJan -Original M

Re: SOAPException: Migration to Axis

2003-01-16 Thread Davanum Srinivas
use org.apache.axis.AxisFault... thanks, dims --- Michael Konietzka <[EMAIL PROTECTED]> wrote: > Hi > i am using Apache SOAP in my production system. > Within my Classes i use org.apache.soap.SOAPException(String faultcode, > String msg). > Which is an equivalent construct in Apache Axis? > > B

SOAPException: Migration to Axis

2003-01-16 Thread Michael Konietzka
Hi i am using Apache SOAP in my production system. Within my Classes i use org.apache.soap.SOAPException(String faultcode, String msg). Which is an equivalent construct in Apache Axis? Best regards Michael -- Dipl.-Inform. Michael Konietzka Schlund + Partner AG - Development UNIX -

Re: record and playback of SOAP messages

2003-01-16 Thread Davanum Srinivas
http://aft.sourceforge.net/ http://www.pushtotest.com/ptt --- [EMAIL PROTECTED] wrote: > Hello, > For functional/regression testing of a SOAP/Axis server, I would like to > record the SOAP messages a client is sending, and capture the response > messages. > When running the tests, the captured SO

record and playback of SOAP messages

2003-01-16 Thread ajbanck
Hello, For functional/regression testing of a SOAP/Axis server, I would like to record the SOAP messages a client is sending, and capture the response messages. When running the tests, the captured SOAP messages can be send to the server, and the response compared with the original results. Anyone

Re: tcp and SOAP monitor

2003-01-16 Thread Zhaohua Meng
Norris, Thank you very much. I followed your instruction on tcpmon and it worked!. But I'm greedy: in my situation, where client and service are on the same host, how can I use SOAPMonitor? Thanks again. Zhaohua Norris Merritt wrote: If your client and service are on the same host, you only nee

Re: Stateful Web Services

2003-01-16 Thread Nirmal Mukhi
Hi, I think solving the problem at the SOAP level (using headers) or at the HTTP level (using cookies) is looking at things in a limited way. Ultimately statefulness requirements have to be described at a higher level (e.g. in WSDL) and then bound to various protocol-specific mechanisms, so if

BCS OOPS: a series of six evening sessions Web Services

2003-01-16 Thread Steve Edwards
Please pass on to anybody who may be interest, Thanks, Steve BCS OOPS is holding a series of six evening session on Web Services at IBM South Bank, London, January through March 2003. The series will include expert speakers from IBM, Microsoft, Oracle and Sun. The series will cover a wide variety

RE: Stateful Web Services

2003-01-16 Thread thomas . cherel
Title: RE: Stateful Web Services I understand your point of view, but for an Axis user I think it is also important to understand what is behind "session.maintain=true". The user can choose this way and the day he has a requirement to support SOAP over JMS for example, he needs to have a diff

Re: Will Axis Clients Simply Not Work In Applets ?

2003-01-16 Thread Davanum Srinivas
Nicholas, Can you please send in a zipped up sample? Better still log a bugzilla bug (http://nagoya.apache.org/bugzilla) and upload the sample there as well. Thanks, dims --- Nicholas <[EMAIL PROTECTED]> wrote: > Has anyone managed to get an Axis client to work in an > applet ? Some google searc

Will Axis Clients Simply Not Work In Applets ?

2003-01-16 Thread Nicholas
Has anyone managed to get an Axis client to work in an applet ? Some google searches have revealed the common event of a security exception like this: java.lang.ExceptionInInitializerError at org.apache.commons.discovery.log.DiscoveryLogFactory._newLog(DiscoveryLogFactory.java:142)

RE: Stateful Web Services

2003-01-16 Thread Anne Thomas Manes
(sorry, I'm no longer subscribed to the dev list, please forward my mail if (Byou deem appropriate) (B (BMy comment about JAX-RPC refers to the fact that the JCP isn't really in a (Bposition to define Web services standards. It is defining standard Java (Bbindings to the Web services standards

server-config.wsdd

2003-01-16 Thread rf
Hello I noticed that whenever I start the app server, I have to deploy the axis services again, and axis doesnt automatically read from the server-config.wsdd. Then I did the deployment programmatically using the AdminClient, but then I noticed that I have to delete the fiel server-config.wsdd eve

Access statistics

2003-01-16 Thread rf
Does AXIS already have any mechanism to maintain certain statistics like service access count, service invoker ipaddress, etc OR I have to do these myself using a filter? Thanks Rf __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up n

RE: SOAP request redirection

2003-01-16 Thread Shobha Rani Jagathpal
Hi Toshiyuki, Thank you for the approach. I need one more clarification from you. The client will be sending authentication infomration in the soap header. Could you let me know how this can be sent by client. I have written a client which sends this information by using SOAPHeaderElement(n

Threading and Handlers....

2003-01-16 Thread Irving, Dave
I know its possible to control the 'scope' of a service - e.g, session / application etc, and that this will have an impact on whether the service is invoked by multiple threads (i.e, I assume a Service which is created new for each call will not have to support mult-threaded access). I was

Re: SOAP request redirection

2003-01-16 Thread Toshiyuki Kimura
Hi Shobha, (B (B In my last mail, I only provided the easiest way that (BI believe. However, if you really want to implement any (Byour specific authentication, you will be able to proceed (Bby the following architectures, I named "Web Service based (Bproxy"; :-) (B (B - You have to imple

WSDL Bug?

2003-01-16 Thread tim
I'm using Axis 1.1 beta and have noticed a curious bit of WSDL coming out. I wondered if it was a bug, or whether it is correct. Will it affect the client, as we are going to be generating client code from it soon? At the top of the file, the namespace is http://sun9pan:9001/amberScannerInte

RE: WSDD Difference

2003-01-16 Thread Shobha Rani Jagathpal
Title: Message It will automatically be created by axis. It will be in \webapps\axis\web-inf If its not there modify this attachment and place it there. :))     Regards, Shobha Rani J   -Original Message-From: Krishnakumar B [mailto:[EMAIL PROTECTED]] Sent: Thursday, January

RE: WSDD Difference

2003-01-16 Thread Krishnakumar B
Title: Message hi   Thanks for the response. How do i write the server-config.wsdd file. Is it generated using wsdl2java on the Implementation file. The examples have only one file called deploy.wsdd.   Regards BKK   -Original Message-From: Shobha Rani Jagathpal [mailto:[EMAIL

RE: WSDD Difference

2003-01-16 Thread Shobha Rani Jagathpal
Title: Message make sure of 2 things, 1. server-config.wsdd has the new service deployed(can manually edit and modify which requires restarting the container) 2. the class file is available in web-inf/classes when u deploy it. Also list the services deployed to cross-check them I think that'll

RE: XML validation using schema. May be off topic with SOAP

2003-01-16 Thread Christer Holmér
You need to set the EntityResolver of your parser.   See http://xml.apache.org/xerces-j/apiDocs/org/xml/sax/EntityResolver.html   For example:   org.xml.sax.EntityResolver myResolver = new MyResolver(); String namespaceURI = "http://www.comp.com/mynamespace";    // The namespace identifier

WSDD Difference

2003-01-16 Thread Krishnakumar B
I have seen two types of WSDD files come with IBM WSDK.   one is     The second one is   http://xml.apache.org/axis/wsdd/" xmlns:java="http://xml.apache.org/axis/wsdd/providers/java" name="test">           When i write some web service and use One It gets deployed but if i use Two the web

Re: Stateful Web Services

2003-01-16 Thread Toshiyuki Kimura
Hi Thomas and Anne, (B (B Do you mean "Whatever is unjust is not held to be a law (B(i.e. the spec)" ? :-) (B (B Usually, the first commited spec is used to having some (Bproblems; for example, The HTTP/1.0 has some issues in (Bthe security, and performance. And the SOAP/1.1 also has (Bs