Re: WSDL , Apache Soap question
This is what is working for me... types xsd:schema targetNamespace=http://www.lockerservice.com/Locker; xmlns=http://www.w3.org/1999/XMLSchema/; xsd:complexType name=Hashtable xsd:element name=table type=xsd:[Ljava.util.Hashtable$Entry;/ xsd:element name=count type=xsd:int/ xsd:element name=threshold type=xsd:int/ xsd:element name=loadFactor type=xsd:float/ xsd:element name=modCount type=xsd:int/ xsd:element name=serialVersionUID type=xsd:long/ xsd:element name=keySet type=xsd:java.util.Set/ xsd:element name=entrySet type=xsd:java.util.Set/ xsd:element name=values type=xsd:java.util.Collection/ xsd:element name=KEYS type=xsd:int/ xsd:element name=VALUES type=xsd:int/ xsd:element name=ENTRIES type=xsd:int/ xsd:element name=emptyEnumerator type=xsd:java.util.Hashtable$EmptyEnumerator/ xsd:element name=emptyIterator type=xsd:java.util.Hashtable$EmptyIterator/ /xsd:complexType /xsd:schema /types In the declaration of the method: type=tns:Hashtable In the deployment descriptor: isd:map encodingStyle=http://schemas.xmlsoap.org/soap/encoding/; xmlns:x= qname=x:meth5_outType javaType=java.util.Map java2XMLClassName=org.apache.soap.encoding.soapenc.HashtableSerializer xml2JavaClassName=org.apache.soap.encoding.soapenc.HashtableSerializer / Raghavan Srinivasan To: [EMAIL PROTECTED], [EMAIL PROTECTED] raghavan@iplcc: anet.comSubject: WSDL , Apache Soap question 11-01-02 07:04 PM Please respond to soap-user I have a Apache Web service one of whose methods takes in java.util.Hashtable as a parameter . I understand that the Apache Toolkit supports Hashtable encoding . But i want to write a WSDL interface to this service that toolkits from other languages could use to generate stubs . I could'nt find the right schema element to represent a structure similar to Map / Hashtable . I used the Idoox java2wsdl utility to see what the utility generates and it came up with ns0:Hashtable where ns0 = http://xml.apache.org/xml-soap . This is obviously Apache specific and I dont know how compilers from other languages will interpret it . Has anyone else faced a similar issue ? Thanks - Raghavan -- NOTICE: The information contained in this electronic mail transmission is intended by Convergys Corporation for the use of the named individual or entity to which it is directed and may contain information that is privileged or otherwise confidential. If you have received this electronic mail transmission in error, please delete it from your system without copying or forwarding it, and notify the sender of the error by reply email or by telephone (collect), so that the sender's address records can be corrected.
RE: Re: MS Soap Toolkit Question
Nice post. Has anyone verified that these tweeks make any difference? I've had interop success without making the changes noted in the google post. Chuck.King@ub sw.com To: [EMAIL PROTECTED] cc: 28-11-01 Subject: RE: Re: MS Soap Toolkit Question 12:11 PM Please respond to soap-user Regarding the original question regarding Apache and MS SOAP interoperability, there are differences that are currently being worked out between Apache and MS. One 'tweek' is with the WSDL generated by the IBM WSTK and what is needed by a MS client. Check out http://groups.google.com/groups?hl=enselm=uFO6%24XsQBHA.476%40tkmsftngp04 for details. Chuck -Original Message- From: carlos Sent: Wednesday, November 28, 2001 12:46 PM To: soap-user Cc: carlos Subject: Re: MS Soap Toolkit Question Check this sample, is really useful: We implement a solution which uses MS Toolkit in VBA code for an Excel worksheet, this one sends data to an Apache SOAP service. It works fine. http://marc.theaimsgroup.com/?l=soap-userm=98683038702626w=2 Regards Jared Peterson wrote: I am curious as to whether people have had success with interoperability between Apache SOAP and the MS SOAP toolkit. I have a service that is written using Apache SOAP and I would like to access it from a C++ client using the MS SOAP toolkit. Is this possible and are there any little tricks or hidden traps that I need to know about? Any info would be great. Thanks, Jared -- Carlos Vinueza M. Director Comercial VIMEWorks Cia. Ltda. Construyendo Sueños en Internet (CEL) (593)(9)9703-375 (OFIC) (593)(2)2237-784 / (593)(2)2903-925 Visit our website at http://www.ubswarburg.com This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. This message is provided for informational purposes and should not be construed as a solicitation or offer to buy or sell any securities or related financial instruments. -- NOTICE: The information contained in this electronic mail transmission is intended by Convergys Corporation for the use of the named individual or entity to which it is directed and may contain information that is privileged or otherwise confidential. If you have received this electronic mail transmission in error, please delete it from your system without copying or forwarding it, and notify the sender of the error by reply email or by telephone (collect), so that the sender's address records can be corrected.
RE: no signature match
Does your class exist in multiple spots on your box, and are both referenced in your cp? Gus Delgado gus.delgado@netquoTo: [EMAIL PROTECTED] tient.com cc: Subject: RE: no signature match 12-11-01 12:52 PM Please respond to soap-user no! -Original Message- From: Brian Abbott [mailto:[EMAIL PROTECTED]] Sent: Monday, November 12, 2001 12:33 PM To: '[EMAIL PROTECTED]' Subject: RE: no signature match Do you receive similar errors on Tomcat 3.3? -Brian -Original Message- From: Gus Delgado [mailto:[EMAIL PROTECTED]] Sent: Monday, November 12, 2001 10:22 AM To: [EMAIL PROTECTED] Subject: no signature match I upgraded to tomcat 4.0 and when I deploy my soap service I get a SOAP-ENV:Server error saying no signature match on the method I'm calling. Here is the signature public request(Element root) I can see in the source that the signature is right! Has anyone run into this problem before? is tomcat 4.0 not looking at my classpath and finding some other jar file that contains the Element object? how can I fix this? Thanks in advance for your help! -Gus -- NOTICE: The information contained in this electronic mail transmission is intended by Convergys Corporation for the use of the named individual or entity to which it is directed and may contain information that is privileged or otherwise confidential. If you have received this electronic mail transmission in error, please delete it from your system without copying or forwarding it, and notify the sender of the error by reply email or by telephone (collect), so that the sender's address records can be corrected.
Re: Problems with Upgrade from SOAP 2.1 to 2.2: strange error
The last time I had this problem, it was because of a classpath problem with Tomcat. In my case, Xerces wasn't listed as the first class in the classpath. Hope it is that easy for you. Alexander Schatten To: [EMAIL PROTECTED] [EMAIL PROTECTED][EMAIL PROTECTED] et cc: Subject: Problems with Upgrade from SOAP 2.1 to 2.2: 30-10-01 strange error 01:57 PM Please respond to soap-user I installed SOAP 2.2 using Apache Tomcat 3 then I tried to list and deploy services as I did it using soap 2.1: java org.apache.soap.server.ServiceManagerClient http://localhost:8080/soap/servlet/rpcrouter list to list or java org.apache.soap.server.ServiceManagerClient http://localhost:8080/soap/servlet/rpcrouter deploy swpadmin-soapdeploy.xml but I always receive the error: Fault Code = SOAP-ENV:Server.Exception: Fault String = java.lang.AbstractMethodError what should this mean?? I would appreciate any help! thank you! Alex -- NOTICE: The information contained in this electronic mail transmission is intended by Convergys Corporation for the use of the named individual or entity to which it is directed and may contain information that is privileged or otherwise confidential. If you have received this electronic mail transmission in error, please delete it from your system without copying or forwarding it, and notify the sender of the error by reply email or by telephone (collect), so that the sender's address records can be corrected.
Re: Can I retuen a Vector of objects?
I was able to return a hash of beans, which sounds like it's similar to what you're trying to do. The most difficult part for me was defining the wsdl file so that the client knew how to serialize the object. I eventually stumbled upon the ibm wsdl generator, and things went better after that. If you haven't used the wsdl generator, I would give that a shot first. Søren Neigaard neigaard@mobilTo: [EMAIL PROTECTED] ethink.dk cc: Subject: Can I retuen a Vector of objects? 01-10-01 03:39 PM Please respond to soap-user I want my SOAP method to return a Vector of a given class. Can this be done? And if so, how, and how do I read those objects out of the Vector? I know that I can return a Vector of String, so this must be possible too. What if the object I want to return, is a simple data bean? Med venlig hilsen/Best regards Søren Neigaard --- Mobilethink A/S Arosgaarden Åboulevarden 23, 5.sal DK - 8000 Århus C Telefon: +45 86207800 Direct: +45 86207810 Fax: +45 86207801 -- NOTICE: The information contained in this electronic mail transmission is intended by Convergys Corporation for the use of the named individual or entity to which it is directed and may contain information that is privileged or otherwise confidential. If you have received this electronic mail transmission in error, please delete it from your system without copying or forwarding it, and notify the sender of the error by reply email or by telephone (collect), so that the sender's address records can be corrected.
Re: SOAP for non Java Client
Someone sent me a sample of Soap - VB if you'd like a copy of it, I'd be happy to forward it on. sramasu@sears .com To: [EMAIL PROTECTED] cc: 16-07-01 Subject: SOAP for non Java Client 01:07 PM Please respond to soap-user Hi, How to make use of Apache SOAP, if my client is a non Java client. All the SOAP samples contain a Java client which makes use SOAP Call obejct to communicate to the SOAP server(RPCRouterServlet). What if, I don't have access to any SOAP API at my client side, since it is a non Java client. How do I communicate to SOAP server without using Call object. Thanks. Sekar. -- NOTICE: The information contained in this electronic mail transmission is intended by Convergys Corporation for the use of the named individual or entity to which it is directed and may contain information that is privileged or otherwise confidential. If you have received this electronic mail transmission in error, please delete it from your system without copying or forwarding it, and notify the sender of the error by reply email or by telephone (collect), so that the sender's address records can be corrected.
RE: Begging for Hash
James -- thanks for the reply. I'll just give a brief explanation of what I'm trying to do, and if you have something that comes anywhere near what I'm trying to accomplish, please send it on. I am going to have a server that returns a hierarchy of items; basically a node that can contain other nodes. My intent was to use a hastable to store the nodes, and return them to the client, but I have had difficulties as to how to define them in the wsdl file. Thanks. Abbott, James STASCO-OTO/72 To: '[EMAIL PROTECTED]' James.L.Abbott@s[EMAIL PROTECTED] tasco.com cc: Subject: RE: Begging for Hash 13-07-01 05:03 AM Please respond to soap-user What is the client U R returning the hash table to? I have numerous java tests with hash tables, and objects extending the hash table. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: 12 July 2001 23:46 To: [EMAIL PROTECTED] Subject: Begging for Hash Does anyone have an example of returning a Hashtable with soap that they would be willing to direct me to, or perhaps send? I would be most grateful. -- NOTICE: The information contained in this electronic mail transmission is intended by Convergys Corporation for the use of the named individual or entity to which it is directed and may contain information that is privileged or otherwise confidential. If you have received this electronic mail transmission in error, please delete it from your system without copying or forwarding it, and notify the sender of the error by reply email or by telephone (collect), so that the sender's address records can be corrected. -- NOTICE: The information contained in this electronic mail transmission is intended by Convergys Corporation for the use of the named individual or entity to which it is directed and may contain information that is privileged or otherwise confidential. If you have received this electronic mail transmission in error, please delete it from your system without copying or forwarding it, and notify the sender of the error by reply email or by telephone (collect), so that the sender's address records can be corrected.
Begging for Hash
Does anyone have an example of returning a Hashtable with soap that they would be willing to direct me to, or perhaps send? I would be most grateful. -- NOTICE: The information contained in this electronic mail transmission is intended by Convergys Corporation for the use of the named individual or entity to which it is directed and may contain information that is privileged or otherwise confidential. If you have received this electronic mail transmission in error, please delete it from your system without copying or forwarding it, and notify the sender of the error by reply email or by telephone (collect), so that the sender's address records can be corrected.
repost: Re-entrancy problems using java server and vb client
Apologies for the repost, but I am having a difficult time figuring this one out, and I hope that someone can offer a bit of advice. Perhaps the previous questions were too detailed... If possible, is there anyone out there who has a java server that is being accessed by a VB client using the MS soap sdk? If so, what is the expected behaviour with respect to client processing? The problem that I have is that a command button that does some action can be clicked repetedly before the response from the server comes back. Is it just me, or is that how it always works? If so, is it the MS sdk, or something else? I could put a hack in the event -- some boolean flag that says Processing, and exit the routine if it's true, but I hate doing stuff like that, it's so cheezy. Thanks again.. Old post I have a relatively simple soap server that I've written in Java. It takes the call, hits a database, and returns a result -- it takes a couple of seconds to execute. The client is written in VB, and it calls the server with a command click event. I've noticed that as soon as the soap call takes place, I can click the command button again and again even though the first call hasn't come back. This is very odd for vb, which is thread retarded, so I'm a bit confused. I'm not sure where my problem lies. I don't know if the problem is a result of the ms soap transport, the vb code that I've written, or the way the soap/tomcat server works. Note, I have not used doEvents in my code, the re-entrancy issue (I'm quite sure, anyway) is a result of soap. /Old post -- NOTICE: The information contained in this electronic mail transmission is intended by Convergys Corporation for the use of the named individual or entity to which it is directed and may contain information that is privileged or otherwise confidential. If you have received this electronic mail transmission in error, please delete it from your system without copying or forwarding it, and notify the sender of the error by reply email or by telephone (collect), so that the sender's address records can be corrected.
Re-entrancy problems using java server and vb client
This may be better posted to a ms group, but I thought I'd try here, first to see if anyone has noticed the same behaviour. I have a relatively simple soap server that I've written in Java. It takes the call, hits a database, and returns a result -- it takes a couple of seconds to execute. The client is written in VB, and it calls the server with a command click event. I've noticed that as soon as the soap call takes place, I can click the command button again and again even though the first call hasn't come back. This is very odd for vb, which is thread retarded, so I'm a bit confused. I'm not sure where my problem lies. I don't know if the problem is a result of the ms soap transport, the vb code that I've written, or the way the soap/tomcat server works. Note, I have not used doEvents in my code, the re-entrancy issue (I'm quite sure, anyway) is a result of soap. Thanks for the consideration. -- NOTICE: The information contained in this electronic mail transmission is intended by Convergys Corporation for the use of the named individual or entity to which it is directed and may contain information that is privileged or otherwise confidential. If you have received this electronic mail transmission in error, please delete it from your system without copying or forwarding it, and notify the sender of the error by reply email or by telephone (collect), so that the sender's address records can be corrected.
Re: SOAP 2.2 Tomcat Error: 404 Not found
Is mypackage.myClient in the Tomcat classpath? Ralf Bierig soap_news@yaTo: [EMAIL PROTECTED], [EMAIL PROTECTED] hoo.com cc: Subject: SOAP 2.2 Tomcat Error: 404 Not found 03-07-01 07:44 AM Please respond to soap-user I use Apache SOAP 2.2 and Tomcat 3.2.2. I have deployed a Webservice via the Webinterface. I start my java Programm, which make the SOAP call: java mypackage.myClient and get the following error: What is wrong. Must I register the service somewhere else additionally or do I have to set another path within Tomcat. Tomcat should look at the DeployedServices.ds file to find the service... - Error Message of Tomcat -- Unsupported response content type text/html, must be: text/xml. Response was : headtitleNot Found (404)/title/head bodyh1Not Found (404)/h1 bOriginal request:/b /rpcrouterbrbr bNot found request:/b /rpcrouter/body - End of Error Message -- Can somebody help??? Greetings Ralf __ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail http://personal.mail.yahoo.com/ -- NOTICE: The information contained in this electronic mail transmission is intended by Convergys Corporation for the use of the named individual or entity to which it is directed and may contain information that is privileged or otherwise confidential. If you have received this electronic mail transmission in error, please delete it from your system without copying or forwarding it, and notify the sender of the error by reply email or by telephone (collect), so that the sender's address records can be corrected.
RE: Having problems getting started....
What are your client and server classpaths? Eamon Oneill eamon@powermTo: '[EMAIL PROTECTED]' arket.com [EMAIL PROTECTED] cc: 29-06-01 Subject: RE: Having problems getting started 10:51 AM Please respond to soap-user I can get started with ServiceManagerClient either. No matter what call I give it, deploy or list, I get a FactoryConfigurationError. However, I can do both deploy and list using the graphical admin client. C:\WIN2KS\system32java org.apache.soap.server.ServiceManagerClient http://local host:8080/soap/servlet/rpcrouter list Exception in thread main javax.xml.parsers.FactoryConfigurationError: com.sun. xml.parser.DocumentBuilderFactoryImpl at javax.xml.parsers.DocumentBuilderFactory.newInstance(DocumentBuilderF actory.java:80) at org.apache.soap.util.xml.XMLParserUtils.refreshDocumentBuilderFactory (XMLParserUtils.java:112) at org.apache.soap.util.xml.XMLParserUtils.clinit(XMLParserUtils.java: 79) at org.apache.soap.rpc.Call.init(Call.java:87) at org.apache.soap.rpc.Call.init(Call.java:99) at org.apache.soap.rpc.Call.init(Call.java:93) at org.apache.soap.server.ServiceManagerClient.init(ServiceManagerClie nt.java:81) at org.apache.soap.server.ServiceManagerClient.main(ServiceManagerClient .java:216) Eamon G. O Neill (Direct: mailto:[EMAIL PROTECTED] or 650-486-6413), (Mobile: mailto:[EMAIL PROTECTED] or 415-595-6002), Development Manager, PowerMarket, Inc., http://www.powermarket.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Friday, June 29, 2001 7:54 AM To: [EMAIL PROTECTED] Subject: Having problems getting started Hi All. I am using Tomcat/Apache SOAP. Having a hard time getting the addressbook sample to work. I have followed the install instructions explicitly. When I enter the command java org.apache.soap.server.ServiceManagerClient http://localhost:8080/soap/servlet/rpcrouter deploy DeploymentDescriptor.xml I get a NoClassDefFoundError: org/w3c/dom/Node. I know that class is part of the Xerces.jar but I have that in my system classpath as well as the classpath of Tomcat. Any ideas? Thanks! Blaine [EMAIL PROTECTED] -- NOTICE: The information contained in this electronic mail transmission is intended by Convergys Corporation for the use of the named individual or entity to which it is directed and may contain information that is privileged or otherwise confidential. If you have received this electronic mail transmission in error, please delete it from your system without copying or forwarding it, and notify the sender of the error by reply email or by telephone (collect), so that the sender's address records can be corrected.