<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
<title>axis-user@ws.apache.org Archives</title>
<link rel="self" href="http://mail-archives.apache.org/mod_mbox/ws-axis-user/?format=atom"/>
<link href="http://mail-archives.apache.org/mod_mbox/ws-axis-user/"/>
<id>http://mail-archives.apache.org/mod_mbox/ws-axis-user/</id>
<updated>2009-12-09T12:30:22Z</updated>
<entry>
<title>SOAP De-serialization</title>
<author><name>Rahul Rulz &lt;ragul_25@yahoo.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/ws-axis-user/200912.mbox/%3c335095.59897.qm@web113212.mail.gq1.yahoo.com%3e"/>
<id>urn:uuid:%3c335095-59897-qm@web113212-mail-gq1-yahoo-com%3e</id>
<updated>2009-12-09T05:31:04Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi Users,
I am looking for a tool like a SOAP UI or something similar to generate multireferences to
hit the axis2 server. The axis2 server supports multiref and I want to explore more in this
area before I create a client to do the actual sending of the message. It would be helpful
if some tool can take input which contains the multireference tags and complex structure and
the output is simple SOAP message with all the references removed and with simple XML tags.
If any one had come across or get to know any tool which does the above, kindly share your
views.
ThanksRaghav.

     


      

</pre>
</div>
</content>
</entry>
<entry>
<title>Creating Web Service client using HTTPS from wsdl files</title>
<author><name>Vadim Letitchevski &lt;vletitchevski@teledyne.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/ws-axis-user/200912.mbox/%3cE17DA276F9A0C84FAD22739DE29C389005DBA9969C@ENTMAIL01.tad.teledyne.com%3e"/>
<id>urn:uuid:%3cE17DA276F9A0C84FAD22739DE29C389005DBA9969C@ENTMAIL01-tad-teledyne-com%3e</id>
<updated>2009-12-09T01:20:51Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
I am trying to configure my client auto-generated from WSDL to use SSL.
I have read already the recommendations to set these:
System.setProperty("javax.net.ssl.trustStore", "/path/to/.keystore");
System.setProperty("javax.net.ssl.trustStorePassword", "changeit");

Unfortunately this is not all I need to set. I care about using only TLS1, only NULL-SHA Cipher,
two way authentication and keep-alive.
The problem is, I can't find any mentioning of the property names which are needed for me,
neither a full list of supported ssl properties and their values which can be set with System.setProperty()
as well.


Thanks
Vadim.
(310)765-3812





</pre>
</div>
</content>
</entry>
<entry>
<title>Providing rpc/encoded jax-ws webservice</title>
<author><name>Michael Rohleder &lt;michael.rohleder@qaware.de&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/ws-axis-user/200912.mbox/%3c2558344872737543330@unknownmsgid%3e"/>
<id>urn:uuid:%3c2558344872737543330@unknownmsgid%3e</id>
<updated>2009-12-08T23:24:56Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi,
does anybody have a solution for providing a rpc-encoded jax-ws webservice
for backward compatibility and for giving clients time to migrate to a new
document-literal webservice?

I think xml transformation (rpc-encoded &lt;-&gt; document-literal) could be
possible, like this:
http://www.cafebabe.me/2007/03/migrating-smoothly-from-rpcencoded-to.html
It detects the incoming rpc/encoded requests and transform them to the new
structure. Unfortunately this is not a generic transformation solution, the
xsl is implemented for a specific service...perhaps anyone have a idea for
generic way?

Are there other solutions (generators, handlers, ...)?

Thanks.



Michael.


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: java.lang.NoClassDefFoundError - both classes in same aar class tree</title>
<author><name>monkeyden &lt;monkeys@monkeyden.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/ws-axis-user/200912.mbox/%3c26698741.post@talk.nabble.com%3e"/>
<id>urn:uuid:%3c26698741-post@talk-nabble-com%3e</id>
<updated>2009-12-08T18:51:00Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

Incidentally, the HappyAxis page seems perfectly happy:

 Found Axis2 default Version service and Axis2 is working properly.  


monkeyden wrote:
&gt; 
&gt; I have an authentication service, which builds and deploys just fine. 
&gt; Inside of the aar file I have the following structure:
&gt; 
&gt; hibernate-config.xml
&gt; com
&gt;  \ mycompany
&gt; lib
&gt;  \ [dependent jars]
&gt; META-INF
&gt;  \ services.xml
&gt; 
&gt; My service uses a utility class, named UserOracleDAOImpl, which itself
&gt; uses HibernateUserPodUtils.  All 3 classes (the service class,
&gt; UserOracleDAOImpl and HibernateUserPodUtils) are in that com.mycompany
&gt; tree above.  However, on line 56 of UserOracleDAOImpl I am getting the
&gt; NoClassDefFoundError (below) from:
&gt; 
&gt; HibernateUserPodUtils.closeSession();
&gt; 
&gt; Yes, it does fail on this particular line, not inside closeSession(). 
&gt; Should all classes in the tree be visible?  Not exactly sure how the axis
&gt; classloader works in the case of aars.
&gt; 
&gt; Thanks
&gt; 
&gt; 
&gt; 13:09:21,656 INFO  [STDOUT] [INFO] Deploying module: addressing-1.3
&gt; 13:09:21,703 INFO  [STDOUT] [INFO] Deploying module: metadataExchange-1.3
&gt; 13:09:21,718 INFO  [STDOUT] [INFO] Deploying module: ping-1.3
&gt; 13:09:21,750 INFO  [STDOUT] [INFO] Deploying module: script-1.3
&gt; 13:09:21,765 INFO  [STDOUT] [INFO] Deploying module: soapmonitor-1.3
&gt; 13:09:21,828 INFO  [STDOUT] [INFO] script module activated
&gt; 13:09:22,546 INFO  [STDOUT] [INFO] Deploying Web service:
&gt; authentication-service-1.0.aar
&gt; 13:09:22,578 INFO  [STDOUT] [INFO] Deploying Web service: version.aar
&gt; 13:09:33,156 INFO  [STDOUT] [ERROR] Exception occurred while trying to
&gt; invoke service method authenticate
&gt; java.lang.reflect.InvocationTargetException
&gt; 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
&gt; 	at
&gt; sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
&gt; 	at
&gt; sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
&gt; 	at java.lang.reflect.Method.invoke(Method.java:585)
&gt; 	at
&gt; org.apache.axis2.rpc.receivers.RPCUtil.invokeServiceClass(RPCUtil.java:194)
&gt; 	at
&gt; org.apache.axis2.rpc.receivers.RPCMessageReceiver.invokeBusinessLogic(RPCMessageReceiver.java:98)
&gt; 	at
&gt; org.apache.axis2.receivers.AbstractInOutMessageReceiver.invokeBusinessLogic(AbstractInOutMessageReceiver.java:40)
&gt; 	at
&gt; org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:96)
&gt; 	at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:145)
&gt; 	at
&gt; org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:275)
&gt; 	at
&gt; org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:120)
&gt; 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
&gt; 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
&gt; 	at
&gt; org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
&gt; 	at
&gt; org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
&gt; 	at
&gt; org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
&gt; 	at
&gt; org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
&gt; 	at
&gt; org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
&gt; 	at
&gt; org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
&gt; 	at
&gt; org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
&gt; 	at
&gt; org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
&gt; 	at
&gt; org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
&gt; 	at
&gt; org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
&gt; 	at
&gt; org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
&gt; 	at
&gt; org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
&gt; 	at
&gt; org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
&gt; 	at
&gt; org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
&gt; 	at
&gt; org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:856)
&gt; 	at
&gt; org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:566)
&gt; 	at
&gt; org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1508)
&gt; 	at java.lang.Thread.run(Thread.java:595)
&gt; Caused by: java.lang.NoClassDefFoundError
&gt; 	at
&gt; com.mycompany.ids.dao.user.UserOracleDAOImpl.closeSession(UserOracleDAOImpl.java:56)
&gt; 	at
&gt; com.mycompany.ids.dao.user.UserOracleDAOImpl.filterUsersByName(UserOracleDAOImpl.java:104)
&gt; 	at
&gt; com.mycompany.ids.services.authentication.AuthenticationServiceImpl.authenticate(AuthenticationServiceImpl.java:18)
&gt; 	... 31 more
&gt; 
&gt; 

-- 
View this message in context: http://old.nabble.com/java.lang.NoClassDefFoundError---both-classes-in-same-aar-class-tree-tp26698426p26698741.html
Sent from the Axis - User mailing list archive at Nabble.com.



</pre>
</div>
</content>
</entry>
<entry>
<title>java.lang.NoClassDefFoundError - both classes in same aar class tree</title>
<author><name>monkeyden &lt;monkeys@monkeyden.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/ws-axis-user/200912.mbox/%3c26698426.post@talk.nabble.com%3e"/>
<id>urn:uuid:%3c26698426-post@talk-nabble-com%3e</id>
<updated>2009-12-08T18:28:24Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

I have an authentication service, which builds and deploys just fine.  Inside
of the aar file I have the following structure:

hibernate-config.xml
com
 \ mycompany
lib
 \ [dependent jars]
META-INF
 \ services.xml

My service uses a utility class, named UserOracleDAOImpl, which itself uses
HibernateUserPodUtils.  All 3 classes (the service class, UserOracleDAOImpl
and HibernateUserPodUtils) are in that com.mycompany tree above.  However,
on line 56 of UserOracleDAOImpl I am getting the NoClassDefFoundError
(below) from:

HibernateUserPodUtils.closeSession();

Yes, it does fail on this particular line, not inside closeSession(). 
Should all classes in the tree be visible?  Not exactly sure how the axis
classloader works in the case of aars.

Thanks


13:09:21,656 INFO  [STDOUT] [INFO] Deploying module: addressing-1.3
13:09:21,703 INFO  [STDOUT] [INFO] Deploying module: metadataExchange-1.3
13:09:21,718 INFO  [STDOUT] [INFO] Deploying module: ping-1.3
13:09:21,750 INFO  [STDOUT] [INFO] Deploying module: script-1.3
13:09:21,765 INFO  [STDOUT] [INFO] Deploying module: soapmonitor-1.3
13:09:21,828 INFO  [STDOUT] [INFO] script module activated
13:09:22,546 INFO  [STDOUT] [INFO] Deploying Web service:
authentication-service-1.0.aar
13:09:22,578 INFO  [STDOUT] [INFO] Deploying Web service: version.aar
13:09:33,156 INFO  [STDOUT] [ERROR] Exception occurred while trying to
invoke service method authenticate
java.lang.reflect.InvocationTargetException
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:585)
	at
org.apache.axis2.rpc.receivers.RPCUtil.invokeServiceClass(RPCUtil.java:194)
	at
org.apache.axis2.rpc.receivers.RPCMessageReceiver.invokeBusinessLogic(RPCMessageReceiver.java:98)
	at
org.apache.axis2.receivers.AbstractInOutMessageReceiver.invokeBusinessLogic(AbstractInOutMessageReceiver.java:40)
	at
org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:96)
	at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:145)
	at
org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:275)
	at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:120)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
	at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
	at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
	at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
	at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
	at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
	at
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
	at
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
	at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
	at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
	at
org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
	at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
	at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
	at
org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:856)
	at
org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:566)
	at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1508)
	at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.NoClassDefFoundError
	at
com.mycompany.ids.dao.user.UserOracleDAOImpl.closeSession(UserOracleDAOImpl.java:56)
	at
com.mycompany.ids.dao.user.UserOracleDAOImpl.filterUsersByName(UserOracleDAOImpl.java:104)
	at
com.mycompany.ids.services.authentication.AuthenticationServiceImpl.authenticate(AuthenticationServiceImpl.java:18)
	... 31 more

-- 
View this message in context: http://old.nabble.com/java.lang.NoClassDefFoundError---both-classes-in-same-aar-class-tree-tp26698426p26698426.html
Sent from the Axis - User mailing list archive at Nabble.com.



</pre>
</div>
</content>
</entry>
<entry>
<title>Question About Axis2 1.4.1 and \n</title>
<author><name>Triquoit Mathieu &lt;mathieu.triquoit@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/ws-axis-user/200912.mbox/%3c55c634d90912080702s451c28dby9a58076577c96e73@mail.gmail.com%3e"/>
<id>urn:uuid:%3c55c634d90912080702s451c28dby9a58076577c96e73@mail-gmail-com%3e</id>
<updated>2009-12-08T15:02:20Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi all,

I have a webservice which contains two operations. For the first one, I have
a field "address" (with type string). If the response contains a \n; I have
something like:

&lt;address&gt;Address line 1
  Address line 2
  Address line 3
&lt;/address&gt;

My other operation contains also a field "address"... If I perform the same
test (=this field must contain a multi-line text), I receive something like
the following:

 &lt;traderAddress&gt;Address line 1 Address line 2 Address line 3&lt;/traderAddress&gt;

How is this possible ? When I am debugging in the two operations, I have
exactly the same behavior:

xmlWriter.writeCharacters(&lt;
FIELD&gt;); and the value of &lt;FIELD&gt; is correct (e.g.: Address line 1\nAddress
line 2\nAddress line 3).

Could you please help me ?
Best regards,
Mathieu


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Axis2 1.4 not preserving CDATA</title>
<author><name>Andreas Veithen &lt;andreas.veithen@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/ws-axis-user/200912.mbox/%3cb67458760912080438q61021c8fod02e5c81b5e69e3c@mail.gmail.com%3e"/>
<id>urn:uuid:%3cb67458760912080438q61021c8fod02e5c81b5e69e3c@mail-gmail-com%3e</id>
<updated>2009-12-08T12:38:01Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
On Mon, Dec 7, 2009 at 23:43, Ramya K Grama &lt;ramyakgrama@gmail.com&gt; wrote:
&gt; I dont understand.
&gt; It is a simple case where a Axis2 webservice, implemented with
&gt; XMLBeans databinding, needs to send CDATA out in the response XML,
&gt; preserved/intact - without characters being escaped.

This is not supported since in the context of a Web service, since
this is not a valid requirement (because the consumer must not make a
difference between a CDATA section and an equivalent text node). If
you have a consumer of your service that requires a CDATA section, you
should challenge that requirement.

&gt; And from what I understood from your previous reply is that this can
&gt; be done by using AXIOM APIs to set the contentType to CDATA.
&gt; Which makes sense to me, but need some help with the API - how could
&gt; one get hold of the underlying AXIOM element from XMLBeans inorder to
&gt; set the contenttype to CDATA.

You will have to inspect the generated code to see if it is possible
to get hold of the OMElement produced from the bean.

