SAX Only

2003-09-25 Thread Simon Bretin
Hello, I'm really new to Axis, and I am trying to use it for running a webservices server only. I have seen that the Axis Engine requires a DOM Parser to be present in the system in order to work correctly. However, in the purpose of just answering SOAP requests, I cannot understand why a SAX o

Re: One service with operations in different namespaces

2003-09-25 Thread Anne Thomas Manes
You must use WSDL2Java to generate your server skeleton. At 10:12 PM 9/25/2003 +0200, you wrote: At the beggining I'd like to thank you for help! OK, this is WSDL document. Far I understand documentation, the wsdlFile atribute in deployment is just for returning WSDL, not for Axis service conf

Re: namespace question

2003-09-25 Thread Anne Thomas Manes
Per your schema, the element is a local element, which means that it should not be namespace qualified. Hence Axis does produce an accurate realization of your element. Since the has a default namespace, you must use xmlns="" to turn off the default namespace. If you added elementFormDefault=

RE: namespace question

2003-09-25 Thread Gary L Peskin
The "text" element is a locally defined element in your schema because it is declared as a child of the "sequence" element and not as a child of the "schema" element. The schema element has an attribute elementFormDefault whose default value is "unqualified". In your example, that attribute of th

Standalone application

2003-09-25 Thread Alex Chen
I am new to SOAP and try to use it as an RPC protocol. I was looking at the XML-RPC, which seems simple enough to use and is light-weight. But the development with ASF seems to have stopped (?) Apache's AXIS seems to reply on an external web server, unlike Apache's XML-RPC that has its own. This

Re: Access violation?

2003-09-25 Thread Stephen Gordon
I haven't used TCPMonitor before - I use either of the following methods: 1. place a handler in your responseFlow in the server which logs the XML. Should look something like (untested code follows): - package testing; import org.apache.axis.MessageCon

namespace question

2003-09-25 Thread Chris Williamson
Hello, I have a question about namespaces while using document style web service... Say I have a method defined by the schema... http://www.domain.com/namespace"; xmlns="http://www.w3.org/2001/XMLSchema";> ... It appears that the code that is generate

Axis message classes to implement org.w3c.dom.Node interface ??

2003-09-25 Thread Mark D. Hansen
Are there any plans for the Axis implementations of the javax.xml.soap.* interfaces (e.g., org.axis.message.MessageElement) to implement the org.w3c.dom.Node and other DOM interfaces as the Sun RI for JAX-RPC/SAAJ has done? Thanks, Mark

Re: One service with operations in different namespaces

2003-09-25 Thread Marcin Okraszewski
At the beggining I'd like to thank you for help! OK, this is WSDL document. Far I understand documentation, the wsdlFile atribute in deployment is just for returning WSDL, not for Axis service configuration, isn't it? I'm afraid I will still get errors. Am I wrong? One more time thanks for hel

namespace prefixes in axis

2003-09-25 Thread Matthias Jung
Hi all, I have got a question about namespace prefixes in axis. Please have a look at the soap envelope at the end of this message. I sniffed it between client and server communication. The elements 'getAllOrdersResponse' and 'getAllOrdersReturn' are prefixed although they are from the same names

RE: Returning XML document from Service call

2003-09-25 Thread matthew_f_hamburger
Return Receipt Your RE: Returning XML document from Service call document :

RE: Returning XML document from Service call

