Distinction between RPC client and Message Client

2001-08-17 Thread Jess Wagner
Newbie here - Is there an advantage to using message-oriented services over RPC-based services (or vice versa) when invoking a method in a servlet?  I have downloaded the sample apps and cannot make a clear distinction of what type of SOAP service (message or RPC) to use - is there some rul

Please Help me.

2001-08-17 Thread Julian
Hello soap-user, I have programmed a Delphi Client for Apache Soap. But there are some wrongs in this program, I don't know how to resolve them. Please help me. The Wsdl is created by Glue. Service is Samples\addressbook\AddressBook. Best regards, Julian

Re: sending a header over soap messaging service

2001-08-17 Thread Rich Catlett
Okay it's late on a Friday ignore the last post, but I still have a question. I would like to add a header to the soap message, and this is where I know as much about XML as I thought I did, not a whole lot. I did a Header.unmarshall(); and created a header I would like to add an attribute t

Apache SOAP --> JRun EJBs

2001-08-17 Thread Raymond Blum
Hi This is all under Linux. I'm trying to access EJBs deployed in a JRun 3.0SP2 server from a client that is a SOAP service that is running under jakarta-tomcat. So, the JRun EJB client is itself an Apache-soap service running in jakarta-tomcat. My [SOAP service] client code sets the security m

Returning a slightly different data object

2001-08-17 Thread Michael J. Hudson
Ok... here's my dillema. Upon the Java object providing the SOAP service, I could 1) create a method that takes one XML string as a parameter into my class 2) create a method that takes on or more data objects parameters into my class Now... doing #2 is cool because both sides are dealing compl

Provider class obtaining init params?

2001-08-17 Thread Derek Brown
I haven't come across a clean way for the provider class I write (that gets instantiated to implement the service) to obtain init parameters, such as a server name and port that it needs to connect to in response to a client method call. It appears that RPCRouterServlet has access to the element

sending a header over soap messaging service

2001-08-17 Thread Rich Catlett
I am using the soap messaging service and I would like to send a header with the envelope. The documentation to do it does not exist, so this is how I'm doing it, could sombody please correct me if I am wrong QName qname = new QName("http://schemas.xmlsoap.org/soap/header";, webservice); Head

RE: SOAPHTTPConnection.setTimeout - does it work?

2001-08-17 Thread Lei Chen
Title: RE: SOAPHTTPConnection.setTimeout - does it work? Thanks Paula for your post. From your sample code, it looks like you are dealing with SOAP RPC only. But I’m more interested in the result with SOAP Messaging. I don’t get any exception for timeout on in the case of Messaging. Do you

Returning Multiple Arrays and Multidimentional Arrays

