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
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
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
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
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
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
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
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
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
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
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]
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
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
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
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-
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
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
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
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
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
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
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
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:
>
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
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
Hello soap-user,
Who can program Delphi Client for Apache Soap Service?
I want to ask many questions.
Best regards,
Julian mailto:[EMAIL PROTECTED]
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]
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.
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
29 matches
Mail list logo