of custom objects from a web service using
Axis2?
Thanks
From: Chinmoy Chakraborty [mailto:cch...@gmail.com]
Sent: Tuesday, June 23, 2009 10:20 PM
To: axis-user@ws.apache.org
Subject: Re: Problem serializing array of complex types
Are you using Object array
Are you using Object array and putting your custom objects there? I tried
with custom object array and it worked.
e.g Suppose you have objects of class A. Just use A[] and it will work.
Chinmoy
On Wed, Jun 24, 2009 at 1:04 AM, Besecker, Kyle
wrote:
> I created a web-service and it works great
I created a web-service and it works great for low level complexity
stuff. However, when I attempt to send arrays from the service, I begin
to run into trouble.
Initially I attempted to send an array of custom objects. I was able to
send a single object, but when I attempted to use an array, I got
Hi,
I was trying to figure out the same thing and posted a question on the
user-list. See "Specify JAXB generated complex types to Axis web service".
However, I think I did not get my questions across properly, although ppl
were kind enuff to respond.
Anyways, here's what I figured out so far.
All,
I'm trying write an adapter for an email server that calls a web
service. My application first retrieves and email from a POP3 server
then encodes the email into and XML format. The format is defined by
Mail.xsd supplied by Oracle. I used the Mail.xsd and jaxb to create all
of my stub code to
~Future is Open~
- Original Message - From: "Anders Syvertsen" <[EMAIL PROTECTED]>
To:
Sent: Thursday, January 26, 2006 5:22 PM
Subject: [axis2-0.94] - Problem serializing dateTime types??
Hi, just deployed my servic
~Future is Open~
- Original Message -
From: "Anders Syvertsen" <[EMAIL PROTECTED]>
To:
Sent: Thursday, January 26, 2006 5:22 PM
Subject: [axis2-0.94] - Problem serializing dateTime types??
Hi, just deployed my service and started to test it.
Seems to me that ax
Hi, just deployed my service and started to test it.
Seems to me that axis2 has problems deserializing the request, and
responses with an axisfault message.
Tried to write some text to std out first thing in my method, but no
text is written to my console. This indicates that the request
never
sets the XmlType in the following way:
>> elemField.setXmlType(new javax.xml.namespace.QName("http://...";,
>> "ArrayOfY"));
>> typeDesc.addFieldDesc(elemField);
>>
>> the newer ones do it like this:
>> elemField.setXmlType(new
ld);So the prefix "ArrayOf" is missing. If I add "ArrayOf" manually to the
generated code everything works great. So I think it is not a schemaquestion.Thanx,Grmlfz> --- Urspr�ngliche Nachricht ---> Von: iksrazal <
[EMAIL PROTECTED]>> An: axis-user@ws.apache.org>
hing works great. So I think it is not a schema
question.
Thanx,
Grmlfz
> --- Urspr�ngliche Nachricht ---
> Von: iksrazal <[EMAIL PROTECTED]>
> An: axis-user@ws.apache.org
> Betreff: Re: Problem serializing array of complex types
> Datum: Thu, 29 Dec 2005 16:26:13 -0200
>
> Grml
add "ArrayOf" manually to the
generated code everything works great. So I think it is not a schema
question.
Thanx,
Grmlfz
> --- Ursprüngliche Nachricht ---
> Von: iksrazal <[EMAIL PROTECTED]>
> An: axis-user@ws.apache.org
> Betreff: Re: Problem serializing array o
Grmlfz,
I'm not understanding your problem. I've used those evil soapenc arrays quite
a bit. What's does or doesn't it do? Your wsdl files are the same always,
right ? What you show different is seemingly schema stuff, which doesn't have
anything to do with wsdl2java.
Try clarifying your que
Hi!
I'm using WSDL2Java to generate Java-files from a customers WSDL-files.
These WSDL-files use complex types containing arrays of other complex types.
Till now we used 1.1RC2 to generate the Java-files. This worked well
serializing the array to somthing like this:
M
14 matches
Mail list logo