Hello List,
I am facing this problem while using AXIS2.please help
Caused by: org.apache.axis2.AxisFault: Connection refused: connect;
nested exception is:
java.net.ConnectException:
Connection refused: connect
at org.apache.axis2.transport.http.CommonsHTTPTransp
On 8/3/06, L YSSELSTEIN <[EMAIL PROTECTED]> wrote:
Hi Ruchith,
I looked at the website and understand how to fetch the username from the
message context.
I'm afraid the problem doesn't change however.
Because when the message receiver method is reached the security handler is not
processed. S
Or is this behavior different from axis 1.x?
http://wiki.apache.org/ws/FrontPage/Axis/WSDLJavaHeader
FooServiceLocator loc = new FooServiceLocator();
FooService binding = loc.getFooService();
// Call web service operation that returns a header
result = binding.myOperation(...);
org.ap
Title: Message
Please
file a JIRA for this. Axis code should not be throwing exceptions unless they
include messages that clearly explain what the problem is. In this case, it
is not clear to me that an exception should be thrown at
all.
Thanks.
Derek
-Original Message-From
In general, you cannot send arbitrary exceptions to remote clients, since
Axis (or most other client/server communication protocols) has no idea how
to serialize/deserialize an arbitrary exception that you might have created
so that it can be transmitted to a remote client. You should probably only
I'm really close to getting the SOAPEnvelope.
I noticed you can get it from the Stub.
stub._getServiceClient().getServiceContext().getConfigurationContext().g
etOperationContext(String messageId).getMessageContext(String
messageLabel).getEnvelope();
I can't figure out what messageId and messageL
Hello list,
I have done some research and cannot find an answer to this question; I am new
to axis and web services so bear with me.
I have several java classes deployed as web services via axis 1.4, the ones
that have default constructors (i.e. they take no arguments) work fine. The
problem i
Hi Chinkata,
I just managed to get my first REST POST sample working, after having
downloaded the nightly build. I also fiddled around with my code so
it is not clear what was wrong. The sourcecode is provided below.
Thank you very much,
Juliane.
---
I downloaded nightly build of 2nd august as I was facing some class loader issues. Now things are so screwed up I cannot even run a hello world service.
Here is my hand written hello wsdl. This used to work fine.
Now I can upload the service. And when I browse to see the wsdl in the browser (I
SEVERE: java.lang.NoSuchMethodError: org.apache.axis2.databinding.utils.ConverterUtil.convertToint(Ljava/lang/String;)I
org.apache.axis2.AxisFault: java.lang.NoSuchMethodError: org.apache.axis2.databinding.utils.ConverterUtil.convertToint(Ljava/lang/String;)I
at org.apache.axis2.descriptio
So these Handlers are they server side only or client/server?
>From that article it seems as if they are server side only.
-Original Message-
From: Deepal Jayasinghe [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 02, 2006 11:37 PM
To: axis-user@ws.apache.org
Subject: Re: one more ques
This is probably pretty trivial but I will throw it out
since I can't find the info i'm looking for via mailing lists/web
reference...
I have a series of web services that send and recieve
data between them (dual roles of consumer and provider), each requiring
security handling via Outflow
HI Lennard,
yes,this is a performance hit. I'm doing some performance improvements
to Sandesha2. Will be converting the Invoker and Sender into thread
pools.
Thanks for the comments.
Chamikara
On 8/3/06, L YSSELSTEIN <[EMAIL PROTECTED]> wrote:
Hi Chamikara,Ok. I understand.As a last question.I
wa
Thanks Marcel for the inputs. As I am new to this Axis, so would not be able to comment.
I would really appreciate if anyone give us the right direction to resolve this problem.
Thanks,
Deepak
On 8/3/06, Marcel Frehner <[EMAIL PROTECTED]> wrote:
Hi DeepakI've got the same problem and can't fi
Hi Juliane,
Seems like you had tried different options but no luck. but I got all
the things working without a problem.
Can you get Axis2 nightly build and try with it.
This is all you need to do.
- Get a sample wsdl. Codegen both the skeletons and stubs, use ADB for now.
- Fill the skeleton and
This is FYI...in case anyone else observes this,,,
(Sorry to Anne BTW because my typo of xxiddetails that she refers to
...there is indeed a typo but only in the email..not in the code.)
The problem I encountered is resolved and the code now worksmy
error was that I accidentally deleted th
Hi Ruchith,
I looked at the website and understand how to fetch the username from the
message context.
I'm afraid the problem doesn't change however.
Because when the message receiver method is reached the security handler is not
processed. Sandesha has called the handler in the create sequence
Hi,
I have still not found out how to use REST/POST for service access.
None of the following ideas worked for me:
1. Use the code provided in the documentation (RESTful Web services
Support)
Though I managed to make this compile by only slight changes (added
imports, replaced Call by Se
Title: HTTP Error 401 deploying WSDD
Hello
I have recently added web service functionality to web application I have been developing.
I encountered no problems generating and deploying the new code in my development environment. This was achieved by with the following Axis tools: org.apac
Hi Deepak
I've got the same problem and can't find a solution. Following up your
thread about the EchoStringParam I would suggest something like the code
below. But what ist the XMLStreamReader supposed to be? I mean, how can I
create an EchoStringParam?
Marcel
***
import org.apache.axis2.us
On 8/3/06, Chamikara Jayalath <[EMAIL PROTECTED]> wrote:
Hi Lennard,
Please see my comments below,
On 8/3/06, L YSSELSTEIN <[EMAIL PROTECTED]> wrote:
> Hi Chamikara,
>
Basically, what we are trying to do is this. When the first invocation
passes the security handler, the handler checks the
Hello
I have recently added web service functionality to web application I have been developing.
I encountered no problems generating and deploying the new code in my development environment. This was achieved by with the following Axis tools: org.apache.axis.wsdl.Java2WSDL, org.apache.ax
I tried using this line:
TestException myEx = (TestException) gbe;
But, it won't even compile. It gives me the error:
Cannot cast from RemoteException to TestException. Is
there something I am missing?
Thanks,
Eric
--- xu cai <[EMAIL PROTECTED]> wrote:
> AxisFault extends from RemoteExceptio
Hi Chamikara,
Ok. I understand.
As a last question.
I was looking through the InOrderInvoker code and saw a loop with a sleep time
of 1 second for each loop. Won't this break performance?
Also, are all sequences of messages processed by this one thread?
Thanks,
Lennard.
- Original Messag
Hi Anne,
Where can I find an example of this XML schema that PHP must map the complex
datatypes ? I need of this sample XML because I think that I should tell
to the web service developer team that I need it to develop a web service
client in Java.
Thanks in advance,
Sergio Stateri
That link is very helpful, thanks.
-Original Message-
From: Eran Chinthaka [mailto:[EMAIL PROTECTED]
Sent: Mittwoch, 2. August 2006 20:07
To: axis-user@ws.apache.org
Subject: Re: Problems with the REST POST Example
You might want to read http://www.wso2.net/kb/175, until I or some on
Hi Guys,
This question has already been asked in the forum and I suppose I am the third person to ask this question. But no response has come so far to rectify this problem. Following is the problem:
I am facing some problem creating client for the example mentioned in the user guide. http://ws.
Hi Lennard,
Please see my comments below,
On 8/3/06, L YSSELSTEIN <[EMAIL PROTECTED]> wrote:
Hi Chamikara,Basically,
what we are trying to do is this. When the first invocation passes the
security handler, the handler checks the user credentials.If the username/password is valid, the userprofile i
The problem that I see is that the WSDD specifies a different local
name than the one specified in the WSDL. The WSDD qname is
null}"org.simple.xxid". The WSDL qname is
[targetnamespace]}xxiddetails. That's the reason that your SOAP
message contains the xsi:type attribute:
The qname specif
Hi Rajith,
Here is how I am putting my application
together. I have a set of core services that are Spring beans. I
use Hibernate as my persistence tier. The Web services layer calls a
Spring service that implements the business logic.
Axis2’s Spring support allows the
developer
Hi,
Please try changing your code in the following way
=
InputStream is = new
StringBufferInputStream("some_valid_keygogle");
StAXBuilder builder = new StAXOMBuilder(is);
OMElement documentElement = builder.getDocumentElement();
=
Usually the document element should come from the builde
Hi Chamikara,
Basically, what we are trying to do is this. When the first invocation passes
the security handler, the handler checks the user credentials.
If the username/password is valid, the userprofile is retrieved from Ldap and
stored in a context for future reference.
>From the security h
Hi Lennard,
I'm not fully getting it. What do u mean by a Security Context. To my
knwoedge security handler saves all the information to the message
context.
The storage framework should not loose any information when saving and
retrieving information. In the in-memory implementation Message Cont
Hi All,
This was due to a recent change I did on the typemapper code. I've
corrected the issue in the latest SVN and the given two WSDL's
generate proper code.
However the second WSDL is a rpc/encoded one. Axis2 is not guranteed
to process such WSDLs properly!
Ajith
On 8/3/06, Samisa Abeysinghe
The QName is created without a NS (see soap snippet because this is
just a test example...) and adding one does not make a difference to
the behaviour described in the message below.
As I said,,, no error or fault is reported...the only sign of a
problem is that a call
useService ( {"one" , "two
Hi,
I’m trying to
call the GoogleSearch webservice, for a simple test, but I don’t seem to
succeed.
When reading in a
very simple document, I get an OMException, without detailMessage.
Definition serviceDefinition =
getWsdlDefinition(wsdl);
AxisConfiguration config = new
AxisCo
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi Thomas,
We need your help here. I hope you are using the SNAPSHOT. Now you have
to do a little test for us,
Find the class SOAPOverHttpSender , which is in the
core/src/org/apache/axis2/transport/http/
Go to line 181;
replace the code *element.s
Hi Chamikara,
Ok, I understand.
During debugging I can see the first invocation to be passed through the
security phase.
The problem is that during the security phase the security handler is adding
user information to a acegi security context.
This context only exists during each invocation.
Bec
38 matches
Mail list logo