Hi All,
Recently, we migrated from Axis0.90 to Axis1.0.
The responses are observed to have the following content-type with 0.90,
Content-Type: text/xml;charset=UTF-8
and the following Content-type with 1.0,
Content-Type: multipart/related;
Hey Manjula,
My server is already set up to use basic http authentication using Axis1
(Java) and Websphere Application Server. It's in my C client in which I
need to provide my credentials, but cannot seem to figure out how. Is
there a way to manually add the necessary http headers to the
Hi Asankha
Do you have any idea about this ?
Thanks
Deepal
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:
Hai All,
I have a wsdl with a single service and many operations.
The typical payload for an operation will look like this
soapEnv:Envelope
soapEnv:Header
sessonId123123123141341/sessionId
source32312312312312/source
security
usernameToken
userNameafjlksdajflas/userName
On 7/31/07, New AxisU [EMAIL PROTECTED] wrote:
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
Hi, I am using Axis with Eclipse, and when I run my client with security
(wss4j), I get the following exception:
java.lang.NoClassDefFoundError:
org/apache/xml/utils/URI$MalformedURIException,
I have read in Internet that this exception could be because xalan.jar must
be in the classpath, and
I wrote a sample service which uses the Headers and it worked fine.
Can you please send your wsdl and Client?
Amila.
On 8/1/07, Mehar [EMAIL PROTECTED] wrote:
Hai All,
I have a wsdl with a singele service and many operations.
The typical payload for an operation will look like this
Lucio
Unfortunately that article is very out of date!
Please take a look at the 1.2 Quickstart
http://ws.apache.org/axis2/1_2/quickstartguide.html
Paul
On 8/1/07, Lucio Crusca [EMAIL PROTECTED] wrote:
Hello *,
I'm new here and I'm trying to develop my 1st WS consumer with Axis2
libraries
Hello *,
I'm new here and I'm trying to develop my 1st WS consumer with Axis2
libraries (the server it's not axis/axis2 but I hope that doesn't make any
difference). I'm following the instructions at
http://www.ibm.com/developerworks/webservices/library/ws-webaxis1/
but I can't find the jar file
On Wed, Aug 01, 2007 at 11:20:32AM +0530, Amila Suriarachchi wrote:
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.
Hi Lucio ,
Hello *,
I'm new here and I'm trying to develop my 1st WS consumer with Axis2
libraries (the server it's not axis/axis2 but I hope that doesn't make any
difference). I'm following the instructions at
http://www.ibm.com/developerworks/webservices/library/ws-webaxis1/
but I can't
these are the types it supports
if (value instanceof String) {
serializeAnyType(string, value.toString(), xmlStreamWriter);
} else if (value instanceof Integer) {
serializeAnyType(int, value.toString(), xmlStreamWriter);
} else if (value instanceof Boolean)
Hai Amila
I cannot give u my wsdl, did u try with a soap header with a single
element??
Code works fine with soap headers with multiple elements like
level1
level2/
/level1
My suspect is soapHeaderBlockSource565.addChild(
omElementSource565.getFirstElement ());
if the
In my axis deployment file I use following operation node to describe IN
and OUT parameter of my method having signature as
public short WMLS_GetFromStore(String WellTypeIn, String
XMLIn,StringHolder XMLOut, StringHolder SuppMsgOut)
operation name=WMLS_GetFromStore
On Wed, Aug 01, 2007 at 02:31:31PM +0530, Amila Suriarachchi wrote:
these are the types it supports
if (value instanceof String) {
serializeAnyType(string, value.toString(), xmlStreamWriter);
} else if (value instanceof Integer) {
Well Axis2 does not support the holder concept , but you can easily
achieve your goal
- Just write a services.xml with specifying service class name
- Do not worry about the operation name, Axis2 will automatically will
creating the service analyzing the service impl class
Thanks
Deepal
In my
Hi Deepal,
Could you give me one example source code or any URL from where I can get
how to implement.
Thanks,
Deepak
Deepal jayasinghe [EMAIL PROTECTED]
08/01/2007 04:49 PM
Please respond to
axis-user@ws.apache.org
To
axis-user@ws.apache.org
cc
Subject
Re: Axis to Axis2 migration
Hi,
I created a webservice with axis 2. I embedded axis in my own
webapplication.
If I look at the axis admin web app to see which jars i need to include i
found a total of 39 jars (not even counting the spring jars)
Somehow this seems a bit much to me so I am wondering if i can make the list
a
Dear Deepal,
When I am doing as directed by you, I get webservices which take all
arguments as IN type only.But my requirement is that the 3rd and 4th
argument XMLOut, SuppMsgOut should be return type(OUT mode).
thanks
Deepak
Deepal Jayasinghe [EMAIL PROTECTED]
08/01/2007 03:59 PM
Hi Amila,
Perhaps you should just write your own article comparing the data
binding frameworks for use in Axis2. I've already made considerable
changes to mine after our initial discussions in order to portray ADB in
the best possible light, based on the as-yet unreleased Axis2 1.3 code.
Babette v. Gijlswijk wrote:
Hi,
I created a webservice with axis 2. I embedded axis in my own
webapplication.
If I look at the axis admin web app to see which jars i need to
include i found a total of 39 jars (not even counting the spring jars)
Somehow this seems a bit much to me
For that you have to create a Java bean (with the proprieties MLOut,
SuppMsgOut ) and return that .
Dear Deepal,
When I am doing as directed by you, I get webservices which take all
arguments as IN type only.But my requirement is that the 3rd and 4th
argument XMLOut, SuppMsgOut should
thanks, I could recrate the problem and looking into it. please put a jira.
On 8/1/07, Mehar [EMAIL PROTECTED] wrote:
Hai Amila
I cannot give u my wsdl, did u try with a soap header with a single
element??
Code works fine with soap headers with multiple elements like
level1
Hi ,
Can any expert give some guidance here -
I am having this WSDL file. I want to have two operation in one service
PersonalDetailsSvc.
When I convert this to Java however only first binding and first port
definition is getting converted.
Am I doing something wrong here?
Should I have only one
Hello Ann, Steve and all the Axis gurus, committers and users. I have a
two-edged question: How do I obtain a axis1.4.war to deploy on JBoss? If I am
able to deploy the axis1.4 webapp then I must say: I am in discussion with
folks claiming they have deployed (dot).aar files on axis1.4 running
Hi Sehil,
You dont need to have two ports and two bindings. According to your WSDL
both bindings are identicle just a difference in the name so can have it in
the same binding. The following might be what your looking for
?xml version=1.0 encoding=UTF-8?
definitions name=PersonalDetails
Thanks Keith,
Just to confirm following will be the action for 2 operations and address
for service respectively -
1.
soap:operation
soapAction=http://tbd/PersonalDetailsSvc/PersonalDetailsInq
2.
operation name=PersonalDetailsUpdt
soap:operation
Hello,
thank you very much for your support! Now I got a war-file up and running in
JBoss with my service-implementation deployed in it as axis2-service. Next I
will include that war-file into my EAR.
Regards,
Guido Adolphi
-Ursprüngliche Nachricht-
Von: axis-user@ws.apache.org
We have been trying to deploy a very simple web service using AXIS2 -
and obviously
we are missing something.
AXIS2 is up and running; TOMCAT running; and we have deployed a
Calculator service
and 4 other trivial services. Now we want to create a service that uses
OMElement. Our service
Glad to be of help. It took me a while to get it all sorted out. Perhaps this
could be documented somewhere?
cheers,
md
-Original Message-
From: Guido Adolphi [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 01, 2007 9:32 AM
To: axis-user@ws.apache.org
Subject: RE: How to use
Yes no problem.
Thanks,
Keith.
On 8/1/07, Snehil Brajpuriya [EMAIL PROTECTED] wrote:
Thanks Keith,
Just to confirm following will be the action for 2 operations and address
for service respectively -
1.
soap:operation
Hello,
Can anyone confirm - an axis client does not need to
close its connection to the server after a call?
thanks,
Anil
Take the Internet to Go: Yahoo!Go puts the Internet in your pocket: mail, news,
When calling my webservice, which takes a Room object as parameter : it is a
simple bean
I've got this error :
#
org.xml.sax.SAXException: Bad types (class
com.fnac.corp.testws.beans.Room - class
Hi,
As per the subject
I have an Axis2 client which connects to a WSE3.0 service which returns a
response using XML signatures, which is proving problematic. It would be
really useful to be able to disable signature verification for development
purposes, is that possible in Axis2?
Pete
Thanks Ruchith,
Will give it a try.
Cheers!
- Nagi
On 8/1/07, Ruchith Fernando [EMAIL PROTECTED] wrote:
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
Hi dims,
Sure, but I'll warn you its in Jython so its not straight Java but
pretty readable as is. # are single line comments just like the java //
#This handles the imports of the java stuff
from org.apache.commons.httpclient import *
from
[EMAIL PROTECTED] wrote:
How to achieve same in Axis2? I can not able to find out way to define
parameter as OUT type with AXIS2.
could you please update me with way of achieving same with AXIS2?
Hi Deepak!
2 comments here.
First, the Web Services Application Server (WSAS) from WSO2, which
Hi,
Done some searching of axis and other lists as well as google searches
and I haven't come up with anything that explained what I am wondering
about.
I'm posting an xml file containing a soap envelope to a service and I
get back a xml response that will either contain a soap fault or a
Greg,
Can you please post what you have so far?
thanks,
dims
On 8/1/07, Moore, Greg [EMAIL PROTECTED] wrote:
Hi,
Done some searching of axis and other lists as well as google searches
and I haven't come up with anything that explained what I am wondering
about.
I'm posting an xml file
Well, it's not a grave one, but I suspect that method should be named
adjustWSDLSchemaLocations instead of adjustWSDLSchemaLocatins.
Should I submit a bug report?
Lucio.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
Isenor, Anthony wrote:
We have been trying to deploy a very simple web service using AXIS2 -
and obviously
we are missing something.
AXIS2 is up and running; TOMCAT running; and we have deployed a
Calculator service
and 4 other trivial services. Now we want to create a service that uses
We have been given a rather complex schema.
Wsdl2Java isn't very happy.
It seems that the two main problems are circular imports (those crazy
spec guys say these are fine) and xs:redefine
Circular imports result in a global type already defined kind of error.
xs:redefine results in a type not
axis2-1.2 (WinXP, java version 1.5.0_11)
Steps to reproduce:
* downloaded the wsdl from
https://sandbox.google.com/api/adwords/v10/AccountService?wsdl (as
AccountServiceV10.wsdl)
* ran command line: %AXIS2_HOME%\bin\wsdl2java -d xmlbeans -uri
./AccountServiceV10.wsdl -g -sd
I have an existing (gsoap based) service, and I'm trying to write an axis2
client for it. However, I'm having some troubles with one asynchronous
'notification' part.
In particular, this service that offers a subscription to real time data:
1. client connects to it
2. client issues a one-way
A correction. The protocol reported in the WSDL remains http until the
first SSL request for the WSDL, at which time the reported protocol
becomes and remains https for all subsequent requests.
So the question becomes this: should the protocol reported in the WSDL
be the same protocol used to
try skipping the UTF-8 in the http header that you send using:
accountService._getServiceClient().getOptions().setProperty(org.apache.axis2.Constants.Configuration.CONTENT_TYPE
,text/xml);
thanks,
dims
On 8/1/07, Martin Holzner [EMAIL PROTECTED] wrote:
axis2-1.2 (WinXP, java version
if you have redefine and circular schemas, try xmlbeans databinding,
you may need the nightly build of trunk as we just fixed some nasty
issues this morning.
thanks,
dims
On 8/1/07, Keith Bohnenberger [EMAIL PROTECTED] wrote:
We have been given a rather complex schema.
Wsdl2Java isn't very
Fixed in trunk. thanks! (svn revision 561898). Next time, please do
raise a JIRA.
-- dims
On 8/1/07, Lucio Crusca [EMAIL PROTECTED] wrote:
Well, it's not a grave one, but I suspect that method should be named
adjustWSDLSchemaLocations instead of adjustWSDLSchemaLocatins.
Should I submit a
Thanks for the quick reply!
I tried
AccountServiceStub accountService = new AccountServiceStub();
accountService._getServiceClient().getOptions().setProperty(org.apache.a
xis2.Constants.Configuration.CONTENT_TYPE, text/xml);
GetAccountInfoResponseDocument resDoc =
David,
#1. Just use the war :)
#2. Can you confirm if you see a axis2.xml under WEB-INF/conf
directory in your war? We've never tested Axis2 in NE6.2
thanks,
dims
On 8/1/07, Du, David (US SSA) [EMAIL PROTECTED] wrote:
Hi, I am new to axis2, and I have a few questions about axis2:
1. I
Can you please try the 1.3-SNAPSHOT?
http://people.apache.org/dist/axis2/nightly/
thanks,
dims
On 8/1/07, Martin Holzner [EMAIL PROTECTED] wrote:
Thanks for the quick reply!
I tried
AccountServiceStub accountService = new AccountServiceStub();
Expanding on Orly Lampert's email from October 2006, I created a wsdl
with one binding (soap1 binding) and one port with that
binding.
When I view the wsdl which is generated by axis (?wsdl) I always get 3
bindings and 3 ports added by axis2 (soap11, soap12 and http).
Now, I want to keep only
Hi, dims and all,
I got the first question answered, I can build individual module with
maven and copy it into the war file lib directory.
For the second question I asked, I tried axis2-1.2 release, I got
StringIndexOutOfBoundException from the kernel module ListingAgent.java
at line 92 String
I did a little digging in the axis 1.4 and axis-wsse source.
The WsseClientHandler class extends the axis BasicHandler class.
BasicHandler has the class variable:
private static Log log =
LogFactory.getLog(BasicHandler.class.getName());
Yet, when the code in WsseClientHandler tries
I've used WSDL2Java to generate a client and server using XMLBeana, when
the client calls the service I get the following error on the server
side:
Aug 1, 2007 1:36:03 PM org.apache.axis2.transport.http.AxisServlet
doPost
SEVERE: java.lang.NumberFormatException:
Aug 1, 2007 1:36:03 PM
Hi all,
I'm having some issues with security configuration and I need some
clarifications because I'm just learning and I've been for a while with it. If
anybody could help me it would be great.
I'm using policy at my service, trying to force the client to send SKI
certificate reference so I
I don't know.
It looks like that class isn't really supposed to be subclassed. Just
guessing.
I don't know of anyone using wsse, is that the old security project by
apache?
I think most people interested in open source security projects moved on
to wss4j and Rampart.
I would abandon wsse, if you
Well, I was just trying to follow the instructions for writing
a client from the web service provider. The service is provided
by the state government, so go figure.
I will take a look at wss4j.
Thank you very much for your help.
---Hillel
On Wed, 1 Aug 2007 16:49:19 -0400, Walker, Jeff
The class WsseClientHandler should declare its own class log variable.
E.g.
protected static Log log =
LogFactory.getLog(WsseClientHandler.class.getName());
-jeff
-Original Message-
From: Walker, Jeff
Sent: Wednesday, August 01, 2007 4:30 PM
To: axis-user@ws.apache.org
So how does the publicly distributed axis-wsse jar work for anyone?
Is there a way to set a global log variable that would then
be seen by the WsseClientHandler class instead of trying to
inherit it from its abstract superclass?
Thanks.
--Hillel
On Wed, 1 Aug 2007 16:29:53 -0400, Walker, Jeff
Looks like the log variable is declared private, that means only methods
in that class can use that variable, not subclasses like
WsseClientHandler.
-jeff
-Original Message-
From: Hillel Seltzer [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 01, 2007 4:22 PM
To:
Hillel,
I hate to leave a person hanging with a nasty problem,
and I hate to drag this email chain out also, but it looks like I was
correct. I found a place to download the very old Axis 1.1 src, from:
http://archive.apache.org/dist/ws/axis/1_1rc2/
In the large zip file, I found a version of
Ok,
That wasn't very clear. BasicHandler is supposed to be subclassed (and
is, quite a few times in Axis), but each sublcass declares its own
static log variable. Take a look at
org.apache.axis.FaultableHandler.java, as an example.
I'd say WsseClientHandler.java has been badly written and is
Here you go:
#This handles the imports of the java stuff
from org.apache.commons.httpclient import *
from org.apache.commons.httpclient.methods import *
from org.apache.axis2.builder import *
from java.lang import *
from java.io import File
# xmlfilename contains a complete SOAP Envelope and all
Hi, I am looking at migrating our wsdls from 1.1 to 2.0. I am using axis2
wsdl2java as a way of sanity checking the wsdls. I am seeing messages about
unsupported message exchange patterns. The wsdl below is much simpler
than the one I'm using but it gets that same message. I got it from the
With the latest 1.3, I get:
Exception in thread main java.lang.NullPointerException
at
org.apache.axiom.om.impl.llom.OMElementImpl.addChild(OMElementImpl.java:
194)
at
testpack.AccountServiceStub.getAccountInfo(AccountServiceStub.java:278)
at Main.main(Main.java:89)
I've regenerated my client/service using Axis2 1.3-RC2 and I'm getting
different errors but still having problems.
This seems to work just fine if I use the ADB binding, but some of our
wsdls are too complex for ADB and we are trying to be consistant in our
binding.
On the client side, I get
Martin,
Did you regenerate the stubs? using the wsdl2java from 1.3?
-- dims
On 8/1/07, Martin Holzner [EMAIL PROTECTED] wrote:
With the latest 1.3, I get:
Exception in thread main java.lang.NullPointerException
at
Just adding more information about the problem...
Manualy creating the Soap envelope and posting it to the service:
soapenv:Envelope
xmlns:soapenv=http://schemas.xmlsoap.org/soap/envelope/;
xmlns:bean=http://strongauth.zionsbank.com/webservices/beans;
soapenv:Header/
soapenv:Body
Dims,
Wow. thanks!! I didn't expect such a quick response with an example in
jyhton...
Thank you very much. You've made my week. I've been struggling with this
for a while now. I was expecting it to be harder.
Regards,
Greg.
-Original Message-
From: Davanum Srinivas [mailto:[EMAIL
Yes, I deleted all the previous classes, resource and src, and recreated
everything from scratch.
-Original Message-
From: Davanum Srinivas [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 01, 2007 6:17 PM
To: axis-user@ws.apache.org
Subject: Re: axis2 and Google adwords WS: getting
Amila,
Can you please look at this regression?
thanks,
dims
On 8/1/07, Martin Holzner [EMAIL PROTECTED] wrote:
Yes, I deleted all the previous classes, resource and src, and recreated
everything from scratch.
-Original Message-
From: Davanum Srinivas [mailto:[EMAIL PROTECTED]
Hi,
Wats your Axis2 version?
Thanks,
Keith.
On 8/2/07, New AxisU [EMAIL PROTECTED] wrote:
Hi, I am looking at migrating our wsdls from 1.1 to 2.0. I am using axis2
wsdl2java as a way of sanity checking the wsdls. I am seeing messages about
unsupported message exchange patterns. The wsdl
Hi Patel,
You can set this parameter in the servoces.xml. Also pack your original wsdl
in to the meta-inf directory of the aar file.
parameter name=useOriginalwsdltrue/parameter
This will forse Axis2 to use your original WSDL. BTW wat is your Axis2
version?
Thanks,
Keith.
On 8/2/07, Patel,
Hi,
I just tried the wsdl located at
http://www.w3.org/TR/wsdl20-primer/#basics-greath-scenario in the primer
with Axis2-1.3-RC2. It worked without any problems. WSDL 2.0 support was
only available in Axis2-1.2 prior to this. Please use the latest RC located
at
Fixed in trunk. thanks! (svn revision 561898). Next time, please do
raise a JIRA.
Dims , how about in the branch .
Thanks
Deepal
-- dims
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:
76 matches
Mail list logo