Matt,
I had a heck of a time with the classpath. I thought
I just had to restart the server for changes to the
class path to take effect. Not so. I had to log out
and log back in again (it only took me about 4 hours
to figure this out). I'm really confused because it
sometimes works to kill the p
I have written a utility that is similar to TcpTunnelGui
but has more options. In addition to intercepting the
complete text of the interaction between your SOAP client
and server, it provides for saving the results to a file.
You can also:
1. send straight requests to a service and get the r
Title: Standard map or hashtable
can anybody find me a way to use a standard complex type like a Hashtable\map\dictionary, when connecting apache soap with microsoft soap ?
Hi,
The element 'soapServiceHandler' is supposed to be an element declared
in your service schema (which has namespace = 'urn:MyService'). Any element
within soapServiceHandler without any prefix will belong to "urn:MyService"
namespace according to xml namespace spec.
So the datatype of
Hi Richard,
>From reading your note:
> java.lang.ClassNotFoundException:
> samples.stockquote.StockQuoteService
it appears as if your server can't resolve the
samples.stockquote.StockQuoteService class. Did you add the soap-2_2
directory to your classpath as described in the installation docs?
Hi Sunento,
I've attached a JSP which may help you solve your problem. Take the attached
test.jsp and drop it into your \soap-2_2\webapps\soap directory. Then
restart your server and point your browser at:
http://localhost:8080/soap/test.jsp
It should provide some information as to whether a JAX
I've tried running several examples and the only one I
can make work is provider. I think this is because
nothing is passed back from the server to the client.
The addressbook sampe, for example, works if I am
adding an address but fails when I try to list all the
addresses or get an address.
Her
Here is the code:
System.out.println("Registriere Proxy fuer die Firewall...");
SOAPHTTPConnection conn = new SOAPHTTPConnection();
conn.setProxyHost("x.x.0.50");
conn.setProxyPort(80);
Call call = new Call(); // prepare the service invocation
call.setS
Hi Steeve,
FYI : while I am trying to access :
http://localhost:8080/soap/servlet/messagerouter, it is working properly.
It's only not working while I am trying to deploy my XML descriptor.
I attach you the screenshot, there's no any stacktrace which was thrown by
this error.
regards,
sunento
Hurray! I can deploy and almost run one of the
examples!
I discovered to run the clients I must first insert
"cd ../.."
I get the calculator to pop up and then I see (in the
tunnel program) it cannot load javascript. This is odd
because I see (from Tom Myers tricky cp.jsp) that my
jsp's class pa
Hi Raynier,
There is a mechanism within Apache SOAP thit will allow you to explicitly
specify which JAXP-compliant parser to use. It sort of defeats the purpose
of JAXP, but when you are stuck, it seems a reasonable temporary fix. Try
adding the following:
XMLParser
org.apache.xerces
Ah Vashon Island. I bet its nice and cool up there. I
grew up in Belleview and loved to bicycle out that
way.
Can you go to
"http://localhost:8080/soap/admin/index.html"; and
successfully run list.jsp by clicking the list button?
Before I discovered my version problem with xerces_1_4
I could do
Hi All,
it is good to see that some of us are making progress in getting Apache SOAP
2.2 up and running. For myself I'm not so lucky. From the many emails that
have been flying around I gather it most likely has something to do with
parser version conflicts.
My current settings are that I'm runn
Title: RE: Using soap over ssl
Hi
Sunento,
The
TcpTunnelGui tool is included in the Apache SOAP distribution. It's a simple
tool which lets you forward from a port on the local machine, to another
port and host (may be the same machine). It displays everything being sent in
both direction
Hi Soap experts:
I seem to have not understood soap encoding well. Let's say I have following
simple envelope, I know 'Envelope' and 'Body' are defined as complexType in
http://schemas.xmlsoap.org/soap/envelope, but what is the data type for
elements 'soapServiceHandler' and 'name'?
thanks
Yong
Title: RE: Using soap over ssl
Hi Matthew,
I am still new in this group. What's
TcpTunnelGui and how can I get it ?
Looks like it's a monitoring tool , isn't it
?
rgds,
sunento
- Original Message -
From:
Matthew
J. Duftler
To: [EMAIL PROTECTED]
Sent: Tuesda
Title: RE: Using soap over ssl
Please
capture the response using the TcpTunnelGui tool, and post the response
here.
Thanks,
-Matt
-Original Message-From: Liaw, Wan-Bih
[mailto:[EMAIL PROTECTED]]Sent: Monday, July 30, 2001 2:27
PMTo: [EMAIL PROTECTED]Subject: SOAP 2.2. doesn'
What version of Apache SOAP 2.2 are you using?
Thanks,
-Matt
> -Original Message-
> From: Jaspreet Singh [mailto:[EMAIL PROTECTED]]
> Sent: Monday, July 30, 2001 9:53 AM
> To: [EMAIL PROTECTED]
> Subject: RE: unable to deploy my application.
>
>
> Hi,
> I deleted the work directory
What does this mean?
"To install this service on an Apache-SOAP listener,
you need to make
the samples.calculator package available on the
Apache-SOAP listener's
classpath."
Does it mean I have to alter the class path and
restart tomcat everytime I want to run a new sample
program?
I copied test
Thanks to Steeve and Tom!
Tom suggested I copy xerces_1_4.jar into the
tomcat/lib directory. I did and now I can list!
Siegfried
__
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.c
Another thing along this line is that currently soap services cannot be
deployed via the command line for this same reason, https is an
unrecognized protocol and it causes a MalformedUrlException to be thrown.
Rich Catlett wrote:
> I can't get anything to work because the first thing that clie
In the testit.sh script for the message sample all of the url are
written like this
http/localhost:8080/soap/servlet/(rpc/message)router
they are missing a :/ after http. I racked my brain and this list for a
couple of days before I figured it out.
Rich Catlett
I can't get anything to work because the first thing that clients do is
create a URL to send the roap request to i.e
http://localhost:445/soap/servlet/messagerouter. When the clients try
to do this with ssl i.e https://localhost:445/soap/servlet/messagerouter
that is when I get the malformed.
Steeve or anyone else:
I'm trying to make the test program
ServiceManagerClient work as directed in the
installation instructions.
I turned off IIS and still get the same messages from
ServiceManagerClient. I see I failed to post the
header. Here is what I am sending:
POST /soap/servlet/rpcrou
Title:
Sorry,
I forgot to refresh the Subject line.
-Original Message-From: Liaw, Wan-Bih
[mailto:[EMAIL PROTECTED]]Sent: Monday, July 30, 2001 3:13
PMTo: [EMAIL PROTECTED]Subject: RE: Bug in mime
Apache SOAP samples
The stockquote sample has the following error, please l
Title:
The stockquote sample has the following error, please let me
know how that may work?
Is SOAP 2.2 ready for real world applications?
C:\soap-2_2>java samples.stockquote.GetQuote http://localhost:80/soap/servlet/rpcrouter
IBMOuch, the call failed: Fault
Code = SOAP-ENV:Server Faul
That's how it should work...
Client send to ---> (Tunnel listen to ) take the message (show it
to the screen) and send it to 8080 --> Tomcat listen to 8080 analyse the
message and send it back.
But you must be certain that you're client is sending the data to
otherwise it won't work
java org.apache.soap.util.net.TcpTunnelGui
localhost 8080
c:\apache_soap>java
org.apache.soap.server.ServiceManagerClient
http://localhost:/soap/servlet/rpcrouter list
Ouch, the call failed:
Fault Code = SOAP-ENV:Server.Exception:
Fault String = java.lang.AbstractMethodError
But
Steeve,
Yes I can see the
http://loclocalhost:8080/soap/servlet/rpcrouter (as
well as http://loclocalhost/soap/servlet/rpcrouter )in
my browser and no: nothing appears on the tunnel
program. I still don't understand what the random
value for the listen port is used for.
Thanks,
Hey Rich,
Have you gotten a simple client to work with https.
I would try to get things working that way first. I also would check if the
JSSE jars (jnet.jar, jssse.jar, jce.jar) are installed correctly on the
classpath or in
/jre/lib/ext .
Hope this helps,
Abraham
> -Original Message
I can't even get to where I'm dealing with certs. No transmissions are
even sent because the client does not understand the https protocol
therefore it cannot create an https url.
Abraham Kang wrote:
> Hi Rich,
>
>Did you also set(in the beginning of your code):
>
> java.security.
I already added that in the ${java.home}/jre/lib/security/java.security
as the number 2 security provider.
Lei Chen wrote:
> You need to add another line of code:
>
> java.security.Security.addProvider(
> new com.sun.net.ssl.internal.ssl.Provider());
>
> -Lei
>
> -Original Mess
Now what? Now you have a debugging tool. You'll be able to see what is
being exchanged between the client and tomcat via the GUI. But it doesn't
resolve your previous problem. Can you see the Apache Soap Admin page at
http://localhost:8080/soap/servlet/rpcrouter?? If you do then I'm out of
c
Steeve,
Now I type java org.apache.soap.util.net.TcpTunnelGui
localhost 8080
and a gui pops up.
Now what?
I try java org.apache.soap.server.ServiceManagerClient
http://localhost:8080/soap/servlet/rpcrouter list
and I still get the same error message! I try ports
and 80 and still t
I have checked on the url, including
http://www.whitemesa.com/interop/proposal2.html#echoFloat, but it doesn't
say how the test was made. How would I know they were done correctly?
-Original Message-
From: Sam Ruby [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 30, 2001 1:02 PM
To: [EMAIL
I once asked again but did not get an answer:
how can i change the xml-encoding of my soap messages to ISO-Latin-1?
Which means, is it possible to change the charset entry:
POST /StockQuote HTTP/1.1
Host: www.test.com
Content-Type: text/xml; charset="utf-8"
...
to:
POST /StockQuote HTTP/1.1
Hos
Title:
Sure. They are basically as the followings. The method
'theMethod' of the class 'WhateverService' was deployed. They are done in
typical ways. Please let me know if you see something missing?
Thanks.
server code:package ...import
..public class WhateverService implements iCC
Thanks, I'll check on that.
-Original Message-
From: Sam Ruby [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 30, 2001 1:02 PM
To: [EMAIL PROTECTED]
Subject: RE: SOAP 2.2. doesn't return the float and double values
correctl y
> The same program works correctly in a Java application.
All
You're tomcat is listenning on 8080 so the command must be...
C:\apache_soap>java -cp
.;c:\apache_soap\xerces\xerces-1_4_0\xerces.jar;c:
\apache_soap\jaf\jaf1_0_1\jaf-1.0.1\activation.jar;c:
\apache_soap\java_mail\javamail-1_2\javamail-1.2\mail.jar;c:
\apache_soap\soap-2_2\lib\soap.jar
org.apach
> The same program works correctly in a Java application.
All you have told us so far is that some, non-Java application does not
correct parse what presumably is a valid response.
If you look at http://www.whitemesa.com/interop.htm, you will see the
results of a number of clients and server in
Oooohhh!!! :-)
I'm sorry I've checked you're command line a little bit too fast.
It's not: org.apache.soap.util.net.TcpTunnel
It's: org.apache.soap.util.net.TcpTunnelGui
Got it? GUI? :-) You were loading the module but without any Interface.
So it was probably working but you couldn't see any
Hi Folks,
I'm still trying to get my first soap example to work.
I'm getting a new error message.
I looked at my classpath and noticed the first thing
in there was C:\Progra~1\JavaSoft\Jaxp1.0.1\jaxp.jar
and C:\Progra~1\JavaSoft\Jaxp1.0.1\parser.jar
Hmm... There was a similar problem with inv
Title:
* > Well, I displayed the returned value of computation
in a soap request,
and
'request' was typo for 'response'.
Thanks.
-Original Message-From: Liaw, Wan-Bih [mailto:[EMAIL PROTECTED]]Sent:
Monday, July 30, 2001 12:45 PMTo: [EMAIL PROTECTED]Subject: RE:
SOAP 2.2. doesn't
Can you post the code of your service and client here.
Steeve...
"Liaw, Wan-Bih" <[EMAIL PROTECTED]> on 30/07/2001 02:45:07 PM
Please respond to [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
cc:(bcc: Steeve Gilbert/G_STGEORGES/CANAM_MANAC)
Subject: RE: SOAP 2.2. doesn't return the float
Thanks Steeve, but nothing happens -- it just hangs. I
was expecting a gui to pop up. See subsequent mail
message for a new error message I'm getting from
ServiceManagerClient.
Sieg
c:\apache_soap>java -cp
c:\apache_soap\bsf-2_2\lib\bsf.jar;c:\apache_soap\jaf\ja
f1_0_1\jaf-1.0.1\activati
Well, I displayed the returned value of computation in a soap request, and
it was always 0.0, no matter what.
The same program works correctly in a Java application. Please let me know
how you think it working?
Thanks!
-Original Message-
From: Steeve Gilbert [mailto:[EMAIL PROTECTED]]
Sen
Hello
I am trying to implement a server in C++ which will interpret SOAP
requests. I have done this for nornal requests without attatchments. Is
there
any sample code about reading soap attatchments .Any help is greatly
appreciated
Thanks
Aniruddha
Hello!
It's ain't supposed to work that way and this ain't a bug. I've already
made a dump method that add 2 double value and return a double.
If you post more info we'll maybe be able to help you. ;-)
Steeve...
"Liaw, Wan-Bih" <[EMAIL PROTECTED]> on 30/07/2001 02:26:40 PM
Please respond
Title: RE: Using soap over ssl
It's
always 0.0 in the response of a computation that involves float or double
types.
Is
that the way SOAP 2.2 supposed to work? Or is it a
bug???
Hi Rich,
Did you also set(in the beginning of your code):
java.security.Security.addProvider(new
com.sun.net.ssl.internal.ssl.Provider());
I guess you have already installed JSSE.
If your server is running a test certificate you will need to import the
correct CA root cert int
Title: RE: Using soap over ssl
You need to add another line of code:
java.security.Security.addProvider(
new com.sun.net.ssl.internal.ssl.Provider());
-Lei
-Original Message-
From: Rich Catlett [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 30, 2001 1:57 PM
To: [EMAIL PR
I can't get soap to work over ssl. It seems to come down to the fact
that everytime I try to create a URL using the https protocol I get an
error saying
java.net.MalformedURLException: unknown protocol: https
before I try to create the URL I do this
System.setProperty("java.protocol.handler.p
Hi everybody,
I am trying to prototype a very simple client/server
model using SOAP.
My problem is that the link goes via a proxy machine.
I have read a SOAP documentation and found the remark
that the following 3 lines are needed in order to make
it working with a proxy:
System.setProperty("
I've seen the stuf about soap over ssl, but it all deals with rpc, is
there anything about using the soap messaging service over ssl.
Rich Catlett
Ok! I didn't understand why you've got Tomcat and IIS at first. So IIS is
your main HTTP server and Tomcat is there to run the servlets? Ok I think
we can forget about IIS for this. So Tomcat is at port 8080.
So try this
listenport: (anyport you'd like exept 8080 and 80 as they are alr
Title: FW: FW: Problem with Apache soap client accessing a MS soap server
Oops! My mistake. It now works!!!
Thanks Steeve and Pete
-Original Message-
From: Bardman, Jody
Sent: Monday, July 30, 2001 11:51 AM
To: '[EMAIL PROTECTED]'
Subject: RE: FW: Problem with Apache soap client acc
Steeve,
What is "> service via the tcptunnel."?
I have IIS on the default port of 80 and tomcat
running on the default port of 8080. Sample cocoon,
jsp and other serlets seem to work when I point my
browser to http://localhost:80 -- apache soap does
not.
Here is what I get when I try your sugg
Yeah, knew there was such a little trick.
Thanks a lot, works fine now.
Stephan
- Original Message -
From: "William Brogden" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, July 30, 2001 5:52 PM
Subject: Re: Binary encoded String to original format, displayed in Browser
>
>
Title: RE: FW: Problem with Apache soap client accessing a MS soap server
Steeve
Do I need to 'OR' in your code or should it replace the following?:
call.setSOAPMappingRegistry(new SOAPMappingRegistry());
call.setEncodingStyleURI(Constants.NS_URI_SOAP_ENC);
If I just replac
At 05:37 PM 7/30/2001 +0200, Stephan Wiesner wrote:
>I have a PDF on the server. I read it into a Base64 encoded String and send
>it with SOAP to the client
>Base64 bas = new Base64();
>byte[] b = bas.decode(text);
>
>// this works
> FileOutputStream fo = new FileOutputStream("test.pdf");
>
Stephan Wiesner wrote:
>
> I have a PDF on the server. I read it into a Base64 encoded String and send
> it with SOAP to the client.
> The client determines the MimeType and writes it to a file.
> no problem.
> I, however, I want to give the file to a client, via a servlet, it get
> changed and
At 07:23 PM 7/30/2001 +0530, Jaspreet Singh wrote:
>Hi,
>ll) Unable to compile class for
>JSPD:\jakarta-tomcat-3.2.1\work\localhost_8080%2
>Fsoap\_0002fdeploy_0002ejspdeploy_jsp_0.java:148: No variable NS_URI_BML_ENC
>def
>ined in class org.apache.soap.Constants.
>org.a
I have a PDF on the server. I read it into a Base64 encoded String and send
it with SOAP to the client.
The client determines the MimeType and writes it to a file.
no problem.
I, however, I want to give the file to a client, via a servlet, it get
changed and will not display.
The problem is, that
Also, if you're "Result" belongs to a namespace put the namesapce as the
first argument to the QName constructor. I need to do that for my server.
Peter Roth
Telemetry Technologies Inc.
p: 404.231.0021 ext. 1290
e: [EMAIL PROTECTED]
-Original Message-
From: Steeve Gilbert [mailto:[EMAI
Hi!
Well this issue is solved. (about time!)
With Resin 2.0.1 out of the box the SOAP 2.2 mime samples didn´t work.
The solution: simply remove the following files from the resin-2.0.x/lib
directory:
jaxp.jar
dom.jar
sax.jar
and copy the xerces.jar file to this folder.
I copy the version 1.4
Use this code to tell Apache Soap the type of "Result".
SOAPMappingRegistry smr = new SOAPMappingRegistry ();
smr.mapTypes(Constants.NS_URI_SOAP_ENC, new QName("", "Result"), null, null, new
StringDeserializer());
call.setSOAPMappingRegistry (smr);
bye!
Steeve...
"Bardman, Jod
Title: FW: Problem with Apache soap client accessing a MS soap server
I got it to work. Well, part of it works.
I took Pete's suggestion and kept monkeying with it.
I changed the target to this:
call.setTargetObjectURI("http://tempuri.org/message/"); Thanks Pete!
I am getting a valid res
Hi,
I deleted the work directory but the problem remains the same (I am
using this for the first time, so there are no previously made applications.
I haven't configured anything also). The server throws the following error:
2001-07-30 07:17:37 - Ctx( /soap ): IOException in: R( /soap +
/
You need to remove the old versions of Apache SOAP from your Tomcat
installation. This may include removing the %tomcat_home%\work directory,
since that's where the JSPs will be compiled to.
Thanks,
-Matt
> -Original Message-
> From: Jaspreet Singh [mailto:[EMAIL PROTECTED]]
> Sent: Mond
Your
client is finding an incorrect implementation of the org.w3c.dom interfaces.
Make sure your classpath is set correctly, and make sure you remove any jars
that may contain DOM impls from your \jre\lib\ext directory.
Thanks,
-Matt
-Original Message-From: systek
[mailto:[EMA
Hi!
I really don't know how this error can occur while you are deploying your
descriptor. This error only appears in the soap samples. Can you copy the
stacktrace here?
bye!
Steeve...
"Sunento Ng" <[EMAIL PROTECTED]> on 29/07/2001 03:01:27 PM
Please respond to [EMAIL PROTECTED]
To: <
Hi Siegfried!
listenport: the port that your client will be pointing to reach the web
service via the tcptunnel.
tunnelport: the port of the server that is hosting the web service.
(Tomcat?)
tunnelhost: the address of the host of your tunnel. Where you tunnel is
running. I guess it's "localho
Since it's soap stuff I put them in webapps\soap\WEB-INF\classes like the
samples. But I don't know if it's "soaply" correct.
Steeve...
"Luis Pinho (EST)" <[EMAIL PROTECTED]> on 30/07/2001 08:41:21 AM
Please respond to [EMAIL PROTECTED]
To: "Soap-User (E-mail)" <[EMAIL PROTECTED]>
cc:
Hi,
I have several
.jar files that contain the classes that are deployed (I don't know the
correct term) in SOAP.
What is the best
place to put them ? I'm using the lib directory in tomcat.
Thank
You
Pinho
Prashant Jain wrote:
>
... snip
> Once the stream has been read the first time by calling foo(), trying to
> re-read by callin foo() again fails since the call fis.read()
> returns -1. What is needed is some way of resetting the stream. There is
> a pair of methods called mark/reset
> Hi,
> I am having a problem in deploying my application. Actually when I
> click on the deploy button (on the apache-soap page), I get an error:
> Error: 500
> Location: /soap/deploy.jsp
> Internal Servlet Error:
> org.apache.jasper.JasperException: Unable to compile class for
> JSPD:\ja
Title: RE: Problem with Apache soap client accessing a MS soap server
Thanks Pete for the info but it still doesn't work.
Has anybody seen this before, "Potential typemapper problem" ?.
Jody
-Original Message-
From: Pete Roth [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 27, 2001
Hi,
Apache Soap 2.2 is able to track a HttpSession.
As long as you are working with the same Call-object on the client-side your
HttpSession is tracked using cookies. (this behavior is "on" per default)
Futhermore the value of the "scope" Parameter in your DeploymentDescripter
for your Class sho
Irfan and Kartheek,
Thank you both for your suggestions. Kartheek, I tried using
RequestDispatcher but that didn't help and the problem remained. I then
started digging into the source code as Irfan suggested.
I was able to pin-point the exact problem. As I had suspected, it has to
do with readi
79 matches
Mail list logo