&gt;
&gt;
&gt; On Mon, Dec 7, 2009 at 5:09 PM, Andreas Veithen
&gt; &lt;andreas.veithen@gmail.com&gt; wrote:
&gt;&gt; I'm not aware of any XML data binding framework that would allow you
&gt;&gt; to control whether something is serialized as a text node or a CDATA
&gt;&gt; section. This is by design, because the difference between a text node
&gt;&gt; and a CDATA section is only syntactic, but has no semantic meaning.
&gt;&gt; This implies that any system that processes a CDATA section
&gt;&gt; differently from an equivalent text node should be considered as
&gt;&gt; broken. At least that is the what most people in the industry believe.
&gt;&gt;
&gt;&gt; Andreas
&gt;&gt;
&gt;&gt; On Mon, Dec 7, 2009 at 21:49, Ramya K Grama &lt;ramyakgrama@gmail.com&gt; wrote:
&gt;&gt;&gt; Thanks for the quick reply!
&gt;&gt;&gt; I am using XMLBeans 2.3.0.  I am not using AXIOM APIs directly to
&gt;&gt;&gt; create the response elements.
&gt;&gt;&gt; Hence, I am not using OMText directly.
&gt;&gt;&gt; From the XMLBean api, I am able to use only setText and have not found
&gt;&gt;&gt; a way to passin the CDATA type (neither in an overloaded setText nor
&gt;&gt;&gt; in a setType).
&gt;&gt;&gt;
&gt;&gt;&gt; Could you please share a code snippet showing how to pass the CDATA
&gt;&gt;&gt; type using XMLBeans or how to get the OMText node from the XMLBean
&gt;&gt;&gt; object.
&gt;&gt;&gt; With XMLBeans I have &lt;operationName&gt;Document object. How do I get an
&gt;&gt;&gt; OMText out of it to be able to set the Type.
&gt;&gt;&gt;
&gt;&gt;&gt;
&gt;&gt;&gt;
&gt;&gt;&gt;
&gt;&gt;&gt; On Mon, Dec 7, 2009 at 3:39 PM, Andreas Veithen
&gt;&gt;&gt; &lt;andreas.veithen@gmail.com&gt; wrote:
&gt;&gt;&gt;&gt; XMLInputFactory.properties can be used to preserve CDATA sections when
&gt;&gt;&gt;&gt; using Axiom to _parse_ an XML document (By default CDATA sections are
&gt;&gt;&gt;&gt; transformed to text nodes and coalesced with adjacent text nodes). On
&gt;&gt;&gt;&gt; the other hand, creating CDATA sections in output documents is
&gt;&gt;&gt;&gt; something that Axiom has always supported.
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; Probably what you are doing is to create an OMText node with type TEXT
&gt;&gt;&gt;&gt; and content "&lt;![CDATA[ROSEANNA]]&gt;". In the output document, this gets
&gt;&gt;&gt;&gt; of course escaped. What you need to do instead is to create an OMText
&gt;&gt;&gt;&gt; node with type CDATA and content "ROSEANNA".
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; Andreas
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; On Mon, Dec 7, 2009 at 20:45, Ramya K Grama &lt;ramyakgrama@gmail.com&gt;
wrote:
&gt;&gt;&gt;&gt;&gt; Hello,
&gt;&gt;&gt;&gt;&gt; We have been having issues with CDATA not being preserved by Axis2.
&gt;&gt;&gt;&gt;&gt; In the response xml, the '&lt;' are escaped to '&amp;lt;'
&gt;&gt;&gt;&gt;&gt; So instead of &lt;someTagName&gt;&lt;![CDATA[ROSEANNA]]&gt;&lt;/someTagName&gt;
we get
&gt;&gt;&gt;&gt;&gt; &lt;someTagName&gt;&amp;lt;![CDATA[ROSEANNA]]&amp;gt;&lt;/someTagName&gt;
in the response.
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt; Reading this
&gt;&gt;&gt;&gt;&gt; http://people.apache.org/~veithen/synapse/faq.html#cdata
&gt;&gt;&gt;&gt;&gt; suggestion, we tried creating XMLInputFactory.properties file
&gt;&gt;&gt;&gt;&gt; containing this single line - javax.xml.stream.isCoalescing=false
&gt;&gt;&gt;&gt;&gt;  and placed the file under WEB-INF/classes and retried, again the same
result.
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt; We are using Axis21.4, XMLBeans 2.3.0, Tomcat 6.
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt; The other idea was to programatically replace the escape characters
&gt;&gt;&gt;&gt;&gt; using regular expressions - which I think is really not needed.
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;&gt; Any help is highly appreciated.
&gt;&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;
&gt;&gt;
&gt;


</pre>
</div>
</content>
</entry>
<entry>
<title>Problem using WSSPolicy with generated client stubs</title>
<author><name>Shaan Jayaratna &lt;jayaratna@predic8.de&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/ws-axis-user/200912.mbox/%3c4B1E2C81.4070001@predic8.de%3e"/>
<id>urn:uuid:%3c4B1E2C81-4070001@predic8-de%3e</id>
<updated>2009-12-08T10:37:53Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi.

I want to use WSSPolicy with Axis2 1.5.1 and Rampart 1.4. Deploying the 
service with an attached Policy works fine. Creating the stubs with 
WSDL2Java don't cause an error. But when I send a request there are no 
WSSHeaders generated.

Rampart is engaged. Using the OutflowSecurity parameter WSS works on the 
client side.

Without the OutflowSecurity parameter I use the RampartConfig class to 
configure the client:

  RampartConfig rampartConfig = new RampartConfig();
  rampartConfig.setUser("client");
  rampartConfig.setPwCbClass("PWDCallback");
       
  CryptoConfig sigCrypto = new CryptoConfig();
  sigCrypto.setProvider("org.apache.ws.security.components.crypto.Merlin");
       
  Properties props = new Properties();
  
props.setProperty("org.apache.ws.security.crypto.merlin.keystore.type", 
"JKS");
  
props.setProperty("org.apache.ws.security.crypto.merlin.file","client.jks");
  
props.setProperty("org.apache.ws.security.crypto.merlin.keystore.password", 
"apache");
       
  sigCrypto.setProp(props);
       
  rampartConfig.setSigCryptoConfig(sigCrypto);
       
  Policy policy = new Policy();
  policy.addAssertion(rampartConfig);
  
stub._getServiceClient().getAxisService().getPolicyInclude().addPolicyElement(PolicyInclude.AXIS_SERVICE_POLICY,

policy);

Thanks,
Shaan



</pre>
</div>
</content>
</entry>
<entry>
<title>HI :How to add Empty soap header element to SOAP envelope using AXIS2 client API</title>
<author><name>&quot;Vishnu Vardhan Reddy&quot; &lt;vreddy@radiantinfo.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/ws-axis-user/200912.mbox/%3c0E3300A66797404890CD069A32315555477CAC@radiantinfo.com%3e"/>
<id>urn:uuid:%3c0E3300A66797404890CD069A32315555477CAC@radiantinfo-com%3e</id>
<updated>2009-12-08T09:52:20Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
HI all,

 

How to add empty SOAP Header element to SOAP request , using AXIS2 API.

Soap Request should be  like this 

 

&lt;?xml version="1.0" encoding="http://schemas.xmlsoap.org/soap/envelope/"
standalone="no"?&gt;

&lt;soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"&gt;

&lt;soapenv:Header&gt;

&lt;/soapenv:Header&gt;

&lt;soapenv:Body&gt;

&lt;/soapenv:Body&gt;

&lt;/soapenv:Envelope&gt;

 

How to add empty SOAP header element to SOAP envelope ..?

 

Thanks in advance for kind support.

 

Thanks regards,

Vishnu.



</pre>
</div>
</content>
</entry>
<entry>
<title>How to forward a soap envelope between webservices in axis2</title>
<author><name>Hasini Gunasinghe &lt;hasi7786@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/ws-axis-user/200912.mbox/%3c3043811e0912071847t8c86db9n61fe4ceae9b35e9e@mail.gmail.com%3e"/>
<id>urn:uuid:%3c3043811e0912071847t8c86db9n61fe4ceae9b35e9e@mail-gmail-com%3e</id>
<updated>2009-12-08T02:47:33Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi,

I am using axis2 stand alone server to deploy the web services. And I need
to forward the same soap envelope between several web services by only
changing the header of the soap envelope.
When I searched for a way to achieve that I found that detaching the
existing header and adding a new header would do. But it didn't work. I use
OperationClient API to invoke web services along the communication path.
 When I set the action in the options of service client in a intermediate
web service and forward the soap envelope, axis2 throws an exception saying
that soap action and wsa:action mismatch. That is because the original
header contains a different action put by the WS-addressing.

Can you please tell me the correct way to forward a soap envelope through
several web services deployed in one or more axis2 servers?
Thank you very much.

regards,
Hasini.


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Axis2 1.4 not preserving CDATA</title>
<author><name>Ramya K Grama &lt;ramyakgrama@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/ws-axis-user/200912.mbox/%3c3976ba360912071443p42ec0457hb33ca3699e45dff3@mail.gmail.com%3e"/>
<id>urn:uuid:%3c3976ba360912071443p42ec0457hb33ca3699e45dff3@mail-gmail-com%3e</id>
<updated>2009-12-07T22:43:29Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
I dont understand.
It is a simple case where a Axis2 webservice, implemented with
XMLBeans databinding, needs to send CDATA out in the response XML,
preserved/intact - without characters being escaped.
And from what I understood from your previous reply is that this can
be done by using AXIOM APIs to set the contentType to CDATA.
Which makes sense to me, but need some help with the API - how could
one get hold of the underlying AXIOM element from XMLBeans inorder to
set the contenttype to CDATA.


On Mon, Dec 7, 2009 at 5:09 PM, Andreas Veithen
&lt;andreas.veithen@gmail.com&gt; wrote:
&gt; I'm not aware of any XML data binding framework that would allow you
&gt; to control whether something is serialized as a text node or a CDATA
&gt; section. This is by design, because the difference between a text node
&gt; and a CDATA section is only syntactic, but has no semantic meaning.
&gt; This implies that any system that processes a CDATA section
&gt; differently from an equivalent text node should be considered as
&gt; broken. At least that is the what most people in the industry believe.
&gt;
&gt; Andreas
&gt;
&gt; On Mon, Dec 7, 2009 at 21:49, Ramya K Grama &lt;ramyakgrama@gmail.com&gt; wrote:
&gt;&gt; Thanks for the quick reply!
&gt;&gt; I am using XMLBeans 2.3.0.  I am not using AXIOM APIs directly to
&gt;&gt; create the response elements.
&gt;&gt; Hence, I am not using OMText directly.
&gt;&gt; From the XMLBean api, I am able to use only setText and have not found
&gt;&gt; a way to passin the CDATA type (neither in an overloaded setText nor
&gt;&gt; in a setType).
&gt;&gt;
&gt;&gt; Could you please share a code snippet showing how to pass the CDATA
&gt;&gt; type using XMLBeans or how to get the OMText node from the XMLBean
&gt;&gt; object.
&gt;&gt; With XMLBeans I have &lt;operationName&gt;Document object. How do I get an
&gt;&gt; OMText out of it to be able to set the Type.
&gt;&gt;
&gt;&gt;
&gt;&gt;
&gt;&gt;
&gt;&gt; On Mon, Dec 7, 2009 at 3:39 PM, Andreas Veithen
&gt;&gt; &lt;andreas.veithen@gmail.com&gt; wrote:
&gt;&gt;&gt; XMLInputFactory.properties can be used to preserve CDATA sections when
&gt;&gt;&gt; using Axiom to _parse_ an XML document (By default CDATA sections are
&gt;&gt;&gt; transformed to text nodes and coalesced with adjacent text nodes). On
&gt;&gt;&gt; the other hand, creating CDATA sections in output documents is
&gt;&gt;&gt; something that Axiom has always supported.
&gt;&gt;&gt;
&gt;&gt;&gt; Probably what you are doing is to create an OMText node with type TEXT
&gt;&gt;&gt; and content "&lt;![CDATA[ROSEANNA]]&gt;". In the output document, this gets
&gt;&gt;&gt; of course escaped. What you need to do instead is to create an OMText
&gt;&gt;&gt; node with type CDATA and content "ROSEANNA".
&gt;&gt;&gt;
&gt;&gt;&gt; Andreas
&gt;&gt;&gt;
&gt;&gt;&gt; On Mon, Dec 7, 2009 at 20:45, Ramya K Grama &lt;ramyakgrama@gmail.com&gt; wrote:
&gt;&gt;&gt;&gt; Hello,
&gt;&gt;&gt;&gt; We have been having issues with CDATA not being preserved by Axis2.
&gt;&gt;&gt;&gt; In the response xml, the '&lt;' are escaped to '&amp;lt;'
&gt;&gt;&gt;&gt; So instead of &lt;someTagName&gt;&lt;![CDATA[ROSEANNA]]&gt;&lt;/someTagName&gt;
we get
&gt;&gt;&gt;&gt; &lt;someTagName&gt;&amp;lt;![CDATA[ROSEANNA]]&amp;gt;&lt;/someTagName&gt;
in the response.
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; Reading this
&gt;&gt;&gt;&gt; http://people.apache.org/~veithen/synapse/faq.html#cdata
&gt;&gt;&gt;&gt; suggestion, we tried creating XMLInputFactory.properties file
&gt;&gt;&gt;&gt; containing this single line - javax.xml.stream.isCoalescing=false
&gt;&gt;&gt;&gt;  and placed the file under WEB-INF/classes and retried, again the same result.
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; We are using Axis21.4, XMLBeans 2.3.0, Tomcat 6.
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; The other idea was to programatically replace the escape characters
&gt;&gt;&gt;&gt; using regular expressions - which I think is really not needed.
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; Any help is highly appreciated.
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;
&gt;&gt;
&gt;


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: A spring resource xml file, Axis, Tomcat, and Eclipse can be	found but can't be found</title>
<author><name>robert lazarski &lt;robertlazarski@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/ws-axis-user/200912.mbox/%3cf87675ee0912071413gd30540fjb92623fc5d2b4f21@mail.gmail.com%3e"/>
<id>urn:uuid:%3cf87675ee0912071413gd30540fjb92623fc5d2b4f21@mail-gmail-com%3e</id>
<updated>2009-12-07T22:13:51Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
On Mon, Dec 7, 2009 at 7:03 PM, nhcoder &lt;andrewnbenjamin@hotmail.com&gt; wrote:
&gt;
&gt; I moved all the jars to axis2's WEB-INF/lib and it worked.  Thanks.
&gt;
&gt; While it works because I only have one service, doesn't that defeat the
&gt; purpose of keeping the dependencies of different aar's separate from each
&gt; other since every aar can see what is in that lib directory?
&gt;
&gt; Thanks,
&gt;
&gt; Andy
&gt;

You can have as many services as you want with one aar and one spring
instance. You can have lots of aar's with one spring instance. The
only time, imho, that spring inside the aar makes sense is when you
want _isolation_ of each spring instance from each other. One of the
advanced use cases of an aar is isolation from each other, and spring
in the aar can give you that same isolation. I just happen to think
its not that common of a requirement - ymmv.

