How about WEB-INF/classes?
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Monday, December 03, 2007 11:49 AM
To: axis-user@ws.apache.org
Subject: POJO Classpath Question
I am trying to implement a simple encryption service using POJOs in Tomcat.
I
The NoSuchMethodError is because you have an older version of QName that
lacks this constructor on your classpath.
Write a debugging method that prints out
QName.class.getProtectionDomain().getCodeSource().getLocation()
from the point of your code where this error occurs. If QName is
Joao,
(I don't see where the Xerces jar is--it's not in your AAR. Can't be the Sun
JDK 1.5 version, because all of those are prefaced with com.sun.)
You might try:
1) Run the JRE with -verbose:class option. See if your class is actually
getting loaded.
2) Get a reference to a classloader the
Sounds like you have an older version of QName (which lacks that constructor)
on your path (looks similar to a WebSphere 5.x problem where one of the
parent classloaders loads an older version of QName). Try something like
QName.class.getProtectionDomain().getCodeSource().getLocation() at the
I haven't played around with v6.1 yet, but in 5.x Axis is included as part of
the base WAS libraries in WAS_HOME/lib. Since these libs are loaded first,
it can interfere with any Axis installation on your own app path.
You may want to try PARENT_LAST classloading.
-Original Message-
Jon,
NoClassDefFoundError is a linkage error. Probably because the ClassLoader
that loaded org.apache.catalina.startup.HostConfig is unable to see the
ClassLoader that loaded HttpSessionListener (i.e. it was loaded by a child or
sibling ClassLoader). AFAIK, Tomcat does not expose its classloading
You can use Axis 2.0 with WAS 5.1...but because the root WAS classloader has
jars on its classpath that are incompatible, you'll need to...
1. Use non-delegating classloading option (PARENT_LAST) on the server.
2. Fix bugs that result from this...(Commons Logging--need to define a system
property
This should be pretty easy to do...have the servlet filter check the
Accept-Encoding before applying GZIP compression. Then, when debugging,
have the client turn off this header.
-Original Message-
From: Christian Poecher [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 28, 2007 10:12
Hakan,
(Assuming you are talking about Axis2...) Embedding an HTTP Server like Jetty
(http://www.ebmwebsourcing.net/blog/page/christophehamerling/20070307?catname
=%2FPEtALS) might be a better solution in terms of scalability.
-Original Message-
From: [EMAIL PROTECTED]
If you have overloaded operations in WSDL, you cannot use doc/literal
wrapped style. In the wrapped pattern, you require an element to have the
same name as the operation, and you cannot have two elements with the same
name in XML. Other than that, doc/lit wrapped has the nice advantage that it
is
you know what the
advantages are?
Joshua
On 3/1/07, Spies, Brennan [EMAIL PROTECTED] wrote:
If you have overloaded operations in WSDL, you cannot use doc/literal
wrapped style. In the wrapped pattern, you require an element to have the
same name as the operation, and you cannot have two
if there is any benefit of creating a
service this way. Are you still able to specify a schema for both your
input/output arguments in the wsdl file if you send messages this way?
-Josh
On 3/1/07, Spies, Brennan [EMAIL PROTECTED] wrote:
The Message style, as defined in Axis 1.x, is really just raw
The Axis 1.x user's guide is using style in this context to refer to both
the WSDL style and the databinding choice. The only difference then b/n
Document and Message is that Message has no databinding.
-Original Message-
From: Spies, Brennan
Sent: Thursday, March 01, 2007 12:49 PM
Larry,
You *probably* have a classloader issue. If you look at the MBean (here for
the embedded version of WAS 5 in RAD, you'll have to find the correct MBean
for WAS 6...)
WebSphere:name=UTC.war,process=server1,Application=IBMUTC,platform=common,
Mike,
You have an older version of the QName class that is getting loaded before
the one in your Axis library...if you are using Weblogic 9.2, you might want
to take a look at using a Filtering Classloader to load the class from your
Axis lib instead:
You may want to think about clustering at the JVM level (e.g. Terracota,
http://www.terracotta.org/), which uses heap-level replication.
Brennan Spies
Sr. Programmer Analyst
Shared Application Services
-Original Message-
From: Rajith Attapattu [mailto:[EMAIL PROTECTED]
Sent:
The classic approach here is to use abstract and concrete WSDLs for each
service, where the abstract WSDL defines the types, messages, and portTypes;
and the concrete WSDL defines the binding and service elements. Each concrete
WSDL will import the appropriate abstract WSDL. (Blog on this:
I'd agree with Dennis that, if you know you are using Java on both sides of
the wire, RMI is a more efficient and easier to setup than an XML/SOAP-based
service. But there is another reason (a better one in my mind) than
platform/language neutrality to go with the XML/SOAP option: declarative vs.
Cool. Someone should update this page:
http://ws.apache.org/axis2/modules/index.html
with Rampart and Sandesha links.
-Original Message-
From: Ruchith Fernando [mailto:[EMAIL PROTECTED]
Sent: Sunday, December 10, 2006 9:54 PM
To: axis-user@ws.apache.org
Subject: Apache Rampart 1.1
Does anyone know the status of the Kandula2 project at Apache (planned
release date, etc.)? We have a definite need for distributed transactions in
our current web service...
Brennan Spies
Sr. Programmer Analyst
Shared Application Services
Have you looked at the REST examples?
http://ws.apache.org/axis2/1_1/rest-ws.html
Brennan Spies
Sr. Programmer Analyst
Shared Application Services
-Original Message-
From: S. Sharif [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 07, 2006 11:09 AM
To: axis-user@ws.apache.org
You can use the generated client that the Axis 2.0 code generator supplies.
The default endpoint in the generated stub/unit test and the generated WSDL
won’t be correct, but you can modify them to fit pretty easily.
Brennan Spies
Sr. Programmer Analyst
Shared Application Services
Yes, you can use Axis 2.0 in a standalone context. The java app will need
some type of available transport to communicate remotely--Axis provides some
simple ones (SimpleHTTPServer, TCPServer, etc.). If you are still in the
design phase of the app, you might consider doing it as a Spring 2.0 app,
It's been working a while for me (since before 1.1), but my case is pretty
straightforward. I can't really vouch for anyone who is using Rampart, MTOM,
etc. I would like to see more out-of-the-box robust support for JMS (i.e.,
from the codegen module)...yes, it's not WS-I, but in the enterprise
For Windows, Maven puts your downloaded jars into
${HOME}/.maven/repository directory.
-Original Message-
From: Kedar, Shahar
[mailto:[EMAIL PROTECTED]
Sent: Wednesday,
November 15, 2006 2:46
AM
To: axis-user@ws.apache.org
Subject: [Axis2] Compiling the
source code of
Does anyone know the specifics of what is/how to use the externalMapping
Ant task attribute (or em command line option) listed in the Axis 2.0
1.1 documentation?
BTW, the Option Reference table on this page (http://ws.apache.org/axis2/tools/1_1/CodegenToolReference.html)
is missing
Other than some of the funny programming conventions used in the lib (lots of
inner classes), I like XmlBeans too, mostly because it is closer to the bare
metal of XML structure. Other XML-Java binding frameworks, which tend to
focus on doing mapping (explicit or implicit) between JavaBeans and
Adrian,
Your classpath is not set correctly:
http://java.sun.com/j2se/1.4.2/docs/tooldocs/windows/classpath.html
That is, the classpath needs to reference the root folder of your classes
directory or the .jar/.zip file explicitly.
-Original Message-
From: adrian rutle [mailto:[EMAIL
-side Axis2SampleDocLit
Spies, Brennan skrev:
Adrian,
Your classpath is not set correctly:
http://java.sun.com/j2se/1.4.2/docs/tooldocs/windows/classpath.html
That is, the classpath needs to reference the root folder of your classes
directory or the .jar/.zip file explicitly.
Thanks, but I
(); } catch (Exception e) { e.printStackTrace(); } } //end main()}
Brennan Spies
Sr. Programmer Analyst
Shared Application Services
-Original Message-
From: Kang, Kamaljeet K.
[mailto:[EMAIL PROTECTED]
Sent: Tuesday,
November 14, 2006 11:51 AM
To: Spies, Brennan
Subject: RE
Title: Standalone axis
I
have an example of a very simple standalone JMSServer class here: http://www.mail-archive.com/axis-user@ws.apache.org/msg20494.html
-Original Message-
From: Kang, Kamaljeet K.
[mailto:[EMAIL PROTECTED]
Sent: Friday,
November 10, 2006 2:28 PM
To:
Yeah, I was wondering the same thing myself... ;)
Short answer probably is...not in 1.1.
Brennan Spies
Sr. Programmer Analyst
Shared Application Services
-Original Message-
From: Davanum Srinivas [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 09, 2006 10:19 AM
To:
: Wednesday, November 08, 2006 12:55 AM
To: axis-user@ws.apache.org
Subject: Re: wsdl schema prefix
hi
I have included the namespace declaration in my wsdl file as you can see
attached.
But you were right, I had to manually add it -- 17 new errors occured
after validation.
is this a bug?
Spies, Brennan
Do you have the namespace declaration
xmlns:xs=http://www.w3.org/2001/XMLSchema;
as an attribute of your root element?
-Original Message-
From: Philipp Perner [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 07, 2006 10:06 AM
To: axis-user@ws.apache.org
Subject: wsdl schema prefix
Try removing Crimson from your classpath and using Xerces instead. I believe
the last release of Crimson was back in 2001...
Brennan Spies
-Original Message-
From: stevenw [mailto:[EMAIL PROTECTED]
Sent: Sunday, November 05, 2006 10:36 AM
To: axis-user@ws.apache.org
Subject: Crimson
I haven't studied the specs to be able
to decide how it should work...
Section 3.1.5 of the Simple SOAP Binding Profile (WS-I) states that
Content-Type HTTP header field-value must indicate the correct character
encoding, using the charset parameter. In absence of this, it must use the
default
Application Services
-Original Message-
From: Bruno Negrao
[mailto:[EMAIL PROTECTED]
Sent: Wednesday,
November 01, 2006 10:28 AM
To: axis-user@ws.apache.org
Subject: Re: Converting from UTF-8
to ISO-8859-I with Axis2 and Java
On 11/1/06, Spies, Brennan [EMAIL PROTECTED]
wrote:
I
?
-eric
Spies, Brennan wrote:
Are you using the most recent nightly build for Axis2 1.1?
Brennan Spies
Sr. Programmer Analyst
Shared Application Services
-Original Message-
*From:* Eric Hartmann [mailto:[EMAIL PROTECTED]
*Sent:* Monday, October 30, 2006 8:18 AM
-Original Message-
From: xu cai
[mailto:[EMAIL PROTECTED]
Sent: Monday, October
30, 2006 10:04 PM
To: axis-user@ws.apache.org
Subject: need JMX support !
hi all,
I wanna use JMX to manage the web services deployed in
Axis, Could somebody help me with these
Are you using the most recent nightly
build for Axis2 1.1?
Brennan Spies
Sr. Programmer Analyst
Shared Application Services
-Original
Message-
From: Eric Hartmann
[mailto:[EMAIL PROTECTED]
Sent: Monday, October 30, 2006 8:18 AM
To: axis-user@ws.apache.org
Subject:
How-to is here:
http://tomcat.apache.org/tomcat-5.5-doc/security-manager-howto.html
Brennan Spies
Sr. Programmer Analyst
Shared Application Services
-Original Message-
From: Davanum Srinivas [mailto:[EMAIL PROTECTED]
Sent: Friday, October 27, 2006 6:35 AM
To: axis-user@ws.apache.org
We use Websphere (mainly) and also JBoss.
Brennan Spies
Sr. Programmer Analyst
Shared Application Services
-Original Message-
From: Davanum Srinivas [mailto:[EMAIL PROTECTED]
Sent: Friday, October 27, 2006 7:01 AM
To: axis-user@ws.apache.org
Cc: Axis developer list
Subject: [Axis2]
the services.xml and what the valid values for
these options
are... :-)
Gul
From: Spies, Brennan
[mailto:[EMAIL PROTECTED]
Sent: Thursday,
October 26, 2006 1:03 PM
To: axis-user@ws.apache.org
Subject: RE: Looking for xml
schema for services.xml
Gul,
Dont think there
is one
Good analysis of this topic here:
http://www.oreillynet.com/xml/blog/2004/02/mom_wsrel_and_wire_protocol_in.htm
l
My thoughts:
* WS-RM is about interoperability, which has no guarantee in JMS (no standard
wire format)
* A JMS server is likely to be faster (no XML parsing)
* Most JMS
Axis 2.0 currently supports the JNDI
lookup model, with the client invocation looking something like:
jms:/Topic?transport.jms.ConnectionFactoryJNDIName=TopicConnectionFactoryjava.naming.factory.initial=org.apache.activemq.jndi.ActiveMQInitialContextFactoryjava.naming.provider.url="">
I havent been able to reach the link for the nightly
distribution for almost 2 days now (10060 - Connection timeout).
Brennan Spies
Sr. Programmer Analyst
Shared Application Services
-Original Message-
From: Thilina Gunarathne
[mailto:[EMAIL PROTECTED]
Sent: Friday,
Is this what you are looking for?
http://www.wso2.net/articles/rampart/java/2006/08/15/usernametoken-auth
Brennan Spies
Sr. Programmer Analyst
Shared Application Services
-Original Message-
From: Gul Onural [mailto:[EMAIL PROTECTED]
Sent: Monday, October 23, 2006 12:23 PM
To:
: Sharad Baronia [mailto:[EMAIL PROTECTED]
Sent: Friday, October 13, 2006 10:37 AM
To: axis-user@ws.apache.org; Spies, Brennan
Subject: X-Spam:::RE: SOAP/JMS document
Hi Brennan,
It does it works, any documentation on this? Architectural or a flow
diagram would help...
Thanks,
/Sharad
For *nix, a handy trick to use is to run the
following shell script in your lib directory:
for i in *.jar; do echo $i; unzip -l
$i | grep java.lang.String; done
(Will vary by system and shell you are
usingI am using Korn Shell here, but others are similar.) This will
quickly tell
The build.xml file that is generated by
WSDL2Java expects an environmental variable called exactly that (pointing to
the root of your axis installation). Try adding this, and see if it works.
Brennan Spies
Sr. Programmer Analyst
Shared Application Services
-Original
It's not WSDL 2.0, or there would be no portType, but rather an interface
definition.
The wsdl:binding section here does deviate from the standard boilerplate
for a sync operation SOAP over HTTP (not using soap:operation and specifying
soap:header info, having multiple operations per
be expecting that, or should I re-use the Java code I generate
for my XSD's using XmlBeans (scomp)?
Is there a document that describes the integration process of XmlBeans
as databinder with axis2 based on simple example (one operation)?
Thanks again,
Jerome
-Original Message-
From: Spies
Yadav,
I think you are running into a similar
issue that Robert and I were discussing with Jerome earlier, where Axis 2
WSDL2Java code generation does not seem to be handling portType/bindings with
multiple operations. You should either create a JIRA or attach a
comment to an existing
Jerome,
Can't see your XSD definitions, but are you using
elementFormDefault=qualified? (BTW, I have been using Axis 2.0 with the
exact same scenario as you have, and works for me).
Brennan Spies
Sr. Programmer Analyst
Shared Application Services
-Original Message-
From: Jerome Magnet
+ java.naming.security.credentials=Administrator;
- Original Message
From: Spies, Brennan [EMAIL PROTECTED]
To: axis-user@ws.apache.org
Sent: Friday, October 13, 2006 12:37:03 AM
Subject: RE: SOAP/JMS document
Kamal,
If you are designing starting from WSDL, such as (I am using TIBCO EMS
://issues.apache.org/jira/browse/AXIS2-545
If it is then, please add your feedback there.
-- dims
On 10/13/06, Davanum Srinivas [EMAIL PROTECTED] wrote:
Brennan,
Please open an enhancement request in JIRA with your example/sample.
thanks,
dims
On 10/13/06, Spies, Brennan [EMAIL PROTECTED] wrote:
Ali,
I
1. do a taskdef for org.apache.ws.java2wsdl.Java2WSDLTask
2. since in a custom Ant task, your XML attributes are represented by class
properties, you have
private String className;
private String outputLocation;
private String classpathURI;
private String targetNamespace;
Kamal,
If you are designing starting from WSDL, such as (I am using TIBCO EMS)...
wsdl:binding name=ActionSoapJms type=tns:ActionInterface
soap:binding style=document
transport=http://schemas.xmlsoap.org/soap/jms; /
wsdl:operation name=Action
No, that's WSDL 2.0, where it is replaced by Interface...
www.w3.org/2002/ws/desc/wsdl20-primer
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of D.Kreft
Sent: Wednesday, October 11, 2006 1:40 PM
To: axis-user@ws.apache.org; [EMAIL PROTECTED]
Subject: Re:
Yadav,
The welcome page for Axis2 should be on the welcome-file-list in the
web.xml. If you go to http://localhost:8080/axis2/, it should direct you to
the /axis2-web/index.jsp page.
-Original Message-
From: Yadav, Yogendra (IT) [mailto:[EMAIL PROTECTED]
Sent: Friday, September 29,
Title: Proxy
Ive noticed when you define a fault
for your operation, the Axis code generator (using Xmlbeans databinding) creates
the faults as inner classes. On the server side, as an inner class in the
interface itself (because I chose ssi) and on the client side as an
identical
Dan,
What Dims and Robert forgot to mention is that Axis 2.0 is really a major
rewrite of the SOAP stack (hence the split of URLs, one for Axis 1 and one
for Axis 2). So the same growing pains apply here as with any new project.
Not that I don't feel your pain--I have been there many times
Brennan,
Please file a JIRA bug with *your* wsdl :)
-- dims
On 9/20/06, Spies, Brennan [EMAIL PROTECTED] wrote:
Sharad,
This is definitely a bug (I can reproduce using similar WSDL on the latest
nightly). It throws a RuntimeException complaining that Element QName is
null for [/message
: Wednesday, September 20, 2006 6:25 PM
To: axis-user@ws.apache.org
Subject: Re: CodeGeneration error while using commandline batch file
WSDL2Java
Brennan,
Please file a JIRA bug with *your* wsdl :)
-- dims
On 9/20/06, Spies, Brennan [EMAIL PROTECTED] wrote:
Sharad,
This is definitely a bug
.wsdl.codegen.emitter.AxisServiceBasedMultiLanguageEm
itter.emitSkeleton(AxisServiceBasedMultiLanguageEmitter.java:733)
... 3 more
Thanks,
/Sharad
-Original Message-
From: Spies, Brennan [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 21, 2006 8:54 AM
To: axis-user
I got an error when trying to upload a service to the Axis2 web application:
Caused by: java.lang.NoClassDefFoundError:
org/apache/commons/io/output/DeferredFileOutputStream
It was easily fixed by adding commons-io-1.2.jar to the WEB-INF/lib. You may
want to include this jar in the nightly build
Yes, it is. When running the ant code
generation task, you should see debugging output as it locates each XSD file.
You should be using a recent nightly build, as there were some issues with this
in the 1.0 release of Axis 2.
-Original Message-
From: Felix Sprick
[mailto:[EMAIL
Fabio,
Caused by: java.lang.ClassNotFoundException:
org.apache.axis2.databinding.types.Time--this class is in the
axis2-adb-SNAPSHOT.jar.
-Original Message-
From: Fabio Alves de Araujo Ebner - DNA Solution
[mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 20, 2006 9:28 AM
To:
ns1:op xmlns:ns1=urn:example:rpc
param1some string/param1
param2some string/param2
/ns1:op
/soap:Body
[1] http://www.ws-i.org/Profiles/BasicProfile-1.1.html#Bindings_and_Parts
On 9/18/06, Spies, Brennan [EMAIL PROTECTED] wrote:
Yes, I am using the most recent nightly build. The input
The getText() here just get the child text node(s) as a string. You want to
use one of the serialize() methods.
If you're looking to debug soap, TCPMon (http://ws.apache.org/commons/tcpmon/
) might be an easier option.
-Original Message-
From: Z Chen [mailto:[EMAIL PROTECTED]
Sent:
Sharad,
This is definitely a bug (I can reproduce
using similar WSDL on the latest nightly). It throws a RuntimeException
complaining that Element QName is
null for [/message/name/text()]!
You should file a JIRA issue on this: https://issues.apache.org/jira/browse/AXIS2.
The issue is here: https://issues.apache.org/jira/browse/AXIS2-1185
-Original Message-
From: Spies, Brennan
Sent: Monday, September 18, 2006 11:49 AM
To: axis-user@ws.apache.org; [EMAIL PROTECTED]
Subject: RE: [Axis2] Using 'type' attribute for the message part
Yes, I am using the most
Are you using the import inside the types section of your WSDL (i.e., is
it the xsd:import rather than the wsdl:import)?
-Original Message-
From: Sergey GMAIL [mailto:[EMAIL PROTECTED]
Sent: Friday, September 15, 2006 7:07 AM
To: axis-user@ws.apache.org
Subject: Axis2 import xsd into
You'll have to change your method signature to pass in the appropriate
parameter(s), then change the call in your *MessageReceiver* class
invokeBusinessLogic() method to pass these in. To get a reference to your
element, you need to get the appropriate OMElement from your incoming
MessageContext,
messageContext.getEnvelope().getHeader();
-Original Message-
From: Punnoose, Roshan [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 12, 2006 7:01 AM
To: axis-user@ws.apache.org
Subject: Access Addressing information
When I create a web service with WS-Addressing handlers, how do I
06, 2006 11:22 PM
To: axis-user@ws.apache.org
Subject: Re: [Axis2] Purpose of resource files generated with Xmlbeans
databinding
Hi,
These are needed for the XMLBeans runtime and should be included in
the classpath for the XMLBeans classes to work
Ajith
On 9/6/06, Spies, Brennan [EMAIL PROTECTED
. The xmlbeans docs explain it well enough so it can
be done without much thrashing around.
Jeff
On 9/7/06, Spies, Brennan [EMAIL PROTECTED] wrote:
Is there a way to generate these manually, since I am currently having a
problem with not all of my schemas being generated as XmlBeans classes
(https
I have a (simple) question regarding the implementation of
the server-side logic web service in Axis 2.0, which is not clear from the
documentation.
After doing the code generation (doc/literal service with
XMLBeans databinding, and server-side interface), I am left with a
depends on these xsb files to
parse the XMLs properly and it cannot do without them.
Ajith
On 9/7/06, Spies, Brennan [EMAIL PROTECTED] wrote:
Actually, the latest nightly build solved my problem, so it's not an
issue
for me anymore--but am still curious about what these files
I'm not sure if I qualify as a die hard fan of Axis, but I've chosen it
over XFire because I like the pluggable architecture and some of the other
features, such as more transport options (TCP).
I am doing a top-down web service using XML Schema and WSDL as the starting
point. The xsd is
All,
Can anyone tell me what is the purpose of the files
generated under /resources/schemaorg_apache_xmlbeans with the file extension .xsb?
These get generated by WSDL2Java when the databinding is xmlbeans
B.
, 2006 1:40 PM
To: axis-user@ws.apache.org
Cc: [EMAIL PROTECTED]
Subject: Re: axis versus axis2
Brennan,
Could you please log a bug for #2 with your wsdl/xsd's? (I just
checked in a change that may help!). That will help us fix both #2 and
#3.
thanks,
dims
On 9/6/06, Spies, Brennan [EMAIL
82 matches
Mail list logo