Hello all,
I am trying to find out, is it possible to use Axis to generate a WSDL that
includes implicit headers?
thanks a lot
--
Stanimir Stanev (Stanley)
Senior Java Developer
www.stanev.com
Finally solved my own problem, the system at the other end was not a
proper Web Service and wasn't actually running anything resembling the
WSDL I'd been given. It was more of an HTTP listener that someone had
set up to monitor the traffic.
I created a dummy web service to simulate the other end
Hi,
Some more question about the mail transport in axis2.
1. Is it considered to be stable for use in a production system or is
there more work to do?
(I have looked a the src and seem to be finding a few //todo comments,
and things like More details need to be explained here. in the
Javadoc for
Hello,yes you are right but something is not work.When i am sending soap request message with uppercase variable i got the that soap response mesage :soapenv:Body soapenv:Faultfaultcodesoapenv:
Server.userException/faultcodefaultstringorg.xml.sax.SAXException: Invalid element in
Well I didn't noticed that its an Axis1. Perhaps in axis1 what I
remember the lib jars and server side code should be in classpath. I
tried in old version, may be in new version it might have been
changed.
On 4/26/06, Deepal Jayasinghe [EMAIL PROTECTED] wrote:
Hi Kensky;
This is Axis1
Hi Deepal,
thanks very much for your help. Now that problem has been fixed, however
at runtime the web service doesn't work any more (while if you provide a
services.xml with a single service it does).
On the client side I get the following exception:
org.apache.axis2.AxisFault: SERVICE_CLASS
Do you have the serviceClass parameter in both service elements
serviceGroup
service name=service1
parameter name=serviceClass
locked=xsd:falsestock.service.StockQuoteService/parameter
/service
service name=service2
parameter name=serviceClass
Hi Deepal,
I set my variable like this for (linux); and tried couple of examples,
working fine.
AXIS_HOME=/usr/local/axis-1_3
AXIS_LIB=$AXIS_HOME/lib
Yes:
serviceGroup
service name=OMElement
description
First
/description
parameter name=serviceClass
locked=xsd:falsestock.service.StockQuoteService/parameter
operation name=getQuote
Rename
serviceClass to ServiceClass
Michele Mazzucco wrote:
Yes:
serviceGroup
service name=OMElement
description
First
/description
parameter name=serviceClass
locked=xsd:falsestock.service.StockQuoteService/parameter
Hi there,
I am facing a problem deploying Axis on a linux server having a dual IP
address. This is due to Axis's restriction of only allowing deployment
from localhost.
The server, I am trying to deploy on has 2 IP addresses and this is
confusing AXIS into thinking that its a remote
Deepal,
unfortunately it still doesn't work.
Deepal Jayasinghe wrote:
Rename
serviceClass to ServiceClass
Michele Mazzucco wrote:
Yes:
serviceGroup
service name=OMElement
description
First
/description
parameter
I forget to add that now the problem is visible from the web admin tool
(the service il listed as faulty) and (of course) if you try to run the
client you get the following error
org.apache.axis2.AxisFault: Service not found operation terminated !!
Michele Mazzucco wrote:
Deepal,
Wt was the exception , when you click on fault service link you can get it
Michele Mazzucco wrote:
I forget to add that now the problem is visible from the web admin tool
(the service il listed as faulty) and (of course) if you try to run the
client you get the following error
Thanks Dies,
That indeed made it work as I wanted.
-Original Message-
From: Dies Koper [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 27, 2006 2:38 AM
To: axis-user@ws.apache.org
Subject: Re: help on java2wsdl and parameter types
Hello Mati,
Use the option -u LITERAL.
As far as I
Guys,
Any idea how to get the maxoccurs and minoccurs attributes using java2wsdl
?
Regards,
Santunu
Mati David [EMAIL PROTECTED]
27/04/2006 12:11
Please respond to
axis-user@ws.apache.org
To
axis-user@ws.apache.org
cc
Subject
RE: help on java2wsdl and parameter types
Thanks Dies,
Hi,
Try the XMLBeans databinding with the -d xmlbeans
On 4/27/06, Koelle, Christian [EMAIL PROTECTED] wrote:
Hi,
would someone please mind taking a glimpse on the following wsdl-file
regarding axis1 and axis2 compatibility? Thanks in advance. All new for me,
and I don't know where to look
It just says Requested resource not found!
Deepal Jayasinghe wrote:
Wt was the exception , when you click on fault service link you can get it
Michele Mazzucco wrote:
I forget to add that now the problem is visible from the web admin tool
(the service il listed as faulty) and (of course)
psl send me your service archive file , there should be some problem
with that.
Michele Mazzucco wrote:
It just says Requested resource not found!
Deepal Jayasinghe wrote:
Wt was the exception , when you click on fault service link you can get it
Michele Mazzucco wrote:
I forget to
HI,
I am trying to run Axis 1.2.1 on ATG Dynamo
6.0. The service works absolutely fine except that after running the service, I
get the following errors after some time on my application servers logs:
Error Thu Apr 27 08:34:12 BST
2006 1146123252958
Hello,I have a problem. I can deploy my web service to axis 1.3 (Tomcat 4.1).If I try to get the wsdl description, i gave that error meesage AXIS error
Sorry, something seems to have gone wrong... here are the details:
Fault - Bean attribute URL is of type java.lang.String, which is not a simple
Hi all,
I want to send a notification message to my clients when their requests
are processed and the results are ready. Then I expect them to call a
service to acquire the results. Here is the sample scenario:
server.wsdl
- OpenAccount
- input: OpenAccountMsg
-
WS-Addressing.On 4/27/06, Ali Sadik Kumlali [EMAIL PROTECTED] wrote:
Hi all,I want to send a notification message to my clients when their requestsare processed and the results are ready. Then I expect them to call aservice to acquire the results. Here is the sample scenario:
Hi,
I have this scenario wherein I am trying to construct the
input/output soap-message structures and since I need to display them also, I
am preparing some internal models for representing them.
I am also required to store additional information like
node-occurrence and
Thanks for your quick response.
Good:
The axis2 WSDL2Java runs without error and generates the required java
files if -d xmlbeans is used.
Notes:
Then I sticked to the Axis2 manual: The input parameter are to be
created by factories on the Interfaces of input parameter types.
Bad:
I cannot
Hi,
Why I suggested XMLbeans is that ADB does not handle simple content
extensions fully. Unfortunatley that hurls you into the world of
xmlbeans which may be a bit unfamiliar.
Here is a quick guide of what to do
1. XMLbeans generates a number of binary files of its own format that
needs to find
Hi Anne,
Thanks for the reply. I already use WS-Addressing. Just wanted to make
sure the correctness of my asynchronous communication design and, if
any, to ask for a better solution.
For example; I'm not sure if its suitable GetOpenAccountResultMsg to
have a RelatesTo value that references to
Hi,I am trying to integrate JMS with Axis2 and can get around the following error:The MEP you are using http://www.w3.org/2004/08/wsdl/in-out has not implemented createClient().
My client looks as follows: Options options = new Options(); options.setTo(EPR);
You can work around this problem by setting the following property for
AdminService in server-config.wsdd to enable remote deployment.
parameter name=enableRemoteAdmin value=true/
- Junaid
Santunu Podder
Thanks Junaid. I could get it working.
[EMAIL PROTECTED]
27/04/2006 15:06
Please respond to
axis-user@ws.apache.org
To
axis-user@ws.apache.org
cc
Subject
Re: Problem deploying axis
You can work around this problem by setting the following property for
AdminService in
I actually did for hours ;-)The particularity of my case is that I am using a single axis2.xml for both client and server. On 4/27/06, Davanum Srinivas
[EMAIL PROTECTED] wrote:Please see the test cases :
I'm trying to do authentication for my Axis web service using HTTP/Basic
over SSL, as this seemed to be the easiest option. The client is
written in Visual Basic .Net 2005.
I've added the HTTPAuthHandler to my WSDD file:
...
service name=NtiAuth provider=java:RPC
requestFlow
handler
The auth handler I have is defined outside the service as: handler name=Authenticate type=java:my.custom.AuthenticationHandler/The transport request flow is defined as:
requestFlow handler type=URLMapper/ handler type=java:org.apache.axis.handlers.http.HTTPAuthHandler/ /requestFlow
And each
Title: Java console application using Axis2 to host WS-I BasicProfile services - is it possible?
I know from a previous post that Axis2 supports hosting services in non-webserver applications over other transports like TCP, JMS, etc. Is it also possible to host WS-I BasicProfile services
Can you please check what we do in Utils.createSimpleServiceforClient?
the return from there is used as a parameter to the ServiceClient
thanks,
dims
On 4/27/06, Thomas Van de Velde [EMAIL PROTECTED] wrote:
I actually did for hours ;-)
The particularity of my case is that I am using a single
Hello,
we are using Axis for accessing a web service that
changes from time to
time. Quite often, new elements are added to the WSDL that are not
relevant to our client and could safely be ignored. However, Axis always
throws an exception when encountering unknown elements.
Is there a setting
I did the following:AxisService clientService = getConfigContext().getAxisConfiguration().getService(GreetingService);ServiceClient loggingClient = new ServiceClient(getConfigContext(), clientService);
Thanks for your help!On 4/27/06, Davanum Srinivas [EMAIL PROTECTED] wrote:
Can you please check
And so, at now, it's not possible, is it? If it is, can anybody show me
a very simple example of how to use custom objects as arguments (or
return value) of ws methods?
Thanks,
Michele
Dennis Sosnoski wrote:
You basically need an interface layer between the JAXB objects and the
Axis2 code.
I have changed the client so to be more clisely to the unit test you pointed me to.Now I have:AxisService clientService = Utils.createSimpleServiceforClient(SERVICE_NAME, GreetingService.class.getName
(), OPERATION_NAME);ServiceClient loggingClient = new ServiceClient(getConfigContext(),
Please try using 2 separate axis2.xml's just like in the test case,
once u get that working then try other things :)
thanks,
dims
On 4/27/06, Thomas Van de Velde [EMAIL PROTECTED] wrote:
I have changed the client so to be more clisely to the unit test you pointed
me to.
Now I have:
It's used for the xmlbeans serializer/de-serializer. don't need it otherwise
-- dims
On 4/27/06, Mukundan Desikan [EMAIL PROTECTED] wrote:
Guys,
Does any one know why theaxis-schema.jar is included in the axis lib
folder.Is it required for Axis runtime?
If yes whats its needed for.
Hi Stanley,
On 4/27/06, Stanley Stanev [EMAIL PROTECTED] wrote:
yes, that's what I was referring
I aksed Axis already, but do you know by chance if I am able to generate a
WSDL
that contains my own implicit headers using Axis 1.x?
I don't think you can generate such a WSDL with Axis 1.x
Hello Ali,
I'm sure Anne is correct! I can't comment because I haven't used
WS-Addressing yet. :-)
I'll just share what I did. Hope I understood your design problem.
I defined a register port name. Clients must call this and give
me an application name, a session identifier and a URL.
Hello there! I've seen some implementations of how to plug Spring + Axis2 here. I have a few questions.1st. Isn't it possible to use something like we had on Axis 1.x? I mean just a class that could have access to ServletContext? All I need is the Servlet context :(
2nd. I've seen a post taliking
Hello, is it possible to use Axis2 administration web module on my current web application? I mean I'd like to have http://host/myapp/admin.jsp and not
http://host/axis2/admin.jspIs it possible?Regards
hi,
i'm using the axis2 wsdl2java tool (axis2 version 1.0-RC2) with xmlbeans
databinding to generate my skeletons from the attached wsdl file.
i don't know why, but i guess the wrong skeleton is generated, since the
methods of the skeletons only contain OMElement as input parameter and
return
Please see
modules\core\src\org\apache\axis2\transport\tcp\TCPServer.java
modules\core\src\org\apache\axis2\transport\mail\SimpleMailListener.java
modules\core\src\org\apache\axis2\transport\jms\SimpleJMSListener.java
modules\core\src\org\apache\axis2\transport\http\SimpleHTTPServer.java
thanks,
Hello, is it possible to use Axis2 administration web module on my current
web application? I mean I'd like to have http://host/myapp/admin.jsp and
not
http://host/axis2/admin.jsp
While the detailed HOWTO is still on my list here is what you should do:
- Get the latest snapshot axis2.war.
-
I tried running your wsdl, but I'm having some problems on your
external schema reference to policy-2006-03-01-RC1.xsd . I found a
version in googIe, but then got stuck on ws-addr.xsd . Could you
upload all your external xsd files please ?
Robert
http://www.braziloutsource.com/On 4/27/06,
hi,
sorry, i forgot. attached are the schemas.
thanks,
florian
robert lazarski wrote:
I tried running your wsdl, but I'm having some problems on your external
schema reference to policy-2006-03-01-RC1.xsd . I found a version in
googIe, but then got stuck on ws-addr.xsd . Could you upload
Stanley,The WSDL should define the
bits that the application code needs to know about. It should *not*
define the bits that the infrastructure (e.g., handlers and
intermediaries) is responsible for implementing (i.e
., headers). The infrastructure requirements should be defined using
WS-Policy.
Hi Rodrigo,
Thank you very much for taking your time and sharing your thoughts with
me.
I forgot to mention that I already used WS-Addressing. Sorry for that.
Actually, after Anne's reply, I looked at the spec and noticed that I
needed to spend more time on WS-Addressing :-)
If you don't mind I
Axis team,
I just wanted to summarize the problem we faced recently and check with
you the possible alternatives.
We have just finished packaging a web-service that simply sends email.
The main problem is that we had to use the Sun distribution of javamail
and jaf.
Thus our service hierarchy
Hi Everyone,
I'm new to axis (and web services) and I'm in the
process of trying to implement a web service. I have
a wsdl file (wsdir.wsdl attached) describing the
service and I'm currently trying to create a skeleton
Java code using WSDL2Java. However when I run
WSDL2Java I get the following
Hi Everyone,
I forgot to attach the wsdl and xsd documents to my
original post. Sorry.
-Ben
--- Jason Sweek [EMAIL PROTECTED] wrote:
Hi Everyone,
I'm new to axis (and web services) and I'm in the
process of trying to implement a web service. I
have
a wsdl file (wsdir.wsdl attached)
Hi everyone,
Im working on porting
an axis1.1 service over to axis2 and Im running into a problem with
arrays.
On the provider side, I need
access to the raw soap xml in some cases so that I can pass it off for some
custom handling. The problem is that when the object represents an
Please replace the geronimo jars with the ones from SUN in your
environment. There are certain clauses in the Sun Binary License that
is unacceptable to ASF.
thanks,
dims
On 4/27/06, Arnaud Blandin [EMAIL PROTECTED] wrote:
Axis team,
I just wanted to summarize the problem we faced recently
How did u create client service , the service you passed to create
serviceClient has to have operation with inverse of original MEP. For
example if the server side has in-out operation then corresponding
client side service will have an operation with out-in operation.
So change your client side
59 matches
Mail list logo