Hi All...I'm Samitha Kuruppu and i'm going to do a project that is TCP monitor for Axis2/c.Existing Axis2Java TCP monitor hasfollowing main features,-Capture the SOAP messages sent and received -Slow connection simulation (By using this feature we can simulate the
network connection
Small information about sessions.
The are initiated by a call in the client by setting context property
javax.xml.ws.session.maintain 10.4.1.4
The are handled in the server hander SimpleSessionHandler, and the
providers JavaProvider are session aware so if there is a session with
the soap
Hi Javier
pls have a look at
http://www.wso2.net/kb/98
and use getResourceAsStream(config/special_properties.des);
Javier V wrote:
Hi.
I know my question has been posted several times, but the solution
does not work. I must do something wrong, sure.
I'm using JDK 1.4.2_12, Axi2 1.0 and
Hi Andersen ;
You can add observers into Axis2 , so whenever you deploy or change
service it will be notified.
pls have a look at
org.apache.axis2.engine.AxisObserver
This is how you add Observer into axis2.xml
listener class=org.apache.axis2.ObserverIMPL
parameter name=RSS_URL
Hi Michele;
There are few problems with sendRobust() , I will fix those issues soon.
Michele Mazzucco wrote:
Hi all,
I've got some problems with the sendRobust() call (Axis2, snapshot June
08). The scenario on the server side can be seen as quite similar to the
one described in the
You need to have the addressing module in the client side too ;
add the module into client side class path (http://www.wso2.net/kb/182)
Eric Winter wrote:
Please help me out...
I have a what must be a simple problem. I am not able to run any of
the Echo*DualClient samples. For example,
Loïc MAZE wrote:
Hi,
I'm a beginner with Axis 2 and I would like to know how to implement a
stateful web service using HttpSession. I've spent several hours on
this mailing but I’ve found absolutely nothing.
ya , we dont have enough documents explaining session management stuff
(I am on
There is the problem of file caching, it doesn't working in nightly build
version released on June 22, 06. Eventhough, the cache properties in
axis2.xml already been set.
Is there any solution for this? Is it a bug?
Sathita
Thanks a lot for all the replies,
In order to manage HttpSession, I've tried the following code for my web
service :
public class TestSessionService implements ServiceLifecycle {
private ServletEndpointContext jaxrpcContext;
public void init(Object context) throws ServiceException {
Sathita,
We have no idea what this is about. Can you please explain a bit
further? which property did you set? expected behavior and stack
traces if any.
thanks,
dims
On 6/28/06, Wan Kaveevivitchai [EMAIL PROTECTED] wrote:
There is the problem of file caching, it doesn't working in nightly
Hello
I have an existing WS using Axis 1.2 and wish to incorporate authentication
of the client. The catch is that the clients (which are all .NET) must
authenticate using NT credentials and should not be promted.
Is there any way for Java to interrogate the NT domain in order to validate
user
I read sample codes, tutorials etc about attachments. And everything would be
cool but...I don't have needed classes - whole org.apache.axis2.attachments
package doesn't exist. Frow where should I get it?
It's written nowhere :/
Thx for info
Deepal,
Can we please change aars to services and aars.list to services.list
to be consistent?
thanks,
dims
On 6/28/06, Deepal Jayasinghe [EMAIL PROTECTED] wrote:
Hi all;
I add a new feature to Axis2 !!
A module can add services when they deploy in Axis2 , module mar file
can contains any
I was writing some email earlier about problem in sending large file ~ 10 MB
and got broken pipe exception. And there was the suggestion to use the new
nightly release which is the 22 Jun 06 release and the broken pipe problem
was solve.
So i moved on to test with 100 MB size attachment,
try the samples / test cases in Apache wss4j.
thanks,
dims
On 6/28/06, Wishing Carebear [EMAIL PROTECTED] wrote:
Hello:
I want to use SAML and ws-securitywith axis1.4. Is there any example
available on this topic.
Thanks for your help and time,
Regards,
cbear
--
Davanum Srinivas :
for furthur detail,
this is the error i got.
Exception in thread main org.apache.axis2.AxisFault: null; nested
exception is:
java.lang.reflect.InvocationTargetException
at
org.apache.axis2.description.OutInAxisOperationClient.execute(OutInAxisOperation.java:287)
at
Hi,I have uploaded a web service (.aar) to Axis2, and it appears to keep using old versions of the service classes, even after I've made changes and re-uploaded.Axis2 is running on JBoss 4.0.3, with JDK 1.4. I don't have the option of restarting JBoss, as it is a production environment. Anyone
John,
Could i pester you to please open up a JIRA issue?
thanks,
dims
On 6/27/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Hi Deepal,
I've butted my head against the same issue during the past few weeks (most
recently with the June 19 Axis2 snap) and have had to resort to fixing the
wsdl
Hi dims;
That is what we had yesterday :) , but it causes problems in war
distribution.
The problem is this;
When ever we show a module (at the deployment time) , get its class
loader and try to invoke the following
ClassLoader cl = module.getModuleClassLoader();
InputStream fin =
Hello all. I have an error attempting to undeploy a service. I suppose
this problem arise when I changed the 'use' property from 'encoded' to
'literal' in the use of java2wsdl.
This is the error I have with axis-admin ant task attempting to undeploy my service:
*
BUILD
Will there be an Axis 1.4.1 (from the trunk?)?
This was once agreed upon.
Greetings
Franz
Davanum Srinivas schrieb:
try the samples / test cases in Apache wss4j.
thanks,
dims
On 6/28/06, Wishing Carebear [EMAIL PROTECTED] wrote:
Hello:
I want to use SAML and ws-securitywith axis1.4. Is
Hi Martin,
I inspected your WSDL. My finding is that:
The operation int calculateBlueBookValue(VehicleDescription param0)
only use VehicleDescription as input, and it has nothing to do with
VehicleType defined in the WSDL. Is there any missing link between
VehicleDescription and VehicleType in
I have already fixed this , any possibility of testing with current SVN
or nightly build.
Davanum Srinivas wrote:
John,
Could i pester you to please open up a JIRA issue?
thanks,
dims
On 6/27/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Hi Deepal,
I've butted my head against the
Hi Andrew;
You need to change axis2.xml , there you have parameter called;
parameter name=hotupdate locked=falsefalse/parameter
you have to change that to
parameter name=hotupdate locked=falsetrue/parameter
Andrew B wrote:
Andrew B wrote:
Hi,
I have uploaded a web service (.aar) to
Hi Deepal,
I encountered the same problem as I posted in Joshua's thread on
operation inheritance. Could you also have a look at that thread?
Could you tell me the minimal modules I need to rebuild? only codegen
and wsdl or all the rest?
Regards,
Xinjun
On 6/28/06, Deepal Jayasinghe [EMAIL
Xinjun Chen wrote:
Hi Deepal,
I encountered the same problem as I posted in Joshua's thread on
operation inheritance. Could you also have a look at that thread?
Could you tell me the minimal modules I need to rebuild? only codegen
and wsdl or all the rest?
hmm , the best thing is get an
Where is org.apache.axis2.attachments package in Axis2 1.0 ?
How can I get it?
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi,
There is no org.apache.axis2.attachments package in Axis2 1.0. Please
let us know where this is mentioned. Perhaps it is a documentation
error!
Ajith
On 6/28/06, zolv [EMAIL PROTECTED] wrote:
Where is org.apache.axis2.attachments package in Axis2 1.0 ?
How can I get it?
Hi all,
it seems I have a big problem: the operation context is NULL (I think it
is because the handler runs as first, event before the transport phase.
How can I get a valid one?
Thanks,
Michele
Ajith Ranabahu wrote:
yep,
OperationContext is the one for you
Ajith
On 6/27/06, Davanum
Hi everybody,
I'm a new user of Axis2 and I'm trying to understand how it works.
Currently, I'm trying to deploy a module and especially the module
logging descrisbed in the userguide.
I think the module is deployed because I can see it on the Axis2 Console but
I'm not sure that it is
Hi,
Hmm... you seem to have a unique situation here. Does your handler run
even *before* transport ? The operation context is added only after
the dispatch phase.
What you can do is to have two handlers - the first one stores what
ever the thing in the message context and the next one , sitting
Ajith,
yes, this confirm my idea. The first handler, running before the
transport phase, replaces the RequestURIBasedDispatcher (I still don't
know how to add it to the transport phase. Anyway, the aim of the first
is only to replace RequestURIBasedDispatcher), while the second one,
running after
Hi Deepal,
I *hate* aars :( .. uglier than hell!
That is what we had yesterday :) , but it causes problems in war
distribution.
The problem is this;
When ever we show a module (at the deployment time) , get its class
loader and try to invoke the following
ClassLoader cl =
Hi,
I won't recommend replacing the dispatchers. Just put your second
handler after the current dispatch phase and that should do it.
Ajith
On 6/28/06, Michele Mazzucco [EMAIL PROTECTED] wrote:
Ajith,
yes, this confirm my idea. The first handler, running before the
transport phase, replaces
Ajith,
thanks for your valuable suggestions. Just the last question: can I put
the two handlers into the same module or do I need two separate modules?
If so, I should I configure module.xml?
Thanks,
Michele
Ajith Ranabahu wrote:
Hi,
I won't recommend replacing the dispatchers. Just put your
Hi,
Just put the handlers in the same module and put the relevant phases
in the module.xml. that should do it :)
Ajith
On 6/28/06, Michele Mazzucco [EMAIL PROTECTED] wrote:
Ajith,
thanks for your valuable suggestions. Just the last question: can I put
the two handlers into the same module or
And what about some values I need to pass between the two handlers
(in-messages): can I save them into the message context?
Thanks,
Michele
Ajith Ranabahu wrote:
Hi,
Just put the handlers in the same module and put the relevant phases
in the module.xml. that should do it :)
Ajith
On
Hi,
Yep, just store them as a property in the MC.
Ajith
On 6/28/06, Michele Mazzucco [EMAIL PROTECTED] wrote:
And what about some values I need to pass between the two handlers
(in-messages): can I save them into the message context?
Thanks,
Michele
Ajith Ranabahu wrote:
Hi,
Just put the
Hello,
As some may have seen, I was posting today a lot
about trying to get an Axis2 WS to be called from a Flash document I was working
on. After a lot of suggestions (thank you to those of youwho made
suggestions), I still couldn't get it to work.
Finally, I got pretty ticked off and I
Hi Luke,
Like I said in reply to your earlier mail what we need when trying to
solve this problem is the message that was sent by flash. If you care
to open jira issue [1] with the necessary messages it will be a great
help for us to improve Axis2.
Ajith
[1] http://issues.apache.org/jira/
On
Nobody has an idea about this?
- Original Message -
From: Fabien Couble [EMAIL PROTECTED]
To: axis-user@ws.apache.org
Sent: Wednesday, June 28, 2006 12:19 PM
Subject: trouble to invoke a moduel
Hi everybody,
I'm a new user of Axis2 and I'm trying to understand how it works.
or even module-services and module-services.list
-- dims
On 6/28/06, Sanjiva Weerawarana [EMAIL PROTECTED] wrote:
Hi Deepal,
I *hate* aars :( .. uglier than hell!
That is what we had yesterday :) , but it causes problems in war
distribution.
The problem is this;
When ever we show a
Good Morning Simon-
As every published Web service produces a WSDL Tell (dont request/demand) the
.NET people provide you the WSDL
From the generated WSDL you can generate neccesary SOAP client
HTH,
Martin --
*
This email
Sanjiva Weerawarana wrote:
Hi Deepal,
I *hate* aars :( .. uglier than hell!
That is what we had yesterday :) , but it causes problems in war
distribution.
The problem is this;
When ever we show a module (at the deployment time) , get its class
loader and try to invoke the following
SOAP Encoding arrays are not particularly interoperable. Can you convert to doc/literal?If not, then you at least need to use the .NET SOAP Enocding fix. Add this parameter to your global configuration:
parameter name=dotNetSoapEncFix value=true/This fix will change soapenc:string to xsd:string.I
Hello all,Does anyone know a way to declare max and min size of a string in a input parameter in a wsdl generated with the Java2WSDL tool? Can i declare something in the deploy.wsdd file?Thanks,Roy
Χρησιμοποιείτε Yahoo!
Βαρεθήκατε τα ενοχλητικά μηνύ ματα (spam); Το Yahoo! Mail διαθέτει την
Hi all,
is it possible to add some informations into the (response) SOAP header
from the service side (I'm assuming the operation to be out-in)? In
other words, given the echo() operation, can the service add some data
into the (outgoing) soap header (please note that in this scenario no
Why Not use attachment?
Thanks
Tim Jian
Momentum systems, Inc.
From: Simon
McMahon [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 27, 2006 8:52
PM
To: axis-user@ws.apache.org
Subject: [1.3] Handling large
values
Hi,
Axis throws
various faults,
See http://ws.apache.org/axis2/1_0/mtom-guide.htmlOn 6/28/06, zolv
[EMAIL PROTECTED] wrote:I read sample codes, tutorials etc about attachments. And everything would be cool but...I don't have needed classes - whole
org.apache.axis2.attachments package doesn't exist. Frow where should I get
You need to edit the WSDL file to add this type of restriction.On 6/28/06, Roy [EMAIL PROTECTED] wrote:
Hello all,Does anyone know a way to declare max and min size of a string in a input parameter in a wsdl generated with the Java2WSDL tool? Can i declare something in the
deploy.wsdd
The undeployment no such operation error is in response to your request to undeploy using the axis-admin ant task. Look for your problem in the ant task.As for your WSDL, if you switch to use=literal you must redefine your arrays -- you can no longer use soap encoding arrays. For example,
change
See http://marc.theaimsgroup.com/?l=axis-userm=104429890926603q=p3On 6/28/06,
Simon McMahon [EMAIL PROTECTED] wrote:
I need to do this too.
How does the server side get the attachment?
I use Axis 1.3 for both client server.
Regards,
Simon.
Simon McMahon
Work: (07) 31311420Mobile: (043)
Hi,
the problem I habe is as followes: Trying to publish a group of services using
the 'servicegroup'-Tag in services.xml descriptor I did not found any chance to
provide some wsdl files in the aar archive in that way, that every service is
able to provide a wsdl using his special file from
Michele Mazzucco wrote:
Hi all,
is it possible to add some informations into the (response) SOAP header
from the service side (I'm assuming the operation to be out-in)? In
other words, given the echo() operation, can the service add some data
into the (outgoing) soap header (please note
Hi Eran,
yes, I need to add some headers from the service and I'm using
RawXMLINOutMessageReceiver. Should it work if I do it into
setOperationContext() when
msgCtx = opctx.getMessageContext(WSDLConstants.MESSAGE_LABEL_OUT_VALUE)
is not null (i.e. the message is going out)? Or do I need a
Have you
tried increasing the heap size on your server?
From: Simon McMahon [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 27, 2006 7:52 PMTo:
axis-user@ws.apache.orgSubject: [1.3] Handling large
values
Hi,
Axis throws various faults, including out-of-memory, when I pass a large
value
Hello,
in Tomcat I turned on BASIC Authentication to protect the use of all
axis services. Since then I always get a HTTP-Error 401/Unauthorized.
How can I provide username and password to deploy again to axis?
I tried the -uUserName -wPassword parameters, but they seem to belong
rather to
Hi again Ajith,
Before reporting a bug, I want to make sure there actually is one. I used
Ethereal to see what was going on, and I believe that I have a problem in
Flash and one in Axis now.
My Flash problem (I believe) is now solved, but in order to be sure I need
to figure out the Axis
Hi,
I am currently planning a project concerning
with storing composed objects in a database.
(E.g. an object contains some simple
attributes (double, String,...) but also lists/array of objects
of other classes - could be easily
represented as XML tree).
Therefore, an application server should
Hi Deepal,Good stuff! I downloaded the June 27 snap and the duplicate element did not exist after running Java2WSDL. I'll test further with a more robust implementation in the coming days.Do you still need a jira issue? I thought that Jim Bender already created jira-807 for this issue.
Thanks,john
Hi all,
I try to create an OneWay method which supports WSRM and an attachment.
My service is really simple, it's only a println.
The method runs successfully when there is only the WSRM implementation,
but when I add the attachement part, I have an server error:
Hi,
I have deployed AXIS
in JBoss 4.0.3SP1 with a number of Web Services. I did the same under
JBoss 4.0.2 with no problems - however now AXIS seems to hang using the exact
same code. Below is a list of the Logs I capture from AXIS. Anyone any
ideas.
thanks,
Richie.
2006-06-28
Hello,
I am experiencing the following Data binding error with a Service
generated from the attached files
with Axis2. I do not understand since my client is expexting an
OA_SearchRequest.
[java] CAT Client...
[java] url http://localhost:8082/axis2/services/cat
[java] stub [EMAIL
I though I would post this out of completeness, just in case anyone else
ever has a similar problem, perhaps my bread crumbs will help.
The bottom line, is that my build environment compiled the java classes
as 1.5, whereas my deployment environment was running java version 1.4.
I got no
Hello,I have successfully deployed a very simple aar archive ("hello world") into my axis tomcat server.I started from an implementation class and so I didn't write any wsdl file.I cannot generate the axis2 client stubs. Here is the exception I get (The entity "nbsp" was referenced, but not
As far as I know, xsi:type attribute is only added for rpc style
service invocation.
I never see xsi:type in document style service. If Axis2 do this way,
it means the serializer will add the xsi:type attribute. So does it
mean that the serializer/deserializer is Axis2 dependent?
By the way,
Mancinelli Elodie wrote:
Sorry, I want to precise my request. When I observe with TCPMon the
soap message, the differents messages of WSRM's protocole are created
(CreateSequence, CreateSequenceResponse, Message, Acknowldgement and
TerminateSequence). These messages are correct. The problem
As far as I know, services can be deployed and accessed successfully without this at least with Axis 2 1.0. I am not sure if module service changes things.RonOn 6/28/06,
Kinichiro Inoguchi [EMAIL PROTECTED] wrote:
Hi,Is services.list in services folder needed at current SVN ?To add new service to
Hi all
Any comments on the below issue ? I'd expect this to be a common scenario .. so
am I
misunderstanding something ?
thanx
-john
From: John Mani [mailto:[EMAIL PROTECTED]
Sent: Tue 6/27/2006 6:53 PM
To: axis-user@ws.apache.org
Subject: WSDL2Java and
I saw a similar post regarding the server side, but in
looking at all the documentation and samples, I cannot figure out how to write
a client that doesnt build the whole OM object tree for the payload.
If I set caching to false:
public OMElement getPayload(InputStream is) throws
Elodie
I think the problem is that you are using MTOM with XMLBeans which
does not work.
Paul
--
Paul Fremantle
VP/Technology, WSO2 and OASIS WS-RX TC Co-chair
http://bloglines.com/blog/paulfremantle
[EMAIL PROTECTED]
Oxygenating the Web Service Platform, www.wso2.com
On 6/28/06,
Nicolas,
Does your service class method have no in/out parameter, like this ?
public void echo () {
System.out.println(hello world);
}
--- Nicolas Urien [EMAIL PROTECTED] wrote:
Hello,
I have successfully deployed a very simple aar archive (hello
world) into my axis tomcat server.
I
How can I access parameters that I define
in services.xml from within my Java Class
implementing the web service?
Thank you,
A
__
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
You may be running an older version of axis2 . I would bet that
tungsten is using something more recent than say the 1.0 release. It
could help us and yourself to try the nightlies:
http://people.apache.org/dist/axis2/nightly/
Furthermore, we really need those soap messages to help via tcpmon
How can I access parameters that I define
in services.xml from within my Java Class
implementing the web service?
Thank you,
A
__
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
First, you need access to the Axis service object, which you can get by
defining a special method as follows in your service impl class (Java
reflection is used to find this). It is called once to initialize your
service:
private MessageContext msgContext = null; private AxisService service;
I found a tiny Axis2 tutorial, Hello world with Apache
Axis2(http://people.apache.org/~ruchithf/hw-axis2/) and tried it. But
I've kept having a compile error as I ran javac as in Step 5:
Accessing the service with a generated client. The java files created
(SimpleServiceStub.java and
Hi, I am getting this error when sending a DataHandler object from server to client.I know this kind of fault is supposed to be solved putting mail.jar and activation.jar
in the server (and client) classpath, but I do have both on client's classpath, on server's classpath and on axis lib
Hi,
I have a code generated service deployed, let's call it 'MyService'. The axis
service list says the service is fine and has a method 'myMethod'
When running the Client with a simple message I get an AxisFault saying:
Operation Not found EPR is http://localhost:8080/axis2/services/MyService
Hi,I have an Axis2 service running in our production environment. The web service call completes, but control is not returned to the client. It is passing back 1.2Mb of binary data, via MTOM. Smaller amounts of binary work consistently (say 350Kb or so). The client is Axis1 (Java). The app server
Michele Mazzucco wrote:
Hi Eran,
yes, I need to add some headers from the service and I'm using
RawXMLINOutMessageReceiver. Should it work if I do it into
setOperationContext() when
msgCtx = opctx.getMessageContext(WSDLConstants.MESSAGE_LABEL_OUT_VALUE)
is not null (i.e. the message is
Sigh. I changed our WSDL Schema to use a naming convention that I
thought would work with Axis' current default behaviour on the server
side, and it caused its own issues. Namely, apparently 4 of my 5
operation signatures now meet all Axis' criteria for wrapped style,
but one does not. So
Hi.
I've defined my service in service.xml like RPCMessageReceiver.
In the WDSL I've put some elements of my input-message that are optionals
(minOccurs=0)
but in my test-program I have to call with ALL the elements or I get parsing
errors (NumberFormatException).
It seems how if :
- the
Hi,
I'd like to know more about scope=application when defining the service in
service.xml.
If all users share a singleton object,
- is it supposed that all user calls are served FIFO (First In-First Out)
and this is done by Axis?
- or is it possible that multiple threads may attempt to
Hi Anne,
The WSDL is just cut and paste off my Apache/Tomcat server
that hosts the WS. You can see the completeWSDL at:
https://s8online.health.qld.gov.au/axis/services/qh-providers?wsdl
SeeProvider.java def below. This was originally
generated by Axis but I have added fields to it since
I'd suggest moving to a multi-message interchange and server-side reassembly of the data. I'm in the process of doing this very thingbut that's because my data is a list of XML elements of logically unbounded length...
On 6/29/06, Simon McMahon [EMAIL PROTECTED] wrote:
Why Not use
I use axis1-4 for ws based auth and session management, this ties
directly into my sessionbean using the providers and handlers from axis1-4.
If the context has a session then it talks to the same session bean
serviceobject. If the context has credentials then they are passed into
jni to
Contrary to what appears to be standard practice I've abandoned the JavaServiceClass-WSDL approach and start from hand-cut WSDL which I validate using an Eclipse plug-in (checks against WS-I). I also check the WSDL within XMLSpy2006. I've take this approach because Icurrently have a situation
I found my problem. Itwas the 'setProvider()'
member function. This was originallya constructor but I needed to have it
in an interface so it ended up with this name. Just a bad choice it appears
because to Axisitlooks like an accessor for a private member called
'provider' which does not
Hi,
Please see my comments inline:
On 6/28/06, D P [EMAIL PROTECTED] wrote:
1. Am I correct in assuming the reason why Service context is null is that
it is initialized in later in flow phases?
Yes!
The service context is not available at the security phase. This is
because security phase
Hi Kinichiro;
pls see my comment below;
Kinichiro Inoguchi wrote:
Hi,Is services.list in services folder needed at current SVN ?
No , you need that only if you are going to use un-expand war case .
To add new service to TOMCAT_HOME/webapps/axis2/WEB-INF/services/ ,
I just dropped my aar
Hi
I am trying to check out Axis2 SVN source code but failed.
I have installed subclipse plugin into my Eclipse following the
instruction at page
http://subclipse.tigris.org/install.html.
However, when I try to create a new repository location
92 matches
Mail list logo