2001-08-17 Thread Jacob S. Barrett
I am running into some problems returning multiple arrays and multiple multidimentional arrays. I am using SOAP 2.2 and Xerces 1.4.2. The provider (totally moched up so don't laugh at me) code fragment below compiles, runs and appears to responde ok: java.util.Vector params = new java.uti

RE: SOAPHTTPConnection.setTimeout - does it work?

2001-08-17 Thread Radek Wisniewski
On Fri, 17 Aug 2001, Paula Young wrote: > RE: SOAPHTTPConnection.setTimeout - does it work?Lei, > > I am getting the timeout event jsut fine. My implementation looks like: > > Call call = new Call(); > > SOAPHTTPConnection shc = new SOAPHTTPConnection(); > shc.setTimeout(5 * 100

Re: XML Conversion...

2001-08-17 Thread Radek Wisniewski
Sory for not immidiate naswer but I was busy and couldn't find any time to answer your question. But your mail is still waiting. I qout it below: http://www.w3.org/2001/XMLSchema"; xmlns:enc="http://www.w3.org/2001/06/soap-encoding"; enc:arrayType="xs:int[2]

RE: Custom Fault Handlers

2001-08-17 Thread Kris Dosch
For those interested, I think I've located the source of this problem, as well as a workaround. It has to do with class loaders and an unhandled exception. In DeploymentDescriptor.buildFaultRouter(), the call to SOAPContext.loadClass() throws a NoClassDefFoundError. Reflection revealed that the

NullPointer exception when creating SOAPHTTPConnection

2001-08-17 Thread richard green
Hi, I am getting a NullPointerExcepion , when I try to create a SoapHTTPConnection object.Anybody knows the reason for that? TIA, richards _ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp

RE: SOAPHTTPConnection.setTimeout - does it work?

2001-08-17 Thread Paula Young
Title: RE: SOAPHTTPConnection.setTimeout - does it work? Oh, and here's the exception I see when the timeout does occur:     try {  resp = call.invoke(myUrlVal, "");   }    catch (SOAPException es) {   // A timeout looks like: [SOAPException: faultCode=SOAP-ENV:Client;  // msg=R

RE: SOAPHTTPConnection.setTimeout - does it work?

2001-08-17 Thread Paula Young
Title: RE: SOAPHTTPConnection.setTimeout - does it work? Lei,   I am getting the timeout event jsut fine.  My implementation looks like: Call call = new Call();   SOAPHTTPConnection shc   = new SOAPHTTPConnection(); shc.setTimeout(5 * 1000);   // to break-out of invoke() in 5-

RE: SOAPHTTPConnection.setTimeout - does it work?

2001-08-17 Thread Lei Chen
Title: RE: SOAPHTTPConnection.setTimeout - does it work? Just trying to refresh this month-old thread :) I don't think the setTimeout method is working, at least from messaging point of view. I tried to set the value to 1, 50, 1000 and 5000, but nothing happens i.e. I am getting responses as

Need GLUE (?)

2001-08-17 Thread Ivo Conde e Silva
Hi: I know this may be a bit off, but can any of you mail me (or give me a valid url where i can download from) GLUE? I have been trying (my first time) using IBM toolkit java2wsdl but noted some problems with String arrays generation, so I wanted to try GLUE. I tried downloading from their web s

Re: Embedding XML Schema in WSDL

2001-08-17 Thread Simon Fell
in the WSDL file, use import to import the schema from Order.xsd (see the WSDL spec for details) Cheers Simon On Thu, 16 Aug 2001 13:41:24 -0700 (PDT), in soap you wrote: >I have method which takes org.w3c.dom.Document as one >of the parameters. This Document is validated agains a >Order.xsd fi

RE: Deployment problem on Weblogic 6.1

2001-08-17 Thread Radek Wisniewski
I'v tested now the same on Windows 2000 + Tomcat and i became the same error, so its not the metter of WL. But what interesting, Tomcat is mounted as Samba drive from Linux server, and on Linux it runs, its IDENTICAL copy in any way. So problem may come from Windows platform, or JVM, but I'v tes

RE: Deployment problem on Weblogic 6.1

2001-08-17 Thread Venkat.Gopalan
Hi , I believe the problem is that SOAP 2.2 uses JAXP and WL uses their bundled xerces as JAXP parser. To override this you have to modify the config.xml like this: (or use the web console) Add following element as child of the element: and modify the element like t

Please Help me.

2001-08-17 Thread Julian
Hello soap-user, I have programmed a Delphi Client for Apache Soap. But there are some wrongs in this program, I don't know how to resolve them. Please help me. The Wsdl is created by Glue. Service is Samples\addressbook\AddressBook. Best regards, Julian

Re: Websphere and SOAP

2001-08-17 Thread TH Lim
I used TunnelGui and the detail I get is, HTTP/1.1 500 ok Server: Microsoft-IIS/5.0 Date: Fri, 17 Aug 2001 12:18:32 GMT Content-Type:text/xml; charset=utf-8 Set-Cookie:sesessionid=U4OTBJKM0O542EOVFJW0WPA;Path=/ Cache-Control:no-cache="set-cookie,set-cookie2" Expires:Thu, 01 Dec 1994 16:00:00 GMT

Re: Websphere and SOAP

2001-08-17 Thread Sam Ruby
TH Lim wrote: > > I'm testing the Address example provided by the Apache SOAP package against > SOAP 2.2 nightly built (16 Aug) or the distribution version running on > Websphere 3.5.4 (NT 4.0). I get the following error, > > Caught SOAPException (SOAP-ENV:Client): Parsing error, response was: >

Newbie Problem

2001-08-17 Thread gautam pachnanda
Hi to all, I have completed the SOAP installation as per the documentation. Everything seems to work fine. but when I try the messaging example I am getting the following SOAP faults. Can anyone help? C:\JBuilder4\jdk1.3\bin\javaw -classpath "C:\jakarta-tomcat-3.2.2\webapps\soap\samples\me

Websphere and SOAP

2001-08-17 Thread TH Lim
Hi, I'm testing the Address example provided by the Apache SOAP package against SOAP 2.2 nightly built (16 Aug) or the distribution version running on Websphere 3.5.4 (NT 4.0). I get the following error, Caught SOAPException (SOAP-ENV:Client): Parsing error, response was: The element type "in

Delphi Client for Apache Soap Service

2001-08-17 Thread Julian
Hello soap-user, Who can program Delphi Client for Apache Soap Service? I want to ask many questions. Best regards, Julian mailto:[EMAIL PROTECTED]

IBM webservice Development environment

2001-08-17 Thread Julian
Hello soap-user, How to generate a wsdl file for apache soap sample(samples/addressbook) by IBM Webservice Development Environment. Best regards, Julian mailto:[EMAIL PROTECTED]

RE: Embedding XML Schema in WSDL

2001-08-17 Thread Andrew Fawcett
Title: RE: Embedding XML Schema in WSDL Hi, You can embed your as a child of element (a child of the WSDL root element). You should then be able to link (via ) or copy and paste your schema into your WSDL. I've attached an example I'm working on myself. ;-) Thanks. http://www.sprokets.

Deployment problem on Weblogic 6.1

2001-08-17 Thread Radek Wisniewski
While deploying I become an error: Ouch, the call failed: Fault Code = SOAP-ENV:Client Fault String = Unable to resolve namespace URI for 'ns2'. It haven't happend on Weblogic 5.1 and Tomcat on Linux so I'm sure my DeploymentDescriptor.xml is ok. Any ideas? Probably 6.1 on classpath use o