I am using Axis2 1.2, and have a Web Service API which receives a text
string which contains CRLF (carriage-return, linefeed) characters.
By the time the string gets through the de-serialization layer on the
receiving server-side, the CRLF has become just LF. This probably works
well for Unix,
I would think that there is no need to create a new client stub for each
web service call. You just need to be sure you create a separate stub
for each client thread. On each thread you can make as many web service
calls as you like using the same proxy.
From:
Wouldn't it be possible to create a new schema namespace for the next
version of a webservice, and then manage the changes internally in one
web service?
So your first version of the web service might have a schema namespace
of:
http://xxx.com/webservices/V1";>
.
The process of creating
arse(SubjectDTO.java:823)
... 5 more
Right now we are able to get this working using xmlbeans databinding in
the
client side.
Any pointers / workaround highly appreciated.
Balaji
Kraus, David wrote:
>
> To further clarify: serialization code provided on the server side by
Just a wild guess but:
The error "Unexpected subelement typeId" would lead me to want to
investigate the handling of nil with "anyType" fields. It looks like the
deserializer hit the typeId data, maybe while processing the previous
nameList ("anyType") field. Try substituting another specific type
"unexpected subelement"
errors occur.
I am going to assume that this is a bug since I don't see this behavior
when the subclass does not contain an array.
Dave Kraus
____
From: Kraus, David
Sent: Monday, July 28, 2008 5:49 PM
To: axis-use
I deployed a simple web service as a POJO to both axis2 1.2 and axis2
1.4. This service basically echoes back an object which demonstrates
inheritance. In this example, MWSAttributeObjectInfo is a subclass of
MWSObjectInfo. To create the client I used wsdl2java against the
deployed service.
Whe
Yeah, something similar happened to me. The MTOMAwareXMLStreamWriter
parameter is replaced by XMLStreamWriter in the stub code, which causes
the compilation problems.
I am not absolutely sure what is happening here. I tried enabling MTOM
in my services.xml file, and found that wsdl2java generated
One wonders whether this is related to some mechanism to protect against
denial-of-service attacks. Does axis2/tomcat have such a mechanism?
Dave
-Original Message-
From: Chris Richmond [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 15, 2008 12:21 PM
To: axis-user@ws.apache.org
Subject:
Here's a response (Srinivas Davanum) I got on this question a couple of weeks
ago:
"Dave,
We are working on the JAXWS 2.1 spec which has a strong JAXB integration. You
will need to use that to get Java 1.5 enum type support. The default ADB does
not support it well enough as it is des
Thanks for the link, but as I mentioned in my original email, I had
tried the excludeProperties approach in my services.xml file. Maybe I
didn't do it correctly. I noticed that Glen Verran also tried that
approach with no success.
Where in the services.xml file do the beanPropertyRules go?
Dave
ements in Axis2 1.3, 1.4 in this area?
Thanks, Dave
____
From: Kraus, David
Sent: Tuesday, April 15, 2008 5:51 PM
To: axis-user@ws.apache.org
Subject: excluding pojo fields from wsdl
I am using Axis2 1.2 and have deployed a simple service as a POJO. I
cr
I am using Axis2 1.2 and have deployed a simple service as a POJO. I
created my client using wsld2java based on the WSDL generated from the
POJO service.
One of the objects, which is returned from a web service method, has
some public static fields. These fields are being included in the WSDL.
ubject: RE: How do I learn which Axis2 JARs have which classes?
I don't think this method will work unless you hack the Windows registry
to tell it that a JAR is a ZIP. Maybe.
I guess another way is to build a script (or a Java program) to do the
looking.
- Nate
-Original Message
Hmmm...I didn't start using this method until about a year ago. My OS is
Windows XP Professional. Not sure if previous windows platforms worked
in the same way when doing file searches.
I tried the same thing you mentioned:
Navigated to: D:\axis2-1.2\lib
all files and folders: *.jar
a word or phr
I just do a windows search (assuming you use windows). To determine
where TypeDesc is I would locate axis2\lib and:
Search files: "*.jar"
With pattern: "org/apache/axis/description"
Dave
-Original Message-
From: Nate Roe [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 13, 2008 6:24 PM
T
h have two caps in
a row in the name(eg. setANestedVal - "AN").
Is this a bug, or a pattern I am not aware of?
Thanks, Dave
-Original Message-
From: Martin Gainty [mailto:[EMAIL PROTECTED]
Sent: Friday, February 29, 2008 11:13 AM
To: Kraus, David
Cc: axis-user@ws.apache.org
I have verified that I can correctly use nested return types in a POJO
service. Now I need to figure out why my more complex POJO service is
not working correctly
Dave
From: Kraus, David
Sent: Thursday, February 28, 2008 10:40 PM
To: axis-user
Yes, I didn't show it, but my classes did have getters/setters, default public
constructor, and basically obeyed the rules of a JavaBean.
Dave
From: Deepal Jayasinghe [mailto:[EMAIL PROTECTED]
Sent: Fri 2/29/2008 1:01 AM
To: axis-user@ws.apache.org
Subject: Re:
problem here, I tried to follow the documentation at axis2
site but I didnĀ“t help me. Is there any old thread in this list discussing this
problem? Or some other examples that show how to do this?
Thanks.
On Thu, Feb 28, 2008 at 7:48 PM, Kraus, David <[EMAIL PROTECTED]> wrote:
So th
So the question is:
In order to support a complex nested object as a return type, using the
POJO mechanism, is it necessary to also generate the server-side
serialization code (adb databinding)?
From: Kraus, David
Sent: Thursday, February 28, 2008 11:18
I have defined a POJO service which has a method which returns an object
which contains fields that are nested non-simple objects.
So given the Pojo class which implements ReturnInfoObject, the InfoObj
object being returned contains a field nest which is defined by the
NestedObj object.
pub
Shouldn't the jar file specs be separated by ";" (semicolon), not ":"
(colon) ?
From: Murphy Steve [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 14, 2008 1:57 PM
To: axis-user@ws.apache.org
Subject: RE: Run Java2WSDL on Class in Jar File?
Hi Upal,
Currently our web service generates server-side logic automatically
using wsdl2java with the "-ss" parameter. The resulting classes handle
the serialization of complex objects, created on the server-side, to xml
to be transported back to the client (and vice-versa).
My question is: Is this th
e the extra subclass, but I assume that this is occurring
because there still is a problem with java2wsdl's handling of
java.lang.Exception.
Thanks, Dave
____
From: Kraus, David [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 12, 2008 10:34 AM
To:
I have seen that issue Axis-2672 deals with the same or similar issue.
I am using Axis2 1.2. Is there a fix being worked on for this problem?
If so, which release will it be in? Also, are there any workarounds?
Details below:
First I use Java2WSDL to create WSDL from a java interface (t
Try using the TcpTrace tool to trace/log SOAP messages. It can be
downloaded for free.
-Original Message-
From: David Meiklejohn [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 29, 2008 5:30 PM
To: 'axis-user@ws.apache.org'
Subject: Logging SOAP messages
Hi,
Out of curiosity, is there
Your schema namespace is V0.2, yet your client is prepending the V0
namespace to soap requests.
From: Erwin Reinhoud [mailto:[EMAIL PROTECTED]
Sent: Monday, September 17, 2007 12:43 AM
To: axis-user@ws.apache.org
Subject: ADBException: Unexpected subelement Co
Sorry, I take that back...I see the v0 being mapped to v0.2
From: Kraus, David
Sent: Monday, September 17, 2007 9:51 AM
To: 'axis-user@ws.apache.org'
Subject: RE: ADBException: Unexpected subelement Code
Your schema namespace is V0.2, yet your
anks, Dave
____
From: Kraus, David
Sent: Tuesday, July 24, 2007 11:13 AM
To: axis-user@ws.apache.org
Subject: Problem handing bitflag enums in Axis2 serialization.
System.flags is used in dotnet to identify a bitflag enum, where one
value is associated with e
Just because your web service doesn't do I/O doesn't mean that no I/O is
going on. Have you checked to see if page faulting is occurring?
Dave
From: Gabriela Gheorghe [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 26, 2007 1:22 AM
To: axis-user@ws.apache.or
strictly
stringwise, i.e. even the difference of one character should be
treated as a difference. So this seems like a bug. Please do report it
to Jira and we can have a look during the hackathon
Ajith
On 6/11/07, Kraus, David <[EMAIL PROTECTED]> wrote:
>
>
>
>
> I have an old c
I have an old client which sends the following SOAP action:
http://company.com/webservices/GetInfo
However the new receiving service expects a different SOAP action:
http://company.com/webservices/v2/GetInfo
The idea is that when a service becomes incompatible with previous
clients, you c
Try axiom-api-1.2.4.jar.
From: Anil Chukkapalli [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 07, 2007 2:55 PM
To: axis-user@ws.apache.org
Subject: Re: [axis2] Creating OMText response using MTOM
Hi
The documentation points me to
"org.apache.axis2.attac
Is your classpath setup correctly? You seemed to be missing
activation.jar which should be in ...\axis2-1.2\lib.
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 06, 2007 12:38 AM
To: axis-user@ws.apache.org
Subject: RE: WSDL2JAVA
Hi
XMLReader's parse method accepts a string URI, so your file
specification is wrong.
Should be something like:
reader.parse("file:///home/colo/PlatformCatalogue.xml");
From: Adrian Colomitchi [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 06, 2007 4:56
Try using the "-sd" option of wsdl2java.
Dave
From: Vijay Ravella [mailto:[EMAIL PROTECTED]
Sent: Sunday, June 03, 2007 11:36 PM
To: axis-user@ws.apache.org
Subject: This Web axisService has deployment faults: service.xml not
found
Hi,
1) I have c
http://schemas.xmlsoap.org/soap/http"; />
http://tempuri.org/MorphThis";
style="document" />
http://localhost:8080/PolyTest/services/PolyService"; />
===
38 matches
Mail list logo