re: java2wsdl

2002-06-05 Thread James Black
Hello, I am trying to get this utility to work, and I don't know what I am doing wrong. I have an interface called AxisLMSServer, in package edu.usf.acomp.axis. I have defined three methods in here, and compiled the class. I then try java org.apache.axis.wsdl.Java2WSDL -o wp.wsdl -l

Re: wsdl2java bug?

2002-06-06 Thread James Black
My bug was on my side. WSDL2Java worked fine for me, so far.

re: using own ser/deser in java2wsdl

2002-06-10 Thread James Black
Hello, If I write my own serializer/deserializer, how would I use that when starting with java2wsdl? I have some linked list classes that I would prefer not to transfer as arrays, if possible, but to return as a linked list. Thank you.

re: returning an image

2002-06-11 Thread James Black
Hello, Any ideas how I may return a png image or jpeg from the java-based web service to the client, with all the info to recreate the image? My thought may be to get the data from the web service, create the image and do any modifications in php and then return it to the client, but that

re: serializing linked lists

2002-06-11 Thread James Black
Hello, I am wondering if anyone has done any work on serializing a java.util.LinkedList object, or any of the similar collection type objects. Thank you.

re: more on getting wsdl file from server

2002-06-11 Thread James Black
Hello, I was playing around a bit, and on my system this works: http://alina.acomp.usf.edu:8080/axis/servlet/AxisServlet I get the error when I try: http://alina.acomp.usf.edu:8080/axis/services/AxisLMSServer?WSDL I didn't try it with this wsdl file, but with an earlier file, and before I

re: creating wsdl from java when using abstract classes

2002-06-14 Thread James Black
Hello, I have an abstract class called AbstractCommon that has an attribute called jceProvider that it has setters and getters for. I have another class, Location, that extends AbstractCommon. In the wsdl file element name=jceProvider ... exists in the declaration for both AbstractCommon

re: building test cases in Axis

2002-06-14 Thread James Black
Hello, When the test case is built in axis, it would be helpful if it had a main method, and was able to be ran without having to add this info. I added two methods (one being the main, the other suite) and it worked fine. Just a thought.

Re: java2wsdl and complex types

2002-06-15 Thread James Black
hrehn wrote: When using java2wsdl is there any support for complex types? For instance, if i want to expose a method which returns an object which will be represented as a complex type (a simple bean for example), am I going to have to either write my own wsdl or fill in the types section

re: deserialization error

2002-06-18 Thread James Black
Hello, I used a nightly build from 11 June, and have a - Mapping Exception to Axis Fault message. I get a java.lang.reflect.InvocationTargetException error at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:135) at

Re: New to Axis. Please help

2002-06-20 Thread James Black
Ambrose Tati wrote: I'm getting into Axis and would very much appreciate some help.I started off by deploying some basic HelloWorld web service as a JWS service. No problems there. I can see the service as deployed and I can obtain its WSDL through my browser. I then tried to deploy the

Re: WSDL location?

2002-06-27 Thread James Black
fd wrote: Do you know if any of this information is... cached in memory? I'm just trying to figure out why the generated WSDL is inaccurate (has the method name from an old compilation) even though I run the updated deploy.wsdd file again. (I thought I already learned about the correct

Re: WSDL location?

2002-06-27 Thread James Black
fd wrote: Thanks for the hint. But, my problem remains. Let me enumerate the exact steps I'm taking so you can tell me if i'm missing something: However if I change the wsdd and java file method to another name aaa, and redeploy using the same steps, then when I run I get:

Re: Location of jar files

2002-06-29 Thread James Black
Chohan, DB (Dharmesh) wrote: I have got a web service on the server side which uses other jar files. Please can anybody advice where is the best place to put the jar files on unix/linux system. I had the jar files put under /opt/jakarta-tomcat-4.0.4/webapps/axis/WEB-INF/lib directory but when

re: DoS attacks

2002-07-01 Thread James Black
Hello, I am wondering if anyone else has worked on a solution to handle DoS attacks. My boss asked me about this issue, and short of only allowing people with a valid username and password, there is little I can do, I think. We are also thinking about restricting who can access the wsdl

Re: WSDL2Java Bug?

2002-07-01 Thread James Black
Cohan, Sean wrote: However, the WSDL2Java generated interface incorrectly contains 2 versions of the method each with the class as it's argument: public com.gosps.cbd.note.api.Note getNote(com.gosps.cbd.note.api.Note in0) throws java.rmi.RemoteException; public