- R


&gt;
&gt;
&gt; iksrazal wrote:
&gt;&gt;
&gt;&gt; On Mon, Dec 7, 2009 at 6:27 PM, robert lazarski
&gt;&gt; &lt;robertlazarski@gmail.com&gt; wrote:
&gt;&gt;&gt; On Mon, Dec 7, 2009 at 5:55 PM, nhcoder &lt;andrewnbenjamin@hotmail.com&gt;
&gt;&gt;&gt; wrote:
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; Hi,
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; Since I need to deploy it on a production machine, I packaged my service
&gt;&gt;&gt;&gt; into an aar file using the axis2 packaging Eclipse plugin, made
&gt;&gt;&gt;&gt; absolutely
&gt;&gt;&gt;&gt; sure the jar file with the Spring xml file was in the aar file, and
&gt;&gt;&gt;&gt; decided
&gt;&gt;&gt;&gt; to deploy it to an external Tomcat instance.  Now when I hit the service
&gt;&gt;&gt;&gt; I
&gt;&gt;&gt;&gt; get the following error:
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;&gt; Exception parsing XML document from class path resource
&gt;&gt;&gt;&gt; [license-beans2.xml]; nested exception is java.io.FileNotFoundException:
&gt;&gt;&gt;&gt; class path resource [license-beans2.xml] cannot be opened because it
&gt;&gt;&gt;&gt; does
&gt;&gt;&gt;&gt; not exist.
&gt;&gt;&gt;&gt;
&gt;&gt;&gt;
&gt;&gt;&gt; You probably don't need any of your spring stuff in the aar file - try
&gt;&gt;&gt; putting everything spring related in WEB-INF/classes. Try that and let
&gt;&gt;&gt; us know what happens.
&gt;&gt;&gt;
&gt;&gt;&gt; - R
&gt;&gt;&gt;
&gt;&gt;
&gt;&gt; I meant WEB-INF/lib . Also, are you sure license-beans2.xml is related
&gt;&gt; to spring?
&gt;&gt;
&gt;&gt; - R
&gt;&gt;
&gt;&gt;
&gt;
&gt; --
&gt; View this message in context: http://old.nabble.com/A-spring-resource-xml-file%2C-Axis%2C-Tomcat%2C-and-Eclipse-can-be-found-but-can%27t-be-found-tp26684011p26685040.html
&gt; Sent from the Axis - User mailing list archive at Nabble.com.
&gt;
&gt;


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Axis2 1.4 not preserving CDATA</title>
<author><name>Andreas Veithen &lt;andreas.veithen@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/ws-axis-user/200912.mbox/%3cb67458760912071409y356e0aa7jdcd5adea998fb59d@mail.gmail.com%3e"/>
<id>urn:uuid:%3cb67458760912071409y356e0aa7jdcd5adea998fb59d@mail-gmail-com%3e</id>
<updated>2009-12-07T22:09:17Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
I'm not aware of any XML data binding framework that would allow you
to control whether something is serialized as a text node or a CDATA
section. This is by design, because the difference between a text node
and a CDATA section is only syntactic, but has no semantic meaning.
This implies that any system that processes a CDATA section
differently from an equivalent text node should be considered as
broken. At least that is the what most people in the industry believe.

Andreas

On Mon, Dec 7, 2009 at 21:49, Ramya K Grama &lt;ramyakgrama@gmail.com&gt; wrote:
&gt; Thanks for the quick reply!
&gt; I am using XMLBeans 2.3.0.  I am not using AXIOM APIs directly to
&gt; create the response elements.
&gt; Hence, I am not using OMText directly.
&gt; From the XMLBean api, I am able to use only setText and have not found
&gt; a way to passin the CDATA type (neither in an overloaded setText nor
&gt; in a setType).
&gt;
&gt; Could you please share a code snippet showing how to pass the CDATA
&gt; type using XMLBeans or how to get the OMText node from the XMLBean
&gt; object.
&gt; With XMLBeans I have &lt;operationName&gt;Document object. How do I get an
&gt; OMText out of it to be able to set the Type.
&gt;
&gt;
&gt;
&gt;
&gt; On Mon, Dec 7, 2009 at 3:39 PM, Andreas Veithen
&gt; &lt;andreas.veithen@gmail.com&gt; wrote:
&gt;&gt; XMLInputFactory.properties can be used to preserve CDATA sections when
&gt;&gt; using Axiom to _parse_ an XML document (By default CDATA sections are
&gt;&gt; transformed to text nodes and coalesced with adjacent text nodes). On
&gt;&gt; the other hand, creating CDATA sections in output documents is
&gt;&gt; something that Axiom has always supported.
&gt;&gt;
&gt;&gt; Probably what you are doing is to create an OMText node with type TEXT
&gt;&gt; and content "&lt;![CDATA[ROSEANNA]]&gt;". In the output document, this gets
&gt;&gt; of course escaped. What you need to do instead is to create an OMText
&gt;&gt; node with type CDATA and content "ROSEANNA".
&gt;&gt;
&gt;&gt; Andreas
&gt;&gt;
&gt;&gt; On Mon, Dec 7, 2009 at 20:45, Ramya K Grama &lt;ramyakgrama@gmail.com&gt; wrote:
&gt;&gt;&gt; Hello,
&gt;&gt;&gt; We have been having issues with CDATA not being preserved by Axis2.
&gt;&gt;&gt; In the response xml, the '&lt;' are escaped to '&amp;lt;'
&gt;&gt;&gt; So instead of &lt;someTagName&gt;&lt;![CDATA[ROSEANNA]]&gt;&lt;/someTagName&gt;
we get
&gt;&gt;&gt; &lt;someTagName&gt;&amp;lt;![CDATA[ROSEANNA]]&amp;gt;&lt;/someTagName&gt; in
the response.
&gt;&gt;&gt;
&gt;&gt;&gt; Reading this
&gt;&gt;&gt; http://people.apache.org/~veithen/synapse/faq.html#cdata
&gt;&gt;&gt; suggestion, we tried creating XMLInputFactory.properties file
&gt;&gt;&gt; containing this single line - javax.xml.stream.isCoalescing=false
&gt;&gt;&gt;  and placed the file under WEB-INF/classes and retried, again the same result.
&gt;&gt;&gt;
&gt;&gt;&gt; We are using Axis21.4, XMLBeans 2.3.0, Tomcat 6.
&gt;&gt;&gt;
&gt;&gt;&gt; The other idea was to programatically replace the escape characters
&gt;&gt;&gt; using regular expressions - which I think is really not needed.
&gt;&gt;&gt;
&gt;&gt;&gt; Any help is highly appreciated.
&gt;&gt;&gt;
&gt;&gt;
&gt;


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: A spring resource xml file, Axis, Tomcat, and Eclipse can be  found but can't be found</title>
<author><name>nhcoder &lt;andrewnbenjamin@hotmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/ws-axis-user/200912.mbox/%3c26685040.post@talk.nabble.com%3e"/>
<id>urn:uuid:%3c26685040-post@talk-nabble-com%3e</id>
<updated>2009-12-07T22:03:40Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

I moved all the jars to axis2's WEB-INF/lib and it worked.  Thanks.  

While it works because I only have one service, doesn't that defeat the
purpose of keeping the dependencies of different aar's separate from each
other since every aar can see what is in that lib directory?

Thanks,

Andy 



iksrazal wrote:
&gt; 
&gt; On Mon, Dec 7, 2009 at 6:27 PM, robert lazarski
&gt; &lt;robertlazarski@gmail.com&gt; wrote:
&gt;&gt; On Mon, Dec 7, 2009 at 5:55 PM, nhcoder &lt;andrewnbenjamin@hotmail.com&gt;
&gt;&gt; wrote:
&gt;&gt;&gt;
&gt;&gt;&gt; Hi,
&gt;&gt;&gt;
&gt;&gt;&gt;
&gt;&gt;&gt; Since I need to deploy it on a production machine, I packaged my service
&gt;&gt;&gt; into an aar file using the axis2 packaging Eclipse plugin, made
&gt;&gt;&gt; absolutely
&gt;&gt;&gt; sure the jar file with the Spring xml file was in the aar file, and
&gt;&gt;&gt; decided
&gt;&gt;&gt; to deploy it to an external Tomcat instance. Â Now when I hit the service
&gt;&gt;&gt; I
&gt;&gt;&gt; get the following error:
&gt;&gt;&gt;
&gt;&gt;&gt; Exception parsing XML document from class path resource
&gt;&gt;&gt; [license-beans2.xml]; nested exception is java.io.FileNotFoundException:
&gt;&gt;&gt; class path resource [license-beans2.xml] cannot be opened because it
&gt;&gt;&gt; does
&gt;&gt;&gt; not exist.
&gt;&gt;&gt;
&gt;&gt;
&gt;&gt; You probably don't need any of your spring stuff in the aar file - try
&gt;&gt; putting everything spring related in WEB-INF/classes. Try that and let
&gt;&gt; us know what happens.
&gt;&gt;
&gt;&gt; - R
&gt;&gt;
&gt; 
&gt; I meant WEB-INF/lib . Also, are you sure license-beans2.xml is related
&gt; to spring?
&gt; 
&gt; - R
&gt; 
&gt; 

-- 
View this message in context: http://old.nabble.com/A-spring-resource-xml-file%2C-Axis%2C-Tomcat%2C-and-Eclipse-can-be-found-but-can%27t-be-found-tp26684011p26685040.html
Sent from the Axis - User mailing list archive at Nabble.com.



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: A spring resource xml file, Axis, Tomcat, and Eclipse can be	found but can't be found</title>
<author><name>robert lazarski &lt;robertlazarski@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/ws-axis-user/200912.mbox/%3cf87675ee0912071329x7b4a89bfvdc95291b71c6444c@mail.gmail.com%3e"/>
<id>urn:uuid:%3cf87675ee0912071329x7b4a89bfvdc95291b71c6444c@mail-gmail-com%3e</id>
<updated>2009-12-07T21:29:53Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
On Mon, Dec 7, 2009 at 6:27 PM, robert lazarski
&lt;robertlazarski@gmail.com&gt; wrote:
&gt; On Mon, Dec 7, 2009 at 5:55 PM, nhcoder &lt;andrewnbenjamin@hotmail.com&gt; wrote:
&gt;&gt;
&gt;&gt; Hi,
&gt;&gt;
&gt;&gt;
&gt;&gt; Since I need to deploy it on a production machine, I packaged my service
&gt;&gt; into an aar file using the axis2 packaging Eclipse plugin, made absolutely
&gt;&gt; sure the jar file with the Spring xml file was in the aar file, and decided
&gt;&gt; to deploy it to an external Tomcat instance.  Now when I hit the service I
&gt;&gt; get the following error:
&gt;&gt;
&gt;&gt; Exception parsing XML document from class path resource
&gt;&gt; [license-beans2.xml]; nested exception is java.io.FileNotFoundException:
&gt;&gt; class path resource [license-beans2.xml] cannot be opened because it does
&gt;&gt; not exist.
&gt;&gt;
&gt;
&gt; You probably don't need any of your spring stuff in the aar file - try
&gt; putting everything spring related in WEB-INF/classes. Try that and let
&gt; us know what happens.
&gt;
&gt; - R
&gt;

I meant WEB-INF/lib . Also, are you sure license-beans2.xml is related
to spring?

- R


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: A spring resource xml file, Axis, Tomcat, and Eclipse can be	found but can't be found</title>
<author><name>robert lazarski &lt;robertlazarski@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/ws-axis-user/200912.mbox/%3cf87675ee0912071327k1979a912sbbe84bc20130fdc9@mail.gmail.com%3e"/>
<id>urn:uuid:%3cf87675ee0912071327k1979a912sbbe84bc20130fdc9@mail-gmail-com%3e</id>
<updated>2009-12-07T21:27:39Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
On Mon, Dec 7, 2009 at 5:55 PM, nhcoder &lt;andrewnbenjamin@hotmail.com&gt; wrote:
&gt;
&gt; Hi,
&gt;
&gt;
&gt; Since I need to deploy it on a production machine, I packaged my service
&gt; into an aar file using the axis2 packaging Eclipse plugin, made absolutely
&gt; sure the jar file with the Spring xml file was in the aar file, and decided
&gt; to deploy it to an external Tomcat instance.  Now when I hit the service I
&gt; get the following error:
&gt;
&gt; Exception parsing XML document from class path resource
&gt; [license-beans2.xml]; nested exception is java.io.FileNotFoundException:
&gt; class path resource [license-beans2.xml] cannot be opened because it does
&gt; not exist.
&gt;

You probably don't need any of your spring stuff in the aar file - try
putting everything spring related in WEB-INF/classes. Try that and let
us know what happens.

- R


</pre>
</div>
</content>
</entry>
<entry>
<title>A spring resource xml file, Axis, Tomcat, and Eclipse can be found but can't be found</title>
<author><name>nhcoder &lt;andrewnbenjamin@hotmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/ws-axis-user/200912.mbox/%3c26684011.post@talk.nabble.com%3e"/>
<id>urn:uuid:%3c26684011-post@talk-nabble-com%3e</id>
<updated>2009-12-07T20:55:50Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

Hi,

I have a jar file that I am importing into my axis2 web service aar.  The
jar file has a Spring resource file in it called license-beans2.xml which
handles my data access objects.  If I run my service through Eclipse and let
Eclipse deploy it to Tomcat, everything about my service works perfectly. 
The WSDL displays and the service returns the data it should.

Since I need to deploy it on a production machine, I packaged my service
into an aar file using the axis2 packaging Eclipse plugin, made absolutely
sure the jar file with the Spring xml file was in the aar file, and decided
to deploy it to an external Tomcat instance.  Now when I hit the service I
get the following error:

Exception parsing XML document from class path resource
[license-beans2.xml]; nested exception is java.io.FileNotFoundException:
class path resource [license-beans2.xml] cannot be opened because it does
not exist.

I have done a bunch of searching around and thought I had this issue taken
care of previously.  I don't understand how Eclipse could deploy it
automagically without any issues but it blows up when I try to hit the
service when it is installed manually.  My only guess is that Eclipse is
doing something with the classpath (making it global or something to that
effect) because it doesn't install the web service in the same way that a
manual install would be done.  If anyone can shed some light on how to get
the axis2 service to see the spring xml file that would be great. 

Thanks,

