serialization format of java.util.Calendar

2006-06-06 Thread James Taylor
When using a response that contains a java.util.Calendar, the serialization format of a java.util.Calendar object does not appear to conform to an xs:dateTime as declared in the WSDL. This breaks my web service client, since it cannot parse the response. Is this a bug? Should I file a JIRA?

Re: java.util.Date in response for RPCMessageReceiver

2006-06-05 Thread James Taylor
I tried Calendar and I don't get an exception, however my web service client cannot interpret the structure it receives for the Calendar value. Here's the error I get when the client receives the response: Validation failed: error: Date value is malformed:

Axis2 with Kodo JPA

2006-06-01 Thread James Taylor
I'm trying to implement a web service through Axis2 usingthe JPA implementation of Kodo. If I package all the necessary Kodo libs into an aar file along with my web service implementation file and services.xml, I get an exception as soon as I attempt to do anything with Kodo. For example, when I

how to deploy a wsdl with an external schema

2005-06-12 Thread James Taylor
Hi there, is there a way to deploy your own wsdl with an external xsd schema that describes the messaging in axis. Also where should on put this wsdl and external xsd so that the wsdl can find it once deployed to axis? Regards, James.

Re: deploy trouble

2005-06-09 Thread James Taylor
I've tried to undeploy a registered service in axis using the adminClient and it wouldn't work even though it reported back as done. I then removed the service manually from server-config.wsdd and started axis and it piked up the change but when I tried to redeploy the service axis did not pick

Re: deploy trouble

2005-06-09 Thread James Taylor
corrected this and lo and behold I've just deployed my service!! Why does axis stick in this sneaky space? Quoting James Taylor [EMAIL PROTECTED]: Hi, well I reinstalled axis to tomcat's webapp folder and was successfully able to deploy and undeploy a previous working web service but when

deploy trouble

2005-06-08 Thread James Taylor
Hi there, I'm trying to deploy a service to axis using the admin client and is not listed in axis/server-config.wsdd. It seems to deploy and undeploy ok: axisDeploy: [echo] doing deploy task... [java] Processing file E:\taylorjwDocs\JavaProjects\Development\WorkingJAX-

Re: deploy trouble

2005-06-08 Thread James Taylor
back to the deploy tool... The one that gets me all the time is I will get a classNotFound error on the server... Dan James Taylor wrote: Hi there, I'm trying to deploy a service to axis using the admin client and is not listed in axis/server-config.wsdd. It seems to deploy

Re: import schema to wsdl

2005-06-08 Thread James Taylor
/xsd:element Anne On 6/8/05, James Taylor [EMAIL PROTECTED] wrote: Hey anne, I've followed your advice by changing the method name in the portType to the same as in the message in the wsdl. But when I ran it through wsdl2java it produced the following dtd that says its doc

Re: deploy trouble

2005-06-08 Thread James Taylor
When using wsdl2java what are the minimum classes that one needs to implement a client using the generated serviceLocator class? I'm asking this because I thought the service class in the wsdl service element was all that was needed with using the serviceLocator class but I see in the

Re: AW: deploy trouble

2005-06-07 Thread James Taylor
But I'am not sure if this is the problem. Regards Ferruh -Ursprüngliche Nachricht- Von: James Taylor [mailto:[EMAIL PROTECTED] Gesendet: Montag, 6. Juni 2005 20:51 An: axis-user@ws.apache.org Betreff: Fwd: deploy trouble Hi there, I'm trying to deploy a service to axis

Fwd: Re: import schema to wsdl

2005-06-06 Thread James Taylor
- Original Message - From: James Taylor [EMAIL PROTECTED] To: axis-user@ws.apache.org Sent: Monday, June 06, 2005 5:02 AM Subject: Re: import schema to wsdl Thanks for your help jeff. The main problem was the conflicting target namespaces I was trying to import into my

Fwd: deploy trouble

2005-06-06 Thread James Taylor
Hi there, I'm trying to deploy a service to axis using the admin client and is not listed in axis/server-config.wsdd. It seems to deploy and undeploy ok: axisDeploy: [echo] doing deploy task... [java] Processing file E:\taylorjwDocs\JavaProjects\Development\WorkingJAX-

import schema to wsdl

2005-06-05 Thread James Taylor
Hey folks if one refers to a outside shema in a wsdl, like in this listing, types xsd:schema xmlns:xsd = http://www.w3.org/2001/XMLSchema; elementFormDefault = qualified targetNamespace = http://localhost:8080/axis/services/bookflights/wsdl/importtypes;

Re: import schema to wsdl