Re: WSDL2Java Bug?

2002-07-02 Thread James Black
Ted Neward wrote: Does anybody know of a freeware WSDL validation service? Seems like this (that is, an invalid well-formed WSDL doc) could come up a lot. If you create your interface, then just use java2wsdl to make the wsdl file, you can then go back in and make the changes you want to

Re: .NET does not take WSDL generated by Axis

2002-07-12 Thread James Black
Naresh Bhatia wrote: I am trying to load a WSDL generated by Axis (Java2WSDL) into Visual Studio .NET. Visual Studio loads it without any complains. A web reference is created for the service but the associated classes are not created. Any idea where I could look for the problem? The

Re: .NET does not take WSDL generated by Axis

2002-07-14 Thread James Black
Naresh Bhatia wrote: After a bit of experimentation with the WSDL generated by Java2WSDL, I found that .NET does not like the declaration of a camplexType Map: schema targetNamespace=http://xml.apache.org/xml-soap xmlns=http://www.w3.org/2001/XMLSchema import namespace=

re: returning arrays of beans

2002-07-17 Thread James Black
Hello, I can't get my program to work when I try to send an array of objects, but when I turn that array into an xml file it works. It dawned on me that my problem may be that some of the attributes are null, so I am working on trying to correct that. I have an object that has an attribute

Re: returning arrays of beans

2002-07-17 Thread James Black
Heitzso wrote: just confirming that bean with attribute of array of beans can be handled correctly by axis, though will be serialized/de. via multiref unless that is toggled false. Some attributes of my beans have been null and that's worked, but I've never had null bean array elements.

Re: Can't generate WSDL

2002-09-17 Thread James Black
Byrne Reese wrote: I have been using Axis RC1 trying to use WSDL4J to generate WSDL for me using the http://localhost/axis/Service?WSDL method. But whenever I hit the URL, I get a Can't generate WSDL message in HTML. Am I missing something simple and essential, or are other experiencing this

Re: Can't generate WSDL

2002-09-17 Thread James Black
Byrne Reese wrote: Yes of course - I am sorry, I did - I mistyped the URL. The log files do not show any failures or anything, and I have set everything to log a DEBUG level. :/ If you have Tomcat running (ensure that), then there should be some response. If you don't have the server stubs

Re: Simple query about using primitive datatypes

2002-09-22 Thread James Black
Amit Garg wrote: Simple question: Is it recommended to always use Object types (like Integer) as opposed to primitive types (like int) when building web services? I prefer to use int, personally, but I don't believe it really matters. I like to use primitive types in my beans as much as

Re: sending large files

2002-09-26 Thread James Black
Jung, Eric (Contractor) wrote: Have you turned off debugging output? With a stdout appender, things are extremely slow for me with message sizes no where approaching 800K. Turned it off where? I am installing Tomcat 4.1.12 at the moment,but would like to know how to turn off any

Re: sending large files

2002-09-27 Thread James Black
Tom Jordahl wrote: What we would be MORE interested in, is if you were to pinpoint WHERE and WHY we have the problems that led to your findings. Bonus points for providing a PATCH to fix the problems. The standard answer to the question: When will X be done/fixed? Sooner, if you help out

re: possible bug in 27 Sept build

2002-09-27 Thread James Black
Hello, I recently installed the latest build, and am now having a new problem, and am curious if this is something that should be reported as a bug. I have two methods: deassignItem(string, string, int) deassignItem(string, string, int[]) In my test I call the first method, but the server

Re: org.xml.sax.SAXException: No deserializer, problem

2002-09-30 Thread James Black
Jian Zhang wrote: It seems to me that the Axis picks up the definition of type Folder, but not Folder[]. How should I tell Axis about Folder[]? I would suggest that to simplify your life, during the evaluation, use java2wsdl and wsdl2java to create the files, as it can handle arrays of

re: missing jar file for rc2?

2002-09-30 Thread James Black
Hello, Where would I find org.apache.axis.encoding.ser.SimpleNonPrimitiveSerializerFactory?

Re: SAXException Bad types

2002-10-01 Thread James Black
Daniel Hägg wrote: Hi! I have a web service with a WSDL that works fine with both soap implementations in Microsoft .NET (ATL and ASP). But I cannot get it to work with Axis 1.0 RC2. I am getting this to happen now also. I am currently testing to see if it was something I did, or not.

