I'm looking for more information about AXIS2_USER_NAME and AXIS2_PASSWORD
in axis2_const.h. What are they used for, and how are they used? I'm
still trying to solve my issue of using Basic http Authentication with my
web services, and these look like they may be the key. Any help is
greatly
Simon Elbaz wrote:
Sorry, the subject of my last message was not the good.
On the server side, try using
msg_info_headers = axis2_msg_ctx_get_msg_info_headers(msg_ctx, env);
axis2_endpoint_ref_from =
axis2_msg_info_headers_get_to(msg_info_headers, env);
Samisa...
Simon Elbaz wrote:
Hi,
I
Hi Michael,
The constants AXIS2_USER_NAME and AXIS2_PASSWORD defined in
axis2_const.h are not in use. If you want Basic http Authentication you
can use Axis2/c with Apache. There is a httpd module for this .Please
see the section Deploying with Apache Http Server in the Axis2/C
mannual.
And
Hi everybody!! :
I've a question : if I build a POJO web service and I build a
RPCServiceClient to invoke it, which protocol will be used? SOAP?
XML-RPC?
If XML-RPC is used and there is no way to use SOAP... can i only use
UTF-8? can i use unicode chars?
Many thanks in advance.
Hello,
This is more another question than an answer, but why not use just base64Binary
in the payload? I know it adds to size and processing, but as long as size
stays in limits isn't this a good interoperable alternative?
Any comments?
Thanks in advance.
Greetings,
Erwin
Hi everybody!! :
I've a question : if I build a POJO web service and I build a
RPCServiceClient to invoke it, which protocol will be used? SOAP?
XML-RPC?
It is SOAP.
If XML-RPC is used and there is no way to use SOAP... can i only use
UTF-8? can i use unicode chars?
Hello,
I have the requirement to integrate the implementations of services created
from a WSDL into an existing EAR running under JBoss 4.0.2. Thereby, the
service implementations must have access to EJBs and other components within
the respective EAR. Are there any recommendations or
Hi Deepal !!! :
MANY thanks for your answer, time an dedication, you're nice!!!.
It's a good new for me to know that it is SOAP!!, great!!. I wonder if
it is possible to choose the SOAP version and the character encoding
for that service / client approach. If so, where could i find the
Hello!
Now I have implemented a STS with RAHAS 1.1. My client sends requests to the
STS without authentication. That means that I don't send a usernametoken and
I don't send a X509-token, either. But my STS doesn't send the correct
response, means it doesn't send a token. It alwyays says that
Hi,
Does anybody have an idea of the source of the problem? My wsdl seems to
be valid (only jaxb generation fails, xmlbeans and adb are OK). I really
don't see the issue.
Thanks,
Pierre
[EMAIL PROTECTED]
30/07/2007 14:11
Veuillez répondre à
axis-user@ws.apache.org
A
Hello,
I try to build a Client with Axis-1.2 for the WebService
https://www.vdg-portal.de/VDGAuthPortal/services/STS.
The client only calls the RequestSecurityToken Method.
First, I generate the client with the following command:
wsdl2java -uri
Hi Amila,
Amila Suriarachchi wrote:
...
you have said.
With JiBX, you first create a binding definition to define how Java
objects are to be converted to and from XML, then compile that binding
using a tool that enhances your data class files by adding methods (as
bytecode) implementing the
Hello,
I am new to Axis. I am trying to get it installed under Tomcat 5.5. I am
building the .war file using ant, and then copying into the webapps
directory. Immediately after I copy axis2.war into webapps, I see this in
my logs:
== ../../logs/catalina.2007-07-30.log ==
Jul 30, 2007 8:25:20
Hi AJ,
Could you tell me what is the axis2 version your using?
I just tried this using Axis2 1.3-RC2 available from
http://ws.apache.org/axis2/download.cgi I could not generate the
scenario your experiencing.
Please provide us more information on your environment.
/sumedha
AJ Coon wrote:
In that case its better if you use the 1.3-RC2 release as you are new to
Axis2.
Thanks,
Keith.
On 7/31/07, sumedha rubasinghe [EMAIL PROTECTED] wrote:
Hi AJ,
Could you tell me what is the axis2 version your using?
I just tried this using Axis2 1.3-RC2 available from
Thanks!
I installed 1.3-RC2 and this issue was resolved. Sorry for not trying that
before. I thought 1.2 was a stable release.
-aj
On 7/31/07, keith chapman [EMAIL PROTECTED] wrote:
In that case its better if you use the 1.3-RC2 release as you are new to
Axis2.
Thanks,
Keith.
On
With Base64, there is an approx. 33% increase in the size of the
payload. That's a huge cost, considering all you're trying to do is
transfer a file from point A to B. If you always know the size of your
attachments, then you know up front the cost it brings to the table, and
then I guess Base64
I have an Axis2 1.2 service that works fine on Tomcat 5.5. All the Axis2
artifacts are contained in one big WAR file. Deploying the WAR file to
Websphere 6.1 yields the following error:
INFO ServiceDeployer - The imageview service, which is not valid, caused
java.lang.NoSuchMethodError:
Hi,
I am currently in the process of learning the Axis2 framework. I want to use
MTOM but I have been having problems getting it to work correctly. When I
try the MTOM sample that comes with Axis 2.1.2, it works great if I use the
Axis2 server. I want to get it to work with Eclipse 3.3 and
Amila wrote
if you start from the begining please try Axis2 as well. Axis2 does not
support rpc/encoding but it fully support the rpc/lit and doc/lit styles.
Does this mean that if I have an existing WSDL working with Axis1 using
rpc/soap encoding that I will need to convert it to doc/lit (or
Hello,
I am complete java newbie. I am trying to use axis with wsse
to set up a client for a remote web service. I have been
following the Java instructions for the sample TestClient at:
https://thefinder.tax.ohio.gov/StreamlineSalesTaxWeb/WebService/About.aspx
I have installed axis 1.4 and
I'm running Axis2 with websphere 6.1 without any problem.
The issue you have seems to be the same as the one depicted here:
http://ws.apache.org/muse/docs/2.2.0/manual/troubleshooting/wsdl4j-version-on-websphere.html
Pierre
Jack Sprat [EMAIL PROTECTED]
31/07/2007 16:25
Veuillez répondre à
Hello,
Thanks for the help on the previous thread. I'm now having a problem
verifying my Axis2 install.
When I click on the Validate link, aside from the standard header and footer
the page only says Internal server error. When I check the
catalina.outfile, I see the following:
2007-07-31
I've done a similar thing with an application that is hosted on WebSphere.
My ear file consists of just one war file.
The war file is set up like a regular web application, but in the WEB-INF
directory, I have a couple of extra directories: modules and services. My
service .aar file is in
Hi, I want to thank you all for your responses, I am going to start reading
MIME, do you know any links where can I find examples to do it with java and
Axis 1.4???
Thanks again
--
View this message in context:
Hi,
I am new to Axis. I am trying to work on a poc where I need to invoke a
web service using Axis 1.3. The webservice is developed using TIBCO
Businessworks. I need to write the Axis client to invoke this service
and get the result. I have the wsdl. I developed a client but getting
few tomcat
Are u running tomcat with secure option on?
-- dims
On 7/31/07, AJ Coon [EMAIL PROTECTED] wrote:
Hello,
Thanks for the help on the previous thread. I'm now having a problem
verifying my Axis2 install.
When I click on the Validate link, aside from the standard header and footer
the page
Hello,
I try to start, stop and restart the HttpNio transportIn using the
org.apache.axis2.engine.ListenerManager
But with the second start the logger writes a Fatal error.
So what's wrong? Can anybody help me please?
LOG:
===
DEBUG - Starting Listener...
INFO -
Hi,
I got to create a web service interface for a reasoner (a datalog evaluation
engine). Finally i managed to write a wsdl file which will be accepted by axis2.
At the construction time of the wsdl file I don't know the datatype of the value
wich will be returned by the reasoner. The datatypes
Hi,
I was having a problem getting the client to run in the quickstart xml beans
sample with axis2 1.2. After reading try 1.3 many times, I was encouraged to
do the same ... and ... it works fine! So if you are interested in using the
xmlbeans sample, be encouraged to try 1.3.
1. Get the wsdl.
2. Run wsdl through WSDL2Java, here is the general command structure:
%java org.apache.axis.wsdl.WSDL2java --server-side --skeletonDeploy
true wsdl_filenamewsdl
This will create the clientside stub class and th serverside clases as
well. (It slways good to have the serverside
I already had the application itself set to loading parent last. However, I
had not changed the WAR class loader policy option to single class loader for
application.
Making that change got rid of the error, but now when I try to invoke my
service I get the following error:
Error 404:
Sorry, I'm new to Tomcat as well.
Here's the full command that is being executed by my system init script for
Tomcat 5.5:
jsvc.exec -user tomcat55 -cp /usr/share/java/commons-
daemon.jar:/usr/share/tomcat5.5/bin/bootstrap.jar -outfile
/var/lib/tomcat5.5/logs/catalina.out -errfile 1 -pidfile
Please turn it off for now. And please log a bug so that we can figure
out exactly what needs to be added *minimally* to catalina.policy to
get it working
thanks,
dims
On 7/31/07, AJ Coon [EMAIL PROTECTED] wrote:
Sorry, I'm new to Tomcat as well.
Here's the full command that is being
Hi,
I have an axis1 client, a dot.net client and an axis1 service. We want to move
to axis2. Would it be a reasonable first step to change our wsdl from
rpc/encoded to doc/lit before moving to axis2? Does axis 1.4 support doc/lit?
Thanks.
It turns out axis2-adb-codegen-1.3-RC2.jar is in the binary distribution
but not in the war file.
-David
Amila Suriarachchi wrote:
it says
[java] Exception in thread main
org.apache.axis2.wsdl.codegen
.CodeGenerationException:
java.lang.RuntimeException: java.lang.ClassNotFoundException:
Hi,
I'm not sure about the mailapi jar.. Do you have the mail.jar in the classpath..
Any possibility of narrowing down this problem to see whether there
are any jar conflicts.. Eg: see whether it'll work with tomcat runtime
configuration or see whether this client will work with a externally
I found a solution for this problem. There was Null Response in C# Client
because of
two reaasons.
1. In the client proxy(C#), Reference.cs file has UnQualified attribute
instead of Qualified for Serialization.XmlAttributeAttribute
Hi,
Does Axis2/Rampart support services that expect a SAML (or other
issued token) at present? I.e., can I write a service.xml where I
specify the InflowSecurity parameter as follows?
parameter name=InflowSecurity
action
itemsIssuedToken/items
/action
/parameter
I get an
Even with MIME or DIME, the binary data is sent in base64binary or
hexbinary.
Not true.. They can be sent as Binary when used with transport
protocols which supports binary (eg: http)..
The difference is it is not send as a part of the soap
message. The difference is akin to attaching a jpeg
Thank you very much or the tip!
Removing the servletapi-2.3.jar file from the WAR file seemed to do the trick.
The error that the AxisServlet is not a servlet is gone and I see the
AxisServlet and SOAPMonitorService initialized. I was able to run a successful
echo test.
I'm not sure I am home
Hi,
The sample quickstart xmlbean build.xml file specifies -ap as an option to
WSDL2Java. I see in CommandLineOptionConstants.java -ap being listed as all
ports option but I don't see any other reference in the documentation. What
does this mean? Why is the sample using it?
Thanks
Hi Dimithu,
I'd read the specification but I'd missed that detail. Thanks for that. But my
real problem was the Check Signature confirmation: stored SV vector not empty
Exception. I resolved it adding the sp:RequireSignatureConfirmation/
assertion in the server policy because my client
we are in the process of updating the docs :)
-- dims
On 7/31/07, New AxisU [EMAIL PROTECTED] wrote:
Hi,
The sample quickstart xmlbean build.xml file specifies -ap as an option to
WSDL2Java. I see in CommandLineOptionConstants.java -ap being listed as
all ports option but I don't see any
Thanks! we already fixed this in the latest nightlies. (i.e. the war
zip/dist has the jar)
-- dims
On 7/31/07, David Robertson [EMAIL PROTECTED] wrote:
It turns out axis2-adb-codegen-1.3-RC2.jar is in the binary distribution
but not in the war file.
-David
Amila Suriarachchi wrote:
it
AJ Coon wrote:
Thanks!
I installed 1.3-RC2 and this issue was resolved. Sorry for not trying
that before. I thought 1.2 was a stable release.
It is a stable version. We do lots of testing before doing a release.
But problems occur due to environmental issues that users have in their
local
Hi David and all,
Last time when I tested the attached wsdls against the Axis2-trunk it
worked fine. So I consulted the ADB team again. They asked to use the
latest Axis2 nightly builds available here[1].
If the problem still exist please put a JIRA bug in Rampart[2] attaching
the WSDLs.
Thank
Hi Nagi,
Yes ... Rampart does support protecting messages with IssuedTokens.
But this is not available with the parameter based configuration.
Suport for issued tokens is available with the new policy based
configuration which uses WS-SecurityPolicy.
Right now we do not automatically obtain the
this means generate code for all ports.
i.e normally wsdl2java generate code for only one port. if there are many
ports for a service.
I'll update both print usage and the documents.
Amila.
On 8/1/07, Davanum Srinivas [EMAIL PROTECTED] wrote:
we are in the process of updating the docs :)
--
This is an ADB problem. I have fixed this in the trunk and did not merge it
since it was big change and no one have report this earlier.
use xsd:anyType for your element.
use a nightly build from the trunk.
Amila.
On 7/31/07, Richard Pöttler [EMAIL PROTECTED] wrote:
Hi,
I got to create a
50 matches
Mail list logo