Atanacio Reyes wrote:
hi:
how to add the proccessing instruction xml version
?xml version='1.0' encoding='utf-8 ?
before soap envelope in a server response message.
AFAIK the SOAP specification 1.2 discourage this.[1] {Section 5. SOAP
Message Construct}
If anybody know a way to add
Thanks Amila.
I've been trying to find a baseline as to where it is failing for me. I
was able to confirm that the service, as is, works with Tomcat 5.5,
Axis2 1.3.
But it fails, as is, on oc4j 10.1.3 with the following error:
[INFO] Trouble processing wsdl file :Could not create URL
On Dec 10, 2007 1:50 PM, Hoda, Nadeem [USA] [EMAIL PROTECTED] wrote:
Thanks Amila.
I've been trying to find a baseline as to where it is failing for me. I
was able to confirm that the service, as is, works with Tomcat 5.5, Axis2
1.3.
But it fails, as is, on oc4j 10.1.3 with the following
Hi,
At the client-side, if your write policy on the right place,
the generated stub will contains something below for each operation,
(__operation).getMessage(org.apache.axis2.wsdl.WSDLConstants.
MESSAGE_LABEL_OUT_VALUE).getPolicyInclude().setPolicy(getPolicy(wsp:Policy
Hi Charitha,
So, does it mean that i cannot use SSL on Standalone AXIS?
-Ajay
On Fri, 07 Dec 2007 20:16:21 +0530, Charitha Kankanamge
[EMAIL PROTECTED] wrote:
Ajay,
This is a bug in axis2-1.3. I reported a JIRA some time back.
https://issues.apache.org/jira/browse/AXIS2-3309
regards
MrNobody [mailto:[EMAIL PROTECTED] wrote:
Ove Gram Nipen wrote:
You could try to reach the WSDL document using your web browser, by
pointing your browser to the web service endpoint and appending
?wsdl
to the url. For instance, if the web service endpoint is
Hi Ajay,
I seems the https listener listed in axis2.xml used by the standalone axis2
server 1.3 is not working as the bug report says.
There is an https sender already in the axis2.xml, so sending requests as a
client should work out of the box without uncommenting the extra https
sender.
Hi Upul,
Thanks for the insight on this. Will see if i can use Apache Tomcat for
this purpose.
-Ajay
On Mon, 10 Dec 2007 16:37:42 +0530, Upul Godage [EMAIL PROTECTED]
wrote:
Hi Ajay,
I seems the https listener listed in axis2.xml used by the standalone
axis2
server 1.3 is not
Hi!
I'm trying to use a web service located here:
http://soap.towerdata.com/validate.wsdl but I'm getting an error with
axis 1.4 (I'm consuming the web service with ColdFusion which comes
with axis 1.2 but I also downloaded axis 1.4 and used wsdl2java). Here
is the error I get from wsdl2java:
Hey Guys!
If generated a WS (with wsdl2java) which worked perfectly in JRE1.6
and Axis2.
Now I've got the problem, that it needs to be run under JRE1.5
I've removed alle Java 1.6 components, and reconfigured my path and
java_home variables to point to the jre/jdk 1.5 directories.
I've also
Your best way of debugging is to use a sniffer - either TCPMON from Apache
or WireShark if you want to delve deeper. If you haven't used WireShark
before I suggest you try TCPMON - its much simpler. Basically you setup
TCPMON in proxy mode on port 8001 and then you configure your client to use
Yes it does.
From: Amila Suriarachchi [mailto:[EMAIL PROTECTED]
Sent: Monday, December 10, 2007 12:31 PM
To: axis-user@ws.apache.org
Subject: Re: Simple scenario not working
On Dec 10, 2007 1:50 PM, Hoda, Nadeem [USA] [EMAIL PROTECTED] wrote:
Hi All
I have a litlle problem here... ( newbie )
I'm created a Web Service,,, ( one cliente and one service with AXIOM
)... In the first invocation everything works fine...
but,,, if I try make a second or third invocation I perceived that Axis2
1.3 retained the variables of the preceding
Arlindo,
you probably messed around the configuration -- by default axis2
services run in request scope, which means that every invocation has
it's instance.
Please see the links below:
http://wso2.org/library/259
http://www.developer.com/open/print.php/10930_3589126_3
Please check all the paths once again (i.e. JAVA_HOME, CLASSPATH and
PATH). If you compile your code against javac 1.6 it won't run in
java 1.5.
Michele
On 10 Dec 2007, at 12:41, Roman SchXnbichler wrote:
Hey Guys!
If generated a WS (with wsdl2java) which worked perfectly in JRE1.6
and
Hi all,
I was checking some code here [1] and I've noticed that the
configuration is stored in AxisConfiguration.
However AxisConfiguration (and its super class AxisDescription) is *not*
thread safe. In particular it uses HashMap objects to store all the
parameters (and ParameterIncludeImpl --
On Dec 10, 2007 4:04 PM, Martin Gainty [EMAIL PROTECTED] wrote:
Mack-
take a look at this declaration from Version.wsdl
wsdl:message name=getVersionFault
wsdl:part name=parameters element=ns0:ExceptionFault/
/wsdl:message
where ns0 has this declaration
Hi!
Thanks for your reply, here are the variables, so you can be shure
I've checked them.
JAVA_HOME = C:\Programme\Java\jre1.5.0_13
PATH = ...;C:\Program Files\Java\jdk1.5.0_13\bin;C:\Program
Files\ant-1.7.0\bin;c:\Programme\Axis2\bin
I haven't set CLASSPATH since alle jars are in the lib file
Mack-
take a look at this declaration from Version.wsdl
wsdl:message name=getVersionFault
wsdl:part name=parameters element=ns0:ExceptionFault/
/wsdl:message
where ns0 has this declaration xmlns:ns0=http://axisversion.sample/xsd;
and the getVersionFauly is declared in the
On 10 Dec 2007, at 14:25, Roman SchXnbichler wrote:
Hi!
Thanks for your reply, here are the variables, so you can be shure
I've checked them.
JAVA_HOME = C:\Programme\Java\jre1.5.0_13
PATH = ...;C:\Program Files\Java\jdk1.5.0_13\bin;C:\Program
Files\ant-1.7.0\bin;c:\Programme\Axis2\bin
I
Hi Roman-
this is specific to your environment
whatever class you compiled your aar MUST be == the java runtime you use to
execute
compile with1.6== JRE runtime must be1.6
OR
compile with1.5==JRE runtime must be 1.5
determine the working environment you're colleague is using (echo
%JAVA_HOME%)
Hi Martin,
I don't use Firefox or IE in my tests. Why should I configure them?
The problem is in my Java client which uses AXIS 2 libraries, it's more than
100 times slower than JMeter or .Net clients. What can I do about it?
Joe
On Dec 9, 2007 5:03 PM, Martin Gainty [EMAIL PROTECTED] wrote:
Your absolutely right!
but the point is that I don't have any jre1.6 left on my pc.
the paths are set to the jre1.5
I haven't installed the jdk/jre simply set the environment
variables, but this shouldn't cause the damage.
Since I've everything setup similar to my colleague, I'm absolutly
out
Hello,
I've got the following problem:
I just want to instatiate org.apache.axis2.client.ServiceClient. I think, it
has to work like this: SecurityClient sender = new SecurityClient();
But when processing, i get a java.lang.InstantiationException:
Exception in thread main
Looks like a classpath problem. Have you got wstx-asl-3.2.1.jar in the
classpath?
Paul
On Dec 10, 2007 4:54 PM, Thorsten Deelmann [EMAIL PROTECTED]
wrote:
Hello,
I've got the following problem:
I just want to instatiate org.apache.axis2.client.ServiceClient. I think,
it has to work like
Hi all,
after the upgrade to axis2 1.3 (official release) I cannot deploy
modules any more, the system throws a ClassNotFoundException (saying it
doesn't find one of the handlers even if the class is available) during
system startup:
org.apache.axis2.deployment.DeploymentException:
Hi all,
I have the following scenario:
1) JBoss 4.0.4.GA with Axis2 hot deployment
2) Axis2 webservice accepting 2 params (string and int) and returning a
string as a result
3) Client (Servlet) calling webservice as follows:
//Set EPR
IdentityProviderWSStub stub = new
Yes, I think so. Same problem.
2007/12/10, Paul Fremantle [EMAIL PROTECTED]:
Looks like a classpath problem. Have you got wstx-asl-3.2.1.jar in the
classpath?
Paul
On Dec 10, 2007 4:54 PM, Thorsten Deelmann [EMAIL PROTECTED]
wrote:
Hello,
I've got the following problem:
I
Just a quick update. I've tried with the last nightly build and I get
the same problem.
Is there anybody who can successfully deploy modules?
Thanks,
Michele
On Mon, 2007-12-10 at 17:11 +, Michele Mazzucco wrote:
Hi all,
after the upgrade to axis2 1.3 (official release) I cannot
Hi Fellow axis2 users/developers,
I hope that this is the correct mail address (newbie I'm afraid).
I have a programmatic deployment of an axis2 service using embedded http
server so :-
//--
String AXIS2_PATH = C:\\resources\\;
String SERVICES_XML
is axis2.xml and services.xml well-formed?
M
- Original Message -
From: Thorsten Deelmann
To: axis-user@ws.apache.org
Sent: Monday, December 10, 2007 11:54 AM
Subject: java.lang.InstantiationException while building ServiceClient
Hello,
I've got the following problem:
Hi,
We have a WSDL containing one doc/lit operation. References to the XSD's
are defined in types using xs:include.
This WSDL is stored as such in our SCM (e.g. CVS), as well as the
referenced XSD's. The fact that the XSD's are separate files makes XSD
authoring easier for us.
However,
Michele,
Did you use the included ant script to generate the sample logging module?
I ran into similar issues this past week as I tried to use the tutorial on the
axis website, and it was combining the tutorial with the readme that is located
in the AXIS2_HOME/samples/userguide directory that
Hello,
I want the client to be able to set a property to affect the behavior of
an outbound handler. However, I haven't figured out how to obtain the
property from within my handler. How can I retrieve the property?
I'm using the following client code to set the property:
How can my server side handler generate a fault with specific values for
code and subcode? I don't see an API to do it. The only option I see if to
manually generate the fault message, but that's messy because of SOAP
versions etc.
I've not found any way to customize the ?wsdl processing except by
extending AxisServlet and overriding its doGet method. If you do
this, you'll need to modiy the servlet mapping in web.xml for the
webapp containing axis.
In axis1, ?wsdl generation was carried out by a handler specified in
the
Axis2 Crew,
I am interested in adding log4j logging in my hand coded *skeleton classes.
Does anyone have some hard learned lessons that I can benefit from?
--
Michael Potter
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
Axis2 Crew,
Is there any conferences/workshops/classes that anyone would recommend
for Axis2?
In USA preferred, but international would not be ruled out.
--
Michael Potter
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
Some of the online documentation (http://ws.apache.org/axis2/1_0/mtom-
guide.html) states that
add and set the enableMTOM parameter to true in the Axis2.xml.
When it is set, *outgoing* messages *which contains optimizable
content* will be serialized and send as MTOM optimized messages. If
We are using WSDL-2-Code generated SkeletonInterface/MessageReceiverInOut
classes in our Apache Axis2 v1.3 doc/lit SOAP 1.2 based web service. We are
attempting to set headers for the response message that will be used for
traceability within our SOA system.
From what I can see there is nowhere
Hi Michele,
I had no problem doing this last week, using my validation module
(http://www.sosnoski.com/jibx-wiki/space/axis2-jibx/validation) with the
1.3 release. In your case, it looks like the module is being located but
without the class. Have you looked inside the mar to make sure the class
The only advice I would give is make sure you use the correct levels, axis2
outputs a lot of debug and info and at some point, perhaps when you deploy,
you may want to lower the amount coming out.
Apart from that, it's just log4j.
On Dec 11, 2007 10:22 AM, Michael Potter [EMAIL PROTECTED] wrote:
I suggest using commons-logging as your wrapper around log4j.
Make sure to code it for optimization:
if (log.isDebugEnabled())
{
log.log(Message);
}
Things like that.
Cheers.
From: Rachel Primrose [mailto:[EMAIL PROTECTED]
Sent: Monday, December 10,
Yes, I did try with the logging sample as well as with some code of
mine -- all the files are present into the *.mar file.
Michele
On 10 Dec 2007, at 22:45, Dennis Sosnoski wrote:
Have you looked inside the mar to make sure the class
is present?
If you wish to use it with rampart, you may load rampart specific
configuration (certificate config, password, etc) from code.
serviceClient.getAxisService
().getPolicyInclude().addPolicyElement(PolicyInclude.SERVICE_POLICY,
loadRampartPolicy());
Thanks! It works. On the server side, should I
Sukma Agung Verdianto wrote:
If you wish to use it with rampart, you may load rampart specific
configuration (certificate config, password, etc) from code.
serviceClient.getAxisService
().getPolicyInclude().addPolicyElement(PolicyInclude.SERVICE_POLICY,
loadRampartPolicy());
Thanks! It
I wrote a set of axis2 service which validates a user login and inserts the
data entered by him into the database.
This should be maintained user single session where there can be mutliple
user that can login.
I tried
options.setManageSession(*true*);
47 matches
Mail list logo