2003-09-25 Thread Cathal O' Riordan
Title: RE: Returning XML document from Service call If it possible to return a Document object from an RPC type call could someone provide me with the steps to do this?   -Original Message- From: Volkmann, Mark [mailto:[EMAIL PROTECTED] Sent: 25 September 2003 14:59 To: '[EMAI

new to axis Question about Complex Type

2003-09-25 Thread Jawad Kakar
Title: new to axis Question about Complex Type I am new to Soap, and using version 1.1 of axis, my question is about complex type. Code for the interface. public class FamilyInterfaceImpl {     public Family getFamily(){         Family f = new Family("MyFamily", 5);   

Re: Access violation?

2003-09-25 Thread Anders Peterson
Hi, Thanks for offering to help. At the moment I believe there are (possibly) two problems and that at least one is actually a server problem. I'm trying to write a client. (The server guy has been unable to work with me today.) I'd like to run TCP Monitor. The docs say it will log every in

Re: Soap Fault question

2003-09-25 Thread Steve Pannier
Anyone else knowledgeable in Soap Faults have any comments on this? Steve > Steve, > > I am not knowledgeable enough to comment on whether your expectations are too > high or not. However, it all boils down to WSDL to a particular language > binding and how that binding maps SOAP faults define

Re: new to axis Question about Complex Type

2003-09-25 Thread Adhamh Findlay
I've been struggling with Axis code generation too, and in pretty much the same circumstances. I've been thinking about writing a howto, so perhaps this will be the first draft. All of my classes and interfaces are in the same package, com.adhamh.SOAP (for example). First thing I do is use Ant t

RE: Returning XML document from Service call

2003-09-25 Thread Mike Spreitzer
Return Receipt Your RE: Returning XML document from Service call document :

RE: Deserialization problem (SOLVED)

2003-09-25 Thread Jose Soler
Hi Again, thanks guys,I already solved it all. My complx data request/response test is working properly. I paste below the final code for the service and the test client as well as the deployment descriptor in case it can be of help for anyone. Best regards, jose Bean Code:

new to axis Question about Complex Type

2003-09-25 Thread Jawad Kakar
Title: new to axis Question about Complex Type I am new to Soap, and using version 1.1 of axis, my question is about complex type. Code for the interface. public class FamilyInterfaceImpl {     public Family getFamily(){         Family f = new Family("MyFamily", 5);    

Re: axis, oc4j and a local stateless EJB

2003-09-25 Thread Jens Schumann
On 9/25/03 06:04 AM [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Hi, > > I'm trying to make a local stateless session EJB available as a web service > through axis and would appreciate any help. > > > http://xml.apache.org/axis/wsdd/"; xmlns:java > ="http://xml.apache.org/axis/wsdd/providers/

RE: Returning XML document from Service call

2003-09-25 Thread Volkmann, Mark
Title: RE: Returning XML document from Service call I think you could return Document objects using RPC, but I don't think you want to.  I imagine that would serialize all the fields of all the nodes into XML.  Wouldn't you end up with XML elements that describe things like ownerDocument and

Re: One service with operations in different namespaces

2003-09-25 Thread Anne Thomas Manes
Marcin, You define the schemas in the section of the WSDL document. For example:

RE: Returning XML document from Service call

2003-09-25 Thread Cathal O' Riordan
Can an org.w3c.dom.Document object be returned from an RPC style web service using a similar convention as below? Does RPC only support the use of objects to represent XML structures or can generic XML structures (encapsulated in DOM objects) be returned? Regards, C. -Original Message-

RE: Returning XML document from Service call

2003-09-25 Thread Volkmann, Mark
Title: RE: Returning XML document from Service call I've attached a zip containing an example. Feedback on this is welcomed! -Original Message- From: Cathal O' Riordan [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 24, 2003 10:20 AM To: [EMAIL PROTECTED] Subject: Returning XM

RE: Axis and Tomcat in StandAlone mode

2003-09-25 Thread "Morin, Marc-André"
Hi huys, Does anybody would have an idea how to fix the error just as below? I'm using Tomcat 4.1.27 and Axis 1.1! Thanks in advance, -- Marc Exception in thread "main" AxisFault faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException faultSubcode: faultString: java.lang.r

RE: AXIS generating bad WSDL ... maybe a bug

2003-09-25 Thread Koller, Shmuel
Incidentally a followed a bug in the vicinity of your concern http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15300 its now resolved/fixed, if relevant I assume you need a recent build, Shmuel Koller -Original Message- From: Mark D. Hansen [mailto:[EMAIL PROTECTED] Sent: Mon, September 2

Why does Axis use soap encoding in array in doc/literal

2003-09-25 Thread Agarwal, Naresh
Hi   If I develop a webservice using AXIS in doc/literal or wrapped/literal and expose a function, which returns array of some object, then AXIS uses *soap encoding* in response to encode the *array*. This works fine with axis client but does NOT work with .NET   Is anyone looking into this

Deserialization problem (more)

2003-09-25 Thread Jose Soler
Hi Dimuthu ( and all), thanks a lot for your advise. I have tried already but there is no difference on the result. I have monitored the connection with the TCPMonitor utility of Axis and I have discovered that in fact the problem is not in the client side but in the server side (or maybe also

Re: FW: Help Needed for Ignoring End of Line Elements in DOM of SOAP Element

2003-09-25 Thread Stephen Gordon
I really don't know if this is an axis question. I think maybe some XML or JDOM user group would be able to handler this one better. just my $0.02 stephen Rajesh Manickadas wrote: sending it again as plain-text. -Original Message- From: Rajesh Manickadas Sent: Thursday, September 25,

FW: Help Needed for Ignoring End of Line Elements in DOM of SOAP Element

2003-09-25 Thread Rajesh Manickadas
Title: FW: Help Needed for Ignoring End of Line Elements in DOM of SOAPElement sending it again as plain-text. -Original Message- From: Rajesh Manickadas Sent: Thursday, September 25, 2003 4:07 PM To: [EMAIL PROTECTED] Subject: Help Needed for Ignoring End of Line Elements in DOM o

Help Needed for Ignoring End of Line Elements in DOM of SOAPElem ent

2003-09-25 Thread Rajesh Manickadas
Title: Help Needed for Ignoring End of Line Elements in DOM of SOAPElement Hi, I have a requirement to convert the SOAPBodyElement to a JDOM Element to give it to another system. I am using the getAsDOM() to get the DOM, then give this DOM to the JDOM DOMBuilder. What happens is END OF L

Re: Access violation?

2003-09-25 Thread Stephen Gordon
if u send me a sample i can test it to see if the problem is axis or not. i am running debian with tomcat 4.1.24 and axis 1.1 stephen Anders Peterson wrote: Hi all, I have client code generated by wsdl2java. Most methods work fine, but some fail and produce exceptions like the one below. It seem

axis, oc4j and a local stateless EJB

2003-09-25 Thread Nsathiamoorthy
Hi, I'm trying to make a local stateless session EJB available as a web service through axis and would appreciate any help. I'm using oc4j903, axis1.1. I've packaged the axis war and the ejb jar in an ear file and successfully deployed it to the container. I have successfully accessed the EJB fr

Access violation?

2003-09-25 Thread Anders Peterson
Hi all, I have client code generated by wsdl2java. Most methods work fine, but some fail and produce exceptions like the one below. It seems to be which data types are used in the custom types that determine if the call succeeds or fails: string and int are ok; dateTime and decimal are not. I