Title: Re: Destruction of ArrayBean -- Memory Leak?
Hi,
I have encountered memory leaks (reported by Purify (on Solaris) and Valgrind (on Linux)) in an AXIS C++ Client application. The leaks are associated with a clone of an array object (created by the
brilliant! thanks very much Jason.AlistairOn 8 Aug 2006, at 01:36, Jason N wrote:Alistair,Here's what I did to get axis2 embedded in my web app.1) Combine the axis2 specific lines from the axis2.war web.xml file with the project's web.xml file.2) Copy the conf directory from axis2.war over to
Hi Deepal
Thx for your response... but actually I'd like to know how I can implement
persistence in Axis. I mean I need to use an object which must be
persitent!!
Can you advise me on some ways to do that??
This is the description of what I need to do:
I'm implementing a protocol in which I
I don't want to be too glib, but have you thought about a database?
Perhaps with Hibernate/Java Persistence?
David
On 08/08/06, Fabien Couble [EMAIL PROTECTED] wrote:
Hi Deepal
Thx for your response... but actually I'd like to know how I can implement
persistence in Axis. I mean I need to
Hi All,
I don't find any samples about writing operations with multi-parameters. How could I write a operation with multi-perameters, and how could I write the client side? Anybody can help me?
Thanks,
Jiang
Yes, I have thought about a database...
Ok, what I have seen is that to implement the persistence in Axis2,
we should either use an external way like a database or an EJB or modify the
ConfigurationContext to save data.
Maybe in my case as it is only an Hashmap of resources to save,
According to
http://www.mail-archive.com/axis-user@ws.apache.org/msg16725.html, which I
had overlooked before, we need to use the nightly snapshots. I still could
not get it working. Now I definitely give up and wait for the next Release
or at least for the next complete nightly build.
Good
Hi,
it may not be an option for you, but what I do is I still use WSDL2Java from axis 1.2-RC3 and then use axis 1.4 in my code. So far that combination is working fine, the java classes get generated as they are defined ni the wsdl (I get classes generated for the wrapping array), butit means
How can i install a Nightly Build? just execute the jar file everywhere? this make me the error Failed to load Main-Class manifest attribute from axis2-1.0.jarhow can i do? tnx all
Hi,
I have been using custom exceptions for nearly 2 years now and it always worked fine for me (since 1.2-RC2 I think).
But I start from the WSDL and have the java classes generated. I find it easier to maintain 1 file and have 30 java classes generated than the opposite. Once you understand
I've fixed the problem by putting libraries into the /lib directory. Is
there any reason why the Class-Path manifest entry is not considered
(but maybe this is a Tomcat fault)?
Regards,
Michele
Michele Mazzucco wrote:
Hi all,
I've added some external jars into /WEB-INF/lib, but I get a
Hi Brecht,
If you just drop the jar (with the axis2.xml) into the classpath it should work.
Thanks,
Ruchith
On 8/8/06, Brecht Yperman [EMAIL PROTECTED] wrote:
This works, thanks.
But what will happen once I put my classes in a jar-file?
I think there will have to be a path, starting from the
The only thing I can think is that you have already got Xerces or
Xalan in jre\lib\endorsed\
Paul
On 8/7/06, Ignazio Anastasi [EMAIL PROTECTED] wrote:
ok doctor :-)
i use jdk 1.5.0_07
do you know the kind of problem? :-/
On 8/7/06, Paul Fremantle [EMAIL PROTECTED] wrote:
Ok next
What version of Axis are you using?
If you are using Axis 1, then you can use RPC/encoded, RPC/literal, or
wrapped document/literal style services with the RPC provider to
support an RPC-like programming experience. For best interoperability,
I suggest using wrapped style. See
Hi,
Im using the serviceclient to call webservices.
I would like the user to be able to add custom headers to
the headerelements. I should also be able to return custom headerelements from
the response to the user.
I thought about writing a handler, but I have a few problems
(how
Good Morning Paul-
I found this tidbit for setting Property TransformerFactory
System.setProperty(javax.xml.transform.TransformerFactory,
org.apache.xalan.processor.TransformerFactoryImpl);
Also..If you dont need DOM3 support then comment out the dom3-xml-apis.jar from
your class path
HTH
I am generating code with AXIS 1.4 WSDL2JAVA The client-side classes thus generated work just fine to invoke the web-service described by the WSDL.But I need to set HTTP headers and I do not find any API that acts upon generated JAVA classes.
The client-sideclasses generatedor used by the
Hi,
i'd like get some customed configuration informations for my service
from the axis2.xml or services.xml.
e.g. using Parameters.
Then I need get the AxisConfiguration or the AxisService, right? (use
getParameter(paramName))
my question is, how can i obtain AxisConfiguration or the
If I want to expose as an axis2 service something like:
public class Test {
public TestEntity munge(TestEntity testEntity) {
return Munger.munge(testEntity);
}
}
and be able to use a client with the XMLBeans generated objects that
the service uses, should I use the
Alistair,
Yes, the only option right now is to use RPC*MessageReceiver. BUT with
a hand written WSDL. As we don't try to extract the schema from the
xmlbeans generated object. Please log an JIRA enhancement issue saying
that RPC*MessageReceiver should be able to generate runtime ?wsdl
with
thank you!
On 8 Aug 2006, at 14:15, Davanum Srinivas wrote:
Alistair,
Yes, the only option right now is to use RPC*MessageReceiver. BUT with
a hand written WSDL. As we don't try to extract the schema from the
xmlbeans generated object. Please log an JIRA enhancement issue saying
that
after many attempts an example given from this site http://www.wso2.net/tutorials/axis2/java/2006/05/29/hello-world seems to worki don't know why.. :-) but i cant make working my client..
Now to we can compile and run the client code. Its is important to
note that the classpath must have all the
Ruchith,
Thanks.
The odd thing is that in the example you refer to, the RECV_RESULTS vector
comes from the message context properties.
When I run axis, there are no properties in the message context, but if I
get the options (msgCtx.getOptions()) from the message context, I can get
the
Concerning the processing of SOAPheaders
There are 2 attributes which must be set to True which are:
mustUnderstand -- forces the processing of SOAP Header and generated Fault
if unable to process
relay -- true says that block must be relayed if not processed
For more information see
mm.. sorry, but i don't understand this.. can you explain it?On 8/8/06, Martin Gainty [EMAIL PROTECTED] wrote:
Good Morning Paul-I found this tidbit for setting Property TransformerFactory
System.setProperty(javax.xml.transform.TransformerFactory,
When system level calls from Java instantiate a
TransformerFactory it needs a fully qualified class (e.g.
TransformerFactoryImpl) to performthe TransformerFactory
functions..
M
*This
email message and any files transmitted
Hi all,
I have chosen to use HIBERNATE to manage the
persistence in AXIS2.
I know that people have already used HIBERNATE with
AXIS2 that's wy, I'd to know what is the protocol to install and use HIBERNATA
withAXIS2?
Should I install absolutly a J2EE server like JBOSS
or JONAS?
Or Can I
Hi I've got exception during passing attachment back to client.
I've got method downloadAttachment which is passing in the response attachments:
Attachments responseAttachments =
MessageContext.getCurrentContext().getResponseMessage().getAttachmentsImpl();
Great! Thanks a lot!
Jiang
2006/8/8, Anne Thomas Manes [EMAIL PROTECTED]:
What version of Axis are you using?If you are using Axis 1, then you can use RPC/encoded, RPC/literal, or
wrapped document/literal style services with the RPC provider tosupport an RPC-like programming experience. For best
I just downloaded Axis2.war from the site and deployed it in BEA Weblogic 8.1 sp4. I am trying to evaluate what needs to occur on migrating from Axis 1.3 to 2 for an upcoming project. Are they compatible? I got the following error:
Aug 8, 2006 9:39:38 AM CDT Error HTTP BEA-101017
I have services.xml in:
org/test/META-INF/services.xml
but axis2 says it can't find services.xml for the service. The
website says to put META-INF/services.xml in the same directory as
the class file. So I looked at the version.aar that comes with axis2
and it has two:
Hi Chamikara,
Let me give you a summary of my problems :
I want to create an example using both WS-RM and MTOM.
On the server side, two operations are available : the first one is a
oneWay op and the second is a request-response op.
On the client side, I am trying to perfom three kind of
Jim,
Could you please edit the HappyAxis.jsp in your web app and add the
following lines:
needed += needClass(out, javax.xml.namespace.QName,
qname.jar,
QNAME,
Axis2 will not work,
http://xml.apache.org/axis2/;);
Right after the section that
Hi Dave,
Hmm I'm not sure whether the behaviour you explained is possible.
If you look at the getProperty() method on the MessageContext class
[1], its clear that the property fetched from the options instance of
the particular MessageContext instance.
Thanks,
Ruchith
[1]
thanks, putting META-INF at the same level as src works but the
website image has META-INF inside the package structure.
Now I get the error:
ClassNotFoundException Error in loading message receivers
org.apache.axis2.receivers.RPCInOutAsyncMessageReceiver
Alistair
On 8 Aug 2006, at
Ruchith,
You're right. Interestingly, when I call getProperties on MessageContect
(inherited from AbstractContext), it pulls the properties from the context
object (not from the options):
public Map getProperties() {
return properties;
}
The behavior seems inconsistant (I would
Dave,
Yes. It looks like we have some inconsistency in getProperties() and
getProperty() methods.
Deepal can you please shed some light on this? What can we expect from
AbstractContext( or MessageContext)#getProperties()?
Thanks,
Ruchith
On 8/8/06, Dave Cowing [EMAIL PROTECTED] wrote:
oh dear, it's time to go home! It should be:
org.apache.axis2.rpc.receivers.RPCInOutAsyncMessageReceiver
--
Alistair Young
Senior Software Engineer
[EMAIL PROTECTED] Mòr Ostaig
Isle of Skye
Scotland
thanks, putting META-INF at the same level as src works but the
website image has META-INF
Just to add to Dims advice, you could also try using
prefer-web-inf-classestrue/prefer-web-inf-classes in weblogic.xml
to insure that WEB-INF/lib jars will be loaded before weblogic jars
HTH,
Robert
http://www.braziloutsource.com/
On 8/8/06, Davanum Srinivas [EMAIL PROTECTED] wrote:
Jim,
Hi there, me again! Is there any way to preserve the original WSDL when
deploying a service? The generated WSDL is not much use as it has removed
all the types elements so no data binding can occur.
I read somewhere that you can put the WSDL in META-INF but that didn't do
anything.
--
Alistair
Axis2 really has nothing to do with Hibernate - its just something that
would go somewhere into your business logic of the service. If you
configure and manage hibernate with spring, then you could wire spring
into axis2 and then get subsequently get hibernate and axis2 working
together - but
Hi,
We are using
axis2.1.0 with JBoss and weblogic appservers. On the client-side we get the
following error:
FATAL (?:?) -
No message with ID algorithm.classDoesNotExist found in resource
bundle org/apache/xml/security/resource/xmlsecurity
Though it
says it is FATAL we get the results
Here is the output:Found QNAME (javax.xml.namespace.QName) at C:\bea\weblogic81\server\lib\weblogic.jarAs expected it is finding weblogic's version of QNameOn 8/8/06,
Davanum Srinivas [EMAIL PROTECTED] wrote:
Jim,Could you please edit the HappyAxis.jsp in your web app and add thefollowing
I've tried your suggestion:!DOCTYPE weblogic-web-app PUBLIC -//BEA Systems, Inc.//DTD Web Application 6.0//EN http://www.bea.com/servers/wls600/dtd/weblogic-web-jar.dtd
weblogic-web-app prefer-web-inf-classestrue/prefer-web-inf-classes/weblogic-web-appI'm still getting the same issue. Do I need to
How can I get access
to the MessageContext or ServiceGroupContext in a CallbackHandler for processing
passwords with Rampart?
Thanks,
Dave
Preface
I have a simple application which does nothing more than Insert, Update, Delete, Select from the Oracle database.
Its a J2EE application where
Front End : Struts 1.2, JSP etc.
Middle Layer - Business Delegates, Service Locator, Value objects etc.
Data Access Layer - iBATIS
The
apparently this in services.xml is meant to work but it doesn't:
parameter name=useOriginalwsdltrue/parameter
the generated wsdl is lacking all original types
Could someone guide me to a solution please?
service
descriptionTest service/description
parameter name=ServiceClass
I believe the stax-api jar from the axis2 distro should be where you
are getting this class. Make sure that its in your WEB-INF/lib and
then your prefer-web-inf-classes tag should pick it up.
HTH,
Robert
http://www.braziloutsource.com/
On 8/8/06, Jim Mattson [EMAIL PROTECTED] wrote:
I've tried
This is a great step by step approach that I am
sure every developer will require
The concise readme.txt as it now stands has
something like 'include these jars'I vote toinclude thisstep by
step approach into the readme.txt for all future versions of AXIS
2_1
Many Thanks for your input!
You are welcome!
-- dims
On 8/8/06, [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
Preface
I have a simple application which does nothing more than Insert, Update,
Delete, Select from the Oracle database.
Its a J2EE application where
Front End : Struts 1.2, JSP etc.
Middle Layer - Business
Thanks for the continued help. I have been unsuccessful in getting the correct Qname from picking up. Any other ideas?Here is my weblogic.xml in the web-inf folder:!DOCTYPE weblogic-web-app PUBLIC -//BEA Systems, Inc.//DTD Web Application
8.1//EN
Did you try any of these?
http://www.google.com/search?hl=enq=qname+conflict+weblogicbtnG=Google+Search
-- dims
On 8/8/06, Jim Mattson [EMAIL PROTECTED] wrote:
Thanks for the continued help. I have been unsuccessful in getting the
correct Qname from picking up. Any other ideas?
Here is my
It appears that the Axis WSDLToJava utility interperates the minOccurs and the nillable=true attribute in the WSDL as follows: If minOccurs=0 then the generated Stub class will never send a null value for a field. If minOccurs=1 then the generated Stub classalways send a null value for a field.
Is that syntax right? You could try this:
weblogic-web-app
container-descriptor
prefer-web-inf-classestrue/prefer-web-inf-classes
/container-descriptor
/weblogic-web-app
I'd imagine you'd have gotten an error though. Have you looked at your
logs and verified that weblogic.xml is correct and
I have a custom Handler that implements javax.xml.rpc.handler.Handler. Ihave deployed it at the global level in the server-config.wsdd and defined it in the requestFlow and responseFlow of the http transport in the
server-config.wsdd. At runtime I get a ClassCastException because
Hi,
Can anybody tell me (or redirect me to any pointers) in
detail how to process (I mean get all attachments and the content in it) the
attachments in SOAP request?
Thanks in advance.
Syam
This is what used to work for me around the 1.2 time frame :
deployment name=whitezone xmlns=http://xml.apache.org/axis/wsdd/;
xmlns:java=http://xml.apache.org/axis/wsdd/providers/java;
!-- XML Signature handler --
handler name=ServiceHandler
Hello all:Axis 2, v1.0I plan to only use SOAP for my web services ( as opposed to REST) and was going to use the AxisSOAPServlet class in my web.xml file like so: servlet servlet-nameAxisServlet/servlet-name
display-nameApache-Axis Servlet/display-name servlet-class
this is painful! I found this site which explains it more:
http://www.developer.com/open/article.php/10930_3589126_2
and now I have the types element appearing in something that resembles
the original wsdl. However, it's a real mess. The types has one child:
xs:schema
Robert,
Thanks for the reply. Yeah, it doesn't look like that will work anymore because the Axis 1.4 code is casting to, and expecting, the class to be an instance of org.apache.axis.Handler. In the WSDD* classes I did find that there is an element that you can specify in the service tag called
Hi, Syam
please have a look at http://www.mail-archive.com/axis-user@xml.apache.org/msg08732/Fear_of_Attachments.pdf
this pdf will explain how toprocess attachments.
2006/8/8, Syam Prasad [EMAIL PROTECTED]:
Hi,
Can anybody tell me (or redirect me to any pointers) in detail how to process (I
It appears my InflowSecurity Handler is not seeing the sec.properties
file (see snippet of exception below)...My .aar file is as follows:
testwebservice/TestService.class
testwebservice/PWCallbackHandler.class
META-INF/services.xml
META-INF/services.wsdl
META-INF/Manifest.mf
sec.properties
Title: Struggling with Axis2
I wanted to create a simple web service(RPC like) which can accept few params(String) and can return object(bean like or at least a string) like below:
class MyWebService() {
public String search( String a, String b) {
return x;
}
}
Never mind... Was simply a typo in the services.xml file: had
signaturepropFile instead of signaturePropFile (capitalP). Dumb
mistake.
Thanks,
Alan J
Alan R Jones
Boeing SIS Mission Systems
Denver Engineering Center (BDEC)
-Original
I am able to get basic authentication working with Axis2 but
would now like to switch to digest.
With BASIC I do the following:
HttpTransportPorperties.BasicAuthentication basicAuth = new
HttpBasicTransportProperties().new BasicAuthentication();
basicAuth.setUsername(_username);
Tran-
SECURITY_PROVIDER is an attributeof
MessageContext
Here is an example for you
http://rifers.org:8088/viewrep/~raw,r=1175/rifers/rife/trunk/src/framework/com/uwyn/rife/engine/elements/SoapAxis.java
Best Regards
Martin --
Hi Dave,
You cannot access any of the contexts from a CallbackHandler. What
sort of information are you trying to access within the
CallbackHandler?
Thanks,
Ruchith
On 8/8/06, Dave Cowing [EMAIL PROTECTED] wrote:
How can I get access to the MessageContext or ServiceGroupContext in a
67 matches
Mail list logo