2005-06-05 Thread James Taylor
file = ${pathToService}/bookFlights.wsdl / /java Quoting James Taylor [EMAIL PROTECTED]: Hey folks if one refers to a outside shema in a wsdl, like in this listing, types xsd:schema xmlns:xsd = http://www.w3.org/2001/XMLSchema; elementFormDefault

Re: import schema to wsdl

2005-06-05 Thread James Taylor
debugging and, as such, not a legitimate matter to raise on the Axis mail-list. Jeff - Original Message - From: James Taylor [EMAIL PROTECTED] To: axis-user@ws.apache.org Sent: Sunday, June 05, 2005 10:18 PM Subject: Re: import schema to wsdl I'm getting this error and am

Re: import schema to wsdl

2005-06-05 Thread James Taylor
: http://ie.tcd/taylorjw/bookflights instead. Jeff - Original Message - From: James Taylor [EMAIL PROTECTED] To: axis-user@ws.apache.org Sent: Sunday, June 05, 2005 8:48 PM Subject: import schema to wsdl Hey folks if one refers to a outside shema in a wsdl, like in this listing

xml mapping ideas

2005-06-04 Thread James Taylor
Hi, I want to develope an application that takes a xml request to book flights for a passenger. I need to map this to java objects and access a database backend - which will also have to be mapped to the java objects so luckily they are nearly the same. As I was new to axis an web services

Re: xml mapping ideas

2005-06-04 Thread James Taylor
/ /xsd:sequence /xsd:complexType /xsd:element Anne On 6/4/05, James Taylor [EMAIL PROTECTED] wrote: Hi anne, when you say plug your schema into the wsdl what exactly do you mean? and would it be worthwhile to look at JAXB to do the validating and xml class mapping. Also I'd like

Re: problem with doc/literal...

2005-06-04 Thread James Taylor
Hey Nathaniel, would you mind posting me your log4J properties file as I'm trying to set it up in axis. At the minute I have the below listing in C:\Program Files\Apache\jakarta-tomcat-4.1.31\webapps\axis\WEB-INF\classes but there's no log file in C:\Program

communication styles issue

2005-06-03 Thread James Taylor
Hey folks, my service takes data from the client, queries a database but instead of sending back a resultset of found object sends back an xml String result which is basically a xml document. 1. The binding style in the wsdl says rpc - is this a synchronous communication style?

Re: communication styles issue

2005-06-03 Thread James Taylor
Another one: 4. If i want to develope a web service using jaxm will I have to use something other then axis's wsdl2java as this produces rpc style stubs to abstarct the xml? Quoting James Taylor [EMAIL PROTECTED]: Hey folks, my service takes data from the client, queries a database

web service error handling design issue

2005-06-02 Thread James Taylor
Hey, another design issue on a different note. In our college course we a told to propogate error up to the top layer/controller and deal with them appropriately. What's the best way to deal with errors in the case of web services? Should I catch the exception and return an appropriate fault

application design issue

2005-06-02 Thread James Taylor
Hey folks, just got a question on a design issue regarding web services. I have a rpc web service that returns information as an xml string. How would I add this xml to the soap message?? Would I be better off using JAXM if I'm doing this as I'm not passing objects just String

Re: really anoying problem

2005-06-02 Thread James Taylor
I think its happening somewhere around DOMGetFlightsXMLImpl.transformDOMtoString(Document) call, but cant figure out why??!! Quoting James Taylor [EMAIL PROTECTED]: Hey folks, apologies for sending such a long mail, I've this web service that keeps throwing this really annoying

Re: web service error handling design issue

2005-06-02 Thread James Taylor
if they are not immediately resolvable. As I said, reality is rarely simple, at least not when human beings are involved. BTW, this is not a design issue, it's about writing good software. Jeff Between the question and the answer, all too often, lies pure hell - Original Message - From: James

Re: really anoying problem

2005-06-02 Thread James Taylor
-Lumpa Geneology or something!!! -- Between the question and the answer lies pure chance... Quoting James Taylor [EMAIL PROTECTED]: Hey people, for the moment as I'm inept to logging I'm using simple System.out.println to debug to Tomcat's console - as I have the liberty of testing

suggestions on fixing error?

2005-06-01 Thread James Taylor
I'm getting this annoying error back from an axis deployed web service and would like to hear any suggestions people have to find out what's causing it HTTP/1.1 500 Internal Server Error Content-Type: text/html;charset=ISO-8859-1 Content-Language: en-IE Date: Wed, 01 Jun 2005 11:00:36 GMT Server:

Re: dynamic web service location?

2005-05-31 Thread James Taylor
Think you may have to configure tomcat or your webapp to listen on a port and access your service through there. Not sure how to do this!! Quoting Carolyn Vo [EMAIL PROTECTED]: Hello, Is it possible to specify the server and port number for a web service during runtime? The default in my