Hi Minh/Dmitri and others,
I have incorporated your suggestion.
Unfortunately, i am not able to get this to work either :(
Now, running the program does not throw any exception.
I am printing the value of the result object at the end now.
What i get now is zero and not the correct result.
I
Run it through the tcptunnel and see what is actually going back and
forth.
cheesr
dim
On Mon, 10 Sep 2001 [EMAIL PROTECTED] wrote:
Hi Minh/Dmitri and others,
I have incorporated your suggestion.
Unfortunately, i am not able to get this to work either :(
Now, running the program does not
Hi
I want to write SOAP headers (custom) in the SOAP payload. On the client
side I think that this can be achieved using the Header class.
But I want to this at the server side! That is say I have a service called
SoapService. (SoapService.java) Now I want to read and write SOAP headers in
this
Hi
I think that there is a way out!!
You can get an access to SOAPContext object at the server side. Now this
SOAPContext object has a getBaseUri() method! (See the API docs of Apache
SOAP)
I think that you can get an access to the URI of the client using this!
Regards,
Paramdeep
- Original
i did this more than 20 times. i finaly decided to let down this service name, and to use the old helloworld service that works, to use the name urn, and that works. i still don't know why the old urn was not working... as i did exaclty the same things for helloworld urn and it works... strange
Did someone already succeeded in creating a web service under Tomcat + SOAP that makes a notes session to a Domino server ? i have made a class that performs this, and tested it first with a simple servlet, that works. But as soon as i use this class in a web service and call this service from a
Hi, I just installed SOAP with Tomcat and Xerces, but for some reason I get
this:
C:\java org.apache.soap.server.ServiceManagerClient
http://localhost:8080/soap/servlet/rpcrouter list
Exception in thread main [SOAPException: faultCode=SOAP-ENV:Client;
msg=Error
opening socket: Connection
Sorry, got it.
Thanks
-Original Message-
From: Oleg Timofeyev [mailto:[EMAIL PROTECTED]]
Sent: Monday, September 10, 2001 1:43 AM
To: [EMAIL PROTECTED]
Subject: RE: Writing SOAP headers
Hi, I just installed SOAP with Tomcat and Xerces, but for some reason I get
this:
C:\java
a suggestion from a lazy SOAP user ...
this looks like one of those interoperability issues that Apache and
Microsoft are working on. Have a look at Apache SOAP toolkit's accompaniying
documentation and see if it matches any of the listed issues.
- vikram rajan
--
From:
Doesnt Apache SOAP toolkit handle application-level exceptions?
i.e., if I have a method with the following signature:
public User getUserDetails(String id) throws UnknownUserException
and the UnknownUserException is thrown by the method, shouldn't this
exception be wrapped into a Fault object
i have the same problems. i want to handle lotus.domino.NotesException but never get the lotus.domino.NotesException message...
if someone have an answer
Lionbridge Technologies - France
www.lionbridge.com
Vikram Rajan [EMAIL PROTECTED]
You should only throw SOAPException's from Java class representing a SOAP service.
SOAPExceptions are translated into SOAP Fault codes and text. You can also incorporate
your 'UnknownUserException' into a SOAPException.
/Micael E.
-Original Message-
From: Vikram Rajan [mailto:[EMAIL
That would really hamper re-usability wouldnt it?
what if i needed to web service enable existing components? it would mean
(atleast) re-writing all exception classes.
there must be a better way ... if there isnt ... well ... then it should be
added.
- vikram rajan
--
From:
hi
I think that the SOAP service should not be aware that it is doing anything
special by being a SOAP service. Si it should NOT throw SOAPException from
within itself.
I agree that there should be a method of incorporating
'UnknownUserException' into the SOAPException. But I am not aware how!
hi all,
there's something weird... when i change the code of my classes and replace the old classes of my web service by the new one, and even if i shutdown tomcat, restart tomcat and launch the service, it seems that it still keeps the old classes somewhere.
i added for example a simple
You could create SOAP service classes as front-ends to existing ones. In your
front-end classes you call existing logic, capture exceptions and throws new
SOAPException. IMO a service class should be as thin as possible. All business core
should definitely be in a separate layer - think of the
You need to make the class Catalog public.
-Original Message-
From: mit Yaman [mailto:[EMAIL PROTECTED]]
Sent: 09 September 2001 15:28
To: [EMAIL PROTECTED]
Subject: Re: Unable to resolve target object: Catalog
William Brogden wrote:
I strongly suggest you put Catalog in a package.
hi,
trying to figure out how to make RPCs via email
i had to realize that the SOAPSMTPConnection class
does not wait the specified number of millis before it
polls the next request to the mail server.
the constructor does not initiate the instance variable
popPollDelay, so the line
Hi,
Doubles are sent on the wire as type xsd:double which is deserialized as
the primitive double. See
http://marc.theaimsgroup.com/?l=soap-userm=99619205825314w=2 for a
similar discussion involving primitive (de)serialization.
Nirmal.
again something weird.. need your help.
i have configured tomcat + soap for my web services. i now do have 3 ghost web services : that means that they are listed in web services deployed, but when i try to call them, or to click on them to get more details i have an error : service
you could delete the DeployedServices.ds file maybe?
/vikram rajan
--
From: [EMAIL PROTECTED]
Reply To: [EMAIL PROTECTED]
Sent: Monday, September 10, 2001 6:26 PM
To: [EMAIL PROTECTED]
Subject: ghost web services
again something weird.. need your
goog idea, i din't know it was stored there. thanks
Vikram Rajan [EMAIL PROTECTED]
09/10/2001 02:56 PM
Please respond to soap-user
To:'[EMAIL PROTECTED]' [EMAIL PROTECTED]
cc:
Subject:RE: ghost web services
you
I was able to solve this problem by adding [SoapRpcService()] in front
of the class definition:
[SoapRpcService()]
public class Calc : System.Web.Services.Protocols.SoapHttpClientProtocol
It has something to do with Apache requiring the literal encoding
style.
Derrick Brundage
-Original
I've put my class (sg.RtfeServices) in the %TOMCAT_HOME% directory
(d:\jakarta-tomcat-3.2.3) and now it works !
Can anybody explain this ?
- Original Message -
From: "Thomson, Stuart" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, September 10, 2001 12:47 PM
Subject: RE: Unable
I've run into a problem and I'm curious if anyone else has, and what
they did to fix it. I've changed the name of the soap war file from
soap.war to admin-soap.war. I also have it set up with a soap.xml file
that I use as the config file, so that the deployed services are written
to an XML
How can I get attributes from Call object? I can get elements by call.getParams()
method. In example given below I can get all the elements but how do I get arrt1,
attr2?
SOAP-ENV:Body
element1 attr1=1.0 attr2=67676 xmlns=urn:uddi
element2
element3value/element3
/element2
element4
Hello,
I've installed Apache SOAP 2.2 under Apache Tomcat 3.2. I followed the
installation instructions on the Apache SOAP homepage, and installed
soap.jar, mail.jar and activation.jar in the server classpath. Apache
Xerces is version 1.4.1, JDK is Sun's 1.1.8.
I briefly tried the client side
Get 250 color business cards for FREE!
http://businesscards.lycos.com/vp/fastpath/
28 matches
Mail list logo