SV: wsdl arrayOfString ms-soap-client

2001-06-20 Thread kim . schjefstad
I think you are right concerning the namespaces. I do put my own types into my own namespaces for clarity, but I'm not sure if this is what you are supposed to do. Anyway it will work using your own namespaces. What we do is to use a valid URL as namespace and place the xsd files at this URL, lik

Re: web services performance

2001-06-20 Thread Sam Ruby
Glen Daniels wrote: > > Just as an FYI, Axis on two of my machines benchmarked at about 4X and about > 8X the performance of ApacheSOAP 2.2 a few weeks ago (the 8X was certainly > due to the fact that something in Axis (likely the parser) was able to > utilize the dual processors on my work box to

Re: web services performance

2001-06-20 Thread Glen Daniels
Just as an FYI, Axis on two of my machines benchmarked at about 4X and about 8X the performance of ApacheSOAP 2.2 a few weeks ago (the 8X was certainly due to the fact that something in Axis (likely the parser) was able to utilize the dual processors on my work box to great effect). Still don't g

RE: web services performance

2001-06-20 Thread graham glass
thanks! -Original Message- From: Rob Jellinghaus [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 20, 2001 11:38 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: RE: web services performance I don't mean to speak for the Axis team, and don't hold me / us to this, but there's been so

RE: web services performance

2001-06-20 Thread Rob Jellinghaus
I don't mean to speak for the Axis team, and don't hold me / us to this, but there's been some discussion recently about doing an 0.5 release in a couple of weeks. Axis is definitely making progress :-) I'll forward this question to axis-dev. Cheers! Rob At 11:13 PM 6/20/2001 -0500, graham gl

RE: web services performance

2001-06-20 Thread graham glass
hi sanjiva, any idea when Axis will be available? i'm writing a book on web services for prentice hall and already have chapters on J2EE/SOAP and .NET/SOAP. it would be great to include a chapter on AXIS/SOAP! cheers, graham -Original Message- From: Sanjiva Weerawarana [mailto:[EMAIL PR

Re: web services performance

2001-06-20 Thread Sanjiva Weerawarana
> oh, so 5x wouldn't be good enough, huh? ;-) > > - graham :-) It certainly would be .. however, you'd have to put the fastest possible JAXP parser with Apache SOAP and then try it .. Xerces is solid and all, but ain't the fastest by any means. Apache SOAP has never had any optimization effort

RE: web services performance

2001-06-20 Thread graham glass
oh, so 5x wouldn't be good enough, huh? ;-) - graham -Original Message- From: Sanjiva Weerawarana [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 20, 2001 10:23 PM To: [EMAIL PROTECTED] Subject: Re: web services performance On a similar note, it would be interesting to hold say the ca

RE: web services performance

2001-06-20 Thread graham glass
hi glen, only some of it is due to GLUE<->GLUE optimizations. from what i've been told, GLUE<-> is pretty fast too. i'll leave it to others to create the performance benchmarks! ;-) cheers, graham p.s. GLUE 3.1, due out soon, is about 10% faster than 3.0 -Original Message- From: Glen D

.invoke(...) returns null from JSP

2001-06-20 Thread Troy Beacleay
Response resp = call.invoke (new URL( SOAPServerURL ), "blah blah" ); Is in a test SOAP class, that works perfectly from a command line test harness. However, from a JSP page (tomcat 3.2) the line returns null and doesn't throw an exception. The invoke actually happens because I can see the r

Re: web services performance

2001-06-20 Thread Sanjiva Weerawarana
On a similar note, it would be interesting to hold say the calling end fixed (pick one- apache soap, glue, .net, whatever) and compare the perf of glue vs. apache soap on the serving end. If that shows glue an order of magnitude (10x) faster than apache soap then hats off to you Graham! Sanjiva.

Re: web services performance

2001-06-20 Thread Glen Daniels
Hi Graham! I'm curious - does your 500messages/second figure rely on "99.44%" SOAP, or do you use special GLUE->GLUE patterns to speed things up? I.e. should you expect that same rate (or similar) from GLUE->.NET, say? --Glen - Original Message - From: "graham glass" <[EMAIL PROTECTED]

RE: Java Client Deserializer

2001-06-20 Thread Stéphane Trottier
Title: RE: Java Client Deserializer SCORE Hi Tom, I found a workaround!! :-) Thanks to the folks at [EMAIL PROTECTED] http://groups.yahoo.com/group/soapbuilders/message/3964 basically change your .NET web service encoding type from document/literal to rpc [WebM

RE: web services performance

