On Thursday 17 January 2008, Weck, Andreas wrote:
Hi all,
i just downloaded the JDK 6 Update 4, axis2 1.3 and Eclipse 3.3. After
that i've used the wsdl2java command-line tool to create the client
classes.
wsdl2java -uri service.wsdl -u
Than i made a new java project in eclipse, with
I'm using ADB databinding to generate client- and serverside code for a fairly
complex collection of wsdl's and xsd's.
I have run into a problem with constructions like the following (using [...]
for abbreviations added by me):
File TLS_Sektion.xsd:
schema
I'm invoking a web service which implementation is an EJB.
_
From: Afkham Azeez [mailto:[EMAIL PROTECTED]
Sent: 22 January 2008 05:51
To: axis-user@ws.apache.org
Subject: Re: getCurrentMessageContext() returns null when invoked from
an EJB?
Are you trying to invoke a Web service from
Hi,
I have a couple of questions regarding Axis2.
1) Are wdsl2java generated stubs with XMLBeans data binding thread-safe,
i.e. can the stub be re-used in a concurrent environment?
In other words, would the following be reasonable sane code :-)
ConfigurationContext context
Hi Josef,
Sorry, forgot to put the links to the samples.
[1] -
https://svn.apache.org/repos/asf/webservices/rampart/trunk/java/modules/rampart-samples/basic/sample11/
[2] -
https://svn.apache.org/repos/asf/webservices/rampart/trunk/java/modules/rampart-samples/policy/sample01/
Thanks,
nandana
Hi,
The Axis jars are in the lib directory of the axis2 project and the ejb
jar definition has a class path property in the manifest.mf to load them
from axis2_home/lib directory.
The call to the ejb is from the same JVM as the web service so the calls
are all 'ejb local'.
I have followed
Hi Josef,
I think what .-2 is asking for is somehow the normal case. userName and
password in a xml file is, sorry to me a bit artificial and the wrong
place.
Yes. Agreed. In fact, that is why Rampart allows not only to set the
username
but the whole in/out flow configuration programmatically
Hello everyone,
I have 2 embedded axis 2 services in my web app. How can I list all the
available services? Invoking
http://localhost:8080/AppName/services/listServices returns an empty page.
Here is how i define the Axis Servlet in my web.xml:
servlet
Hi all,
after some calls to ServiceClient.sendReceive() my client app. blocks
forever. On the server side there are no error messages, the same on the
client.
By using jstack I've found out that my client blocks on sendReceive(),
however the target operation is very fast
Here is the output of
Hi at All thanks in advance,
I'm trying to write a (primary) Webservice which calls other
(secondary) Webservices.
All works fine when the primary WS-Method is directly invoked as a
Method by a Main-Method.
But when primary is invoked as WS, i get following error from the Client-Method:
The problem is that the current MessageContext is store in a ThreadLocal of
the thread that received the Web service request. It is possible that this
is not the same thread that is running within the EJB. The EJB is within the
control of the AppServer. The AppServer maintains a pool of bean
I've tried several things including pulling out the spring but to no
avail. I've written my own receiver that does what I need. If there
is a better way please let me know!
On Jan 21, 2008 11:46 PM, Ralph Perko [EMAIL PROTECTED] wrote:
Hi, thanks for the response.
Yes, it is a POJO and I
Simply calling the AxisServlet will not list services for you. One thing you
could do is write your own servlet to do this;
public class ListServicesServlet extends HttpServlet {
private AxisConfiguration axisConfig;
public void init() throws ServletException {
axisConfig =
Here is what I did:
Not sure if this is the best way but I don't have time to fight with
it any longer. Any suggestions are appreciated.
I tweaked the code from RPCMessageReceiver as follows
Right after the results are returned (after line 88) I added the
following (specific to XML Beans)
post wsdl please
M-
- Original Message -
From: Andreas Vogt [EMAIL PROTECTED]
To: axis-user@ws.apache.org
Sent: Tuesday, January 22, 2008 1:05 PM
Subject: AxisFault: Unknown
Hi at All thanks in advance,
I'm trying to write a (primary) Webservice which calls other
(secondary)
Attached the WSDL of primary WS.
/Andy
?xml version=1.0 encoding=UTF-8?
wsdl:definitions xmlns:wsdl=http://schemas.xmlsoap.org/wsdl/; xmlns:ns1=http://org.apache.axis2/xsd; xmlns:wsaw=http://www.w3.org/2006/05/addressing/wsdl; xmlns:http=http://schemas.xmlsoap.org/wsdl/http/;
On Jan 22, 2008 4:07 PM, [EMAIL PROTECTED] wrote:
Hi,
I have a couple of questions regarding Axis2.
1) Are wdsl2java generated stubs with XMLBeans data binding thread-safe,
i.e. can the stub be re-used in a concurrent environment?
In other words, would the following
Ok, I got it.
It was my fault. I forgot to set a required parameter in the request.
Thank you for help.
/Andi
2008/1/22, Andreas Vogt [EMAIL PROTECTED]:
Attached the WSDL of primary WS.
/Andy
-
To unsubscribe, e-mail:
Thank you Azeez. Do you see anything wrong if I extended the Axis Servlet
instead?
public class ListServices extends AxisServlet {
...
public void doGet(HttpServletRequest request,
HttpServletResponse response) throws ServletException {
StringBuffer output = new
I've been playing around with Axis2 in the last few days to see if it
could fit the SOAP stack needs of the project I'm working on. One of the
features I'm looking for is the possibility to organize my web services
(archives, POJOs, etc...) under the services repository (i.e. sub
directories), but
Hello, all,
I have a WSDL file from .net. It has four ports.
When I used wsdl2java, I only see the stub generated for it's first port.
How come the remainings are missing?
Thanks.
Denis
--
View this message in context:
Each Port indicates a single EPR address and needs to be unique
http://www.w3.org/TR/wsdl#_ports
M-
- Original Message -
From: denis.wang [EMAIL PROTECTED]
To: axis-user@ws.apache.org
Sent: Tuesday, January 22, 2008 6:08 PM
Subject: Axis2 wsdl2java generates fewer methods than expected
Hi, has anyone used Kerberos single sign on (via Active Directory) with
Axis 2?
Do you have any links to examples or tutorials that could help me out?
I have done a comprehensive search in google, and have not managed to
find much.
cheers,
Anth.
--
Anthony
According to the specificaiton:
1) A port MUST NOT specify more than one address.
2) A port MUST NOT specify any binding information other than address
information.
the rules are not violated. The port definition in discussion does not refer
more than one addresses. Instead, two ports are
The tool is actually a UDDI center.What I need first is to invoke web
services on an AXIS2+TOMCAT server with many policy support like
WS-Security,WS-Reliable Messaging,etc.Now the samples AXIS2 supply is
limited,so I need to know HOW and TO WHICH DEGREE the Axis2 support the
WS-Policy
Hello All,
I am running Axis 1.4 on J9 JVM and by default Axis is instantiating gnu.xml
parser even though my xerces jar is on classpath. How is it possible to
force Axis use Xerces XML parser instead? Can this be done via
client-config.wsdd?
Thanks,
Andrei
--
View this message in context:
Thanks Deepal - that helped to some extent. But after adding the operation
qname in sendreceive call, I got Server did not recognize the value of HTTP
Header SOAPAction: .. So I had to set the options object into the
ServiceClient - which was strange since from your doc at
if you're reading w3c.org then we are indeed reading from the same page
3.8 soap:address
The SOAP address binding is used to give a port an address (a URI). A port
using the SOAP binding MUST specify exactly one address. The URI scheme
specified for the address must correspond to the transport
In certain part of the world, A person MUST specify exactly one citizenship.
We cannot use the principle of symetry to say, therefore a country MUST have
only one person.
mgainty wrote:
if you're reading w3c.org then we are indeed reading from the same page
3.8 soap:address
The SOAP
Hi,
I wonder whether this might be an easier and safer method though.
Instead of RPCMessageReceiver use RawXMLINOutMessageReceiver and have
your operation take an OMElement and return an OMElement. So you
return the Atom stuff as an OMElemnet. This should be much safer as
you wouldnt have to do
Hi,
Please see my answer below.
On Tue, 2008-01-22 at 08:04 +0100, Stadelmann Josef wrote:
Hi Rampart Developers,
I think what .-2 is asking for is somehow the normal case. userName and
password in a xml file is, sorry to me a bit artificial and the wrong place.
And I really wonder why
Hi,
There is no *Skeleton.java generated as described in
http://ws.apache.org/axis2/1_3/userguide-buildingservices.html#deployrun
And the 4 classes contain some deprecated super classes...
Erm so where to get the updated WSDL2Java?
Thanks
NOTICE - This message and any attached files
If you extend AxisServlet, you will benefit by inheriting some of the useful
utility methods in AxisServlet. You will need to override doGet/doPost. So
there is nothing wrong in extending AxisServlet from a coding point of view,
but from a design and best practices point of view if there is no
I’ve been playing around with Axis2 in the last few days to see if it
could fit the SOAP stack needs of the project I’m working on.
Great.
One of the features I’m looking for is the possibility to organize my
web services (archives, POJOs, etc…) under the services repository
(i.e. sub
Hi Michele ,
Could you please create a JIRA and attach a test case or something ,
then we will definitely fix that for next release which we are targeting
on end of March.
Thanks
Deepal
Hi all,
after some calls to ServiceClient.sendReceive() my client app. blocks
forever. On the server side
35 matches
Mail list logo