Strings passed as parameters into Axis2 implemented web service have carriage return stripped.

2009-02-06 Thread Kraus, David
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,

RE: thread safe axis2 client stub

2008-12-10 Thread Kraus, David
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:

RE: Versioning a service deployed on Axis2

2008-10-21 Thread Kraus, David
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

RE: Inherited object serialized in reverse order by server, when subclass contains an array.(Axis2-3956)

2008-08-19 Thread Kraus, David
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

RE: Seemingly strange result switching from Axis2 1.3 to 1.4

2008-08-12 Thread Kraus, David
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

RE: Inherited object serialized in reverse order by server, when subclass contains an array.

2008-07-29 Thread Kraus, David
"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

Inherited object serialized in reverse order by server, when subclass contains an array.

2008-07-28 Thread Kraus, David
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

RE: WSDL2JAVA created uncompilable Stub

2008-06-11 Thread Kraus, David
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

RE: Axis2 service that calls another service

2008-05-15 Thread Kraus, David
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:

RE: Enum support?

2008-04-24 Thread Kraus, David
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

RE: excluding pojo fields from wsdl

2008-04-17 Thread Kraus, David
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

RE: Excluding POJO fields from WSDL?

2008-04-16 Thread Kraus, David
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

excluding pojo fields from wsdl

2008-04-15 Thread Kraus, David
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.

RE: How do I learn which Axis2 JARs have which classes?

2008-03-14 Thread Kraus, David
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

RE: How do I learn which Axis2 JARs have which classes?

2008-03-14 Thread Kraus, David
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

RE: How do I learn which Axis2 JARs have which classes?

2008-03-13 Thread Kraus, David
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

RE: Nested return types from POJO web service method -shouldn't this work?

2008-02-29 Thread Kraus, David
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

RE: Nested return types from POJO web service method -shouldn't this work?

2008-02-29 Thread Kraus, David
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

RE: Nested return types from POJO web service method -shouldn't this work?

2008-02-28 Thread Kraus, David
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:

RE: Nested return types from POJO web service method -shouldn't this work?

2008-02-28 Thread Kraus, David
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

RE: Nested return types from POJO web service method -shouldn't this work?

2008-02-28 Thread Kraus, David
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

Nested return types from POJO web service method -shouldn't this work?

2008-02-28 Thread Kraus, David
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

RE: Run Java2WSDL on Class in Jar File?

2008-02-14 Thread Kraus, David
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,

wsdl2java -ss (server-side) classes required for complex object serialization?

2008-02-13 Thread Kraus, David
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

RE: Service interface with "throws Exception" generates "There are no parts for fault message" message, when passed through java2wsdl/wsl2java.

2008-02-12 Thread Kraus, David
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:

Service interface with "throws Exception" generates "There are no parts for fault message" message, when passed through java2wsdl/wsl2java.

2008-02-12 Thread Kraus, David
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

RE: Logging SOAP messages

2008-01-29 Thread Kraus, David
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

RE: ADBException: Unexpected subelement Code

2007-09-17 Thread Kraus, David
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

RE: ADBException: Unexpected subelement Code

2007-09-17 Thread Kraus, David
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

RE: Problem handing bitflag enums in Axis2 serialization.

2007-07-27 Thread Kraus, David
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

RE: axis + tomcat tuning issue

2007-06-26 Thread Kraus, David
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

RE: Axis2- Mismatched SOAP action specification works.

2007-06-12 Thread Kraus, David
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

Axis2- Mismatched SOAP action specification works.

2007-06-11 Thread Kraus, David
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

RE: [axis2] Creating OMText response using MTOM

2007-06-07 Thread Kraus, David
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

RE: WSDL2JAVA

2007-06-06 Thread Kraus, David
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

RE: Instanciate Java classes from XML instances (classes from wsdl2java)

2007-06-06 Thread Kraus, David
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

RE: This Web axisService has deployment faults: service.xml not found

2007-06-04 Thread Kraus, David
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

RE: Re: Confused...

2007-05-31 Thread Kraus, David
http://schemas.xmlsoap.org/soap/http"; /> http://tempuri.org/MorphThis"; style="document" /> http://localhost:8080/PolyTest/services/PolyService"; /> ===