RE: Exposing an EJB as a doc-literal web service

2004-06-20 Thread Robert Lowe
> can u suggest me a web services book which you feel is the best? > may be you should write one She already did! :-) http://www.informit.com/title/0321185773 Best regards, Robert Lowe http://RMLowe.com/

RE: help with Axis fault

2004-05-30 Thread Robert Lowe
a namespace URI is just a unique identifier, nothing more. (One common misconception is that a namespace URI must point to a schema.) There's not necessarily any relation between the namespace URIs used in your documents/schemas, and the endpoint URL of your service. Best regards, Robert Lowe http://RMLowe.com/

RE: Abort a axis handler chain

2004-05-12 Thread Robert Lowe
Perhaps it would be possible to put a ServletFilter in front of Axis that filters out the response body under certain conditions? Best regards, Robert Lowe http://RMLowe.com/ -Original Message- From: Nelson Minar [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 12, 2004 11:31 PM To

RE: Use the same singleton class for two different services

2004-04-29 Thread Robert Lowe
t class in the shared lib directory of your Web container. For example, using Tomcat, put your JAR file in shared/lib instead of webapps/axis/WEB-INF/lib. Best regards, Robert Lowe http://RMLowe.com/ -Original Message- From: Daniel Olmedilla [mailto:[EMAIL PROTECTED] Sent: Wednesday

RE: problem using WSDL2Java on RPC/Literal

2004-04-13 Thread Robert Lowe
If your schema specifies elementFormDefault="unqualified", or does not specify the elementFormDefault attribute at all, then Axis is doing the correct thing. Try adding elementFormDefault="qualified" to your schema. Best regards, Robert Lowe http://RMLowe.com/ -

RE: Emply xmlns attribute

2004-04-03 Thread Robert Lowe
qualified", or if the schema doesn't include the elementFormDefault attribute; the second is correct if the schema specifies elementFormDefault="qualified". Best regards, Robert Lowe http://RMLowe.com/ -Original Message- From: Nicholas Remy [mailto:[EMAIL PROTECTED]

RE: [newbie] Axis implementation of JAXM and SAAJ

2004-02-24 Thread Robert Lowe
I think Axis 1.1 implements SAAJ 1.1 and JWSDP 1.3 implements SAAJ 1.2. I don't believe Axis implements JAXM. Best regards, Robert Lowe http://RMLowe.com/ -Original Message- From: Samuel Cheung [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 24, 2004 12:46 AM To: &#

RE: Where Axis store the WSDL?

2004-02-09 Thread Robert Lowe
Tony, I'm not Axis expert but I believe Axis generates the WSDL on-the-fly in response to the browser request. I don't think it's actually stored on the hard drive. Best regards, Robert Lowe http://RMLowe.com/ -Original Message- From: Tony Blair [mailto:[EMAIL

RE: Discovering the webapp path.

2004-01-07 Thread Robert Lowe
re thing that needs to be configured at deployment time-- but I'm not aware of a better solution. Best regards, Robert Lowe http://RMLowe.com/ -Original Message- From: Sean Leblanc [mailto:[EMAIL PROTECTED] Sent: Thursday, January 08, 2004 2:38 AM To: '[EMAIL PROTECTED]'

RE: Still do not have it.

2003-10-10 Thread Robert Lowe
Title: Still do not have it. I'm no expert either, but I *think* I can see several problems straight of the bat:   - I think FileType needs to be defined as an element, not just a complex type, in other words something more like:              

RE: Performance Issues with AXIS & Axis Response Time appears linear with load

2003-10-09 Thread Robert Lowe
derFac tory.html As noted in the docs, it's fine to have one DocumentBuilderFactory per thread though. Best regards, Robert Lowe http://RMLowe.com/

RE: Init Parameter

