Binary maping

2002-06-11 Thread Pavel Bernshtam
Hi! Point me please to some article/tutorial about how I can write custom BINARY maping for some data type. I.e. I want to send as parameter object of some type, and I can send it not as XML, but as binary format (for some reasones: 1) I have already code for such binary

wsdl2java io.exception problem

2002-06-11 Thread Olga Caprotti
We are currently using axis to implement mathematical web services. In our last example, I have installed a service for Symbolic Integration at: http://perseus.risc.uni-linz.ac.at:8080/axis/services/SymbolicIntegration?wsdl We can use the service by a hand-written client however trying to

Weblogic5.1 log4j error

2002-06-11 Thread Andy Pang
Hi, I installed Axis Beta2 on Weblogic 5.1 successfully, but have some problems when running the samples(calculator, attachments), as follow: log4j: ERROR Could not instantiate class [log4j.properties]. java.lang.ClassNotFoundException: log4j.properties log4j: ERROR No appenders could be found

soapAction= why?

2002-06-11 Thread Gal Pouzerate
Hi, In AXIS's generated WSDL files, I always get wsdlsoap:operation soapAction= / in the bindings. It causes troubles when I try to use the WSDL file from weblogic portal 4.0 for instance... Why this ? Is this a bug? regards --Gaƫl Pouzerate

Re: wsdl2java io.exception problem

2002-06-11 Thread butek
The WSDL below is incomplete, and WSDL2Java is telling you so. You have an ELEMENT named OMOBJ. But you don't have a TYPE named OMOBJ. Both the element OMOBJ and the messages refer to type OMOBJ, but that type doesn't exist. Russell Butek [EMAIL PROTECTED] Please respond to [EMAIL PROTECTED]

RE: Binary maping

2002-06-11 Thread Byung Jin Chun
Don't know about a tutorial, but I believe the encoding For opaque binary data in soap is to base64 encode/decode it. Jin -Original Message- From: Pavel Bernshtam [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 11, 2002 4:58 AM To: '[EMAIL PROTECTED]' Subject: Binary maping Hi! Point

RE: Binary maping

2002-06-11 Thread Pavel Bernshtam
1) I need to use my own encoding 2) Can you provide example of creating my own binary serializer/desirializer and using it? 3) Can I tell Java2WSDL/WSDL2Java tools to use my own serializer/desirializer ? Thank you!

Re: WSDL2Java Design Issue

2002-06-11 Thread butek
I won't disagree with you about SOME solution being good, here. But I doubt anyone has the time to address it right now. The best thing for you to do, so this issue isn't lost, is to open a bugzilla bug. The risks I see with a flag aren't terribly critical, but they have to be considered: - if

MessageContext at server side

