> Hi,
>
> My question is: using request scope, ServiceGroupContext has the same
> life time as the invocation of the operation???
Yes.
>
> Do I have to use ConfigurationContext if I want to keep something in
> common to all service invocations or do I have another option???
Yes, if you are going t
Sure here is the method from the server side code
public javax.activation.DataHandler[] returnStreamingByteArray(final int
timeout) {
DataHandler ret = new DataHandler(new DataSource() {
private long start = System.currentTimeMillis();
private long end = start + tim
Okay, thanks a lot. That is a reason, but can't solve my problem :). I only
develop the client and not the service. The service is actually working. But i
will inform the service developers.
Thanks a lot!!
> -Ursprüngliche Nachricht-
> Von: axis-user@ws.apache.org
> Gesendet: 05.07.07
Hi Amila,
Thanks a lot. I have modified my wsdl file to following the standard
specification, by modifying to:
Thanks again.
Kelvin
Amila Suriarachchi <[EMAIL PROTECTED]> wrote:
On 7/2/07, Kelvin Lin <[EMAIL PROTECTED]> wrote:I am really looking
forwards to fix
On 7/1/07, Alexey Zavizionov <[EMAIL PROTECTED]> wrote:
Hello,
I think that by default should be generated all ports for all services.
And with option you may choose which ports for wich services will be
generated.
Sorry for late reply. Actually I had done this change before one day to your
r
generating code make sure you use -uw option. this will generate you a much
simplified api.
then created the stub classl
XXXStub stub = new XXXStub();
then call the method stub.XXX();
On 7/3/07, Charitha Kankanamge <[EMAIL PROTECTED]> wrote:
Hi,
The following will help you to get some under
On 7/3/07, Alejandro Calbazana <[EMAIL PROTECTED]> wrote:
For what its worth, it looks like the latest snapshots do not generate
faults properly. While generating my own wsdl that contains fault
types, I noticed that the types names were named differently that what I
am used to. I then checked
this problem is in here
the message part is not namespace qualified So you have to put it as
this would fix your problem.
And also if you want to send nothing in body put parts
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Sorry for hijacking this thread.
Can we please also remove the documentation links for our older releases
from the left tool bar of the site. For me it is irritating to see 0.94
documentation still in Axis2 main page.
Can we please move it to some o
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Sebastian Roschke wrote:
> Hi,
>
> I've got a problem concerning the MessageContext used in Axis2
> MessageReceivers and Handlers. Is it possible to change members of the
> message context; e.g. WSAAction? How this changes can be applied to
> envelope
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Sebastian Roschke wrote:
> Hi Deepal,
>
> thanks for the answer. I know that there is no change in the envelope.
> But is there any possibility to change the envelope? Would it be
> possible to work directly within the envelope? When I get the envelop
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Walker, Jeff wrote:
> You don't pass complex types in REST web services. Period.
Completely disagree.
> It's all about those Query parameters, the name-value pairs following
> the '?' and separated by the '&'.
Remember one realization of REST is to
Hi Anne,
I'm not using REST for my web services, I just gave the login sample as
an example for zakaria's email about passing parameters to in a REST way.
Thanks
Raghu
From: Anne Thomas Manes [mailto:[EMAIL PROTECTED]
Sent: Wed 7/4/2007 3:23 PM
To: ax
Jorge,
Please log a new bug with your test case.
thanks,
dims
On 7/4/07, Jorge Fernandez <[EMAIL PROTECTED]> wrote:
Hi,
Some months ago, I had some problems with the use of hierarchies with adb
and xmlbeans. Apparently they were resolved with adb but know, I'm getting
the same error.
For exa
Hi,
Some months ago, I had some problems with the use of hierarchies with adb and
xmlbeans. Apparently they were resolved with adb but know, I'm getting the same
error.
For example: I have an array of an object called "parent" and I put into that
array instances of "child1" or "child2" (those
Hello all,
How can I set the client service stub to retry if the underlying http
connection times out or throws some other error? I believe that sandesha2
can do this, but I'm not able to deploy any additional modules to axis2 at
this time. Are there any other options?
P
You should use GET only if your intention is to "get" a representation
of a resource -- i.e., a "safe" operation that does not effect any
change of state to the server.
If your intention is to make some type of change to the resource, you
should use one of the following non-safe methods: POST, PU
The delay is due to the default behaviour of writeObject() in
javax.activation.DataHandler. The stream that gets passed to it is
buffered, which will have to fill up before the bytes are sent over the
socket's stream.
Also the ByteArrayDataSource requires that the DataSource be fully
written to be
Axis1 or Axis2? Can you post some code of what you tried?
thanks,
dims
On 7/4/07, Peter Makoi <[EMAIL PROTECTED]> wrote:
Does soap with attachments using MIME multipart support streaming?
I have goggled around trying to find out if there is a possibility of doing
that but i end up getting
I've always thought that web service sessions - in any framework - don't
play nice together or even in the same framework. In the axis2 case, I've
seen a lot of confusion in this area and after reading countless emails and
several articles about it, and reading the code, I still don't entirely get
Does anyone know if there is any documentation anywhere on the web that
explains axis2 sessions? Specifically the ending of sessions? I have
searched all over the web for how to kill a transport session, and I have
seen many others asking how to end all types of sessions, but nobody seems
to kno
Please create a JIRA and upload your wsdl.
thanks,
dims
On 7/4/07, Jochen Zink <[EMAIL PROTECTED]> wrote:
Hello,
I try to generate a client Stub with wsdl2java.
I got the following Exception if I execute the wsdl2java tool.
It seems, that the codeGen tool believes, that the is no messagepart
If you want to use POX(plain old xml) over HTTP using the POST mechanism then
you could dispatch the complex data types. But that is not the pure form of
REST.
try to design your schema in such a way that you can invoke the requests using
simple GET mechanism.
Hi,
My question is: using request scope, ServiceGroupContext has the same life time
as the invocation of the operation???
Do I have to use ConfigurationContext if I want to keep something in common to
all service invocations or do I have another option???
Thanks in advance,
Jorge Fernández
Hello,
I try to generate a client Stub with wsdl2java.
I got the following Exception if I execute the wsdl2java tool.
It seems, that the codeGen tool believes, that the is no messagepart
bipro:Security declared int the wsdl file. But, as you can see in the attached
file, it is declared.
I'm
It worked!!
Thanks a lot.
About Policies, do you know where can I find any sample on how to get a service
policy from the client and check the compatibility with client's policy?? In
rampart samples, policies are set on services.xml and I don't know how can the
client access them. Should I p
Hi developers ... :-)
Running multipple clients, each talkes to an instance of MyService5.java;
MyService5.java has init(), login(), map(), logout(), destroy(), implemented;
It was said somewhere in this mailing-list that init() and destroy() methods
get called at the proper time by axis2 if
Yes I got the same
a workaround could be changing the namespace in this way
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap12/";
xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/";
it works.. sounds a bit quick and dirty as well..but in the mean time, I
think I`ll use it..
Boemker, T
What??
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/";
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap12/";
I think there`s a kind of typo here? Two definition for the same namespace..
I see some exception in my console
Anyway I think you mean
xmlns:soap="http://schemas.xmlsoap.org/wsdl
Ok, it works partially for me.. I still have get thechanged at runtime.. some ideas?
Krishnamoorthy J (HCL Financial Services) wrote:
>
>
> Hi J.K.,
>
>
>
> Setting the true worked.
>
>
>
> Thanks,
>
> Krishna
>
>
>
>
>
> From: Jarek Kucyper
Hello,
I have a StateFull WebService written with Axis2 1.1.1 with scope="soapsession".
Know I want to develop a .NET client to test interoperability. It works well, I
can call every Service Method. But the client ignores WS-Addressing
information's. The ServiceGroupID is not sended back to the
Yup they do thanks for the help.
On 7/3/07, Anne Thomas Manes <[EMAIL PROTECTED]> wrote:
The generated stubs should do it automatically.
On 7/3/07, Alex Craddock <[EMAIL PROTECTED]> wrote:
>
> I have just created my stubs using the WSDL"Java (didnt no it existed,
> thanks for mentioning it sav
yesterday i tried again but i cannot really find a way
to use ws-addressing. The code below seems to work, i think im doing
something wrong in the addressing part.
is this
EndpointReference er = new
EndpointReference("tcp://localhost:777/ConnectionManager");
a correct way to specify the EPR + ser
Thanks for your response!
Alexey
On 7/3/07, Anne Thomas Manes <[EMAIL PROTECTED]> wrote:
Axis uses it's own internal databinding system (referred to as
de/serialization) that's based on SAX. It is not a pluggable option.
(Perhaps you've seen messages such as "no deserialized found for [qname]).
Does soap with attachments using MIME multipart support streaming?
I have goggled around trying to find out if there is a possibility of
doing that but i end up getting some old postings and documentations
that suggest that SwA does not support streaming
I have also tried to simulate streaming a
35 matches
Mail list logo