Andy
-- 
View this message in context: http://old.nabble.com/A-spring-resource-xml-file%2C-Axis%2C-Tomcat%2C-and-Eclipse-can-be-found-but-can%27t-be-found-tp26684011p26684011.html
Sent from the Axis - User mailing list archive at Nabble.com.



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Axis2 1.4 not preserving CDATA</title>
<author><name>Ramya K Grama &lt;ramyakgrama@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/ws-axis-user/200912.mbox/%3c3976ba360912071249x33e33583g55d0b58091b5fc09@mail.gmail.com%3e"/>
<id>urn:uuid:%3c3976ba360912071249x33e33583g55d0b58091b5fc09@mail-gmail-com%3e</id>
<updated>2009-12-07T20:49:35Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Thanks for the quick reply!
I am using XMLBeans 2.3.0.  I am not using AXIOM APIs directly to
create the response elements.
Hence, I am not using OMText directly.
&gt;From the XMLBean api, I am able to use only setText and have not found
a way to passin the CDATA type (neither in an overloaded setText nor
in a setType).

Could you please share a code snippet showing how to pass the CDATA
type using XMLBeans or how to get the OMText node from the XMLBean
object.
With XMLBeans I have &lt;operationName&gt;Document object. How do I get an
OMText out of it to be able to set the Type.




On Mon, Dec 7, 2009 at 3:39 PM, Andreas Veithen
&lt;andreas.veithen@gmail.com&gt; wrote:
&gt; XMLInputFactory.properties can be used to preserve CDATA sections when
&gt; using Axiom to _parse_ an XML document (By default CDATA sections are
&gt; transformed to text nodes and coalesced with adjacent text nodes). On
&gt; the other hand, creating CDATA sections in output documents is
&gt; something that Axiom has always supported.
&gt;
&gt; Probably what you are doing is to create an OMText node with type TEXT
&gt; and content "&lt;![CDATA[ROSEANNA]]&gt;". In the output document, this gets
&gt; of course escaped. What you need to do instead is to create an OMText
&gt; node with type CDATA and content "ROSEANNA".
&gt;
&gt; Andreas
&gt;
&gt; On Mon, Dec 7, 2009 at 20:45, Ramya K Grama &lt;ramyakgrama@gmail.com&gt; wrote:
&gt;&gt; Hello,
&gt;&gt; We have been having issues with CDATA not being preserved by Axis2.
&gt;&gt; In the response xml, the '&lt;' are escaped to '&amp;lt;'
&gt;&gt; So instead of &lt;someTagName&gt;&lt;![CDATA[ROSEANNA]]&gt;&lt;/someTagName&gt; we
get
&gt;&gt; &lt;someTagName&gt;&amp;lt;![CDATA[ROSEANNA]]&amp;gt;&lt;/someTagName&gt; in the
response.
&gt;&gt;
&gt;&gt; Reading this
&gt;&gt; http://people.apache.org/~veithen/synapse/faq.html#cdata
&gt;&gt; suggestion, we tried creating XMLInputFactory.properties file
&gt;&gt; containing this single line - javax.xml.stream.isCoalescing=false
&gt;&gt;  and placed the file under WEB-INF/classes and retried, again the same result.
&gt;&gt;
&gt;&gt; We are using Axis21.4, XMLBeans 2.3.0, Tomcat 6.
&gt;&gt;
&gt;&gt; The other idea was to programatically replace the escape characters
&gt;&gt; using regular expressions - which I think is really not needed.
&gt;&gt;
&gt;&gt; Any help is highly appreciated.
&gt;&gt;
&gt;


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Axis2 1.4 not preserving CDATA</title>
<author><name>Andreas Veithen &lt;andreas.veithen@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/ws-axis-user/200912.mbox/%3cb67458760912071239o4c90171bw5a694497dc2d068@mail.gmail.com%3e"/>
<id>urn:uuid:%3cb67458760912071239o4c90171bw5a694497dc2d068@mail-gmail-com%3e</id>
<updated>2009-12-07T20:39:34Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
XMLInputFactory.properties can be used to preserve CDATA sections when
using Axiom to _parse_ an XML document (By default CDATA sections are
transformed to text nodes and coalesced with adjacent text nodes). On
the other hand, creating CDATA sections in output documents is
something that Axiom has always supported.

Probably what you are doing is to create an OMText node with type TEXT
and content "&lt;![CDATA[ROSEANNA]]&gt;". In the output document, this gets
of course escaped. What you need to do instead is to create an OMText
node with type CDATA and content "ROSEANNA".

Andreas

On Mon, Dec 7, 2009 at 20:45, Ramya K Grama &lt;ramyakgrama@gmail.com&gt; wrote:
&gt; Hello,
&gt; We have been having issues with CDATA not being preserved by Axis2.
&gt; In the response xml, the '&lt;' are escaped to '&amp;lt;'
&gt; So instead of &lt;someTagName&gt;&lt;![CDATA[ROSEANNA]]&gt;&lt;/someTagName&gt; we get
&gt; &lt;someTagName&gt;&amp;lt;![CDATA[ROSEANNA]]&amp;gt;&lt;/someTagName&gt; in the response.
&gt;
&gt; Reading this
&gt; http://people.apache.org/~veithen/synapse/faq.html#cdata
&gt; suggestion, we tried creating XMLInputFactory.properties file
&gt; containing this single line - javax.xml.stream.isCoalescing=false
&gt;  and placed the file under WEB-INF/classes and retried, again the same result.
&gt;
&gt; We are using Axis21.4, XMLBeans 2.3.0, Tomcat 6.
&gt;
&gt; The other idea was to programatically replace the escape characters
&gt; using regular expressions - which I think is really not needed.
&gt;
&gt; Any help is highly appreciated.
&gt;


</pre>
</div>
</content>
</entry>
<entry>
<title>Axis2 1.4 not preserving CDATA</title>
<author><name>Ramya K Grama &lt;ramyakgrama@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/ws-axis-user/200912.mbox/%3c3976ba360912071145g2a593ac3x111cb20051b7a1df@mail.gmail.com%3e"/>
<id>urn:uuid:%3c3976ba360912071145g2a593ac3x111cb20051b7a1df@mail-gmail-com%3e</id>
<updated>2009-12-07T19:45:00Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hello,
We have been having issues with CDATA not being preserved by Axis2.
In the response xml, the '&lt;' are escaped to '&amp;lt;'
So instead of &lt;someTagName&gt;&lt;![CDATA[ROSEANNA]]&gt;&lt;/someTagName&gt; we get
&lt;someTagName&gt;&amp;lt;![CDATA[ROSEANNA]]&amp;gt;&lt;/someTagName&gt; in the response.

Reading this
http://people.apache.org/~veithen/synapse/faq.html#cdata
suggestion, we tried creating XMLInputFactory.properties file
containing this single line - javax.xml.stream.isCoalescing=false
 and placed the file under WEB-INF/classes and retried, again the same result.

We are using Axis21.4, XMLBeans 2.3.0, Tomcat 6.

The other idea was to programatically replace the escape characters
using regular expressions - which I think is really not needed.

Any help is highly appreciated.


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Axis2 standalone server + Acegi</title>
<author><name>Sagara Gunathunga &lt;sagara.gunathunga@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/ws-axis-user/200912.mbox/%3c474d01b00912071035w119344dem527c3867fe962337@mail.gmail.com%3e"/>
<id>urn:uuid:%3c474d01b00912071035w119344dem527c3867fe962337@mail-gmail-com%3e</id>
<updated>2009-12-07T18:35:01Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
On Mon, Dec 7, 2009 at 10:37 PM, Philippe A. &lt;futhark77@gmail.com&gt; wrote:
&gt; Thanks Sagara. You have answered all there was to answer, even more than I
&gt; was hoping.
&gt;
&gt; I am a bit at the feasability stage. My concern was to find out if Acegi was
&gt; meant to be used within a webapp only. I glad to know it isn't. I have also
&gt; found in the Acegi documentation that Acegi "will execute in a Java 1.3
&gt; environment" [1].

Acegi designed as a security service for J2EE-based enterprise
applications, You may use some of the features of Acegi in a non web
application but in a webapp you can get full features of Acegi.

&gt;
&gt; Another question I have: has anyone published a complete Axis to Acegi
&gt; bridge (that is, not limited to username tokens)? I'm referring the bridge
&gt; concept in this article [2]. I found it great btw.

Rampart is a WS-Security module for Axis2 , in my last post i have
provided a reference to show how you can plug Acegi features in to
Rampart through the CallbackHandler. I took username tokens only as a
one example , you can use same integration concept for other security
requirements too.

The article you have mentioned is about how you can integrate Axis1
with Acegi by implementing a Axis Handler. If you want you can write a
Axis2 Handler and possible to use same design with a Axis2 custom
module, this guide [1] will help you to write Axis2 module. This is an
another approach to integrate Acegi with Axis2 without using Rampart
module.

[1] -  http://ws.apache.org/axis2/1_5_1/modules.html

thanks ,

&gt;
&gt; [1]
&gt; http://www.acegisecurity.org/guide/springsecurity.html#runtime-environment
&gt; [2]
&gt; http://onjava.com/onjava/2006/09/06/separation-of-concerns-in-web-services.html
&gt;
&gt; 2009/12/5 Sagara Gunathunga &lt;sagara.gunathunga@gmail.com&gt;
&gt;&gt;
&gt;&gt; Yes, there is no in-build integration between Axis2 and Acegi but it
&gt;&gt; doesn't imply you can't use Acegi with Axis2 or Rampart. If this
&gt;&gt; question related to "sufficient functionality" then the answer is
&gt;&gt; "yes".
&gt;&gt;
&gt;&gt; In case of Axis2, it's again simple as accessing to Spring
&gt;&gt; ApplicationContext , once you have access to the ApplicationContext
&gt;&gt; you can use Acegi features such as
&gt;&gt; AccessDecisionManager , AuthenticationManager etc. In most of the
&gt;&gt; cases this is enough to achieve Acegi Authentication/Authorization.
&gt;&gt; May be you will find some issues to achieve advanced features of Acegi
&gt;&gt; , if so reporting such instances is important to find out possible
&gt;&gt; solution too.
&gt;&gt;
&gt;&gt; But integrating Rampart with Acegi is a bit of a challenging task
&gt;&gt; because there is no API method available to access ApplicationContext
&gt;&gt; within the Rampart CallbackHandler . But it is possible to find a
&gt;&gt; work-around for this depending on your requirements. As a example this
&gt;&gt; one [1] worked Â with me for two of my past applications.
&gt;&gt;
&gt;&gt; [1] -
&gt;&gt; http://ssagara.blogspot.com/2009/05/acegi-spring-security-and-rampart.html
&gt;&gt;
&gt;&gt; Thanks,
&gt;&gt;
&gt;&gt;
&gt;&gt; On Sat, Dec 5, 2009 at 8:37 PM, Andreas Veithen
&gt;&gt; &lt;andreas.veithen@gmail.com&gt; wrote:
&gt;&gt; &gt; As far as I know, there is no out-of-the-box integration between Axis2
&gt;&gt; &gt; (and Rampart) and Acegi.
&gt;&gt; &gt;
&gt;&gt; &gt; Andreas
&gt;&gt; &gt;
&gt;&gt; &gt; On Fri, Dec 4, 2009 at 17:26, Philippe A. &lt;futhark77@gmail.com&gt; wrote:
&gt;&gt; &gt;&gt; Hello!
&gt;&gt; &gt;&gt;
&gt;&gt; &gt;&gt; I am currently reading on Acegi as we'd like to use it for our project.
&gt;&gt; &gt;&gt; Does
&gt;&gt; &gt;&gt; the axis2 standalone server have sufficient functionality to support
&gt;&gt; &gt;&gt; Acegi?
&gt;&gt; &gt;&gt;
&gt;&gt; &gt;&gt; Thanks!
&gt;&gt; &gt;&gt;
&gt;&gt; &gt;
&gt;&gt;
&gt;&gt;
&gt;&gt;
&gt;&gt; --
&gt;&gt; Sagara Gunathunga
&gt;&gt;
&gt;&gt; Blog - http://ssagara.blogspot.com
&gt;&gt; Web - http://people.apache.org/~sagara/
&gt;
&gt;



-- 
Sagara Gunathunga

Blog - http://ssagara.blogspot.com
Web - http://people.apache.org/~sagara/


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Axis2 standalone server + Acegi</title>
<author><name>&quot;Philippe A.&quot; &lt;futhark77@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/ws-axis-user/200912.mbox/%3ca7f866480912070907q1058e7dfy99a1d7277285a43a@mail.gmail.com%3e"/>
<id>urn:uuid:%3ca7f866480912070907q1058e7dfy99a1d7277285a43a@mail-gmail-com%3e</id>
<updated>2009-12-07T17:07:36Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Thanks Sagara. You have answered all there was to answer, even more than I
was hoping.

I am a bit at the feasability stage. My concern was to find out if Acegi was
meant to be used within a webapp only. I glad to know it isn't. I have also
found in the Acegi documentation that Acegi "will execute in a Java 1.3
environment" [1].

Another question I have: has anyone published a complete Axis to Acegi
bridge (that is, not limited to username tokens)? I'm referring the bridge
concept in this article [2]. I found it great btw.

[1]
http://www.acegisecurity.org/guide/springsecurity.html#runtime-environment
[2]
http://onjava.com/onjava/2006/09/06/separation-of-concerns-in-web-services.html

2009/12/5 Sagara Gunathunga &lt;sagara.gunathunga@gmail.com&gt;

&gt; Yes, there is no in-build integration between Axis2 and Acegi but it
&gt; doesn't imply you can't use Acegi with Axis2 or Rampart. If this
&gt; question related to "sufficient functionality" then the answer is
&gt; "yes".
&gt;
&gt; In case of Axis2, it's again simple as accessing to Spring
&gt; ApplicationContext , once you have access to the ApplicationContext
&gt; you can use Acegi features such as
&gt; AccessDecisionManager , AuthenticationManager etc. In most of the
&gt; cases this is enough to achieve Acegi Authentication/Authorization.
&gt; May be you will find some issues to achieve advanced features of Acegi
&gt; , if so reporting such instances is important to find out possible
&gt; solution too.
&gt;
&gt; But integrating Rampart with Acegi is a bit of a challenging task
&gt; because there is no API method available to access ApplicationContext
&gt; within the Rampart CallbackHandler . But it is possible to find a
&gt; work-around for this depending on your requirements. As a example this
&gt; one [1] worked  with me for two of my past applications.
&gt;
&gt; [1] -
&gt; http://ssagara.blogspot.com/2009/05/acegi-spring-security-and-rampart.html
&gt;
&gt; Thanks,
&gt;
&gt;
&gt; On Sat, Dec 5, 2009 at 8:37 PM, Andreas Veithen
&gt; &lt;andreas.veithen@gmail.com&gt; wrote:
&gt; &gt; As far as I know, there is no out-of-the-box integration between Axis2
&gt; &gt; (and Rampart) and Acegi.
&gt; &gt;
&gt; &gt; Andreas
&gt; &gt;
&gt; &gt; On Fri, Dec 4, 2009 at 17:26, Philippe A. &lt;futhark77@gmail.com&gt; wrote:
&gt; &gt;&gt; Hello!
&gt; &gt;&gt;
&gt; &gt;&gt; I am currently reading on Acegi as we'd like to use it for our project.
&gt; Does
&gt; &gt;&gt; the axis2 standalone server have sufficient functionality to support
&gt; Acegi?
&gt; &gt;&gt;
&gt; &gt;&gt; Thanks!
&gt; &gt;&gt;
&gt; &gt;
&gt;
&gt;
&gt;
&gt; --
&gt; Sagara Gunathunga
&gt;
&gt; Blog - http://ssagara.blogspot.com
&gt; Web - http://people.apache.org/~sagara/&lt;http://people.apache.org/%7Esagara/&gt;
&gt;


