If you are using 1.6 then instead of using Object[] try using array of your
specific custom class if possible..
On Wed, Aug 3, 2011 at 12:11 AM, Barry Hathaway wrote:
> Sagara,
>
> Is there an easy way to grap the binary distribution of 1.7.0-SNAPSHOTS?
> When I look into the distribution/SNAPS
You can download it from here for testing
https://builds.apache.org/view/A-F/view/Axis2/job/Axis2/org.apache.axis2$distribution/
Thanks !
On Wed, Aug 3, 2011 at 12:11 AM, Barry Hathaway wrote:
> Sagara,
>
> Is there an easy way to grap the binary distribution of 1.7.0-SNAPSHOTS?
> When I look i
Hi,
I am trying to deploy very basic jaxws-calculator example. After
succsessful deployment I try to access WSDL as described in README:
http://localhost:8080/axis2/services/CalculatorService.CalculatorServicePort?wsdl
but I get "The endpoint reference (EPR) for the Operation not found is
/
What do you expect from ?wsdl to come back?
a) only information about the CalculatorServicePort OR
b) only information about the CalculatorService where CalculatorServicePort
is only a fragment of information?
Josef
-Ursprüngliche Nachricht-
Von: Ognjen Blagojevic [mailto:ognjen.d.bla
Hi Josef,
Mentioned syntax (ServiceName.PortName?wsdl) is strange for me also, but
example org\apache\axis2\jaxws\calculator\client\CalculatorService.java,
uses exactly that:
url = new
URL("http://localhost:8080/axis2/services/CalculatorService.CalculatorServicePort?wsdl";);
...
CALCULA
If I create an .aar do I not mandatory need a service.xml?
How far is a POJO different then a normal service?
And what makes the difference during deployment?
And when does a POJO servie become a normal service hence may/maynot need a
service.xml?
Also I have added in serivice.xml as well as in
Thanks Martin and Deepal for your help with this.
I believe that the addressing module is engaged on the server side - to be
sure, I engaged it via the axis2-admin page. No change, unfortunately.
I've created a bug: https://issues.apache.org/jira/browse/AXIS2-5111 with
the client and server code
Maybe this example was just runing through an edit/compile pass
but has never passed a real test/run/debugg pass.
I was googling for
org\apache\axis2\jaxws\calculator\client\CalculatorService.java
And found
http://www.opensourcejavaphp.net/java/axis/org/apache/axis2/jaxws/calculator/client/Calc
On axis2 - addressing.mar is engaged globally by default.
Look at the axis2 admin pages
But what about your client?
Josef?
Von: Todd Chisholm [mailto:todd.chish...@gmail.com]
Gesendet: Mittwoch, 3. August 2011 19:24
An: java-user@axis.apache.org
Betreff: Re: Async axis client call timing o
Hi Josef,
Good question. I have this in my client:
sender = new ServiceClient();
sender.engageModule(Constants.MODULE_ADDRESSING);
sender.setOptions(options);
sender.sendReceiveNonBlocking(payload, callback);
Is the second line sufficient to ensur
On Tue, Aug 2, 2011 at 8:20 PM, Barry Hathaway wrote:
> I'm trying to enable addressing so that I can use soapsession.
> In axis2.xml I have:
>
>
>
> In the client I have:
>
> serviceClient.engageModule("addressing");
>
> However, when I invoke any of the methods of my POJO service I get:
Sagara,
Thanks. Setting the options.setAction("urn:method-name") seems to work
just fine.
It does seem a bit redundant though since in my invokeBlocking call I
pass in a
QName(uri,"method-name"). Any idea why both are necessary?
Barry
On 8/3/2011 1:57 PM, Sagara Gunathunga wrote:
On Tue,
Operation name and soap action can be different, so that is why you
need to set the correct SOAP action (according to the WSDL). Or else
you need to give the full EPR /services/MyService/myOperation.
Thanks,
Deepal
On Wed, Aug 3, 2011 at 3:53 PM, Barry Hathaway wrote:
> Sagara,
>
> Thanks. Sett
Since I really didn't have any luck returning Lists or arrays, I decided
to return
a simple POJO class in my POJO web service. The class that I am trying
to return
is defined on both the service and client side as:
public class QueryResultSet {
private List columnNames;
pri
Have a look at the following article, it might throw some lights:
http://wso2.org/library/articles/working-rpcserviceclient
Deepal
On Wed, Aug 3, 2011 at 5:00 PM, Barry Hathaway wrote:
> Since I really didn't have any luck returning Lists or arrays, I decided to
> return
> a simple POJO class i
> Hi Josef,
>
> Good question. I have this in my client:
>
> sender = new ServiceClient();
> sender.engageModule(Constants.MODULE_ADDRESSING);
> sender.setOptions(options);
> sender.sendReceiveNonBlocking(payload, callback);
>
> Is the second line
> If I create an .aar do I not mandatory need a service.xml?
yes .aar file must have a services.xml
> How far is a POJO different then a normal service?
It does not have a services.xml, but there are some other limitations
(e.g., cannot have package name, cannot have more than one class)
> And wha
Deepal,
That was a good article. You give two ways of calling invokeBlocking.
I'll give the first way a try tomorrow; however, the second way
(specifying a return type)
is exactly what I am doing. It does seem to create my bean, but does
not deserialize it
properly prior to calling the sette
Hi Barry,
Now I understand the issue, in the service you have specified the
columnNames as List, so when Axis2 to desalinize XML to Object
it creates an OMelement. So what you get is correct, if you need more
specific data types then use the correct generics (e.g., List)
Thanks
Deepal
> Deepal,
>
Guys,
A user called "Todd" recently observed [1] that we have issues with
non-blocking invocation with two channels. I went and tested it and I
was able to re-create the issue. While debugging the code I realized
that something has gone wrong. IIRC for the server side we had a check
for replyTo hea
Hi Barry Hathaway,
As far as I know Axis2 aximo data model does not support java collection
framework. However one webservice input argument can be declared as List.
I think the reason behind this is to achieve platform independence.
Regards,
Narendra
> Date: Wed, 3 Aug 2011 17:00:52 -04
21 matches
Mail list logo