RE: char encoder/decoder

2001-09-20 Thread Balaji Iyer
Thats true... it should work -Original Message- From: Heitzso [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 20, 2001 6:52 PM To: [EMAIL PROTECTED] Subject: Re: char encoder/decoder clearthink wrote: >This question has already been asked but >no replies have been forthcoming. ho

RE: XML parser & cyclical reference question

2001-09-20 Thread Michael R. Clements
Interesting discussion on this back in July on the soapbuilders forum. BTW, this raises another issue with nesting. Consider the following: This should be illegal because item "d" is referring to item "c", and the latter is not defined at the root level! Because of

RE: XML parser & cyclical reference question

2001-09-20 Thread Michael R. Clements
Hi Glen, Thanks for the reference. I remember you gave this reference when I first asked the question a couple of weeks ago. When I looked at the Apache SOAP source code I found it wasn't hard to change it to do what's described below. I thought I had an easy solution when I came up with the cyc

FW: Fault String = org.apache.xerces.dom.DeferredTextImpl

2001-09-20 Thread V.Sundaresan
this is becoz of the encodin type. u r using 'http://schemas.xmlsoap.org/soap/encoding/'. as SOAP-ENC try the same using Constants.NS_URI_SOAP_ENC of SOAP API .  Refer the sample program inside interop folder  of SOAP2.2   -sunder -Original Message-From: Vladislavs Tomasevs

Re: XML parser & cyclical reference question

2001-09-20 Thread Glen Daniels
Hi Simon, Michael: There are many SOAP implementations out there which will automatically marshal cyclic language structures into XML like that you suggest. Axis (http://xml.apache.org/axis) does this kind of serialization by default. --Glen - Original Message - From: "Simon Fell" <[EM

Re: XML parser & cyclical reference question

2001-09-20 Thread Simon Fell
yes, that's legal. i don't see any problem with href's refering to themselves [either directly or indirectly]. Issues to do with handling multi-ref's has been discussed on the soapbuilders mailing list a number of times http://groups.yahoo.com/group/soapbuilders/ Cheers Simon On Thu, 20 Sep 200

RE: XML parser & cyclical reference question

2001-09-20 Thread Michael R. Clements
Yes, you hit the nail right on the head. The second example is exactly what I'm doing. And sometimes it works =) If it's true that this is illegal, then it would seem impossible to serialize a cyclical reference. . . unless. . . what about the following example: If this is legal

Re: XML parser & cyclical reference question

2001-09-20 Thread Simon Fell
Independent elements in SOAP [the one's that have id's] need to be serialized outside of the main serialization root, e.g. they can not be inlined, e.g. 5 is correct, whilst this is not, 5 from your description it sounds like you are generating the bottom example. Cheers Simon

SOAP User FAQ updated

2001-09-20 Thread Jonathan Chawke
Hello, I've just updated the Apache SOAP-user's FAQ. It's available here: http://xml.apache.org/soap/faq/faq_chawke.html Let me know what you think of the FAQ (particularly if there are any errors or omissions). Thanks! Jonathan. _

XML parser & cyclical reference question

2001-09-20 Thread Michael R. Clements
Hi all, My Apache SOAP v 2.2 is installed & working with Jetty 3.0.6. I'm trying to get data structures with cyclical references to marshal correctly. I've modified the Apache SOAP source code to do this as follows: 1. Every XML data item has a unique ID for it, whether or not this is needed.

Exception from Service Object

2001-09-20 Thread Pawan Agarwal
hello I am using apache soap and have deployed a service with 7 methods 5 of them work fine but when I try to invoke the others I get an faultstring "Exception from service Object: 6 >=6" and fault code "SOAP-ENV:server".What might be the problem. Thanx in advance Pawan

Looking for example code

2001-09-20 Thread Scott Moore
I just got the SOAP toolkit installed on tomcat and have successfully deployed a service.  However, I can't find any sample code that takes an Envelope object and parses it into a Xerces DOM.Can anyone provide or point me to some Java code that does this operation?Thanks.

RE: Setting NameSpaces in Header

2001-09-20 Thread Scott Moore
Although I haven't tried this with Xerces, you usually place the namespace prefix in the node name. Try the following: Element authToken = doc.createElementNS(MY_URI, "m:authToken"); authToken.setAttributeNS(Constants.NS_URI_SOAP_ENV, "SOAP-ENV:mustUnderstand", "1"); Hope this helps, Scott

Setting NameSpaces in Header

2001-09-20 Thread Andy Jefferies
I'm clearly doing something wrong here as my namespaces are not being set. I'm trying to invoke a SOAP-RPC with a header like: http://myurl";> ABCDEF but...my code produces a header like: http://myurl";> ABCDEF The authToken element and mustUnderstand attribute both fail to set thei

A Soap-Client sample for processesing Arrays ???

2001-09-20 Thread Ajjarapu, Kondal
I was wondering if anyone has a Client sample for processesing responses when a soap service sends back arrays. I would appreciate any help. Kondal Ajjarapu Enterprise Solutions Applications and Integration H3-4B-30, 5400 Legacy Drive

StringOutOfBoundsException when invoking

2001-09-20 Thread Neil Smyth
I'm using Apache Soap v2.2, and by and large it is working fine in calling basic services over the web. However when I call the service at http://www.ebob42.com/cgi-bin/Romulan.exe/soap/IRoman === public static void main(String[] args) { try { // Build the call. Call call = n

AW: Setting Http headers

2001-09-20 Thread Christoph C . Cemper @ Cemper.com
I guess you need that, because you got MS SOAP Toolkit as client and you want to implement a session-handling from MS SOAP to Apache SOAP, right? mfg / kind regards, Christoph C. Cemper email:mailto:[EMAIL PROTECTED] www:http://Christoph.Cemper.com -Ursprungliche Nachricht-

AW: Session management in SOAP

2001-09-20 Thread Christoph C . Cemper @ Cemper.com
Are you using Apache Soap for client & server over http? If so, then you could use the Apache-Soap Cookie-mechanisms. mfg / kind regards, Christoph C. Cemper email:mailto:[EMAIL PROTECTED] www:http://Christoph.Cemper.com -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED]

RE: char encoder/decoder

2001-09-20 Thread Andy Jefferies
char is very platform dependant. Java is lucky in that it's implementation can handle many locales - Western, Chinese, Japanese, etc - not all platforms can do this. Additionally, any char passed even between Java servers would have to define the locale for the chars (possibly each char). Andy

Session management in SOAP

2001-09-20 Thread Nidhi . Gupta
Hello, I'm using Apache's implementation of SOAP 2. I want to know what kind of session support is provided. I want to maintain user identification and some other access control information in the session, so that user doesn't have to logon everytime he queries for something. Thanks, Nidhi

Unsubscribe me

2001-09-20 Thread Ivan Prochazka
 

Re: char encoder/decoder

2001-09-20 Thread Heitzso
clearthink wrote: >This question has already been asked but >no replies have been forthcoming. how in >the heck is it the case that apache soap >handles all build-ins but not char? > >what is the solution? what is the work >around? in my application i keep getting: > >No Serializer found to seri

Fault String = org.apache.xerces.dom.DeferredTextImpl

2001-09-20 Thread Vladislavs Tomasevs
Sorry for the previous mail. I wrongly pointed to the server error. In this mail it pointed correctly.    So, when sending data with the following structure   { String Int Float String[] }   server  answers:     Fault Code   = SOAP-ENV:Server.Exception:  Fault String = org.apache.xerces.do

Fault String = org.apache.xerces.dom.DeferredTextImpl

2001-09-20 Thread Vladislavs Tomasevs
Hello!   I am trying to transfer data with the following structure   { String Int Float String[] }   Client sends it correctly, but server answers:     Fault Code   = SOAP-ENV:Server  Fault String = java.lang.IllegalArgumentException: No Serializer found to serialize a 'java.lang.reflect.Arr

Re: Retrieving complex XML structures from SOAP body

2001-09-20 Thread Otto Villarin
Hi I am doing the same for my client in Delphi but this solution doesn't seems to me the best one I would like to know if someone has tried to define the serializer/deserializer in Delphi equivalent to the java DOM Element. Has someone an idea of some mailing list related to Delphi and webservices

Unsubscribe me

2001-09-20 Thread Javier Cantos
Unsubscribe me

AW: "Offline" Generic SOAP client

2001-09-20 Thread Christoph C . Cemper @ Cemper.com
Rebecca, thanx for your tip. I tried the tool and it plays well for some simple things. But just as it could be expected I would need something to handle the complex input-types as well. Soapclient.com for instance is able to do so. The standalonge Iona-Tool helped me a little, but it needs

Re: I broke my pipe...

2001-09-20 Thread Laurent
Sounds like a Tomcat bug. Try Tomcat 4.0 Final (it's out). Also switch to jdk1.3.1+, we had nasty bugs running 1.3.0 + Soap2.2 on our RH host. Laurent

Re: Setting Http headers

2001-09-20 Thread Roberto Venturetti
"Wilkins, Craig" wrote: > > Look into Message Services. > > http://xml.apache.org/soap/docs/guide/index.html > So I must write a message-based client. Thank you. Rob begin:vcard n:Venturetti;Roberto tel;fax:+39 02 83102.310 tel;work:+39 02 83102.300 x-mozilla-html:FALSE url:http://w