2001-06-20 Thread graham glass
yes, but no-one believes you when you spout your own benchmarks, so i encourage you to perform your own ;-) -Original Message- From: sachin chaudhari [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 20, 2001 9:31 PM To: [EMAIL PROTECTED] Subject: RE: web services performance graham Th

RE: web services performance

2001-06-20 Thread sachin chaudhari
graham This is really a good new. Have you compared GLUE with RMI or other implementations? --- graham glass <[EMAIL PROTECTED]> wrote: > hi sachin, > > please note that some web services platforms are > faster than others. just because RMI is 6x faster > than one particular implementation doe

RE: web services performance

2001-06-20 Thread graham glass
hi sachin, please note that some web services platforms are faster than others. just because RMI is 6x faster than one particular implementation does not imply that RMI is 6x faster than "web services". our own platform, "GLUE", is optimized for web services and gets about 800 round trip message

web services performance

2001-06-20 Thread sachin chaudhari
Hi, I did a simple test to see how much performance penalty one will have to pay for Openness of SOAP. RMI was 6 times faster than web services. I used a very simple function call to test this. (I am not claiming that I am right, but this is what I got!!!) I am sure other architects are also f

RE: Java Client Deserializer

2001-06-20 Thread Stéphane Trottier
Title: RE: Java Client Deserializer I am trying to use the StringDeserializer. The web service is just returning a string  "Hello World".  But every time I run the code I get back the same error. I think it breaks somewhere in the Response.extractFromEnvelope --- java.lang.IllegalArgumentExce

Maintaining a session with Apache Soap

2001-06-20 Thread Hecking, Dirck J
People, I am about to embark upon sessions with Soap. I have looked at the exampes on this topic and have come up with the following understanding. Please correct me if I am wrong. I have built 22 services with 2 methods in each. These services are represented in my code as java classes that use

Re: Problem Serializing Vectors

2001-06-20 Thread Javier A. Soltero
Ok, in the interest of all those loyal readers out there, I will answer my own question. It turns out that one of the members of the beans which were included in the vector I wanted to pass around was a Collection. I had to revisit every class in that inheritance hierarchy to make sure they declar

Re: Client Side SSL

2001-06-20 Thread Jonathan Chawke
Hi Craig, Have a look at the Apache-SOAP SSL FAQ: http://xml.apache.org/websrc/cvsweb.cgi/xml-soap/java/docs/install/FAQ_Tomcat_SOAP_SSL.html Hope this helps, Jonathan. >From: "Wilkins, Craig" <[EMAIL PROTECTED]> >Reply-To: [EMAIL PROTECTED] >To: "Soap-User@Xml. Apache. Org (E-mail)" <[EMAIL PR

new to soap

2001-06-20 Thread Rich Catlett
I just set up soap running on tomcat 4, and I can't get it to work. When I go to http://localhost:port/soap/servlet/rpcrouter (yes I have put in a number for port) I get gibberish everytime I reload the page I get something different like the following me+ )?? Dl) so on and so forth. One problem

RE: Is this the correct design

2001-06-20 Thread Hecking, Dirck J
That is the correct serverside design. You need to add the method 'GetMyInfo' to your deployment descriptor and ensure that you encode properly. Example One: Constants.NS_URI_LITERAL_XML for the call object. Constants.NS_URI_SOAP_ENC for the parameter. Example Two: Constants.NS_URI_SOAP_ENC for

RE: Java Client Deserializer

2001-06-20 Thread Hansen, Richard
Do you really want he ouput as XML? I haven't done anything with literal XML, but can you desrialize that to a String or should it be some kind of XML dom element? The message looks to me like you should just be able to register it as a soap encoding to a java string using the StringDeserializer.

RE: Is this the correct design

2001-06-20 Thread Hecking, Dirck J
That is the correct serverside design. You need to add the method 'GetMyInfo' to your deployment descriptor and ensure that you encode properly. Example One: Constants.NS_URI_LITERAL_XML for the call object. Constants.NS_URI_SOAP_ENC for the parameter. Example Two: Constants.NS_URI_SOAP_ENC for

question on using SOAP Action field

2001-06-20 Thread Anting Xu
Hi: As we know, SOAPAction field is a required field in the SOAP spec, the apache client code call.invoke(url, action) can set the soap action before sending the message out, the question is on the server side, let's say the rpcrouter dispatches the request to a class method, How can I in the

RE: no signature match

2001-06-20 Thread Ding, Chengmin
Pls check whether the deployed service method prototype is the same as the method you tried to invoke in the client. Usually a discrepency will cause this error. -Chengmin -Original Message- From: pravin pachbhai [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 20, 2001 2:31 PM To: [EMAI

Java Client Deserializer

2001-06-20 Thread Stéphane Trottier
Hi,     I'm trying to use a java client to talk to a Microsoft.NET Web Service. It seams like the client is getting the proper data back from the web service but it fails to Deserialize the returned xml. How do I create a Deserializer for this xml?   sample return --- http://schemas.xmlsoap

Client Side SSL

2001-06-20 Thread Wilkins, Craig
I am having a trouble trying to find out information about how to set up my SOAP client to run over HTTPS. I read Pablo's SOAP Introduction, but I think that it starts off ahead of where I am at. I have been able to get my server all setup listening over HTTPS. My problem is getting the SOAP Cl

Problem Serializing Vectors

2001-06-20 Thread Javier A. Soltero
I have a method which I am accessing through soap which returns a Vector. However, when I try to access this method, the TCPTunnel indicates that an soap fault occurs because it says it can't find a serializer for 'java.util.collection'. Meanwhile, the code makes no mention of Collection as a ret

no signature match

2001-06-20 Thread pravin pachbhai
Hi , I am getting this error, Please tell me where i am wrong.. thanks args: pravin [SOAPException: faultCode=SOAP-ENV:Server; msg=Exception while handling service request: samples.texttospeech.SoapClientUsingProxy.getBase64Wave(java.lang.Strin g,float,float,float) -- no signature match

adding headers to a SOAP packet programmatically

2001-06-20 Thread Anuj Agrawal
I've read thru' the few postings regarding headers in SOAP, but don't seem to have an answer. I have a Java SOAP client that programmatically creates a SOAP packet. Since i'm accessing the SOAP server using the rpcrouter (via a web server of course), i would like to be able to add header info to

Does Apache SOAP allow a java class (Web service) to launch secondary threads ?

2001-06-20 Thread Rahul Kirthivasan
Hi all, I have a java class deployed in the Tomcat server which is exposed to java clients through Apache SOAP 2.1. >From one of the methods exposed by the Web Service called startWatch(), i spawn a thread that does dome backgound taska periodically. All is well and the SOAP method call suceed

no signature match

2001-06-20 Thread pravin pachbhai
Hi , I am getting this error, Please tell me where i am wrong.. thanks args: pravin [SOAPException: faultCode=SOAP-ENV:Server; msg=Exception while handling service request: samples.texttospeech.SoapClientUsingProxy.getBase64Wave(java.lang.Strin g,float,float,float) -- no signature match

apache-soap with tomcat on redhat 7.1

2001-06-20 Thread Steve McKay
Whenever I try: >java org.apache.soap.server.ServiceManagerClient http://localhost:8080/soap/servlet/rpcrouter list I Get: Ouch, the call failed: Fault Code = SOAP-ENV:Server.Exception: Fault String = org.w3c.dom.Node: method getNamespaceURI()Ljava/lang/String; not found However If I

RE: Classpath Wrong?

2001-06-20 Thread Hansen, Richard
> I wish that classpaths didn't have to come up in a soap-user > list at all, > but this seems to be the most common source of introductory > problems and > there is sometimes something more subtle & nasty going on somewhere. \ At http://www.javageeks.com/Papers/ there are severa good articles

RE: Is this the correct design

2001-06-20 Thread Simon Evans
Definitely return an Element and not a String. This is because an Element is already in the DOM structure to be manipulated. It can at any time be converted to a String if you want it as a String. But to go back from a String to an Element requires parsing. Also you should not build xml by concate

Re: Question concerning String marshalling

2001-06-20 Thread Simon Fell
its required because Hartmut & Bernecker is not well formed XML and will be rejected by the parser. the client parser should unescape it to leave you with the original string (which doesn't appear to be happening). It does appear that the source string is getting escaped twice, don't know why, are

Re: wsdl arrayOfString ms-soap-client

2001-06-20 Thread Mark Young
kims & Oliver: What kims suggests might work, but I don't think you really mean to put your own complex type into the official XML schema namespace. That is the effect of setting your targetNamespace to be the same as the official XML schema namespace. The theory behind kims' advice is sound,

Is this the correct design

2001-06-20 Thread Khamesra, SandeepX
Guys I need to write a java function which accepts a parametr and returns the data in the form of XML . Now this service is in Java. What dod you think is the best design . out of these public Element GetMyInfo(String name ) { /* This function builds the XML based on some criter*/ } or publi

RE: What jar files do I need to provide for Apache SOAP clients ?

2001-06-20 Thread Christian Bernard
For an Apache SOAP 2.2 implementation, it's all what you need. It works for an example such as addressbook. Christian BERNARD NAGORA Technologies web : http://www.nagora.com -Original Message- From: Rahul Kirthivasan [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 20, 2001 3:09 PM To:

RE: What jar files do I need to provide for Apache SOAP clients ?

2001-06-20 Thread Hansen, Richard
I seem to recall that some client side peices in 2.1 (not 2.2) needed servlet.jar. I think it was the deployment code, but I don't remember for sure. Rick Hansen > -Original Message- > From: Rahul Kirthivasan [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, June 20, 2001 8:09 AM > To: [EMAI

Question concerning String marshalling

2001-06-20 Thread Hartmut Bernecker
Hello, when sending some String-data from a (C++) SOAP Server (4S4C) via SOAP to an Client (Apache Java SOAP Client) then characters like "&" are transformed to Entity-References (&). Here the way of the String: -- Original String (Server): "Test ሴ 〹 Hartmut & Bernec

Re: DOM Document

2001-06-20 Thread William Bathurst
Pass the root element of your DOM document instead of trying to figure out how to pass a DOM doc. It essentially does the same thing. If you need code example let me know. Bill - Original Message - From: "Peter Govind" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, June 2

Re: DOM Document

2001-06-20 Thread Sanjiva Weerawarana
No you can't -- SOAP (and XML) do not allow you to embed a full document in the midst of another document. If you want to send a doc, you can send it as an attachment via SOAP Attachments, which is also support by Apache SOAP. Please see the user's guide for how to do it .. Sanjiva. - Origi

What jar files do I need to provide for Apache SOAP clients ?

2001-06-20 Thread Rahul Kirthivasan
Hi all, I am using Apache SOAP in my java client to send requests to the Tomcat SOAP Servlet. All this while, both Tomcat, Apache SOAP 2.1 and my client were on the same machine, so I had no issues. Now, I have to hand over the client side installation alone over to the client machines. What are

RE: Classpath Wrong?

2001-06-20 Thread Tom Myers
At 01:12 PM 6/19/2001 -0400, Matthew J. Duftler quoted a Tomcat faq >... >A: All you need is a correct version of JDK (1.1.x or 1.2). > >Since the JSP engine also uses 'javac' it needs to be in the CLASSPATH. >If you are using JDK 1.1.x it will automatically be included. If >you are us

RE: DOM Document

2001-06-20 Thread Peter Govind
NO. You cant pass document. Only Elements. Yes, only Elements. I was the first one to brought this up here so I know. Your best bet is to change the web service to return elements instead. >From: "Saint-Martin Cecile" <[EMAIL PROTECTED]> >Reply-To: [EMAIL PROTECTED] >To: <[EMAIL PROTECTED]>, <

upgrading problem from 2.1 to 2.2

2001-06-20 Thread lianghongzhao
I downloaded APACHE SOAP 2.2 and installed it into folder d:\soap-2_2, while leave the previous version in the folder d:\soap-2_1. Then I configured my websphere server to use the new version of SOAP. All I did were changing the document root dir to the d:\soap-2_2 and updating CLASSPATH en

string array in vc++

2001-06-20 Thread Oliver Rettig
Hallo, We are trying to develop a ms-client (vc++) for apache soap server and we want to invoke methods with string-arrays as arguments. The client gives following error-message: Invoke of calc method failed. Client: Type conversion failure for element arg0. arg0 should be the array of string

Re: SV: wsdl arrayOfString ms-soap-client

2001-06-20 Thread Oliver Rettig
Hi Kim, thank you for help. > Try replacing the types with this: The targetNamespace should be the same as > xsd and arrayType should be xsd:string. > > > http://www.w3.org/2001/XMLSchema"; > xmlns:xsd='http://www.w3.org/2001/XMLSchema'> > > > >

SV: wsdl arrayOfString ms-soap-client

2001-06-20 Thread kim . schjefstad
Try replacing the types with this: The targetNamespace should be the same as xsd and arrayType should be xsd:string. http://www.w3.org/2001/XMLSchema"; xmlns:xsd='http://www.w3.org/2001/XMLSchema'> chee

wsdl arrayOfString ms-soap-client

2001-06-20 Thread Oliver Rettig
Hallo, I´ve the following wsdl-file for access of my apache soap-server with a ms-client: http://www.w3.org/2001/XMLSchema"; xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"; xmlns="http://schemas.xmlsoap.org/wsdl/";>

RE: DOM Document

2001-06-20 Thread Saint-Martin Cecile
I mean that in SOAP documentation we speak about XML Element, and I wonder if we can pass XML Document instead of XML Element. SAINT-MARTIN Cecile [EMAIL PROTECTED] > -Message d'origine- > De : David DELGRANCHE [mailto:[EMAIL PROTECTED]] > Envoye : mercredi 20 juin 2001 11:08 > A : '[EMA

RE: DOM Document

2001-06-20 Thread David DELGRANCHE
Hello, Do you mean XML parameter for a SOAP service? If this is the case, I think you can pass a DOM Document without any problem! David. David DELGRANCHE [EMAIL PROTECTED] tel. 02.99 05.34.25 Fax: 02.99.05.34.05 Sogitec Industries 24, Avenue Lavoisier ZI

DOM Document

2001-06-20 Thread Saint-Martin Cecile
Hi, I have a simple question about XML parameter, I know we can pass DOM Element as parameter but can we pass DOM Document as parameter? SAINT-MARTIN Cecile [EMAIL PROTECTED]