</pre>
</div>
</content>
</entry>
<entry>
<title>Newbie needs help/resources crafting AXIS2 services.xml</title>
<author><name>c-tech-aaxis@dagnon.net</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/ws-axis-user/200912.mbox/%3c640e6da79abdff1175582a5381b6afb8.squirrel@webmail.dagnon.net%3e"/>
<id>urn:uuid:%3c640e6da79abdff1175582a5381b6afb8-squirrel@webmail-dagnon-net%3e</id>
<updated>2009-12-07T16:14:18Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Good morning,

It appears my lack of being immersed in AXIS2 means nothing works quite
how I expect it to.  From a recent email on a different topic it sounds
like I need to set useOriginalwsdl in a services.xml file in my META-INF
directory for AXIS2 (1.3) to actually use the WSDL I was given.

Or perhaps part of the problem is that the WSDL is in META-INF/wsdl/ and
isn't where AXIS2 expects it to be?

Anyways, MyEclipse never generated a services.xml file.  In fact I'm just
deploying a WAR (what's an AAR?) which seems to be working but may be
confusing matters, what with combining JAX-WS and AXIS2.

The couple of brief examples of services.xml files I've found look to
recreate the basic definitions in the WSDL file, so I'm here in part to
ask for any good references to hand-crafting services.xml files -
primarily about what I need to include so the whole thing still works. 
Or... with my setup will it even try to read the services.xml file since
the basic web services have worked so far (just not successfully with
complex types)?

So is the XML at the end of this a complete services.xml file where the
WSDL has a line:
    &lt;wsdl:operation name="Foo"&gt;
and that service has types defined for the input and output?  Or do I need
to bring more of the WSDL into it?


Thanks,

-Chris


--- services.xml? ---
&lt;definition&gt;
  &lt;service name="Foo"&gt; &lt;/service&gt;
&lt;/definition&gt;
&lt;serviceGroup&gt;
  &lt;service name="Foo" scope="application"&gt;
    &lt;parameter name="useOriginalwsdl"&gt;true&lt;/parameter&gt;
  &lt;/service&gt;
&lt;/serviceGroup&gt;



</pre>
</div>
</content>
</entry>
<entry>
<title>AXIS 2 doesn't generate WSDL without access to the Internet!</title>
<author><name>Joe Smithian &lt;joe.smithian@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/ws-axis-user/200912.mbox/%3c96e7d6920912070813r56983510la31d6acc13fab182@mail.gmail.com%3e"/>
<id>urn:uuid:%3c96e7d6920912070813r56983510la31d6acc13fab182@mail-gmail-com%3e</id>
<updated>2009-12-07T16:13:28Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hi all,

I am working on a web service application using AXIS2 1.1.1 and Tomcat 6. It
requires DNS setup and access to the Internet when the service starts to
dynamical generate and validate the wsdl before making it avilable online.
I'm wondering if there is a way to generate WSDL without having access to
the Internet which is the case in private networks behind firewalls. If I
put a static, already validated WSDL file on the web server, would it be
enough for the client  code generation/applications?

Without DNS setup it replies the following error message when trying to
access the wsdl :
https://myHost/example/services/example?wsdl&lt;https://myhost/example/services/example?wsdl&gt;


&lt;error&gt;
&lt;description&gt;Unable to generate WSDL for this service&lt;/description&gt;
-
&lt;reason&gt;
If you wish Axis2 to automatically generate the WSDL, then please use one of
the RPC message receivers for the service(s)/operation(s) in services.xml.
If you have added a custom WSDL in the META-INF directory, then please make
sure that the name of the service in services.xml
(/serviceGroup/service/@name) is the same as in the custom wsdl's service
name (/wsdl:definitions/wsdl:
service/@name).
&lt;/reason&gt;
&lt;/error&gt;

The WSDL is in the proper place with the proper name as suggested above and
AXIS2 generates the WSDL without problem if it DNS has been setup in the
host with access to the Internet *when Tomcat restarts*.

I'd appreciate your help, I searched online but couldn't find the answer.

Thanks

Joe


</pre>
</div>
</content>
</entry>
<entry>
<title>axis2 happy page</title>
<author><name>Yasmany Cubela Medina &lt;ycubela@vcl.uci.cu&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/ws-axis-user/200912.mbox/%3c4B1D19E8.7070401@vcl.uci.cu%3e"/>
<id>urn:uuid:%3c4B1D19E8-7070401@vcl-uci-cu%3e</id>
<updated>2009-12-07T15:06:16Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
To: axis-user@ws.apache.org

Hi, im new in this technology and i have this error. The happy page of
axis2 not load and in the localhost.log file of apache tomcat 6 i have
this error


Dec 7, 2009 9:42:54 AM org.apache.catalina.core.StandardWrapperValve invoke
SEVERE: Servlet.service() for servlet jsp threw exception
java.security.AccessControlException: access denied
(java.util.PropertyPermission axis2.repo read)
	at
java.security.AccessControlContext.checkPermission(AccessControlContext.java:342)
	at
java.security.AccessController.checkPermission(AccessController.java:553)
	at java.lang.SecurityManager.checkPermission(SecurityManager.java:549)
	at java.lang.SecurityManager.checkPropertyAccess(SecurityManager.java:1302)
	at java.lang.System.getProperty(System.java:669)
	at
org.apache.axis2.deployment.FileSystemConfigurator.&lt;init&gt;(FileSystemConfigurator.java:55)
	at
org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContextFromFileSystem(ConfigurationContextFactory.java:206)
	at
org.apache.jsp.axis2_002dweb.HappyAxis_jsp.invokeTheService(HappyAxis_jsp.java:317)
	at
org.apache.jsp.axis2_002dweb.HappyAxis_jsp._jspService(HappyAxis_jsp.java:480)
	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
	at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
	at sun.reflect.GeneratedMethodAccessor46.invoke(Unknown Source)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:616)
	at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:269)
	at java.security.AccessController.doPrivileged(Native Method)
	at javax.security.auth.Subject.doAsPrivileged(Subject.java:537)
	at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:301)
	at
org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:162)
	at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:283)
	at
org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:56)
	at
org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:189)
	at java.security.AccessController.doPrivileged(Native Method)
	at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:185)
	at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
	at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
	at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
	at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
	at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
	at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
	at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849)
	at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
	at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454)
	at java.lang.Thread.run(Thread.java:636)


please if any answare i thanks.

PD: excuse my bad English
-- 
Haríamos muchas mas cosas si creyéramos que son muchas menos las imposibles

Ing Yasmany Cubela Medina:
Linux  user 446757
Ubuntu user 13464


</pre>
</div>
</content>
</entry>
<entry>
<title>axis2 1.5.1 wsdl2java --all-ports</title>
<author><name>Alex &lt;devnsl01@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/ws-axis-user/200912.mbox/%3c4B1CFEE0.3060104@gmail.com%3e"/>
<id>urn:uuid:%3c4B1CFEE0-3060104@gmail-com%3e</id>
<updated>2009-12-07T13:10:56Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
hi all,

i have a wsdl with 3 ports defined, when I build the service skleton 
with wsdl2java i only get one port.

here is my ant-task

    &lt;target name="wsdl2java" depends="clean,prepare"&gt;
        &lt;delete dir="${output}" /&gt;
        &lt;java classname="org.apache.axis2.wsdl.WSDL2Java" fork="true"&gt;
            &lt;classpath refid="axis.classpath" /&gt;
            &lt;arg value="-d" /&gt;
            &lt;arg value="none" /&gt;
            &lt;arg value="-uri" /&gt;
            &lt;arg file="${PATH2WSDL}" /&gt;
            &lt;arg value="-ss" /&gt;
            &lt;arg value="-g" /&gt;
            &lt;arg value="-sd" /&gt;
            &lt;arg value="-or" /&gt;
            &lt;arg value="-o" /&gt;
            &lt;arg file="${output}" /&gt;
            &lt;arg value="-p" /&gt;
            &lt;arg value="${package}" /&gt;
            &lt;arg value="-ap" /&gt;
        &lt;/java&gt;

        &lt;!-- Move the schema folder to classpath--&gt;
        &lt;move todir="${build.classes}"&gt;
            &lt;fileset dir="${output}/resources"&gt;
                &lt;include name="**/*schema*/**/*.class" /&gt;
                &lt;include name="**/*schema*/**/*.xsb" /&gt;
            &lt;/fileset&gt;
        &lt;/move&gt;

    &lt;/target&gt;

as you can see i use the -ap or --all-ports option but only one port is 
generatet

do you have any idea, is it a bug?

thank you, so long alex


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: XSLT link in WSDL removed when deployed</title>
<author><name>=?ISO-8859-1?Q?H=E5kon_Sagehaug?= &lt;hakon.sagehaug@uni.no&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/ws-axis-user/200912.mbox/%3cd535d76f0912070425n7edf2b8fnd77028c667d85e82@mail.gmail.com%3e"/>
<id>urn:uuid:%3cd535d76f0912070425n7edf2b8fnd77028c667d85e82@mail-gmail-com%3e</id>
<updated>2009-12-07T12:25:17Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
hi charles,

I've tried that and it don't seem to have any effect.


2009/12/4 Charles Galpin &lt;cgalpin@lhsw.com&gt;

&gt; Hi Håkon
&gt;
&gt; Axis generates it's own WSDL dynamically. If you want to serve a static
&gt; copy of it you have to edit the services.xml and  ser a parameter
&gt; "useOriginalwsdl" to true and possibly "modifyUserWSDLPortAddress" to
&gt; false in order to serve your original WSDL.
&gt;
&gt; hth
&gt; charles
&gt;
&gt; On Dec 3, 2009, at 3:31 AM, Håkon Sagehaug wrote:
&gt;
&gt; Hi all,
&gt;
&gt; I got a service with a WSDL that contains a link to a XSLT stylesheet, but
&gt; when i deploy my service it looks like the link is removed from the WSDL,
&gt; anyone experienced this before ?
&gt;
&gt;
&gt;
&gt; cheers, Håkon
&gt;
&gt;
&gt;


</pre>
</div>
</content>
</entry>
<entry>
<title>given php sample - need java code with axis</title>
<author><name>chris_l &lt;c.luef@webfreetv.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/ws-axis-user/200912.mbox/%3c26675338.post@talk.nabble.com%3e"/>
<id>urn:uuid:%3c26675338-post@talk-nabble-com%3e</id>
<updated>2009-12-07T10:31:47Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>

Hello,

I am a newbie in webservices, i have got a php sample for a soap-client but
don't know how to do it in java, here is the sample:

&lt;?
$arr_soapClientOpt = array('exceptions' =&gt;    0,
                           'login'      =&gt;    $USERNAME,
                           'password'   =&gt;    $PASSWORD,
                           'encoding'    =&gt;    "ISO-8859-1",
                           'use'        =&gt;    SOAP_ENCODED);
try {
    $client = new SoapClient($PATH_TO_WSDL, $arr_soapClientOpt);
} catch (SoapFault $fault) {
    // error Handling    
}