Re: SAXException Bad types

2002-10-01 Thread James Black
Daniel Hägg wrote: The SOAP communications looks fine (see attachment). But I get the following error when the response is deserialized: 2002-okt-01 13:00:54 org.apache.axis.client.Call invoke ALLVARLIG: Exception: org.xml.sax.SAXException: Bad types (class [Ljava.lang.Object; - class

Re: SAXException Bad types

2002-10-01 Thread James Black
Daniel Hägg wrote: Are you saying that some jar files in the jdk should be replaced with jar files from xerces ? What jars? What version of xerces? This is where I went to. The crimson.jar files I believe were old, but I am not certain. As I stated, updating my jar files helped me solve

Re: SAXException Bad types

2002-10-01 Thread James Black
Daniel Hägg wrote: I have the following jars in my classpath. crimson-1.1.3\crimson.jar xml-axis-rc2\lib\axis.jar xml-axis-rc2\lib\jaxrpc.jar xml-axis-rc2\lib\saaj.jar xml-axis-rc2\lib\commons-logging.jar xml-axis-rc2\lib\commons-discovery.jar xml-axis-rc2\lib\wsdl4j.jar You may want

re: question on using rc2

2002-10-01 Thread James Black
Hello, I have two questions that have me stumped. 1. One the machine I use netbeans (my development machine) I get a SAXException, No deserializer defined for array type, but this works fine on my test machine. I upgraded to Netbeans 4.3 today, but I doubt that will have anything to do with

Re: SAXException Bad types

2002-10-02 Thread James Black
Daniel Hägg wrote: Schie, Sjaak van wrote: When I changed element=xxx to type=xxx, it all works (both toolkits). Can you please show me what your type definition looks like. It cannot be the same as when element=xxx is used. In my wsdl file (generated by java2wsdl) it uses type.

Re: SAXException Bad types

2002-10-02 Thread James Black
Daniel Hägg wrote: Yeah, I have tried that too. It currently seems impossible to create a real world WSDL file that both .NET and Axis can handle. :-( I am trying to figure out the problem I am having with rc2, but with rc1 I had interoperability between C# and my web service. Now I am

Re: SAXException Bad types

2002-10-02 Thread James Black
Daniel Hägg wrote: Is that document/literal or rpc/encoded ? setOperationStyle is rpc, so I will assume rpc/encoded.

re: small test case for bug in rc2

2002-10-03 Thread James Black
Hello, I found a bug where it is possible for the on-the-fly generation of the wsdl to be wrong, as it can generate two methods that are the same (duplicate methods). Thought I would mention it as it is causing me problems, but I don't have time to wander through the code to fix it.

Re: Interoperability and complex types

2002-10-04 Thread James Black
Ben Souther wrote: All the interoperability examples that I've seen on the web exchange simple data types like Strings and Doubles. Does anyone know of any examples that exchange complex types like Beans. If I map a return value to a Java Bean, does that mean that only Java clients will be

Re: Chicken-Egg problem with Java2WSDL/WSDL2Java

2002-10-04 Thread James Black
Vishal Mehra wrote: I would like to expose e xisting java interfaces and classes via SOAP. If you run java2wsdl and then wsdl2java, you need to move logic from existing classes to SOAPBindingImp.java. Ideally, I would like to keep the logic in the original classes. Is there a way around?

Re: Chicken-Egg problem with Java2WSDL/WSDL2Java

2002-10-07 Thread James Black
Vishal Mehra wrote: Thanks James, Yes, one can provide the business logic either in SOAPBindingStub.java or SOAPBindingImp.java but this does not solve the problem of moving the logic from existing java classes to any one of the above classes. Is there an automated way to transform the

Re: hashtable mapping

2002-10-07 Thread James Black
Tim C. wrote: I am just starting to re-write my Apache SOAP code to use AXIS. I want still to maintain compatability with old SOAP servers. This is fine except for when I try to send a java Hashtable to the server. Does anyone have an example of how to serialize the Hashtable in such a way

re: problem with .NET?

2002-10-07 Thread James Black
Hello, Since shortly before rc2 came out (27 Sept) I have not been able to use my .NET clients. I am trying to figure out what is going on, as they seem to be timing out, but I can't get my java program to work properly undre rc1. I had deleted some files, and don't know what I need to

Re: Changing Axis parser

2002-10-15 Thread James Black
Alin S wrote: I understand that Axis is using Xerces as XML parser. Now, no offence for Xerces fans but I will like to use XP as XML parser, it's much faster. I there any way that I can use XP ?. Do I need to modify the sources to get this support?. On my Sun box I just added the parser

Re: Sending arbitrary XML document

2002-10-27 Thread James Black
Sen, Puny wrote: What would be the best strategy for sending an arbitrary XML document as a parameter using Axis? Convert the string to an array of bytes, then send it. It is base64 encoded, so it will be sent fine.

Re: XML and web services

2002-10-29 Thread James Black
Barry Lulas wrote: What does your web service interface look like? I like the idea of having multiple options I have an input bean where the options are set regarding the graph type that is desired (setting what is on the x, y, z axes and how to group the data). There is also a byte

Re: XML and web services

2002-10-29 Thread James Black
Barry Lulas wrote: i see. what does the java interface look like? public byte[] getGraph(EpicVisitor input, byte retmode)

Re: XML and web services

2002-10-29 Thread James Black
Ricky Ho wrote: Besides the performance overhead of converting the XML to a byte array and back, another big minus is the WSDL in this case has lost all the schema definition. In other words, the client and the server has to use another channel to communicate what does the detail of the

Re: XML and web services

2002-10-30 Thread James Black
Barry Lulas wrote: I'm just trying to find the best way to describe the datatype that holds the XML documents. For example, my java interface for the web service may look like this: public interface IMyInterface { public String executeQuery(String query);

Re: XML and web services

2002-10-30 Thread James Black
Barry Lulas wrote: The class org.w3c.dom.Document does not contain a default constructor, which is a requirement for a bean class. The class cannot be converted into an xml schema type. An xml schema anyType will be used to define this class in the wsdl file. Any way around this?

Re: axis 1.0 does not deploy

2002-11-06 Thread James Black
Bahman Kalali wrote: I had the same problem after installing a fresh Axis. I found that if I start Tomcat again, the error message does not show anymore. I only noticed this error for the first time that I installed axis in Tomcat and wanted to deploy some services. The first time you

Re: XML instead of WSDL?

2002-11-12 Thread James Black
Emma Johansson wrote: I would like to send different parameters to the server. These parameters should be able to have several values. I mean, my program should modify a register that contains name, phone number, email, address etc. As some people have more than one email address they should

Re: Generated WSDL original WSDL

2002-11-14 Thread James Black
Tom Jordahl wrote: Axis will generate the WSDL from the Java classes. This is not guaranteed to exactly match the WSDL those classes were generated from, although they should be functionally equivalent. You can specify the wsdlFile/path/to/file/wsdlFile attribute for the service in the

Re: Urgent - WSDL2Java takes a very long time to build Java stubs from a WSDL file

2002-11-14 Thread James Black
Vijetha Vadlakonda (vijetha) wrote: Hi,I have now created a very smaller wsdl file which is just 4 K in size. But I have not changed the XSD files imported by the WSDL file. Event then it seems to be taking the same amount of time to build the stubs. Then what else could be the problem??Do

Re: Axis and CORBA

2002-11-15 Thread James Black
Barry Lulas wrote: I have an Axis web service that acts as a CORBA client. I can run the code that attaches to the ORB fine as a standalone application, but when I try to run it from the web service running under Axis I get numerous exceptions. Does anyone know of any limitation with either

Re: java2WSDL/WSDL2Java problems

2002-11-15 Thread James Black
Darrell Gamble wrote: Hi, everyone. My quesiton for today is how to get my wsdl2Java and vice versa up and running. I have solved other Axis classpath issues but this one continues to nag me as I get the dreaded noclassdeffound error for org/apache/axis/Wsdl2java. But I have axis.jar,

Re: Returning an Array of Strings...quick start pointers

2002-12-19 Thread James Black
Ken Reek wrote: I need to retun an array of strings as a result of a call. Any quick start ideas or pointers...?? I use java2wsdl, and in there I return arrays of strings, and it works fine.

re: problem using CVS from today

2003-01-02 Thread James Black
Hello, This morning I checked out, and compiled the source. I am now getting an error that I don't know how to troubleshoot. What I did was to delete my implementation file, and have it be regenerated by calling WSDL2Java and feed in my wsdl file as the input. I get this error: faultCode:

re: --implClass not working

2003-01-08 Thread James Black
Hello, I used the cvs source from saturday, and --implClass doesn't appear to be working. My method parameters are of in0, in1 type, not the names I used.

Re: --implClass not working

2003-01-08 Thread James Black
Davanum Srinivas wrote: When u compiled your classes using javac, did you switch on -g option? (debug) Thank you. I had it on, took the switch out last night, as I didn't remember why it was there. I will put it back. Thank you very much. g

re: system specs needed

2003-01-09 Thread James Black
Hello, We are finally ready to bring my web services into production, and I have some concerns about what type of system to use it on. I am hoping that some people here will be able to give me an idea about performance issues. I have been developing on an Ultra10 with 128M RAM, so have done

Re: Using Axis and Servlets..any Ideas !!

2003-01-10 Thread James Black
Shrotriya, Sumit wrote: Thanks Adam...but my problem still persists...you have take an approach that I don't have the option of taking...I can not have the axis files in my application...and the vice versa is not possible either...the reason for this approach is that we want to share the

Re: Error: OperationDesc was not syncronized when invoking on a service

2003-01-24 Thread James Black
Brian Dillon (ext. 944) wrote: What I am tying to figure out what is checked agains what, that way I can try to find what has changed (this service used to work fine). I think it was due to a change in axis, but I don't know when it began to fail. The only solution I have found is to take

re: can't inherit from final class

2003-01-27 Thread James Black
Hello, I am trying to figure out where this error message is, as my web service complains that it Cannot inherit from final class. The last two errors are at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)

Re: Problems in Installing and deploying web applications using xml-axis

2003-02-11 Thread James Black
Yang Zhonghua (Dr) wrote: Hi, I have recently installed Tomcat 4.1.18 and xml-axis. The classpath I set is: C:\echo %classpath% %CLASSPATH%;.;G:\projects\xml-axis-10\lib\axis.jar;G:\projects\xml-axis-10\lib\j

Re: Installation issue

2003-02-17 Thread James Black
Asociación de Jóvenes Informáticos de Alcobendas wrote: Dont copy Xerces 2.3.0 and try it; use parser included in tomcat. Or copy the xerces jar files to $tomcat_dir/common/endorsed.

re: HTTP status 404 in .net

2003-02-19 Thread James Black
Hello, I have some java clients for my webservices (unit tests) and these work fine. All the tests pass. The .NET tests fail, most of them with 'HTTP status 404: Not Found.' I am using Tomcat 4.1.18, and the newest release for axis, and jdk1.4.1 for Solaris, on the server side. Any ideas

Re: Attempting to configure AXIS for the first time

2003-02-19 Thread James Black
Hainer Neil wrote: 1. I am configuring AXIS 1.0 for the first time. I am using tomcat 4.1.18. I noticed the following when I ran happyaxis.jsp: Note: On Tomcat 4.x, you may need to put libraries that contain java.* or javax.* packages into CATALINA_HOME/commons/lib Exactly what should I

Re: HTTP status 404 in .net

2003-02-19 Thread James Black
Wagner,Harry wrote: I had the same problem, which I have since resolved. The problem is that the wsdl does not include the port in the url of the service. You can either add the /axis entry to your mod_jk configuration on tomcat (so that tomcat passes these entries to the right port), or

Re: arrays of beans, c# client, and null problem

2003-02-24 Thread James Black
Rob Beers wrote: I realize I can't return an empty array of beans back to a c# client so I am trying to return null when the array is empty. try to make a bean that signifies empty, with a array of one element, or throw an exception in this case.

Re: wsdl and documentation

2003-02-25 Thread James Black
Praveen Peddi wrote: While using Java2WSDL, is there option that I can specify so that it takes the java doc comments and puts them in WSDL. Right now when I append ?WSDL to my services, I don't see the javadoc comments or documentation elements in the wsdl document. You could write the

Re: Design review and general axis questions

2003-02-25 Thread James Black
Mike DuVall wrote: Here are my questions: 1. Any overall thoughts on our design? Are we using Axis in the spirit in which it was intended? If you are handcoding everything then you are losing much of the benefits of using an xml-based rpc framework. 2. Should we be using WSDL2Java

Re: .Net Client/Axis Server MultiDim Arrays -- I GIVE

2003-02-28 Thread James Black
Cory Wilkerson wrote: From what I can tell, .Net web services implementations do not support multidimensional arrays. This sucks. Anyone have a good way to marshall a key/value set across the wire? Convert it into an xml string, turn it into a byte array, send that to the .net client,

Re: Performance

2003-03-05 Thread James Black
IvanLatysh wrote: To improve performance you can use parameter name=scope value=application/ This service will be created once and will serve all requests, but you should handle yourself concurent requests. I am using the webservice to handle requests from about 500 clients, and I am

Re: [axus] Deploying axis over tomcat

2003-03-05 Thread James Black
Slaybaugh Laura J IHMD wrote: I'm trying to deploy axis under Tomcat, and I don't seem to be getting anywhere. I have Tomcat up and running fine. But copying the axis folder into %catalina_home%\webapps seems to have no effect. when I type in http: //localhost:8080 //axis (or http:

Re: ArrayOutOfBoundsException with 1.1RC2??

2003-03-19 Thread James Black
Jinesh Varia wrote: Please help me with this small code. I will do the rest. I have client implemented in JSP public void printPersons(JspWriter out, Person[] persons) throws IOException { int j=0; while(persons[j]!=null){

Re: Performance testing - timing data - how to get it?

2003-03-31 Thread James Black
Pascale, Peter H. wrote: We are embarking on a short project to validate Axis performance within a particular web service client application. I've seen a few recent posts that refer to timing data for web service calls. How are folks getting timing information? Are you using a third-party tool

Re: java.util.List and 1.1.RC2

2003-04-02 Thread James Black
Brain, Jim wrote: All I know at present is that when I expose a method that returns List, the Java2WSDL piece in AXIS complains bitterly when I do ?WSDL. As for customizing AXIS, I'm willing to try, but my knowledge of the inner workings of AXIS is extremely limited. What I did is to just turn

Re: java.util.Calendar - Why?

2003-05-31 Thread James Black
Mark Galbreath wrote: Come on, guys! Why the issue - every constructor except the default is deprecated; every method except toString() is deprecated. The JavaDoc tells you to use Calendar instead. Are you that obtuse? setTime() and getTime() are also not deprecated. It appears that all this

Re: The OperationDesc for sendSms was not syncronized

2003-06-17 Thread James Black
Sochea Meas (LMC) wrote: I have another question. I am somewhat stuck with my problem an a really need help from axis community. Does anyone know what this error mean? This error occur when I try to display it in a browser using AxisServlet and once successfully deployed. BTW, I am

Re: The OperationDesc for sendSms was not syncronized

2003-06-17 Thread James Black
Sochea Meas (LMC) wrote: Thank you for your help! I've done what you proposed and I still have the same error. I double check in server-config.wsdd and I see the web service being registered in the latter file. I upgraded to axis 1.1 final release and still no luck... Anything else i can do to

Re: Extend the class Date

2003-06-18 Thread James Black
Slimane Amar wrote: I am using the Axis 1.1 and i have a complex type which is derived from Date. When i use java2WSDL to generate the wsdl file, i have got this error : - The class myClass extends non-bean class java.util.Date : An xml schema anyType will be used Is there a solution to do

Re: Extend the class Date

2003-06-18 Thread James Black
Slimane Amar wrote: I have got the same error with Calendar. There should be a mapping for java.util.Calendar to an xml schema, actually. Can you paste your method from the interface and the error? Also, have you ensured that java2wsdl is calling the new version? If you have a prior

Re: Problem where Java2WSDL\WSDL2Java converts Dates to Java.util.Calendar

2003-06-18 Thread James Black
Reynardine wrote: The problem is that when I go in and edit the automatically generated SoapBindingImpl.java, I find that axis has changed the dates to Calendars i.e. Date is mapped to Calender, I believe that is according to a specification. So, using the date class would be a bad idea,

Re: OT Problem Domain question

2003-06-18 Thread James Black
Jim Collins wrote: I have a number of clients that receive an XML datafeed. This datafeed can change due to various circumstances and I would like all the clients to be notified of any change. Would it be possible for a Web Service to notify all clients of a change or would the clients need to

Re: OT Problem Domain question

2003-06-18 Thread James Black
Jim Poulsen wrote: good suggestion. you could even dynamically keep the schema up to date and publish it for your clients at a well known URL. Or include a dynamic URL reference to it in the SOAP message. I wish I had thought of the simple idea of including a version number. g That may be

Re: Extend the class Date

2003-06-19 Thread James Black
Slimane Amar wrote: I think there is a problem with java2WSDL when i use a complex type which extends Date or Calandar. Try to change the name of your class to MyDate instead of Date, and see if that works fine. It appears that the wsdl file is incomplete. Can you just post it on the web

Re: Lost service method parameter names when deploying

2003-06-19 Thread James Black
Chris wrote: I suppose I never actually tried -i. I was using Java2Wsdl on an interface, in which case -i doesn't help, but is -i required to retain param names from code built with debug info? If so, then perhaps that was Rey's problem (and future posters!). If that's the case then I'll know not

Re: Lost service method parameter names when deploying

2003-06-19 Thread James Black
Chris wrote: Not on interfaces . . . even with -g the information doesn't get saved. What I was wondering is even if you say -g when you build, do you have to say -i when you run Java2Wsdl. When you compile the implementation stub, which implements your interface, then that should be compiled

Re: Axis and (.Net) dates

2003-07-03 Thread James Black
Justin Lee (HFS) wrote: the .Net service i'm trying to talk to doesn't like the format of the dates that Axis is sending (1999-05-01T06:00:00.000Z). I've tried replacing the setXmlType line in the generated code to reference date instead of dateTime, but that doesn't seem to be doing the trick.

Re: JavaBean synchronisation Client/Server

2003-07-11 Thread James Black
BLIS Webmaster (Patrick Houbaux) wrote: Is is possible to automatically synchronized the server side of what's happening on the client side to my JavaBean? You can create a special setter function in your interface that would call the webservice to update the server's attribute. Rather

Re: WSDL2Java

2003-07-15 Thread James Black
Godfrey, Gary wrote: How do we tie the Axis generated code to our implementation code? The only way we see of doing it is to write adapter classes to map our data transfer classes to the Axis versions. This is incredibly complex due to the data hierachy and requires business logic to handle

Re: Has any body built this axis 1-1 for solaris

2003-08-06 Thread James Black
[EMAIL PROTECTED] wrote: Each time I try to "gzip -d axis-1_1-src.tar.gz" and then "tar xvf axis-1_1-src.tar" I get a directory check sum error. There is no problem for the Windows version. Use gnutar, not the solaris tar program. I use GNU tar 1.13.19 -- "We do

Re: Help required ..

2003-08-11 Thread James Black
[EMAIL PROTECTED] wrote: Can I call a WebService (from axis) which returns an array of complex type . Is there any known problem here . If you return an array of beans that is fine, as long as, ultimately the attributes are of some known, generally simple, type, or composed of simple

re: implementation only accepts SOAPPart objects as root part error

2003-08-14 Thread James Black
Hello, I don't know why I am getting this error now from my client. I am using JBoss 4.0DR2, and changed the jar files to ensure that it is Axis 1.1. I generated the following wsdl from java2wsdl, and perhaps in there I did something wrong, but I have never seen this problem. My

Re: Can methods in a service be overloaded

2003-08-20 Thread James Black
[EMAIL PROTECTED] wrote: yap i am quite agree that it better to keep away from overloaded methods ... I have wirte overloaded methods and send them wrong requests ... e.g. send three parameters to method expect two vise-versa .. Some time they work ... (when they shuld fail..) depend on the

Re: InterOP between .NET and Axis

2003-08-22 Thread James Black
Sameer Bombatkar wrote: I also encountered the same problem dealing with Collection classes. How are you defining your de/serialiaers for Collection in ur wsdd file? Rather than passing back any collections, convert them into an array of javabeans, and pass that around. I do that for my C#

Re: InterOP between .NET and Axis

2003-08-22 Thread James Black
[EMAIL PROTECTED] wrote: Sameer, Try to follow the sample code to create a Collection converter. Everything works correctly upto the response message been sent back to the client. The client generates following error message: There is an error in XML Document(114,4). Why did you

Re: InterOP between .NET and Axis

2003-08-22 Thread James Black
[EMAIL PROTECTED] wrote: Would you mind sharing your sample code as well as wsdd file? Thanks. I don't have any sample code, I have just been doing it, since most of my clients are running .NET. I use java2wsdl to generate my wsdl files, then wsdl2java to generate everything else,

Re: Out of Memory

2003-08-28 Thread James Black
Benedick Mark Chan wrote: Is this a limitation of axis? If so, then I guess chopping to several small chucks will be my last resort. =( It sounds more like a design issue than a limitation in axis. Have you tried to use -mx1000M as a switch for java? That way you have a larger memory? Also,

  1   2   >