AW: Attachment contents access

2002-04-08 Thread Taubenberger Stefan
Hello , i think this should work public javax.activation.DataHandler echo( javax.activation.DataHandler dh){ // the content String out = dh.getName(); // content type String content = dh.getContentType(); try { FileInputStream in1 = new FileInputStream(out); } } -Ursprüngliche

Re: style="document" rulz!

2002-04-08 Thread Steve Loughran
- Original Message - From: "ajack" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, April 08, 2002 5:40 PM Subject: RE: style="document" rulz! > Stan Jordan [mailto:[EMAIL PROTECTED]] wrote: > > Subject: style="document" rulz! > > And style="rpc" sucks! > > To learn why, read t

RE: org.apache.axis.message.RPCElement back from Document style call...

2002-04-08 Thread Scott Seely
Try using the wsdl2java stuff that will generate the proxies for you. The documentation is here (beware line breaks!): http://cvs.apache.org/viewcvs.cgi/~checkout~/xml-axis/java/docs/user-gui de.html#WSDL2Java __ Scott Seely -Original Message- From: ajack [mailto:[E

org.apache.axis.message.RPCElement back from Document style call...

2002-04-08 Thread ajack
I am attempting to call a .Net web services, a document style operation, via AXIS beta 1 and for the first time. I've trawled the code/documentation and the mailing list archive but I do not seem able to find a sample, so I've done what I can. Basically I do (amongst t he usual others) : -

RE: MessageContext?

2002-04-08 Thread Hozefa Botee
does that mean I call .setMaintainSession(true) in the service method as well? is that all that is required for a session-based service? H > -Original Message- > From: Glen Daniels [mailto:[EMAIL PROTECTED]] > Sent: Saturday, April 06, 2002 10:03 AM > To: [EMAIL PROTECTED] > Subject: R

c/c++ web services

2002-04-08 Thread jianping . shen
Does Axis support c/c++ web services? The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination

RE: style="document" rulz!

2002-04-08 Thread ajack
Stan Jordan [mailto:[EMAIL PROTECTED]] wrote: > Subject: style="document" rulz! > And style="rpc" sucks! > To learn why, read this... > http://www.fawcette.com/xmlmag/2002_04/magazine/departments/endtag/ The author presupposes that having two applications "work" when they get out of synch is a go

style="document" rulz!

2002-04-08 Thread Stan Jordan
And style="rpc" sucks! To learn why, read this... http://www.fawcette.com/xmlmag/2002_04/magazine/departments/endtag/

Re: Digest authentication?

2002-04-08 Thread Matt Baldree
There may be a better way but worse case you can define your own transport. - Original Message - From: "Scott Seely" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, April 08, 2002 6:50 PM Subject: RE: Digest authentication? Thanks for the pointer. I did some digging and, from

RE: Digest authentication?

2002-04-08 Thread Scott Seely
Thanks for the pointer. I did some digging and, from what I can tell, this object only handles HTTPS and Basic authentication. Am I missing something here? -Original Message- From: Matt Baldree [mailto:[EMAIL PROTECTED]] Sent: Monday, April 08, 2002 4:32 PM To: [EMAIL PROTECTED] Subjec

Re: Digest authentication?

2002-04-08 Thread Matt Baldree
It uses the system properties you set. Look at the HTTP Sender in the transport package. - Original Message - From: "Scott Seely" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, April 08, 2002 12:25 PM Subject: Digest authentication? I am developing an Axis client for a Web se

RE: Problem with deploying web services with axis...

2002-04-08 Thread Brenda Coulson
The URL in the admin guide does not refer to a file, but rather an 'alias'/path that is recognized by the servlet engine which forwards the request to the Axis Servlet for processing. Did you attempt to execute the line as stated in the documentation? Assuming that you have configured your J2EE en

Problem with deploying web services with axis...

2002-04-08 Thread Stickley, Jim
I am having a problem locating the following file (referenced in your installation guide and clipped out below): /axis/services/AdminService I can not find anything in the source, or the webapps that looks anything like this. I figure it is a file that someone has forgotten to i

RE: some questions

2002-04-08 Thread Ma, June
Glen,   Thanks for your quick response. Please see comments as follows. Regards, -June -Original Message-From: Glen Daniels [mailto:[EMAIL PROTECTED]]Sent: Saturday, April 06, 2002 9:44 AMTo: [EMAIL PROTECTED]Subject: Re: some questions Hi June!   1. All of our validat

Re: Session cleanup

2002-04-08 Thread Adam Greene
Me too. I added log entries for each time my Session EJB was created, removed, passivated, activated, and written / read. I saw it create a new bean for each session (once I figured out how to get sessions working) and I saw it passivate and write out beans when it reached the in memory max (40)

Re: Any JAVA2XSD or JAVA2Schema ????

2002-04-08 Thread obrand
This is something that software such as XML Spy do well for you. Personally I do not see Axis doing that for you and it cannot be fully automated since XSD contains constraints that cannot be guessed by the transformation process... XML to DTD will be easy but a full blown XML to Schema is impos

Session cleanup

2002-04-08 Thread Evan Jehu
Hi all, I have a session bean running as a stateful Axis web service, I was wondering if anybody knows how/if the session cleans up when it expires, how that happens and if I have to perform any specific actions? Evan

Digest authentication?

2002-04-08 Thread Scott Seely
I am developing an Axis client for a Web service that requires digest authentication. I do not have control over the server to get it to use HTTP Basic authentication over SSL. Does anyone have any samples or pointers that would show how to enable the client to send credentials for digest a

RE: Does a stub always need a skeleton ?

2002-04-08 Thread Volkmann, Mark
I believe that skeleton classes are not used by default in the latest build, but I'm pretty sure they have not been removed. There is some debate between the committers as to whether skeletons are useful. If you use "-Strue" with WSDL2Java it will generate a skeleton class and the generated

RE: Custom Serializers and Deserializers for arrays of complex types with doc literal encoding.

2002-04-08 Thread Jamie Powell
Thanks Glen, for your help. Are these tests online, where I can grab a look at this example? This would be a big help.   Jamie Powell   -Original Message- From: Glen Daniels [mailto:[EMAIL PROTECTED]] Sent: Saturday, April 06, 2002 9:49 AM To: [EMAIL PROTECTED] Subject: Re: C

RE: Does a stub always need a skeleton ?

2002-04-08 Thread Ng, Charles
Like CORBA, skeletons are server-side only.  Hence the client code will never use a skeleton.   In Axis, the skeleton classes are removed recently and the Impl class is called directly.  This depends on whether you are using the beta-1 build or building from the latest CVS snapshot.   Charl

Does a stub always need a skeleton ?

2002-04-08 Thread Martina Brose
I’m wondering if it is possible to deploy my service the usual way (as explained in chapter “Publishing Web Services with Axis”) and then use the automatically generated wsdl file to let the wsdl2java tool generate the client-side bindings necessary to excess the service. Or do I always hav

Re: Any JAVA2XSD or JAVA2Schema ????

2002-04-08 Thread Seidhi H
Thanks Glen. Really appreciate your time. I found one other utility in the .NET platform SDK that is interesting. It is called XSD.exe and allows one to generate XSD from XML instances, apart from various other operations. Is there a similar functionality in the AXIS/SOAP boundaries Any po

Applet request to SOAP...

2002-04-08 Thread Kumaresan, Karikalan
Title: Applet request to SOAP... I am making a request to Apache-SOAP service from an Applet. I am using eclipse's Directory browser (which uses swt-win32-1137.dll). The following error occurs when the applet is initialized com.ms.security.SecurityExceptionEx[org/eclipse/swt/internal/Callbac

AW: Attachment contents access

2002-04-08 Thread Wörner Till
Thanks for your reply, but perhaps I did not describe my problem clear enough... I think what you send is how to add an attachment to a message, but I want to read the contents of an attachment and write it to a file, for example. This is my example: I get a message with an attachment which con

newbie help.

2002-04-08 Thread Joaquim Joao Rafael
I'm trying to run the tutorial, and get a method not allowed faultString. Can someone help me?   If more details necessary, please just ask. But I need HELP!   Thanks. Joao Rafael   Here is the output:   500 Internal Server Error /teste_ws/testJavaClassWebService.jsp: AxisFault 

RE: Attachment contents access

2002-04-08 Thread Ramon Turnes
Use this: Message rsp = MessageContext.getCurrentContext().getResponseMessage(); try{ org.apache.axis.attachments.Attachments attachments = rsp.getAttachments(); if(null == attachments) throw new RuntimeException("No support for attachment

Attachment contents access

2002-04-08 Thread Wörner Till
Hello! Does anyone have an example of how to access the contents on an attachment if I have following line of code in my client: - org.apache.axis.Message msg = call.getMessageContext().getResponseMessage(); - How to access the attachment content of message msg??? Thanks, Till -- T

RE: Handling of headers

2002-04-08 Thread Volkmann, Mark
Title: RE: Handling of headers I think you have to get the header from the MessageContext and call setProcessed(true) on it.  I believe that is how Axis determines whether you understood the header. > -Original Message- > From: Ramon Turnes [mailto:[EMAIL PROTECTED]] > Sent: Monday, A

Re: Any JAVA2XSD or JAVA2Schema ????

2002-04-08 Thread Glen Daniels
Axis has an XML<->Java databinding framework which is still evolving and doesn't really support all that much yet. Essentially we have metadata associated with your Java class which tells the runtime how to map fields to and from XML elements and attributes. Eventually I'd like to see us get to

Re: Bad envelope while deploying to axis AdminClient

2002-04-08 Thread Glen Daniels
Hi Paul!   In cases like this, a tcpmon trace almost always pinpoints the cause of the trouble.  It looks like you're not sending valid XML for some reason.  If you can't figure it out yourself from looking at a trace, please forward it along to the list.   --Glen - Original Message --

Re: some questions

2002-04-08 Thread Glen Daniels
Hi June!   1. All of our validation is currently in the deserializers.  The schema information (i.e. what XML to expect when) exists in the form of a TypeDesc (org.apache.axis.description.TypeDesc) for JavaBeans, which is the common case.  This will match up elements/attributes to the approp

Re: MessageContext?

2002-04-08 Thread Glen Daniels
Hi Hozefa: I wouldn't rely on the MessageContext being set in the constructor for your object, although it is interesting that we apparently make two service objects - I'll look into that to see what's up there. The MessageContext represents information about a PARTICULAR request/invocation, and

Re: Messaging example?

2002-04-08 Thread Glen Daniels
Go Ramon! Just a note from the Axis team here - we really REALLY appreciate it when all of you who are using the toolkit take the time to help each other out on this list. We realize that the Axis docs need improving, and we have a desperate need for a FAQ, both of which we'll try to deal with,

Re: Is there a localhost optimization?

2002-04-08 Thread Glen Daniels
 Hi Bryan!   Axis has a "local" transport which basically does what you want (i.e. calls an in-proc server) but it currently enforces serialization/deserialization both ways across the connection.  This is because the transport is primarily used for testing.  It would be very easy to turn th

Re: Does anyone no how to set the encoding to doc literal?

2002-04-08 Thread Glen Daniels
Literal encoding means "no encodingStyle", so setting this to either null or "" will get you literal serialization.   Note that you need to make sure to use the "" namespace on any custom TypeMappings you deploy for your particular application as well!   --G - Original Message -

Re: C++ and Axis

2002-04-08 Thread Glen Daniels
+1 We're definitely going to put some time into this in the not-too-distant future. --Glen - Original Message - From: "Adam Greene" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, April 05, 2002 1:42 PM Subject: Re: C++ and Axis > I'm not sure. Because like every Web Servic

Re: Custom Serializers and Deserializers for arrays of complex types with doc literal encoding.

2002-04-08 Thread Glen Daniels
Hi Jamie!   You shouldn't need to write custom serializers for this, the ArraySerializer will do this for you.  I think we have an example of this in our tests somewhere, but I'm not sure just where.   --Glen - Original Message - From: Jamie Powell To: '[EMAIL PROTECTED]

Handling of headers

2002-04-08 Thread Ramon Turnes
Hi, I need to process some headers in my Web Service but if I have something like this: http://schemas.xmlsoap.org/soap/actor/next"/> my service is actually never called and axis throws the following exception: http://xml.apache.org/axis/";> Did not understand "MustUnderstand" header(s)!

Re: JAXM

2002-04-08 Thread Glyn Normington
No, although it contains JAXM interfaces and implements some of them. Glyn "Ma, June"

Using SimpleSessionHandler with a WSDL2Java-generated Stub

2002-04-08 Thread Seidl, Andy
Does anyone have an example of how to install a client-side handler (I want to use SimpleSessionHandler) with a WSDL2Java-generated client stub?  I've looked at the tests/TestSimpleSession code, but how would you do that for a service that is accessed through a generated client stub?   T

Error by executing adminclient

2002-04-08 Thread VAN DE BOEL Gustaaf
Operating system Win nt, but also same problem on alpaworks-machine. java org.apache.axis.client.AdminClient -lhttp://localhost:8080/axis/services/AdminService deploy.wsdd Exception in thread "main" java.lang.NoSuchMethodError at org.apache.axis.deployment.wsdd.WSDDDocument.(Unknown Sour

Server deployment

2002-04-08 Thread Stefan Taubenberger
Hello, every time when i startup my tomcat server i must deploy this following service again, and i dont know why ? The service ist correctly, as described at the following wsdd file, in the list of axis. If i dont deploy it again i get a interal server errror like this.. java.io.IOException: N