2002-06-11 Thread Wimmer, Matthias
Hello, I read that the current MessageContext can be retrieved at server side (using JWS files) very simple: you just add a MessageContext parameter to your method. I wrote the following method and published the whole class as a JWS file. public String echoMethod( MessageContext

RE: MessageContext at server side

2002-06-11 Thread Geza.Szocs
Try using MessageContext.getCurrentContext() -Original Message- From: ext Wimmer, Matthias [mailto:[EMAIL PROTECTED]] Sent: 11. June 2002 16:08 To: '[EMAIL PROTECTED]' Subject: MessageContext at server side Hello, I read that the current MessageContext can be retrieved at server side

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: MessageContext at server side

2002-06-11 Thread Wimmer, Matthias
Thank you, it is working with this. I have some information for other persons that do the same as I did: Don't call MessageContext.getCurrentContext().getResponseMessage() within any JWS file. I did it and the result of the WebService RPC method was null all the time. best regards Matthias

Re: NMTOKENS

2002-06-11 Thread butek
Nope. Sorry. Russell Butek [EMAIL PROTECTED] Please respond to [EMAIL PROTECTED] To: [EMAIL PROTECTED] cc: Subject: NMTOKENS Hello, Are xsd:NMTOKENS or xsd:NCName supported by Axis? Thanks, Miguel Vieira

easier automatic deployment

2002-06-11 Thread Jeff Sparkes
I'm new to AXIS, and SOAP, so I'll probably get the terminology wrong I'd like to be able to just add my services into the axis.war file and get my service deployed without have to somehow run the AdminClient. It seems that this happens automatically for .jws files. Otherwise, I seem to

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.

.Net Client for Axis Service

2002-06-11 Thread Jones, Rhys
Title: .Net Client for Axis Service Hi, I'm sorry if this is off topic, but here I go. I am trying to get a .Net client to talk to an existing Axis service which works with java clients. Right now access to the service is controlled using a handler that checks basic authentication. At

RE: Apache SOAP 2.3 vs. AXIS

2002-06-11 Thread Volkmann, Mark
Title: RE: Apache SOAP 2.3 vs. AXIS See http://www.apache.org/~rubys/ApacheClientInterop.htmlfor interop. information. Unfortunately, in the most recent run, the server running Axis and Apache SOAP was down so there are no results to look at today. I've heard that the target for getting

read XML file into SOAPBodyElement

2002-06-11 Thread Wimmer, Matthias
Hi, this is my code: SOAPBodyElement body = new SOAPBodyElement( file ); body.addChildElement( Child ); But it doesn't work. No child element is inserted. I tested it with System.out.println( body ) The method addChildElement works, if I call another constructor in

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

Accessing Web Services from the web

2002-06-11 Thread Eric Roberts
Ok, I have a web service class that i want to use to access loads on certain machines. It takes one parameter, the machine name. The Java source looks like this: (begin source here) package samples.userguide.load; import org.apache.axis.client.Call; import org.apache.axis.client.Service;

Re: Accessing Web Services from the web

2002-06-11 Thread Lyndon Durham
If you modified your LoadClient to a web service client by replacing the main method, you could simply import it into a jsppage and invoke your web service. You could simply use a form that takes the machine name parameter and pass it to your web service client class. Web Services Definition

RE: Accessing Web Services from the web

2002-06-11 Thread Eric Roberts
Thanks guys. I had an inkling that servlets/jsps were the solution but just a bit confused on how to actually impliment it. Many Thanks Eric On Tue, 11 Jun 2002, Wimmer, Matthias wrote: Eric: I think this is an issue of Servlets and JSPs. Once you are a little bit familiar with this, I

JRun 4.0 question and axis beta2-Macromedia experts

2002-06-11 Thread Lyndon Durham
JRun 4.0 provides web services functionality via Axis beta1 implementation. Can anyone of the Macromedia experts on this list advise as to if it is possible to upgrade their JRun bundled axis implementation from beta1 to beta2?

RE: JRun 4.0 question and axis beta2-Macromedia experts

2002-06-11 Thread Jill Heck
i have just dropped the axis.jar in the jrun4/lib directory and it loads before jrun.jar thus using beta2 rather than beta1 in the jrun.jar. tempoary hack jill -Original Message- From: Lyndon Durham [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 11, 2002 2:52 PM To: axis-user

Re: JRun 4.0 question and axis beta2-Macromedia experts

2002-06-11 Thread Lyndon Durham
Thanks for the hack Jill.

RE: .Net Client for Axis Service

2002-06-11 Thread Vidyanand Murunikkara
Hi Thomas I dont remember the exact code that i changed. But basically it involves overriding the GetWebRequest Method in the Client. Inside this method you do a GetWebRequest on the base class . TO this webrequest add the http header manually and then return it. Hope this helps. But if you

RE: .Net Client for Axis Service

2002-06-11 Thread thomas . cherel
Title: RE: .Net Client for Axis Service That should be fine. Thanks for the pointers, which is all I really needed. Thomas -Original Message- From: Vidyanand Murunikkara [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 11, 2002 7:08 PM To: [EMAIL PROTECTED] Subject: RE: .Net Client

Custom Exceptions

2002-06-11 Thread Sam Kapoor
Hi: what I want to do is write a custom exception class and propagate it from one of the methods on my Web-Service to the client. So I define a Java exception class: public class EInvalidCustomer extends Exception { public EInvalidCustomer(String err){ super(err); } The method on my

RE: .Net Client for Axis Service

2002-06-11 Thread Jones, Rhys
Title: RE: .Net Client for Axis Service Thanks Vidyanand, I can't get the method of sending the WWW-Authenticate header back to the client to work. I am curious of how you changed the GetWebRequest() method to send the correct headers. It does seem like the hard way to do it, but it sounds

Re: Custom Exceptions

2002-06-11 Thread Bob Cotton
Sam == Sam Kapoor [EMAIL PROTECTED] writes: Sam Hi: what I want to do is write a custom exception class and Sam propagate it from one of the methods on my Web-Service to the Sam client. So I define a Java exception class: Sam public class EInvalidCustomer extends Exception {

Re: WSDL2Java Design Issue

2002-06-11 Thread Martin Jericho
Thanks Russell, I'm satisfied to know that it is an issue in the backs of people's minds. I've now resigned myself to using pure data classes with SOAP, and transferring the data into my real classes. Still I think the idea of separating the server side and client side generation is not so

Custom Exceptions

2002-06-11 Thread Sam Kapoor
Hi: what I want to do is write a custom exception class and propagate it from one of the methods on my Web-Service to the client. So I define a Java exception class: public class EInvalidCustomer extends Exception { public EInvalidCustomer(String err){ super(err); } The method on my