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"));
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
> > 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
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-
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
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
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]]
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
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
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
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
- 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
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
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
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
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
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:
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
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
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.
David/All
Now running beta and still seeing same issue --
See below:
File Exists: ${fileExists}
WSDD File: ${wsddFile}
Axis Home: ${axisHome}
Deploying...
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
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
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
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
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
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
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
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
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
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
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
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
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();
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.
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
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
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
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
that was http://jakarta.apache.org/commons/discovery.html with an l at the
end. oops
- 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
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
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
- 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
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
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
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 -
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
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
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
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
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
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
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
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)
(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
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
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
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
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
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
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
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
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
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
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
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
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
68 matches
Mail list logo