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
Callba
Tran-
SECURITY_PROVIDER is an attribute of
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 --
*
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);
b
Never mind... Was simply a typo in the services.xml file: had
instead of (capital"P"). Dumb
mistake.
Thanks,
Alan J
Alan R Jones
Boeing S&IS Mission Systems
Denver Engineering Center (BDEC)
-Original Message-
From: Jones, Alan R
Sent: Tu
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( Stri
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
servi
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 to process attachments.
2006/8/8, Syam Prasad <[EMAIL PROTECTED]>:
Hi,
Can anybody tell me (or redirect me to any pointers) in detail how to proc
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 tag called that l
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 element appearing in something that resembles
the original wsdl. However, it's a real mess. The has one child:
so the full xsd:schema definitions of the typ
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: AxisServlet
Apache-Axis Servlet org.apache.axis2.transport.http.AxisSOAPServlet 1
B
This is what used to work for me around the 1.2 time frame :
http://xml.apache.org/axis/wsdd/";
xmlns:java="http://xml.apache.org/axis/wsdd/providers/java";>
HTH,
Robert
http://www.braziloutsource.com/
On 8/8/06, Ben Reif
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
I have a custom Handler that implements javax.xml.rpc.handler.Handler. I have deployed it at the global level in the server-config.wsdd and defined it in the and of the "http" transport in the
server-config.wsdd. At runtime I get a ClassCastException because WSDDDeployableItem.makeNewInstance()
Yeah I noticed that too. Still continuing without success. Time to go update the setDomainEnv.cmd ... On 8/8/06, robert lazarski <
[EMAIL PROTECTED]> wrote:Is that syntax right? You could try this:
trueI'd imagine you'd have gotten an error though. Have you looked at your
logs and verified that
Is that syntax right? You could try this:
true
I'd imagine you'd have gotten an error though. Have you looked at your
logs and verified that weblogic.xml is correct and acting correctly ?
HTH,
Robert
http://www.braziloutsource.com/
On 8/8/06, Jim Mattson <[EMAIL PROTECTED]> wrote:
Thanks
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 class always send a null value for a fi
Did you try any of these?
http://www.google.com/search?hl=en&q=qname+conflict+weblogic&btnG=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 m
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:http://www.bea.com/servers/wls810/dtd/weblogic810-web-jar.dtd"> true
On 8/8/06,
robert lazarski <[EMAIL PROTECTED]> wrote:
I beli
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 Del
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 to include this step by
step approach into the readme.txt for all future versions of AXIS
2_1
Many Thanks for your input!
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 trie
apparently this in services.xml is meant to work but it doesn't:
true
the generated wsdl is lacking all original
Could someone guide me to a solution please?
Test service
org.test.Test
true
thanks,
Alistair
--
Alistair Young
Senior Software Engineer
[EMAIL PROTECTED] Mò
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 applicat
How can I get access
to the MessageContext or ServiceGroupContext in a CallbackHandler for processing
passwords with Rampart?
Thanks,
Dave
I've tried your suggestion:"http://www.bea.com/servers/wls600/dtd/weblogic-web-jar.dtd
"> trueI'm still getting the same issue. Do I need to edit the PRECLASSPATH of BEA in the
setDomain.cmd???ThxOn 8/8/06, robert lazarski <[EMAIL PROTECTED]> wrote:
Just to add to Dims advice, you could also try
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 lines:
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 resul
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 that'
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 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 Young
Just to add to Dims advice, you could also try using
true 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,
Could you please edit the HappyAxis.jsp in your
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 i
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:
Ruchi
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 h
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 16:15,
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]
https://svn.apache.
You should have your services.xml in the same directory as your classes
(not inside packages). So,
--org
--test
--MyTest.class
--META-INF
--services.xml
--myService.wsdl(optional)
-Nirmit
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 th
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:
META-INF/services.xm
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:
<[ServletContext(id=33275114,name=axis2,context-path=/axis2)
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 be
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 calls
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();
...
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
with AXIS2?
Should I install absolutly a J2EE server like JBOSS
or JONAS?
Or Can I
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 w
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", "org.apache.xalan.processor.TransformerFactoryI
should i set environment variables to make Axis2 full working? O_o is that why my services don't work?
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
http://ww
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 RECV_RESULT
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 ja
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 RPC*Messa
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 prop
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 RPCInOutAsyncMessage
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 Axis
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-side classes generated or used by the WSD
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
Hi,
I’m 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
(h
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
http://atmanes.blog
The only thing I can think is that you have already got Xerces or
Xalan in \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 questio
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 th
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
>
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 jar-file, to
com/invenso/xb/isp/xbconnect/wscall/axis2.xml. However, I would like to
include the file in the jar-file (well, I think).
Brecht
-Original Messag
Hi all,
I've added some external jars into /WEB-INF/lib, but I get a
NoClassDefFoundError when I try to deploy my service. Where should I put
external libraries?
Thanks in advance,
Michele
-
To unsubscribe, e-mail: [EMAIL PROTEC
Hi Brecht,
Can you please try using :
ConfigurationContext configContext =
ConfigurationContextFactory.createConfigurationContextFromFileSystem(repository,axis2xml);
Instead of :
String axis2xml =
"com/invenso/xb/isp/xbconnect/wscall/axis2.xml";
String repository = "com/invenso/xb/isp/xbconne
Any ideas here?
Getting rather frustrated, tried using the
nightly builds, but they seem to do the same...
Brecht
From: Brecht Yperman
[mailto:[EMAIL PROTECTED]
Sent: maandag 7 augustus 2006
18:06
To: axis-user@ws.apache.org
Subject: [Axis2]
NullPointerException when lo
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 unders
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.jar"how can i do? tnx all
Dims,
the svn link provided at http://ws.apache.org/axis2/svn.html does not
work:
svn co http://svn.apache.org/repos/asf/webservices/axis2/trunk/java
subversion/libsvn_ra_dav/util.c:826: (apr_err=175002)
svn: PROPFIND request failed on '/repos/asf/webservices/axis2/trunk/
java'
subversion/l
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), but it mean
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 l
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, modifying
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
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 u
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
73 matches
Mail list logo