Hi all
the problem of this all has been found. By some reason (maybe class loader)
on the unix systems the jms handler from axis can not be loaded even it is
correct registered in the java.protocol.handler.pkgs system property.
Using an own URLStreamHandlerFactory solved the problem also on unix
I was able to work with axis2 saaj and saaj-api with JDK 1.4. Futhermore
I do not see any JDK 1.5 dependecy explicitly defined in poms of these
modules.
Could you elaborate on saaj jdk 1.5 dependency?
Thanks,
Gennady
-Original Message-
From: Thilina Gunarathne [mailto:[EMAIL PROTECTED]
> Is it possible to run this client in the Java SDK 1.4.x environment?
yes.
> Previously, I believe there have been discussions on this forum that only 1.5
> is >supported.
Axis2 has few modules which depend on JDK1.5... But they don't get in
your way unless you want to do something really specifi
Hi All,
I have created a class which has two over loaded methods.
The method signature is as follows
public String getMessages(String username, String status)
The overloaded method signature is as follows
public String getMessages(String username, String status,Connection con)
where the Connectio
Hi,
As I understand it, if you have a
public void setOperationContext(OperationContext operationContext)
throws AxisFault
function in your
XXXSkeleton.java file, then that function is automatically called on
startup.
However, I have done this in my code and the function is just not
be
A more complete definition is given in:
http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/kernel/resources/services.xsd?view=log
Nadir K. Amra
Charitha Kankanamge <[EMAIL PROTECTED]> wrote on 09/26/2007 11:14:06 PM:
> Sai Chow wrote:
>
> >Hi,
> >I've looked up and down the ap
Hi,
I've a web service that uses a wsdl of doc-literal style. I use Axis2 1.3,
Spring and hibernate for this purpose. The method that I follow is to first
create the data Transfer objects from the wsdl using the WSDL2Java tool. After
that, I code the rest of the service (business, DAO...) and f
Sai Chow wrote:
Hi,
I've looked up and down the apache axis2 site and not able to locate the detail
specs for services.xml. Could someone send me the url please? Thank you.
Sai
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.488 / Virus Database: 269.13.3
Hi,
Could you kindly let me know if you have tested (or know if it will
work) a situation where:
A service client connects to Rahas (STS), obtains a SamlToken by
calling the RequestSecurityToken and using Rampart, places the
SamlToken in the header of a SOAP message to a target service?
Finally,
Hi,
Sandesha2 fails when either Rampart or Rahas modules are loaded. Even
if we don't load these, if we add security headers in the SOAP message
using
OMElement samlToken = ...
client.addHeader(samlToken);
then Sandesha2 fails. If I comment the addHeader out then Reliable
Messaging works
Hi there,
I've faced a similar problem. I figured out that due to the fact that
axis itself uses log4j the common & easy way of putting a
log4j.properties inside the deployed webservice does not work. You have
to configure the logging for your classes manually, i.e. telling your
webservice wh
did you try putting it in the classes directory of the Axis2 war ?
On 9/24/07, vpl <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I've browsed the axis user mailing list and could not find a clear answer to
> this new-comer ... question. Please help
> I'm unsing the axis2.war deployed into a tomcat 6.0.14
Okay -- the message generated by the Axis client is clearly wrong.
Can you show me your client code?
Anne
On 9/26/07, Wojciech Buczak <[EMAIL PROTECTED]> wrote:
> Sure,
>
> Please find the WSDL attached
>
> Cheers
> Wojtek
>
> -Original Message-
> From: Anne Thomas Manes [mailto:[EMAIL PR
Hi,
I am trying to create an axis2 web service client to access a
ssl-enabled web service (https://..). I got the following error. I
think that the problem is caused by the server certificate on the web
service side.
Probably if I import that server certificate and root certificate into
Sure,
Please find the WSDL attached
Cheers
Wojtek
-Original Message-
From: Anne Thomas Manes [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 26, 2007 11:51 PM
To: axis-user@ws.apache.org
Subject: Re: problem: AXIS client <=> .NET service (wrong content of the
SOAP messages)
Gmail
Gmail cut off most of the WSDL. Could you send it as an attachment please?
Thanks,
Anne
On 9/26/07, Wojciech Buczak <[EMAIL PROTECTED]> wrote:
>
>
> Sure!
>
> Thanks for your help!
>
> PS. This is a standard OPC-XML da WSDL, which specifies basic operations for
> accessing OPC servers from SOAP.
Use the messaging API. It will return the result as a DOM.
On 9/26/07, hundel <[EMAIL PROTECTED]> wrote:
>
> Hi all. Thanks for all the great advice on the forum.
>
> We're exercising a web service via Axis 1.4 from Java. The Call has a
> complex return type. The object type is a business docum
I'm not able to access the WSDL. Can you post it here for us?
Anne
On 9/26/07, Wojciech Buczak <[EMAIL PROTECTED]> wrote:
>
>
>
>
> Hi,
>
>
>
> I've encountered a problem while using AXIS-generated java client that tries
> to call a .NET web service. Using AXIS 1.4 I've generated the client's st
The fault was caused by the fact that the security headers in the
SOAP request did not contain a timestamp. This is not mentioned
anywhere in the rampart samples included with the distribution. Is
it possible to require only a user and password without a timestamp?
Axis2 1.1 and Rampart 1.1
I have a couple of questions. Are X, Y, and Z in different JVMs or separate
machines? The webservice that you are call, does it ever receive the soap
message and do work on it or does it just modify the soap to a different
XML? Is it the modified xml that is sent to Z where all the magic happens
Thanks for the idea, Ajith and Paul... I have been following synapse's docs
and it seems very promising. However, I have a doubt about how this can help
me... I see the role of Mediators and Proxies in the scenario:
X ---> Y (X being the client and Y the web service)
where you need to intercept
Hi,
I've encountered a problem while using AXIS-generated java client that
tries to call a .NET web service. Using AXIS 1.4 I've generated the
client's stub from WSDL of the OPC DA XML web service and tried to call
some of it's interfaces. While some of them work fine, calling some
others end
Hello,
I have a Axis2 client running against .NET web service that consumes and
generates a stream via two separate operations.
I am using Axis 2 1.2 version for client development using ADB.
Is it possible to run this client in the Java SDK 1.4.x environment?
Previously, I believe there have
Hi,
I've looked up and down the apache axis2 site and not able to locate the detail
specs for services.xml. Could someone send me the url please? Thank you.
Sai
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.488 / Virus Database: 269.13.31/1031 - Release Da
I have been trying without success to reuse an OperationClient to send
multiple messages without having to reconstruct the OperationClient,
ServiceClient, and related objects for each message transmission. I am
pursuing this as part of an effort to get my client to reuse the same
HTTPS connection
It might be because your WSDL appears invalid. Remove the
part="getWeatherService" attribute from and try again.
- Junaid
-Original Message-
From: Todd Allen [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 26, 2007 9:53 AM
To: axis-user@ws.apache.org
Subject: Re: Error while tryin
Hi all
I use Axis 1.2 final and have a WebService using JMS as transport. On my
windows box running with Sun's JRE 1.4.2_09 all works fine. Now we have
deployed the software to AIX (5.2) which used IBM's JRE 1.4.2.
In the AIX I get following exception:
java.net.MalformedURLException: unkno
Hi,
While I try to access a service in a remote webservice through a simple
java Axis 2 client with Rampart security, below error message is
displayed.
Please let me know the reason for this error and any workaround for
this.
org.apache.axis2.AxisFault: General security error (WSSecurityEngine
Have you deferred your classloading preference to axis2 jars in a
boss-app.xml as shown here?
http://www.jboss.org/wiki/Wiki.jsp?page=ClassLoadingConfiguration
HTH,
Robert
> Hi Sumeda,
>
> i use Axis2 1.3 and Jboss 4.0.5.GA
>
> If i move only axis2-saaj nothing happens (it still use jboss impl)
Hi Sumeda,
i use Axis2 1.3 and Jboss 4.0.5.GA
If i move only axis2-saaj nothing happens (it still use jboss impl)
If i move also axis2-kernel module fail deploy module and services:
18:54:54,035 ERROR [ModuleDeployer] The OpenSPCoopModule.mar module,
which is not valid, caused org.openspcoop.pdd
Hi,
The problem here is both Jboss & Axis have their own SAAJ Implementation.
What is the version of Jboss & Axis2 your using?
Do you intend to run other applications on this server as well?
You do not need to move several jars.The classes you need are located
inside axis2-saaj-.jar.
/sumedha
This b'coz some problem in your services.xml , please try and see it is
a valid xml document.
true
Thanks
Deepal
> First of all, thanks a lot for this information (although I think it
> should go somewhere onto the online documentation).
>
> However, now I am getting some errors while deploying t
Hi all. Thanks for all the great advice on the forum.
We're exercising a web service via Axis 1.4 from Java. The Call has a
complex return type. The object type is a business document. Our company
is well-suited to deal with the document XML directly, but the java object
is not of much use to
Hello, I use Rampart 1.1 and I want to sign a timestamp. I use folowing
configuration inmy services.xml:
Timestamp Signature Encrypt
server.properties
username
{Element}{http://www.w3.org/2005/08/addressing}To;
{Element}{http://www.w3.org/2005/08/ad
Hi all,
i have this problem:
i deployed mi axis2 app on jboss into a .ear
myapp.ear
|- lib
|- mdb.jar
|- META-INF
|- manifest.mf
|- ejb-jar.xml
|- jboss.xml
|- web.war<-- axis2
|- META-INF
|- manifest.mf
|- WEB-INF
|- modules
|- mymodule.mar
The CreateSequenceResponse does not have the following XML stanza:
URI of Target
for some reason, even though addressing is engaged and the
CreateSequence Request message has a that specifies the
target URI.
One other point is that the CreateSequence Request DOES NOT have a .
Any t
Those two XMLs are identical except for the namespace. SOAP *requires*
the body element to be namespace qualified. So it would be breaking
the SOAP spec to do what you are suggesting. So, sorry, no its not
possible.
Paul
On 9/26/07, Golam Chowdhury <[EMAIL PROTECTED]> wrote:
>
>
>
>
> Hi,
>
>
>
>
Hi,
Axis2 generates:
43.40391
-80.04648
2006-07-28 00:40:02.0
What I want is:
42.2323
80.2323
2006-09-22
Any help is greatly appreciated.
Thanks
Golam
just to correct: AxisFault.getDetail is not "empty", it is null.
> -Original Message-
> From: Jay Zawar
> Sent: mercredi 26 septembre 2007 16:32
> To: axis-user@ws.apache.org
> Subject: Urgent - Exception Mapping with Axis2
>
>
> Hi people,
>
> I am really puzzled about Axis Code gener
Hi people,
I am really puzzled about Axis Code generators and the way custom exceptions
are passed. I do not even find good documentation on it. I've been on this
problem for almost a week now, and still do not find any answer. My problem: I
can invoke web services without problems, but I do no
I also am seeing extraordinary time generating stubs: From 15 minutes to
10+.
My machine has 3 GB RAM, and the memory allocation to javac is ample.
This use of jalopy without telling users is pretty horrible. It looks to me
like it might have pretty-printed my whole project, so now everything's o
Thanks Thilina for your reply,
Wondering, if you could give me some example.
I know to enable the session I have to add the " in the service.xml
??? using serviceContext how do I access the session and store information
in the session.
public void init(ServiceContext serviceContext) {
Here is what goes on:
The generated stub introduces new protected attributes. Before there was
only local
Now there is not only local but localTracker
The Tracker attribute is used to detect when the setter is called, so that
the field can serialized conditionally.
The gotcha for me is that if
Ensure the name in the services.xml file matches the name in the WSDL.
Case matters!
In services.xml:
In WSDL:
Anumodh Sreedharan wrote:
/Hi,/
/I’m trying to create a web service using an already available wsdl
using Axis2 1.3. I’ve set useOriginalwsdl to true in the services.xml.
But,
Greetings,
I have built & deployed a basic WS basd on the POJO model & instructions:
http://ws.apache.org/axis2/1_3/userguide-buildingservices.html#deploypojo
I copied the service directory over and now have a directory structure as
shown in the attached screenshot (deleted).
I see JBoss deplo
Paul Fremantle a écrit :
Hi
OMElement is the represenation of XML that Axis2 uses. It is similar to DOM.
Do you already have the XML in an object (DOM, SAX, StAX, String,
byte[]), or do you want to create the XML in your program?
There are answers for all of these but I figured it would be eas
I am trying to post a question about generating WS from POJO's using Axis
but my message keeps bouncing. The extent of the error detail I get is:
552 spam score (8.2) exceeded threshold
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi
OMElement is the represenation of XML that Axis2 uses. It is similar to DOM.
Do you already have the XML in an object (DOM, SAX, StAX, String,
byte[]), or do you want to create the XML in your program?
There are answers for all of these but I figured it would be easier to
start with your scen
Hi,
I have a Service that is deployed, following the instructions in the
Sandesha2 user guide.
* The Service.xml for this service engages Sandesha2 by including:
* The axis2.xml file in the Axis web app. has been updated to include
the (in four places)
* The service AAR deploys fine and I can
Hi, I want to exchange arbitrary XML documents with my webservice. In
the WSDL definition I use xsd:anytype and when I create the java classes
with wsdl2java the object is OMElement. How can I manage this object to
parse to an XML file? Thanks
--
Hello Amila,
I see that your request does not contain the Type attribute (see section
below). For the moment i found that generating a client stub will only allow
one option (the last, in this case Bas64) to be available otherwise a
runtimeException is given. For the serverside i think the s
Hi,
> I m working through the examples of axis2 just to figure out how to
> create a soap message with attachments in the MM7 format to send it to
> my provider. I found the swaclient to learn how soap works, but the
Interesting...
>
> The type javax.wsdl.Definition cannot be resolved. It is indire
Store session information like this:
MessageContext.getCurrentMessageContext().getSessionContext().setProperty(key,
val)
Retrieve it like this:
MessageContext.getCurrentMessageContext().getSessionContext().getProperty(key)
Andrew
James Neff wrote:
> in my services.xml I have the attribute scope="
http://marc.info/?l=axis-user&m=117316427720305&w=2
http://issues.apache.org/jira/browse/AXIS2-1991
in axis2.xml set 3 instead of 30
locked="false">3
fabrice
Fabrice Airault wrote:
i forget to give the client error;
org.apache.axis2.AxisFault: Invalid Service Group Id
urn:uui
Hi,
I m working through the examples of axis2 just to figure out how to
create a soap message with attachments in the MM7 format to send it to
my provider. I found the swaclient to learn how soap works, but the
following example cant be compiled because of the error:
The type javax.wsdl.Definition
i forget to give the client error;
org.apache.axis2.AxisFault: Invalid Service Group Id
urn:uuid:1A97EC2C88AAE98C191190795240692
at
org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:271)
at
org.apache.axis2.description.OutInAxisOperationClient.ex
hi,
I have a problem when i am using axis2 with addressing and soapSession.
I connect a first client on my service and all work fine.
when a second client do a connection on my axis2-server, the destroy
method is call on my first service instance.
I can't have more than one service instance.
Sorry, I misread your message and I thought you were talking about
Java versions and not about Axis versions.
On 9/26/07, José Antonio Sánchez <[EMAIL PROTECTED]> wrote:
> I've used Axis in Java 1.5 and 1.6. Sun's JDK is backward compatible
> so there is no problem with Axis being compiled for JDK
I've used Axis in Java 1.5 and 1.6. Sun's JDK is backward compatible
so there is no problem with Axis being compiled for JDK 1.4.
On 9/25/07, Winograd, Theodore <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I am working on a project that relies on Axis 1.4. I've noticed in the
> Subversion repository that
60 matches
Mail list logo