Hi,
I am trying to write some unit tests using local transport but I get the
following error:
Couldnt find an appropriate operation for XML QName {0}
at
org.apache.axis.providers.java.MsgProvider.processMessage(MsgProvider.java:1
08)
at
org.apache.axis.providers.java.JavaProvider
You need mailapi.jar. You can download it from:
http://java.sun.com/products/javamail/
you will also need activation.jar which you can
download from:
http://java.sun.com/products/javabeans/glasgow/jaf.html
the problem is that somebody was so smart to throw
an exception which the message "No s
In case of session scope, each session has its own instance of the
service class independently of which thread invokes the exposed
methods. I suppose that the servlet engine starts a new thread for
each request, at least MessageContext.getCurrentContext() works
in such manner. In case of applicat
This classes are now in saaj.jar. So include this file in
your classpath. Regards.
> -Original Message-
> From: Navneet Raja [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, September 17, 2002 4:39 AM
> To: '[EMAIL PROTECTED]'
> Subject: Build problems using RC1
>
>
> Hi All,
> I downloaded
. Thanks.
-Original Message-
From: Ramon Turnes [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 13, 2002 3:43 PM
To: '[EMAIL PROTECTED]'
Cc: '[EMAIL PROTECTED]'
Subject: Thread safe clients
I have problems when sending two simulaneous requests
(from different threads
I have problems when sending two simulaneous requests
(from different threads) to the same URL. I have been playing
a little bit with axis source code and everything seems to work
if I synchronize the invoke(SOAPEnvelope) method in
Call.java
Some reasons for this behaviour?
Thanks in advance
I suppose you mean deserialization and not serialization. If you have a
service in Axis:
request = MessageContext.getCurrentContext().getRequestMessage();
returns you the request message. And
envelope = request.getSOAPEnvelope();
returns you the SOAPEnvelope and
enve
Your SOAP message definitely does not look OK. You are trying to invoke
a service named AdvertisementService and this information is not carried
by the SOAP message. Your SOAP message should look like this:
POST /axis/services/AdvertisementService HTTP/1.0
Content-Length: 2418
Host: localhost
Co
You can use two approaches. First, you can define your own parameters at
deployment
time or you can expect a file located in axis installation under Tomcat. I
am passing the
name of a config file to my web service. The following code reads a
configuration file.
Either it uses the value of a prop
You have getOperation() method in MessageContext. I don't
know if that is what you want. Regards.
Ramón.
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Monday, April 22, 2002 4:40 PM
> To: [EMAIL PROTECTED]
> Subject: RE: Deployment
>
>
> > When you
When you deploy a service axis configuration is modified, which means
that if you are using the default configuration, server-config.wsdd
changes. I don't think that web.xml is modified at all. What I don't
understand is what you mean by client deployment. Why should
you need that.
Regards.
Hi,
my Web Service needs to process some SOAP headers
targeteed at http://schemas.xmlsoap.org/soap/actor.next
and with mustUnderstand set to 1. I get an axis exception
on the server side because the headers are not processed.
Should I write a handler to process the headers before they
are del
But how do I go about limiting access to individual web services?
Basically I am interesed in the following two cases:
1. How can I limit the access to the AdminService
2. I want to administer my Web Services so I would they could actually
have a broader interface for administrators (let's say
Take a look at this one:
http://www.learnxmlws.com/tutors/rpcmsg/rpcmsg.aspx
Regards.
Ramon.
> -Original Message-
> From: Adam.Leggett [mailto:[EMAIL PROTECTED]]
> Sent: Monday, April 15, 2002 10:56 AM
> To: Axis User ([EMAIL PROTECTED])
> Subject: Document/Literal v RPC/Encoded
>
>
Use this:
Message rsp =
MessageContext.getCurrentContext().getResponseMessage();
try{
org.apache.axis.attachments.Attachments attachments =
rsp.getAttachments();
if(null == attachments)
throw new RuntimeException("No support for attachment
Hi,
I need to process some headers in my Web Service but if I have something
like
this:
http://schemas.xmlsoap.org/soap/actor/next"/>
my service is actually never called and axis throws the following
exception:
http://xml.apache.org/axis/";>
Did not understand "MustUnderstand" header(s)!
Hi,
Take a look at how the AdminClient uses the AdminService
in Axis. Of course, you have to download the source code.
Regarding the signature, your methods must have one of
the following signatures:
Document methodA(MessageContext msgC, Document xml);
Document methodA(Document xml);
though
t; Hi Ramon...
> > Thanks much for the info. I was thinking of putting this
> in the client:
> > call.setOperationName("methodA");
> > But it sounds like you did not do this. Right?
> > Thanks again.
> > Stan
> >
> > - Original Message -
> > From: &
ve one service method, but put the real method
> > name in the document itself (probably in the root tag).
> Then the method
> > implementation checks to see what operation the client
> wants and calls
> > that method itself.
> >
> > But this seems unsatisf
in the MsgProvider for a long
> time. Be warned - that's going to go away at some point.
>
> MessageContext.getCurrentContext() is the Axis-approved way
> of getting the MC in your service method.
>
> --Glen
>
> > -Original Message-
> > From: Ramon
I had the same problem. Try to set fork="yes":
so a new JVM is used. Regards.
Ramón.
> -Original Message-
> From: Robert Evans [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, March 27, 2002 7:27 PM
> To: [EMAIL PROTECTED]
> Subject: Can deploy from command line,
You can use attachments in both RPC and Messaging styles. You have
such example in the Web Services Toolkit (WSTK) which you can
download from IBM (they use Axis by the way).
Ramón.
> -Original Message-
> From: Wörner Till [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, March 26, 2002 1:19
You can do that if you are using Messaging style services.
Ramón.
> -Original Message-
> From: Ken Weiner [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, March 26, 2002 2:49 AM
> To: [EMAIL PROTECTED]
> Subject: Re: MessageContext argument in service method
>
>
> Glen,
>
> Thank you so
fective immediately.
>
> Glyn
>
>
>
>
>
> Ramon Turnes
>
>
My understanding is that the Axis server loads services defined in
server-config.wsdd
at boot time. You only need to invoke the AdminClient when you
want to deploy a new service. When you deploy a new service
the Admin service updates server-config but these changes
aren't effective until nex
It seems that you are mixing AXIS (Apache SOAP 3.0) jar files and
Apache SOAP 2.2 so remove all the references to version 2.2.
Regards.
Ramón
-Original Message-
From: mikel [mailto:[EMAIL PROTECTED]]
Sent: Monday, March 18, 2002 3:26 PM
To: [EMAIL PROTECTED]
Subject: axis problem
Hi,
Finally I figured it out, I just put:
and it worked. Regards.
> -Original Message-
> From: Ramon Turnes [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, March 14, 2002 4:42 PM
> To: '[EMAIL PROTECTED]'
> Cc: '[EMAIL PROTECTED]'
> Subject: Poss
se everything works fine if I remove
any of the methods from the deployment file: the right method is
always called.
Can perhaps somebody from the developers list clarify me
how does Axis know which method to call in NON-RPC
calls?
Thanks.
Ramón.
> -Original Message-
> From: Ramon Turne
Hi,
I would like to have a service using Document style with two
methods but it seems that this is not possible because the
message dispatcher for Document style services checks for
a method with the following signature:
Document MyMethod(MessageContext mc, Document xml) {
.
}
and t
Hi guys,
I have been banging my head against the wall trying to figure out why
my examples with attachments did not work and a very similar one in
WSTK worked when we both are using the same version of axis. I
though they had changed axis code but then I figured out that the
difference was one
interesting thing is that they
are
supposed to use Axis Alpha 3 which does not support attachments. Perhaps
they have modified Axis code on their own.
Regards.
--
Ramon Turnes Perez
HERMES SoftLab, Litijska 47
1000 Ljubljana, SLOVENIA
Phone: +386 1 5865 638
iable.
Check what is
its value. Regards.
------
Ramon Turnes Perez
HERMES SoftLab, Litijska 47
1000 Ljubljana, SLOVENIA
Phone: +386 1 5865 638
Fax: +386 1 5865 270
E-mail: [EMAIL PROTECTED]
www.hermes-softla
gards.
------
Ramon Turnes Perez HERMES SoftLab, Litijska 47 1000
Ljubljana, SLOVENIA Phone: +386 1 5865 638
Fax: +386 1 5865 270
E-mail: [EMAIL PROTECTED] www.hermes-softlab.com --
-Original
Message-From: Monika Solanki
[mailto:[EMAIL PROT
I don't have neither axis.jar nor log4j.jar under common/lib and everything
works fine for me. Have you followed the instructions and copied
xml-axis\webapps\axis under tomcat\webapps? Regards.
--
Ramon Turnes Perez
HERMES SoftLab, Litijska 47
.
--
Ramon Turnes Perez
HERMES SoftLab, Litijska 47
1000 Ljubljana, SLOVENIA
Phone: +386 1 5865 638
Fax: +386 1 5865 270
E-mail: [EMAIL PROTECTED]
www.hermes-softlab.com
--
> -Original Message-
>
Use -p command line option. So if you want your client to send
requests to port 7000:
-p 7000
Regards.
--
Ramon Turnes Perez
HERMES SoftLab, Litijska 47
1000 Ljubljana, SLOVENIA
Phone: +386 1 5865 638
Fax: +386 1 5865 270
E-mail: [EMAIL PROTECTED
Take a look in this site which is oriented to Visual Basic programmers:
http://www.learnxmlws.com
you may find sth. Regards.
--
Ramon Turnes Perez
HERMES SoftLab, Litijska 47
1000 Ljubljana, SLOVENIA
Phone: +386 1 5865 638
Fax: +386 1 5865 270
E
You can define an XML type with such restrictions (see restrictions in
XML specification) but I don't think you can make Axis to force such rules.
Regards.
--
Ramon Turnes Perez
HERMES SoftLab, Litijska 47
1000 Ljubljana, SLOVENIA
Phone: +386 1 586
I was experimenting with Java2wsdl but I was not able to able to
generate the right wsdl files from classes other than those that
follow the JavaBean pattern. Regards.
--
Ramon Turnes Perez
HERMES SoftLab, Litijska 47
1000 Ljubljana, SLOVENIA
Phone: +386 1
> s/architecture
> -guide.html
>
> -Original Message-
> From: Ramon Turnes [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, February 20, 2002 11:28 AM
> To: '[EMAIL PROTECTED]'
> Subject: RE: Where is the WSDD specification.
>
>
>
> How abou
How about Axis documentation? What is shipped together
with Axis is definitely not enough. Regards.
Ramon.
> -Original Message-
> From: Jon Baer [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, February 20, 2002 11:44 AM
> To: [EMAIL PROTECTED]
> Subject: Re: Where is the WSDD specificatio
lib\log4j.jar;c:\xml-axis\lib\clutil.ja
r;
c:\xml-axis\lib\wsdl4j.jar
Some idea where the ptroblem may be? Thanks.
--
Ramon Turnes Perez
HERMES SoftLab, Litijska 47
1000 Ljubljana, SLOVENIA
Phone: +386 1 5865 638
Fax: +386 1 5865 270
E-mail: [EMAIL PROTEC
You should write
-p com.ecofin.vk.beans urn:ecofin.quoteserver.types
instead of
-p com.ecofin.vk.beans=urn:ecofin.quoteserver.types
Regards.
--
Ramon Turnes Perez
HERMES SoftLab, Litijska 47
1000 Ljubljana, SLOVENIA
Phone: +386 1 5865 638
Fax
gards.
--
Ramon Turnes Perez
HERMES SoftLab, Litijska 47
1000 Ljubljana, SLOVENIA
Phone: +386 1 5865 638
Fax: +386 1 5865 270
E-mail: [EMAIL PROTECTED]
www.hermes-softlab.com
--
> -Original Message-
> From: [EMAIL PROTECTED]
>
See subject "errors with deploying example web service shipped with xml-ax
is-alpha3"
in the previous messages. Regards.
Ramon.
> -Original Message-
> From: Ajith Joseph [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, February 17, 2002 12:12 AM
> To: [EMAIL PROTECTED]
> Subject: Bad envelope
suppose because they can be used by other services. How do
you then undeploy them?
Regards.
--
Ramon Turnes Perez
HERMES SoftLab, Litijska 47
1000 Ljubljana, SLOVENIA
Phone: +386 1 5865 638
Fax: +386 1 5865 270
E-mail: [EMAIL PROTECTED]
www.hermes
46 matches
Mail list logo