if (is_object($client)) {
    $client-&gt;__setCookie ("ID",$ID);
    $result = $client-&gt;test();
...

My attempt:

Call call;
try {
			
String endpoint = "pathToEndpoint";
Service service = new Service();
call = (Call) service.createCall();
call.setTargetEndpointAddress (new java.net.URL (endpoint));
call.setUsername("username");
call.setPassword("password");
call.setProperty(HTTPConstants.HEADER_COOKIE, "ID=1");
QName operation = new QName("test");
Object[] params = new Object[] {};
String result = (String)call.invoke(operation, params);
			} catch (Exception e) {
				log.error("", e);
			}

Could anyone please tell me if this right? 

Thanks!
-- 
View this message in context: http://old.nabble.com/given-php-sample---need-java-code-with-axis-tp26675338p26675338.html
Sent from the Axis - User mailing list archive at Nabble.com.



</pre>
</div>
</content>
</entry>
<entry>
<title>What this WS-I error Means</title>
<author><name>Appasamy Thirugnana &lt;athirugnana@sapient.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/ws-axis-user/200912.mbox/%3cA174AAD0831A0647A9DD2993F579B627176BEC0D70@BANGMAIL.sapient.com%3e"/>
<id>urn:uuid:%3cA174AAD0831A0647A9DD2993F579B627176BEC0D70@BANGMAIL-sapient-com%3e</id>
<updated>2009-12-06T07:39:35Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
I am getting a warning with my WSDL like this if I validate it.

"WS-I: (BP2032) Defective soapbind:fault element: the "name" attribute value does not match
the value of the "name" attribute on the parent element wsdl:fault. "

What it means exactly as I am not able to see any fault with my WSDL.


Thanks,
Appu




</pre>
</div>
</content>
</entry>
<entry>
<title>WSDL errors on AXIS/2 but works elsewhere?</title>
<author><name>c-tech-aaxis@dagnon.net</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/ws-axis-user/200912.mbox/%3c4bbbf6f6d27afbfd4891eb1d022253f9.squirrel@webmail.dagnon.net%3e"/>
<id>urn:uuid:%3c4bbbf6f6d27afbfd4891eb1d022253f9-squirrel@webmail-dagnon-net%3e</id>
<updated>2009-12-06T05:36:04Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Hello all,

BACKGROUND: I have a WSDL file which others are successfully using.  I
have generated the background code and all structures from it (with a
slightly older MyEclipse), and sending/receiving dummy data works for the
basics.  This is also my first time creating a web service from a provided
WSDL.

PROBLEM: Using the Eclipse SOAP Explorer I query for and get the WSDL
file, but it also shows a slew of validation errors.  Meanwhile the
company who created the WSDL uses another SOAP client and they don't see
the errors, just the partial WSDL.  When I hit the same URL with a web
browser it shows the XML, but it is about 1/8 of the original file size
(5k instead of 42k).  The most obvious problem is that every
xs:complexType is missing from the returned WSDL - in fact the xsd:schema
definitions are empty except for the import tags which are being reported
as errors (see below).

I thought the XML itself was corrupt or the namespace URLs (which I don't
think are valid URLs) were the problem, but others have confirmed that
they are using the same WSDL successfully even though I had problems with
it in the w3 validator.  I also wondered if it was because of some
networking/firewall issues, but the referenced targetNamespace is pingable
from the development machine and server.

At this point I'm grasping at straws to identify where the problem is
happening (within JAX-WS? AXIS? Apache? Tomcat?), let alone the cause of
the problem and what I can do about it.  Maybe I have some mis-matched JAR
files - at least on the server I used findjar to solve Java problems.  The
problem with that theory is that MyEclipse's internal server should be
JAR-consistent but has the same problems serving the WSDL.


Thanks for any feedback!

-Chris

--------- part of errors reported from SOAP Explorer:
IWAB0380E Errors were encountered while validating XML schemas.
XSD: Type reference
'http://customerlookup.domain.webservice.midtier.websolutions.dcs/xsd#CustomerInformationInput'
is unresolved
XSD: Type reference
'http://customerlookup.domain.webservice.midtier.websolutions.dcs/xsd#CustomerInformationOutput'
is unresolved
...
XSD: The location 'http://server:8080/test/webservice?xsd=5' has not been
resolved because the import is unused
XSD: There is no xmlns declaration for namespace
'http://customerlookup.domain.webservice.midtier.websolutions.dcs/xsd'
IWAB0381I http://server:8080/test/webservice?wsdl was successfully open



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Axis2-1.4: problem compiling</title>
<author><name>Gerry Reno &lt;greno@verizon.net&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/ws-axis-user/200912.mbox/%3c4B1AEED9.3020309@verizon.net%3e"/>
<id>urn:uuid:%3c4B1AEED9-3020309@verizon-net%3e</id>
<updated>2009-12-05T23:38:01Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Ok, now it is building to completion successfully but the build still 
has some problems:

Everytime I run the build, even in a clean .m2,  I see this:

[INFO] [clean:clean {execution: default-clean}]
[WARNING] POM for 
'org.apache.maven.doxia:doxia-core:pom:1.0-alpha-11:runtime' is invalid.

Its dependencies (if any) will NOT be available to the current build.
[WARNING] POM for 
'org.apache.maven.doxia:doxia-sink-api:pom:1.0-alpha-11:runtime' is invalid.

Its dependencies (if any) will NOT be available to the current build.
[WARNING] POM for 
'org.apache.maven.doxia:doxia-module-apt:pom:1.0-alpha-11:runtime' is 
invalid.

Its dependencies (if any) will NOT be available to the current build.
[WARNING] POM for 
'org.apache.maven.doxia:doxia-module-fml:pom:1.0-alpha-11:runtime' is 
invalid.

Its dependencies (if any) will NOT be available to the current build.
[WARNING] POM for 
'org.apache.maven.doxia:doxia-module-xdoc:pom:1.0-alpha-11:runtime' is 
invalid.

Its dependencies (if any) will NOT be available to the current build.
[INFO] [site:attach-descriptor {execution: default-attach-descriptor}]
[INFO] [install:install {execution: default-install}]
[INFO] Installing 
/home/greno/redhat/tmp/axis2-1.4/modules/parent/pom.xml to 
/home/greno/redhat/axis2-1.4/.m2/repository/org/apache/axis2/axis2-parent/1.4/axis2-parent-1.4.pom

and at the end of the run I have missing jars for doxia that correspond 
to these classes.  What is causing this?

-Gerry



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Axis2-1.4: problem compiling</title>
<author><name>Gerry Reno &lt;greno@verizon.net&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/ws-axis-user/200912.mbox/%3c4B1AB076.4080003@verizon.net%3e"/>
<id>urn:uuid:%3c4B1AB076-4080003@verizon-net%3e</id>
<updated>2009-12-05T19:11:50Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Gerry Reno wrote:
&gt; Gerry Reno wrote:
&gt;&gt; Gerry Reno wrote:
&gt;&gt;&gt; What is wrong with repos?
&gt;&gt;&gt;
&gt;&gt;&gt; [INFO] Installing 
&gt;&gt;&gt; /home/greno/redhat/tmp/axis2-1.4/target/lib/axis2-1.4.jar to 
&gt;&gt;&gt; /home/greno/redhat/axis2-1.4/.m2/repository/org/apache/axis2/axis2/1.4/axis2-1.4.jar

&gt;&gt;&gt;
&gt;&gt;&gt; [INFO] 
&gt;&gt;&gt; ------------------------------------------------------------------------ 
&gt;&gt;&gt;
&gt;&gt;&gt; [INFO] Building Apache Axis2 - tool - Eclipse Codegen Plugin
&gt;&gt;&gt; [INFO]    task-segment: [clean, install]
&gt;&gt;&gt; [INFO] 
&gt;&gt;&gt; ------------------------------------------------------------------------ 
&gt;&gt;&gt;
&gt;&gt;&gt; [INFO] [clean:clean {execution: default-clean}]
&gt;&gt;&gt; [INFO] [plugin:descriptor {execution: default-descriptor}]
&gt;&gt;&gt; [INFO] Using 2 extractors.
&gt;&gt;&gt; [INFO] Applying extractor for language: java
&gt;&gt;&gt; [INFO] Extractor for language: java found 0 mojo descriptors.
&gt;&gt;&gt; [INFO] Applying extractor for language: bsh
&gt;&gt;&gt; [INFO] Extractor for language: bsh found 0 mojo descriptors.
&gt;&gt;&gt; [INFO] [resources:resources {execution: default-resources}]
&gt;&gt;&gt; [WARNING] Using platform encoding (ANSI_X3.4-1968 actually) to copy 
&gt;&gt;&gt; filtered resources, i.e. build is platform dependent!
&gt;&gt;&gt; [INFO] Copying 2 resources
&gt;&gt;&gt; [INFO] Copying 23 resources
&gt;&gt;&gt; [INFO] artifact 
&gt;&gt;&gt; org.eclipse.core:org.eclipse.core.runtime.compatibility: checking 
&gt;&gt;&gt; for updates from apache-ws-snapshots2
&gt;&gt;&gt; [INFO] artifact 
&gt;&gt;&gt; org.eclipse.core:org.eclipse.core.runtime.compatibility: checking 
&gt;&gt;&gt; for updates from tomcat-repository
&gt;&gt;&gt; [INFO] artifact 
&gt;&gt;&gt; org.eclipse.core:org.eclipse.core.runtime.compatibility: checking 
&gt;&gt;&gt; for updates from eclipse-repo
&gt;&gt;&gt; [INFO] artifact 
&gt;&gt;&gt; org.eclipse.core:org.eclipse.core.runtime.compatibility: checking 
&gt;&gt;&gt; for updates from java.net
&gt;&gt;&gt; [WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = 
&gt;&gt;&gt; '0814d7172001035c6f87508922a46f84c602fd5e'; remote = '&lt;!DOCTYPE' - 
&gt;&gt;&gt; RETRYING
&gt;&gt;&gt; [WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = 
&gt;&gt;&gt; '0814d7172001035c6f87508922a46f84c602fd5e'; remote = '&lt;!DOCTYPE' - 
&gt;&gt;&gt; IGNORING
&gt;&gt;&gt; [INFO] artifact 
&gt;&gt;&gt; org.eclipse.core:org.eclipse.core.runtime.compatibility: checking 
&gt;&gt;&gt; for updates from central
&gt;&gt;&gt; [INFO] 
&gt;&gt;&gt; ------------------------------------------------------------------------ 
&gt;&gt;&gt;
&gt;&gt;&gt; [ERROR] BUILD ERROR
&gt;&gt;&gt; [INFO] 
&gt;&gt;&gt; ------------------------------------------------------------------------ 
&gt;&gt;&gt;
&gt;&gt;&gt; [INFO] Failed to resolve artifact.
&gt;&gt;&gt;
&gt;&gt;&gt; Unable to get dependency information: Unable to read local copy of 
&gt;&gt;&gt; metadata: Cannot read metadata from 
&gt;&gt;&gt; '/home/greno/redhat/axis2-1.4/.m2/repository/org/eclipse/core/org.eclipse.core.runtime.compatibility/maven-metadata-java.net.xml':

&gt;&gt;&gt; end tag name &lt;/body&gt; must match start tag name &lt;hr&gt; from line 7 
&gt;&gt;&gt; (position: TEXT seen ...&lt;/address&gt;\n&lt;/body&gt;... @9:8)
&gt;&gt;&gt;  org.eclipse.core:org.eclipse.core.runtime.compatibility:jar:null
&gt;&gt;&gt;
&gt;&gt;&gt; from the specified remote repositories:
&gt;&gt;&gt;  apache.snapshots 
&gt;&gt;&gt; (http://people.apache.org/repo/m2-snapshot-repository),
&gt;&gt;&gt;  eclipse-repo (http://repo1.maven.org/eclipse),
&gt;&gt;&gt;  central (http://repo1.maven.org/maven2),
&gt;&gt;&gt;  tomcat-repository (http://tomcat.apache.org/dev/dist/m2-repository),
&gt;&gt;&gt;  java.net (https://maven-repository.dev.java.net/nonav/repository/),
&gt;&gt;&gt;  apache-ws-snapshots2 (http://ws.zones.apache.org/repository2)
&gt;&gt;&gt;
&gt;&gt;&gt; Path to dependency:
&gt;&gt;&gt;        1) 
&gt;&gt;&gt; org.apache.axis2:axis2.eclipse.codegen.plugin:maven-plugin:1.4
&gt;&gt;&gt;        2) org.eclipse.core:org.eclipse.core.resources:jar:3.2.0
&gt;&gt;&gt;
&gt;&gt;&gt;
&gt;&gt;&gt;
&gt;&gt;&gt; [INFO] 
&gt;&gt;&gt; ------------------------------------------------------------------------ 
&gt;&gt;&gt;
&gt;&gt;&gt; [INFO] For more information, run Maven with the -e switch
&gt;&gt;&gt; [INFO] 
&gt;&gt;&gt; ------------------------------------------------------------------------ 
&gt;&gt;&gt;
&gt;&gt;&gt; [INFO] Total time: 6 minutes 7 seconds
&gt;&gt;&gt; [INFO] Finished at: Fri Dec 04 23:06:07 EST 2009
&gt;&gt;&gt; [INFO] Final Memory: 221M/381M
&gt;&gt;&gt; [INFO] 
&gt;&gt;&gt; ------------------------------------------------------------------------ 
&gt;&gt;&gt;
&gt;&gt;&gt; error: Bad exit status from /home/greno/redhat/tmp/rpm-tmp.GKwswx 
&gt;&gt;&gt; (%build)
&gt;&gt;&gt;
&gt;&gt;&gt;
&gt;&gt;&gt; RPM build errors:
&gt;&gt;&gt;    Bad exit status from /home/greno/redhat/tmp/rpm-tmp.GKwswx (%build)
&gt;&gt;&gt;
&gt;&gt;&gt;
&gt;&gt;&gt;
&gt;&gt; When I check the file that it is complaining about this is what it has:
&gt;&gt; &lt;!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"&gt;
&gt;&gt; &lt;html&gt;&lt;head&gt;
&gt;&gt; &lt;title&gt;301 Moved Permanently&lt;/title&gt;
&gt;&gt; &lt;/head&gt;&lt;body&gt;
&gt;&gt; &lt;h1&gt;Moved Permanently&lt;/h1&gt;
&gt;&gt; &lt;p&gt;The document has moved &lt;a 
&gt;&gt; href="http://download.java.net/maven/1/org.eclipse.core/poms/maven-metadata.xml"&gt;here&lt;/a&gt;.&lt;/p&gt;

&gt;&gt;
&gt;&gt; &lt;hr&gt;
&gt;&gt; &lt;address&gt;Apache Server at maven-repository.dev.java.net Port 
&gt;&gt; 443&lt;/address&gt;
&gt;&gt; &lt;/body&gt;&lt;/html&gt;
&gt;&gt;
&gt;&gt; So what and where do I need to change to fix this problem?
&gt;&gt;
&gt;&gt; -Gerry
&gt;&gt;
&gt;&gt;
&gt; I tried adding this into settings.xml but it didn't change anything:
&gt;  &lt;mirrors&gt;
&gt;        &lt;mirror&gt;
&gt;                &lt;id&gt;java.net&lt;/id&gt;
&gt;                &lt;name&gt;Mirror of 
&gt; https://maven-repository.dev.java.net/nonav/repository/&lt;/name&gt;
&gt;                &lt;url&gt;http://download.java.net/maven/1/&lt;/url&gt;
&gt;                &lt;mirrorOf&gt;java.net&lt;/mirrorOf&gt;
&gt;        &lt;/mirror&gt;
&gt;  &lt;/mirrors&gt;
&gt;
&gt; I still got same error after adding the above.  Is there something 
&gt; else that will workaround this redirect problem?
&gt;
&gt; -Gerry
&gt;
&gt;
Ok, I got it working by removing this directory:
/home/greno/redhat/axis2-1.4/.m2/repository/org/eclipse/core/org.eclipse.core.runtime.compatibility
and then rerunning the install

-Gerry



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Axis2-1.4: problem compiling</title>
<author><name>Gerry Reno &lt;greno@verizon.net&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/ws-axis-user/200912.mbox/%3c4B1AA7C3.5000507@verizon.net%3e"/>
<id>urn:uuid:%3c4B1AA7C3-5000507@verizon-net%3e</id>
<updated>2009-12-05T18:34:43Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Gerry Reno wrote:
&gt; Gerry Reno wrote:
&gt;&gt; What is wrong with repos?
&gt;&gt;
&gt;&gt; [INFO] Installing 
&gt;&gt; /home/greno/redhat/tmp/axis2-1.4/target/lib/axis2-1.4.jar to 
&gt;&gt; /home/greno/redhat/axis2-1.4/.m2/repository/org/apache/axis2/axis2/1.4/axis2-1.4.jar

&gt;&gt;
&gt;&gt; [INFO] 
&gt;&gt; ------------------------------------------------------------------------
&gt;&gt; [INFO] Building Apache Axis2 - tool - Eclipse Codegen Plugin
&gt;&gt; [INFO]    task-segment: [clean, install]
&gt;&gt; [INFO] 
&gt;&gt; ------------------------------------------------------------------------
&gt;&gt; [INFO] [clean:clean {execution: default-clean}]
&gt;&gt; [INFO] [plugin:descriptor {execution: default-descriptor}]
&gt;&gt; [INFO] Using 2 extractors.
&gt;&gt; [INFO] Applying extractor for language: java
&gt;&gt; [INFO] Extractor for language: java found 0 mojo descriptors.
&gt;&gt; [INFO] Applying extractor for language: bsh
&gt;&gt; [INFO] Extractor for language: bsh found 0 mojo descriptors.
&gt;&gt; [INFO] [resources:resources {execution: default-resources}]
&gt;&gt; [WARNING] Using platform encoding (ANSI_X3.4-1968 actually) to copy 
&gt;&gt; filtered resources, i.e. build is platform dependent!
&gt;&gt; [INFO] Copying 2 resources
&gt;&gt; [INFO] Copying 23 resources
&gt;&gt; [INFO] artifact 
&gt;&gt; org.eclipse.core:org.eclipse.core.runtime.compatibility: checking for 
&gt;&gt; updates from apache-ws-snapshots2
&gt;&gt; [INFO] artifact 
&gt;&gt; org.eclipse.core:org.eclipse.core.runtime.compatibility: checking for 
&gt;&gt; updates from tomcat-repository
&gt;&gt; [INFO] artifact 
&gt;&gt; org.eclipse.core:org.eclipse.core.runtime.compatibility: checking for 
&gt;&gt; updates from eclipse-repo
&gt;&gt; [INFO] artifact 
&gt;&gt; org.eclipse.core:org.eclipse.core.runtime.compatibility: checking for 
&gt;&gt; updates from java.net
&gt;&gt; [WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = 
&gt;&gt; '0814d7172001035c6f87508922a46f84c602fd5e'; remote = '&lt;!DOCTYPE' - 
&gt;&gt; RETRYING
&gt;&gt; [WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = 
&gt;&gt; '0814d7172001035c6f87508922a46f84c602fd5e'; remote = '&lt;!DOCTYPE' - 
&gt;&gt; IGNORING
&gt;&gt; [INFO] artifact 
&gt;&gt; org.eclipse.core:org.eclipse.core.runtime.compatibility: checking for 
&gt;&gt; updates from central
&gt;&gt; [INFO] 
&gt;&gt; ------------------------------------------------------------------------
&gt;&gt; [ERROR] BUILD ERROR
&gt;&gt; [INFO] 
&gt;&gt; ------------------------------------------------------------------------
&gt;&gt; [INFO] Failed to resolve artifact.
&gt;&gt;
&gt;&gt; Unable to get dependency information: Unable to read local copy of 
&gt;&gt; metadata: Cannot read metadata from 
&gt;&gt; '/home/greno/redhat/axis2-1.4/.m2/repository/org/eclipse/core/org.eclipse.core.runtime.compatibility/maven-metadata-java.net.xml':

&gt;&gt; end tag name &lt;/body&gt; must match start tag name &lt;hr&gt; from line 7 
&gt;&gt; (position: TEXT seen ...&lt;/address&gt;\n&lt;/body&gt;... @9:8)
&gt;&gt;  org.eclipse.core:org.eclipse.core.runtime.compatibility:jar:null
&gt;&gt;
&gt;&gt; from the specified remote repositories:
&gt;&gt;  apache.snapshots 
&gt;&gt; (http://people.apache.org/repo/m2-snapshot-repository),
&gt;&gt;  eclipse-repo (http://repo1.maven.org/eclipse),
&gt;&gt;  central (http://repo1.maven.org/maven2),
&gt;&gt;  tomcat-repository (http://tomcat.apache.org/dev/dist/m2-repository),
&gt;&gt;  java.net (https://maven-repository.dev.java.net/nonav/repository/),
&gt;&gt;  apache-ws-snapshots2 (http://ws.zones.apache.org/repository2)
&gt;&gt;
&gt;&gt; Path to dependency:
&gt;&gt;        1) org.apache.axis2:axis2.eclipse.codegen.plugin:maven-plugin:1.4
&gt;&gt;        2) org.eclipse.core:org.eclipse.core.resources:jar:3.2.0
&gt;&gt;
&gt;&gt;
&gt;&gt;
&gt;&gt; [INFO] 
&gt;&gt; ------------------------------------------------------------------------
&gt;&gt; [INFO] For more information, run Maven with the -e switch
&gt;&gt; [INFO] 
&gt;&gt; ------------------------------------------------------------------------
&gt;&gt; [INFO] Total time: 6 minutes 7 seconds
&gt;&gt; [INFO] Finished at: Fri Dec 04 23:06:07 EST 2009
&gt;&gt; [INFO] Final Memory: 221M/381M
&gt;&gt; [INFO] 
&gt;&gt; ------------------------------------------------------------------------
&gt;&gt; error: Bad exit status from /home/greno/redhat/tmp/rpm-tmp.GKwswx 
&gt;&gt; (%build)
&gt;&gt;
&gt;&gt;
&gt;&gt; RPM build errors:
&gt;&gt;    Bad exit status from /home/greno/redhat/tmp/rpm-tmp.GKwswx (%build)
&gt;&gt;
&gt;&gt;
&gt;&gt;
&gt; When I check the file that it is complaining about this is what it has:
&gt; &lt;!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"&gt;
&gt; &lt;html&gt;&lt;head&gt;
&gt; &lt;title&gt;301 Moved Permanently&lt;/title&gt;
&gt; &lt;/head&gt;&lt;body&gt;
&gt; &lt;h1&gt;Moved Permanently&lt;/h1&gt;
&gt; &lt;p&gt;The document has moved &lt;a 
&gt; href="http://download.java.net/maven/1/org.eclipse.core/poms/maven-metadata.xml"&gt;here&lt;/a&gt;.&lt;/p&gt;

&gt;
&gt; &lt;hr&gt;
&gt; &lt;address&gt;Apache Server at maven-repository.dev.java.net Port 
&gt; 443&lt;/address&gt;
&gt; &lt;/body&gt;&lt;/html&gt;
&gt;
&gt; So what and where do I need to change to fix this problem?
&gt;
&gt; -Gerry
&gt;
&gt;
I tried adding this into settings.xml but it didn't change anything:
  &lt;mirrors&gt;
        &lt;mirror&gt;
                &lt;id&gt;java.net&lt;/id&gt;
                &lt;name&gt;Mirror of 
https://maven-repository.dev.java.net/nonav/repository/&lt;/name&gt;
                &lt;url&gt;http://download.java.net/maven/1/&lt;/url&gt;
                &lt;mirrorOf&gt;java.net&lt;/mirrorOf&gt;
        &lt;/mirror&gt;
  &lt;/mirrors&gt;

I still got same error after adding the above.  Is there something else 
that will workaround this redirect problem?

-Gerry



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: java.util.date convertion to UnsignedInt problem</title>
<author><name>Anup Mayank &lt;anup.mayank@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/ws-axis-user/200912.mbox/%3c469192b00912050902q20f7ab77w906f23b05641010a@mail.gmail.com%3e"/>
<id>urn:uuid:%3c469192b00912050902q20f7ab77w906f23b05641010a@mail-gmail-com%3e</id>
<updated>2009-12-05T17:02:46Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
use unsigned long

On Fri, Dec 4, 2009 at 11:29 PM, ram &lt;ram_kurra@yahoo.co.in&gt; wrote:

&gt; can any one suggest me how to fix this issue.
&gt;
&gt; Thanks &amp; Regards,
&gt; Ram
&gt;
&gt;
&gt; --- On *Fri, 4/12/09, Anup Mayank &lt;anup.mayank@gmail.com&gt;* wrote:
&gt;
&gt;
&gt; From: Anup Mayank &lt;anup.mayank@gmail.com&gt;
&gt; Subject: Re: java.util.date convertion to UnsignedInt problem
&gt; To: axis-user@ws.apache.org
&gt; Date: Friday, 4 December, 2009, 9:55 PM
&gt;
&gt;
&gt; Yes you are right about the long values. But it looks like UnsignedInt
&gt; doesn't accept all long values. In java signed int is -2,147,483,648 to
&gt; 2,147,483,647. So UnsignedInt implementation simply accepts something in the
&gt; range of 0-4294967295. We need to understand the basic difference between
&gt; unsigned int and a long value.
&gt;
&gt; Hope it helps.
&gt; Anup
&gt;
&gt; On Fri, Dec 4, 2009 at 8:18 AM, ram &lt;ram_kurra@yahoo.co.in&lt;http://mc/compose?to=ram_kurra@yahoo.co.in&gt;
&gt; &gt; wrote:
&gt;
&gt;&gt;  Hi Anup,
&gt;&gt;     thats true, but long datatype range is
&gt;&gt;
&gt;&gt; *long*: The long data type is a 64-bit signed two's complement integer.
&gt;&gt; It has a minimum value of -9,223,372,036,854,775,808 and a maximum value of
&gt;&gt; 9,223,372,036,854,775,807 (inclusive).
&gt;&gt;
&gt;&gt;        so its is in the range of long only,   new UnsignedInt(long)
&gt;&gt; throwing exception, its little bit strange.
&gt;&gt;
&gt;&gt; Thanks &amp; Regards,
&gt;&gt; Ram
&gt;&gt;
&gt;&gt;
&gt;&gt; --- On *Fri, 4/12/09, Anup Mayank &lt;anup.mayank@gmail.com&lt;http://mc/compose?to=anup.mayank@gmail.com&gt;
&gt;&gt; &gt;* wrote:
&gt;&gt;
&gt;&gt;
&gt;&gt; From: Anup Mayank &lt;anup.mayank@gmail.com&lt;http://mc/compose?to=anup.mayank@gmail.com&gt;
&gt;&gt; &gt;
&gt;&gt; Subject: Re: java.util.date convertion to UnsignedInt problem
&gt;&gt; To: axis-user@ws.apache.org&lt;http://mc/compose?to=axis-user@ws.apache.org&gt;
&gt;&gt; Date: Friday, 4 December, 2009, 9:43 PM
&gt;&gt;
&gt;&gt;
&gt;&gt; /** validate the value against the xsd definition */  79 public static
&gt;&gt; boolean isValid(long iValue) {  80 return !((iValue &lt; 0L) || (iValue &gt;
&gt;&gt; 4294967295L));  81 }
&gt;&gt; This is the source code of Unsigned int where it validates if a number is
&gt;&gt; of proper value or not. I am not sure how the particular max number is
&gt;&gt; chosen. But since your date value is out of range it is throwing exception.
&gt;&gt; Axis folks please explain this range?
&gt;&gt;
&gt;&gt; Anup
&gt;&gt; On Fri, Dec 4, 2009 at 8:01 AM, ram &lt;ram_kurra@yahoo.co.in&lt;http://mc/compose?to=ram_kurra@yahoo.co.in&gt;
&gt;&gt; &gt; wrote:
&gt;&gt;
&gt;&gt;&gt;  Hi,
&gt;&gt;&gt;    I am trying to convert java.util.date to UnsignedInt(). I am getting
&gt;&gt;&gt; NumberFormatException
&gt;&gt;&gt; I am fetching the date from database.  I am converting unsignedInt()
&gt;&gt;&gt; like the following
&gt;&gt;&gt;
&gt;&gt;&gt;  new UnsignedInt(info.getdate.getTime())
&gt;&gt;&gt;
&gt;&gt;&gt;     when i print date i am getting 1259937492847.      so where do i am
&gt;&gt;&gt; doing mistake.
&gt;&gt;&gt;  Can any onehelp to fix this issue.
&gt;&gt;&gt;
&gt;&gt;&gt;
&gt;&gt;&gt; Thanks &amp; Regards,
&gt;&gt;&gt; Ram
&gt;&gt;&gt;
&gt;&gt;&gt; ------------------------------
&gt;&gt;&gt; The INTERNET now has a personality. YOURS! See your Yahoo! Homepage&lt;http://in.rd.yahoo.com/tagline_yyi_1/*http://in.yahoo.com/&gt;
&gt;&gt;&gt; .
&gt;&gt;&gt;
&gt;&gt;
&gt;&gt;
&gt;&gt; ------------------------------
&gt;&gt; The INTERNET now has a personality. YOURS! See your Yahoo! Homepage&lt;http://in.rd.yahoo.com/tagline_yyi_1/*http://in.yahoo.com/&gt;
&gt;&gt; .
&gt;&gt;
&gt;
&gt;
&gt; ------------------------------
&gt; The INTERNET now has a personality. YOURS! See your Yahoo! Homepage&lt;http://in.rd.yahoo.com/tagline_yyi_1/*http://in.yahoo.com/&gt;
&gt; .
&gt;


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Axis2 standalone server + Acegi</title>
<author><name>Sagara Gunathunga &lt;sagara.gunathunga@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/ws-axis-user/200912.mbox/%3c474d01b00912050815s16389dd9xdf799c80334b0974@mail.gmail.com%3e"/>
<id>urn:uuid:%3c474d01b00912050815s16389dd9xdf799c80334b0974@mail-gmail-com%3e</id>
<updated>2009-12-05T16:15:48Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Yes, there is no in-build integration between Axis2 and Acegi but it
doesn't imply you can't use Acegi with Axis2 or Rampart. If this
question related to "sufficient functionality" then the answer is
"yes".

In case of Axis2, it's again simple as accessing to Spring
ApplicationContext , once you have access to the ApplicationContext
you can use Acegi features such as
AccessDecisionManager , AuthenticationManager etc. In most of the
cases this is enough to achieve Acegi Authentication/Authorization.
May be you will find some issues to achieve advanced features of Acegi
, if so reporting such instances is important to find out possible
solution too.

But integrating Rampart with Acegi is a bit of a challenging task
because there is no API method available to access ApplicationContext
within the Rampart CallbackHandler . But it is possible to find a
work-around for this depending on your requirements. As a example this
one [1] worked  with me for two of my past applications.

[1] - http://ssagara.blogspot.com/2009/05/acegi-spring-security-and-rampart.html

Thanks,


On Sat, Dec 5, 2009 at 8:37 PM, Andreas Veithen
&lt;andreas.veithen@gmail.com&gt; wrote:
&gt; As far as I know, there is no out-of-the-box integration between Axis2
&gt; (and Rampart) and Acegi.
&gt;
&gt; Andreas
&gt;
&gt; On Fri, Dec 4, 2009 at 17:26, Philippe A. &lt;futhark77@gmail.com&gt; wrote:
&gt;&gt; Hello!
&gt;&gt;
&gt;&gt; I am currently reading on Acegi as we'd like to use it for our project. Does
&gt;&gt; the axis2 standalone server have sufficient functionality to support Acegi?
&gt;&gt;
&gt;&gt; Thanks!
&gt;&gt;
&gt;



-- 
Sagara Gunathunga

Blog - http://ssagara.blogspot.com
Web - http://people.apache.org/~sagara/


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Axis2-1.4: problem compiling</title>
<author><name>Gerry Reno &lt;greno@verizon.net&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/ws-axis-user/200912.mbox/%3c4B1A840C.8080101@verizon.net%3e"/>
<id>urn:uuid:%3c4B1A840C-8080101@verizon-net%3e</id>
<updated>2009-12-05T16:02:20Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Gerry Reno wrote:
&gt; What is wrong with repos?
&gt;
&gt; [INFO] Installing 
&gt; /home/greno/redhat/tmp/axis2-1.4/target/lib/axis2-1.4.jar to 
&gt; /home/greno/redhat/axis2-1.4/.m2/repository/org/apache/axis2/axis2/1.4/axis2-1.4.jar

&gt;
&gt; [INFO] 
&gt; ------------------------------------------------------------------------
&gt; [INFO] Building Apache Axis2 - tool - Eclipse Codegen Plugin
&gt; [INFO]    task-segment: [clean, install]
&gt; [INFO] 
&gt; ------------------------------------------------------------------------
&gt; [INFO] [clean:clean {execution: default-clean}]
&gt; [INFO] [plugin:descriptor {execution: default-descriptor}]
&gt; [INFO] Using 2 extractors.
&gt; [INFO] Applying extractor for language: java
&gt; [INFO] Extractor for language: java found 0 mojo descriptors.
&gt; [INFO] Applying extractor for language: bsh
&gt; [INFO] Extractor for language: bsh found 0 mojo descriptors.
&gt; [INFO] [resources:resources {execution: default-resources}]
&gt; [WARNING] Using platform encoding (ANSI_X3.4-1968 actually) to copy 
&gt; filtered resources, i.e. build is platform dependent!
&gt; [INFO] Copying 2 resources
&gt; [INFO] Copying 23 resources
&gt; [INFO] artifact 
&gt; org.eclipse.core:org.eclipse.core.runtime.compatibility: checking for 
&gt; updates from apache-ws-snapshots2
&gt; [INFO] artifact 
&gt; org.eclipse.core:org.eclipse.core.runtime.compatibility: checking for 
&gt; updates from tomcat-repository
&gt; [INFO] artifact 
&gt; org.eclipse.core:org.eclipse.core.runtime.compatibility: checking for 
&gt; updates from eclipse-repo
&gt; [INFO] artifact 
&gt; org.eclipse.core:org.eclipse.core.runtime.compatibility: checking for 
&gt; updates from java.net
&gt; [WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = 
&gt; '0814d7172001035c6f87508922a46f84c602fd5e'; remote = '&lt;!DOCTYPE' - 
&gt; RETRYING
&gt; [WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = 
&gt; '0814d7172001035c6f87508922a46f84c602fd5e'; remote = '&lt;!DOCTYPE' - 
&gt; IGNORING
&gt; [INFO] artifact 
&gt; org.eclipse.core:org.eclipse.core.runtime.compatibility: checking for 
&gt; updates from central
&gt; [INFO] 
&gt; ------------------------------------------------------------------------
&gt; [ERROR] BUILD ERROR
&gt; [INFO] 
&gt; ------------------------------------------------------------------------
&gt; [INFO] Failed to resolve artifact.
&gt;
&gt; Unable to get dependency information: Unable to read local copy of 
&gt; metadata: Cannot read metadata from 
&gt; '/home/greno/redhat/axis2-1.4/.m2/repository/org/eclipse/core/org.eclipse.core.runtime.compatibility/maven-metadata-java.net.xml':

&gt; end tag name &lt;/body&gt; must match start tag name &lt;hr&gt; from line 7 
&gt; (position: TEXT seen ...&lt;/address&gt;\n&lt;/body&gt;... @9:8)
&gt;  org.eclipse.core:org.eclipse.core.runtime.compatibility:jar:null
&gt;
&gt; from the specified remote repositories:
&gt;  apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository),
&gt;  eclipse-repo (http://repo1.maven.org/eclipse),
&gt;  central (http://repo1.maven.org/maven2),
&gt;  tomcat-repository (http://tomcat.apache.org/dev/dist/m2-repository),
&gt;  java.net (https://maven-repository.dev.java.net/nonav/repository/),
&gt;  apache-ws-snapshots2 (http://ws.zones.apache.org/repository2)
&gt;
&gt; Path to dependency:
&gt;        1) org.apache.axis2:axis2.eclipse.codegen.plugin:maven-plugin:1.4
&gt;        2) org.eclipse.core:org.eclipse.core.resources:jar:3.2.0
&gt;
&gt;
&gt;
&gt; [INFO] 
&gt; ------------------------------------------------------------------------
&gt; [INFO] For more information, run Maven with the -e switch
&gt; [INFO] 
&gt; ------------------------------------------------------------------------
&gt; [INFO] Total time: 6 minutes 7 seconds
&gt; [INFO] Finished at: Fri Dec 04 23:06:07 EST 2009
&gt; [INFO] Final Memory: 221M/381M
&gt; [INFO] 
&gt; ------------------------------------------------------------------------
&gt; error: Bad exit status from /home/greno/redhat/tmp/rpm-tmp.GKwswx 
&gt; (%build)
&gt;
&gt;
&gt; RPM build errors:
&gt;    Bad exit status from /home/greno/redhat/tmp/rpm-tmp.GKwswx (%build)
&gt;
&gt;
&gt;
When I check the file that it is complaining about this is what it has:
&lt;!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"&gt;
&lt;html&gt;&lt;head&gt;
&lt;title&gt;301 Moved Permanently&lt;/title&gt;
&lt;/head&gt;&lt;body&gt;
&lt;h1&gt;Moved Permanently&lt;/h1&gt;
&lt;p&gt;The document has moved &lt;a 
href="http://download.java.net/maven/1/org.eclipse.core/poms/maven-metadata.xml"&gt;here&lt;/a&gt;.&lt;/p&gt;
&lt;hr&gt;
&lt;address&gt;Apache Server at maven-repository.dev.java.net Port 443&lt;/address&gt;
&lt;/body&gt;&lt;/html&gt;

So what and where do I need to change to fix this problem?

-Gerry



</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Axis2 standalone server + Acegi</title>
<author><name>Andreas Veithen &lt;andreas.veithen@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/ws-axis-user/200912.mbox/%3cb67458760912050707x185102c5lf59036f455d6fc3c@mail.gmail.com%3e"/>
<id>urn:uuid:%3cb67458760912050707x185102c5lf59036f455d6fc3c@mail-gmail-com%3e</id>
<updated>2009-12-05T15:07:21Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
As far as I know, there is no out-of-the-box integration between Axis2
(and Rampart) and Acegi.

Andreas

On Fri, Dec 4, 2009 at 17:26, Philippe A. &lt;futhark77@gmail.com&gt; wrote:
&gt; Hello!
&gt;
&gt; I am currently reading on Acegi as we'd like to use it for our project. Does
&gt; the axis2 standalone server have sufficient functionality to support Acegi?
&gt;
&gt; Thanks!
&gt;


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: Axis2 standalone server + Acegi</title>
<author><name>Sagara Gunathunga &lt;sagara.gunathunga@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/ws-axis-user/200912.mbox/%3c474d01b00912050524r791c1ee1k6e3cc86b8f582f7a@mail.gmail.com%3e"/>
<id>urn:uuid:%3c474d01b00912050524r791c1ee1k6e3cc86b8f582f7a@mail-gmail-com%3e</id>
<updated>2009-12-05T13:24:21Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Acegi  is a Spring based project so you can access any Acegi object as
a Spring bean. You can load your Spring Context as a
ClassPathXmlApplicationContext  within your service classes [1]. There
is no any limitation here.

Since you haven't mention any specific use case can't provide any
exact answer , best approach is try out and see , if you get any
problem post to the mailing with specific details.

[1] - http://ws.apache.org/axis2/1_5_1/spring.html

Thanks ,

On Fri, Dec 4, 2009 at 9:56 PM, Philippe A. &lt;futhark77@gmail.com&gt; wrote:
&gt; Hello!
&gt;
&gt; I am currently reading on Acegi as we'd like to use it for our project. Does
&gt; the axis2 standalone server have sufficient functionality to support Acegi?
&gt;
&gt; Thanks!
&gt;



-- 
Sagara Gunathunga

Blog - http://ssagara.blogspot.com
Web - http://people.apache.org/~sagara/


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: [axis2:UTF-8]</title>
<author><name>Andreas Veithen &lt;andreas.veithen@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/ws-axis-user/200912.mbox/%3cb67458760912050338w586e913bvd85899b1006e71a0@mail.gmail.com%3e"/>
<id>urn:uuid:%3cb67458760912050338w586e913bvd85899b1006e71a0@mail-gmail-com%3e</id>
<updated>2009-12-05T11:38:40Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Axis2 of course does handle charset encoding correctly. However this
only works if the request conforms to the SOAP specs. If you have
encoding issues, this almost certainly means that the Web service
_client_ is broken.

Andreas

On Wed, Dec 2, 2009 at 16:01, Vaibhav Arya
&lt;vaibhav.arya@otssolutions.com&gt; wrote:
&gt; Hi chinmoy,
&gt;
&gt;
&gt;
&gt; Thanks for your reply…
&gt;
&gt; I have also used this technique which you have mentioned. For now, I got
&gt; this work around. But I’m sure; there must be a setting to handle character
&gt; encoding. It may be in axis2.xml or in the services.xml inside .aar file.
&gt; This needs to be clear because sometimes it becomes very necessary to work
&gt; in UTF environment.
&gt;
&gt;
&gt;
&gt; Regards,
&gt;
&gt; Vaibhav Kr. Arya
&gt;
&gt;
&gt;
&gt;
&gt;
&gt; ________________________________
&gt;
&gt; From: Chinmoy Chakraborty [mailto:cchinu@gmail.com]
&gt; Sent: Wednesday, December 02, 2009 19:02
&gt; To: axis-user@ws.apache.org
&gt; Subject: Re: [axis2:UTF-8]
&gt;
&gt;
&gt;
&gt; I found the same problem with Axis 1.4 but not sure about Axis2. In my case
&gt; the incoming SOAP included some CYRILIC characters which Axis 1.4 did not
&gt; recognise.
&gt;
&gt;
&gt;
&gt; So I had to write a filter, modify the SOAP (replace chanracter greater than
&gt; 146 by "&amp;#" + c + ";") and pass the modified request to the filter chain.
&gt;
&gt;
&gt;
&gt; This solved my purpose. Let me know if this solution suites your
&gt; requirement. I can share my code if you want.
&gt;
&gt;
&gt;
&gt; Chinmoy
&gt;
&gt;
&gt;
&gt;
&gt;
&gt; On Wed, Dec 2, 2009 at 5:41 PM, Vaibhav Arya &lt;vaibhav.arya@otssolutions.com&gt;
&gt; wrote:
&gt;
&gt;
&gt;
&gt; Hi All,
&gt;
&gt;
&gt;
&gt; I have a web-service developed in axis2. How can I make my web-service
&gt; support UTF-8 encoding?
&gt;
&gt; It is not supporting special characters ((char) 199). And replacing it with
&gt; the ‘?’ sign.  I presume that by setting the character encoding to UTF-8,
&gt; this problem can be solved. But don’t know how to set character encoding?
&gt; Can I use following…
&gt;
&gt;
&gt;
&gt;                HttpServletRequest request = (HttpServletRequest)
&gt; messageContext.getProperty (HTTPConstants.MC_HTTP_SERVLETREQUEST);
&gt;
&gt;
&gt;
&gt;                try{request.setCharacterEncoding("UTF-8");}catch(Exception
&gt; encex){log4jcat.info("error while setting encoding UTF-8 :" +
&gt; encex.toString());}
&gt;
&gt;
&gt;
&gt;
&gt;
&gt; Please suggest…
&gt;
&gt; ===================================================================================================
&gt; Private, Confidential and Privileged. This e-mail and any files and
&gt; attachments transmitted with it are confidential and/or privileged. They are
&gt; intended solely for the use of the intended recipient. The content of this
&gt; e-mail and any file or attachment transmitted with it may have been changed
&gt; or altered without the consent of the author. If you are not the intended
&gt; recipient, please note that any review, dissemination, disclosure,
&gt; alteration, printing, circulation or Transmission of this e-mail and/or any
&gt; file or attachment transmitted with it, is prohibited and may be unlawful.
&gt; If you have received this e-mail or any file or attachment transmitted with
&gt; it in error please notify OTS Solutions at info@otssolutions.com
&gt; ===================================================================================================
&gt;
&gt;
&gt;
&gt; ===================================================================================================
&gt; Private, Confidential and Privileged. This e-mail and any files and
&gt; attachments transmitted with it are confidential and/or privileged. They are
&gt; intended solely for the use of the intended recipient. The content of this
&gt; e-mail and any file or attachment transmitted with it may have been changed
&gt; or altered without the consent of the author. If you are not the intended
&gt; recipient, please note that any review, dissemination, disclosure,
&gt; alteration, printing, circulation or Transmission of this e-mail and/or any
&gt; file or attachment transmitted with it, is prohibited and may be unlawful.
&gt; If you have received this e-mail or any file or attachment transmitted with
&gt; it in error please notify OTS Solutions at info@otssolutions.com
&gt; ===================================================================================================
&gt;


</pre>
</div>
</content>
</entry>
<entry>
<title>Re: java.util.date convertion to UnsignedInt problem</title>
<author><name>Andreas Veithen &lt;andreas.veithen@gmail.com&gt;</name></author>
<link rel="alternate" href="http://mail-archives.apache.org/mod_mbox/ws-axis-user/200912.mbox/%3cb67458760912050234s49c93323x14a11d06fc5917da@mail.gmail.com%3e"/>
<id>urn:uuid:%3cb67458760912050234s49c93323x14a11d06fc5917da@mail-gmail-com%3e</id>
<updated>2009-12-05T10:34:05Z</updated>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<pre>
Please have a look at [1].

Andreas

[1] http://www.w3.org/TR/xmlschema-2/#unsignedInt

On Fri, Dec 4, 2009 at 17:13, Anup Mayank &lt;anup.mayank@gmail.com&gt; wrote:
&gt;
&gt; /** validate the value against the xsd definition */
&gt; 79 public static boolean isValid(long iValue) {
&gt; 80 return !((iValue &lt; 0L) || (iValue &gt; 4294967295L));
&gt; 81 }
&gt; This is the source code of Unsigned int where it validates if a number is of proper value
or not. I am not sure how the particular max number is chosen. But since your date value is
out of range it is throwing exception. Axis folks please explain this range?
&gt;
&gt; Anup
&gt; On Fri, Dec 4, 2009 at 8:01 AM, ram &lt;ram_kurra@yahoo.co.in&gt; wrote:
&gt;&gt;
&gt;&gt; Hi,
&gt;&gt;    I am trying to convert java.util.date to UnsignedInt(). I am getting NumberFormatException
&gt;&gt; I am fetching the date from database.  I am converting unsignedInt()  like the following
&gt;&gt;
&gt;&gt;  new UnsignedInt(info.getdate.getTime())
&gt;&gt;
&gt;&gt;     when i print date i am getting 1259937492847.      so where do i am doing mistake.
&gt;&gt;  Can any onehelp to fix this issue.
&gt;&gt;
&gt;&gt;
&gt;&gt; Thanks &amp; Regards,
&gt;&gt; Ram
&gt;&gt;
&gt;&gt; ________________________________
&gt;&gt; The INTERNET now has a personality. YOURS! See your Yahoo! Homepage.


</pre>
</div>
</content>
</entry>
</feed>