2003-09-01 Thread Robert Lowe
It should be enough to put the init code in a block that is synchronized on the class, e.g. class Foo { static boolean isInitialized = false; public Foo(...) { synchronized (Foo.class) { if (!Foo.isInitialized) { .. do init stuff as below .. } }

RE: Axis MessageContext to the WebService

2003-08-19 Thread Robert Lowe
Jakob Skovenborg [mailto:[EMAIL PROTECTED] Sent: Monday, August 18, 2003 11:44 PM To: [EMAIL PROTECTED] Subject: RE: Axis MessageContext to the WebService Hej Rober and Jim Thank's a lot. I did'nt know this ThreadLocal mechanism. For other purposes, do you know any examples how to use it.

Re: RE: Axis MessageContext to the WebService

2003-08-18 Thread Robert Lowe
I assume this uses a ThreadLocal internally, so that a different object is returned depending the thread that invokes it. - Rob - Original Message - From: "Jakob Skovenborg" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, August 18, 2003 10:54 PM Subject: Re: RE: Axis MessageC

Re: AXIS serialization/deserialization of XML payloads without SOAP/WSDL processing

2003-08-04 Thread Robert Lowe
From JSR 224 (http://jcp.org/en/jsr/detail?id=224):   "Due primarily to scheduling concerns, JAX-RPC 1.0 had to define its own data binding facilities. Now that the JAXB 1.0 technology ( JSR-31) has gone final, there is no reason to maintain two separate sets of XML mapping rules in the Java(T

Re: Exception hierarchies in WSDL

2003-08-04 Thread Robert Lowe
Title: Exception hierarchies in WSDL Well, if a method is declared to throw A, and B extends A, then the method can also throw B, regardless of whether B appears in the throws clause. So this:   public void myMethod() throws A, B;   is semantically equivalent to this:   public void myMethod()

Re: axis with SSL server

2003-08-04 Thread Robert Lowe
Are you sure you're using J2SE 1.4 on the *client* (not the server)? - Rob - Original Message - From: "Henry Lu" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, August 04, 2003 9:39 PM Subject: RE: axis with SSL server > Yes I did. Tomcat with SSL work just fine. > > > -

Re: accessing the TypeMappingRegistry in a JAXRPC implemenation

2003-07-26 Thread Robert Lowe
ttp://jcp.org/en/jsr/detail?id=224 - Rob > -----Original Message- > From: Robert Lowe [mailto:[EMAIL PROTECTED] > Sent: Saturday, July 26, 2003 3:22 PM > To: [EMAIL PROTECTED] > Subject: Re: accessing the TypeMappingRegistry in a JAXRPC > implemenation > > > JAX-R

Re: Retrieving a value from the Soap response ....

2003-07-26 Thread Robert Lowe
This is an eccentricity of DOM. When you call nodes.item(0), it returns an Element node that represents the element. To get the textual content of an element, you can't call getNodeValue() directly on the Element node; rather, you have to have to get a TextNode object, which is a child of t

Re: accessing the TypeMappingRegistry in a JAXRPC implemenation

2003-07-26 Thread Robert Lowe
JAX-RPC 1.0/1.1 defines Serializer and Deserializer interfaces. However, both are empty except for a getMechanismType() method that returns a String. The meaning of the return value is not defined. In other words, you're out of luck. :-( - Rob - Original Message - From: "Anne Thomas Ma

Re: WSDL2Java with JAXB ??

2003-07-25 Thread Robert Lowe
WSDL from Java classes? Doesn't JAXB only generate one direction: XML Schema --> Java classes? -- Mark > -Original Message- > From: Robert Lowe [mailto:[EMAIL PROTECTED] > Sent: Friday, July 25, 2003 2:07 AM > To: [EMAIL PROTECTED] > Subject: Re: WSDL2Java wit

Re: WSDL2Java with JAXB ??

2003-07-24 Thread Robert Lowe
The latest version of the JAXB-RI is free for commercial use, and is about to become open source. It was only the beta that wasn't licensed for commercial use. Also, you don't need to modify your XSD at all, you can use an external binding schema. My limited of JAXB has been that it's pretty solid

Re: JAX-RPC reference Impl. (was RE: Axis vs Glue)

2003-07-07 Thread Robert Lowe
> Do you mean the jaxb-interest mailing list? Yep, that's what I meant. - Rob

Re: JAX-RPC reference Impl. (was RE: Axis vs Glue)

2003-07-03 Thread Robert Lowe
> Most of the interesting questions on the Sun web services forum never get > answered. I assume you're talking about the JAX-RPC forum. The JAXB forum, on the other hand, is very active. - Rob

Re: help required for attachment using ejb as webservice

2003-06-26 Thread Robert Lowe
SOAP attachments, MIME types and DataHandlers are explained pretty well in (BChapter 3 of O'Reilly's "Java Web Services in a Nutshell", which is (Bavailable for free online: (B (Bhttp://www.oreilly.com/catalog/javawsian/chapter/ch03.pdf (B (B (B- Original Message - (BFrom: "Toshiyu

Re: Problem reading from file

2003-06-02 Thread Robert Lowe
I think the important point here is which version of SOAP you are using. The first URL identifies your message as a SOAP 1.1 message, whereas the second is for SOAP 1.2. - Rob - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, June 02, 2003 12:50 AM Sub