Hi,
If your "CustomJavaObject" is JavaBean,
I think you can return array of "CustomJavaObject",
and your service class below is right.
--- rajac <[EMAIL PROTECTED]> wrote:
>
> But it simply returning a Java Bean. But my purpose is to return an
> array of
> java objects.
>
> like :
>
hi,
I recently updated the axis2 helper mode functionality which was not
uptodate.
In helper mode it generates two class for each bean type. One is the normal
bean class with getters and setters with validation logic. The other class
is the helper class with conatins getOMElement, getPullparser an
But it simply returning a Java Bean. But my purpose is to return an array of
java objects.
like :
public CustomJavaObject[] getArray((){
// set the CustomJavaObject[]
// return CustomJavaObject[]
}
Regards,
Raja
Deepal Jayasinghe wrote
Hi rajac ;
> Hi, I am new to axis2-1.1. Currently I am trying to create a web
> service that returns an array of Java custom Objects.
You mean Java Bean ?
If so please have a look at Samples in Axis2 bistro
Thanks
Deepal
> I could not able to find sample code from samples comes along with the
Hi,
Did you check POJO sample ?
--- rajac <[EMAIL PROTECTED]> wrote:
>
> Hi,
>I am new to axis2-1.1. Currently I am trying to create a web
> service that
> returns an array of Java custom Objects. I could not able to find
> sample
> code from samples comes along with the axis2 distribution
Hi,
I am new to axis2-1.1. Currently I am trying to create a web service that
returns an array of Java custom Objects. I could not able to find sample
code from samples comes along with the axis2 distribution for this purpose.
Can anybody help me sending some sample code for the same. I am usin
fixed this in the trunk
On 1/24/07, Ajith Ranabahu <[EMAIL PROTECTED]> wrote:
Hi,
Yes - Please do. Then we will not at all forget about this (:)) and
you can also mark the severity accordingly.
Ajith
On 1/24/07, Tugdual Grall <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I am using Axis2 1.1 and ha
On 1/25/07, Sathija Pavuluri <[EMAIL PROTECTED]> wrote:
Sanjiva,
The code has been generated from wsdl. I think the problem is not with
generated code.
Sometimes it may not serialize the child object correctly. Can you send you
wsdl?
The soap response itself does not look right.
It is mis
Are you using Axis2 or Axis1? Can you try eclipse plugin at
http://ws.apache.org/axis2/tools/1_1/eclipse/wsdl2java-plugin.html
On 1/25/07, Lucas Theisen <[EMAIL PROTECTED]> wrote:
Hi,
I am trying to generate code from a ".wsdl" file. I have defined the
schema based on an application with an
Hi Sathija ;
>Hello,
>
>I am using Axis2 1.1.1 for my web services and use ADB for data binding with
>RPCMessageReceiver.
>
>
are you using ADB in client side or server side ?
If you are using ADB in server side you do not need to use
RPCMessageReceiver.
>I have been unsuccessfully trying to r
The reason for this is that we use the wsdl4j to parse the wsdl file. and
the wsdl object structure keeps the message parts in a Map. Axis2 gets the
parts objects from this map when generating the XMLSchema part for the
message. Since map does not preserve the object order it picks parts in a
rand
I'm using Axis 1.4 for a web services client, and would like to change the
"User-Agent" header from "Axis/1.4" to something else. Is there any way to
do it?
I've been able to add a "User-Agent" header:
Hashtable t = new Hashtable();
t.put(HTTPConstants.HEADER_USER_AGENT, "My Clie
Hi All,
Apache Rampart SVN, mailing list and JIRA is now ready !
Mailing list : rampart-dev@ws.apache.org
JIRA : http://issues.apache.org/jira/browse/RAMPART
SVN : https://svn.apache.org/repos/asf/webservices/rampart/trunk/java
Thanks,
Ruchith
--
www.ruchith.org
www.wso2.org
---
not that we are aware of...
-- dims
On 1/25/07, Darryl Bowler <[EMAIL PROTECTED]> wrote:
Are there any issues with AXIS and this years change in daylight saving time?
Apart from the obvious upgrade of Java.
-
To unsubscribe,
Are there any issues with AXIS and this years change in daylight saving time?
Apart from the obvious upgrade of Java.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hello,
I am using Axis2 1.1.1 for my web services and use ADB for data binding with
RPCMessageReceiver.
I have been unsuccessfully trying to return a datatype 'A1' to my client. 'A1'
extends from an abstract object 'A'
that also contains from attributes.
However, when the client receives the r
Thanks Deepal.
I found the info in the following way:
MessageContext cxt = MessageContext.getCurrentMessageContext();
org.apache.axis2.transport.http.TransportHeaders headers = (
org.apache.axis2.transport.http.TransportHeaders)cxt.getProperty(
MessageContext.TRANSPORT_HEADERS);
System.out.prin
See Jira 1930 [
https://issues.apache.org/jira/browse/AXIS2-1930?page=com.atlassian.jira
.plugin.system.issuetabpanels:all-tabpanel ].
Maybe it could help you.
Laurent CHARTIER
-Message d'origine-
De : [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Envoyé : jeudi 25 janvier 2007 16:13
À :
Line numbers are available or not depending on the options given to the
java compiler. You can control the appearance of line numbers for your
code, but not for the axis2 code or tomcat container code loaded from
pre-packaged jars, depending on how those jars were built. If you want
line numb
Hello Anne,
I tried with another client. I get the same error though it has phone
element in it.
Request
http://schemas.xmlsoap.org/soap/envelope/";
xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance";
xmlns:xsd="http://www.w3.org/1999/XMLSchema";
SOAP-ENV:encodingStyle="http://schemas.xmlsoa
Jeff,
Thanks for the tips.
I manage debug my Axis2 WS in Tomcat using eclipse now.
But I still am having a problem though. When the debugger stopping at
the server side code it doesn't highlight the line where it is stopping.
The Debug Call stacks is saying "line: not available [local variables
u
I'm using axis2 and noticed there is no BasicHandler class, only an
AbstractHandler. If this is the right class, could you please give me
some more details or point me in the right direction on how to
implement it? I'm completely new to web services and axis so this is
all new to me. Thank
I don't think it is the same problem. In fact, parameters seem to get
back in the right order in the generated 'toEnvelope' method. So I don't
know if the change in parameters order is really an issue. As long as
you read the stub code, you can find out what are is stub method
parameters order,
Hello,
Can anyone please point me to a sample or example that
shows how to write a test client for axis where the
method takes in String[] or returns String[]?
Specifically, for input params String[],
How would I code the call below?
call.addParameter( "params", XMLType.XSD_STRING,
ParameterMode.
Hi,
I am trying to generate code from a ".wsdl" file. I have defined the
schema based on an application with an existing SOAP API. The schema
has a bunch of 's. It is my understanding that each named
complex type should be generated as its own class, which is not
happening. This is a sect
Hi all,
I generated some stubs using WSDL2java tool. Here is the kind of command
I used:
WSDL2Java -uri wsdlPath -p stub-d adb -s -uw -o outputDir
Now when I compare the generated stub and the wsdl, I see the order of
parameters has changed:
WSDL:
stub:
public stub.Vpn_groupStub.He
Hi, thanks for the link. What is that msgCtx object and where does it
come from? Like I said, I'm using the pojo approach and its really
nothing more than a pojo with some simple methods in it.
On Jan 25, 2007, at 3:29 AM, Deepal Jayasinghe wrote:
Hi Jared ;
Following FAQ will help you to
Sanjiva,
The code has been generated from wsdl. I think the problem is not with
generated code.
The soap response itself does not look right.
It is missing some elements which are defined in the wsdl. Specifically, these
are the elements from the super class
of the object that the service is ret
Sebastian,
Could you send your complete client code, please?
I'm trying to do a client using rampart without axis2.xml unsuccessfully here.
Thanks,
Mauricio
2007/1/24, Sebastian Roschke <[EMAIL PROTECTED]>:
Hi Ruchith,
thanks for this important hint. Your proposal works fine. I removed the
ax
Here you go :
[1] http://rafb.net/p/9ymO1p28.html
[2] http://rafb.net/p/XoI52y98.html
On 1/25/07, Mauricio Wodarski da Silva <[EMAIL PROTECTED]> wrote:
Ruchith,
Could you paste code [1] and [2] again, please?
They aren't available anymore. :(
Thanks,
Mauricio
2007/1/24, Ruchith Fernando <[
Ruchith,
Could you paste code [1] and [2] again, please?
They aren't available anymore. :(
Thanks,
Mauricio
2007/1/24, Ruchith Fernando <[EMAIL PROTECTED]>:
Hi Sebastian,
I used the generated stub to successfully create a request[1] and
engage Rampart on the client without any configuration.
Sanjiva,
Right now codegen does not look for or support SwA stuff in WSDL. So
Yes, for now we need to do this.
thanks,
dims
On 1/25/07, Sanjiva Weerawarana <[EMAIL PROTECTED]> wrote:
Even if the WSDL from which the code was generated had no attachments
mentioned?
Sanjiva.
On Wed, 2007-01-24
I need help with a short (3 to 5 day) project migrating an existing Axis
1.4 service to Axis2. Details, including where to send bids, are at
http://www.pineneedleconsulting.com/axis2migration.html. (My apologies
if this posting is not appropriate for this list.)
Mike
Hi Michele,
Engaging the module on the client side is one thing, it is one side of
the communication I mean, the server-side selective engagement is the
other thing. I am sure this can be achieved via custom handlers, it
seems to be a flexible approach. My idea was whether this
functionality is c
Hi Angel,
what about engaging the module on the client side (like the
addressing module)?
Otherwise I think you could achieve you goal by adding a custom
handler which engage/disengages modules according to which client is
invoking the service.
Michele
On 25 Jan 2007, at 12:47, Angel To
Hi,
I thought it'd be neat to have a common base type for all my return
value types, containing an 'error type', 'error message', and optionally
the returned value. My first stab was (simplified for brevity&clarity):
public class WsResult
{
public Integer errorCode;
public String errorStrin
Hi all,
I have noticed that there are various ways to engage and disengage
modules - either statically or dynamically, which is very good in
terms of flexibility.
1) statically -> in services.xml or in axis2.xml
2) dynamically ->
- message
inMessage.getAxisMessage().engageModule(arg0, arg1)
-
Hi Jared ;
Following FAQ will help you to figure out how to get the client IP
http://wso2.org/library/480
Thanks
Deepal
> I'm using the pojo approach (http://ws.apache.org/axis2/1_1_1/
> pojoguide.html) and need to implement a logging system in my service
> to log various things including the
38 matches
Mail list logo