Hi everybody!
I'm quite confused about the URL I have to use for the invoke method of the
Call class. In the examples I've found, only the value found in the
tag of the corresponding WSDL file is used.
However, when I try this for my own sample WebService, I get a SOAP Fault:
"Missing port inf
I had a similar problem some
time ago. It had to do with a
version conflict between the
xerces.jar and Apache Soap...
Try to use a recent xerces
version or else try to get the
latest version of Tomcat which
I think has a xerces.jar
incorporated.
Hope it helps
Charlie
-Original Message-
Hi everybody,
I get a "connection aborted by peer" when I launch "java
org.apache.soap.server.ServiceManagerClient
http://localhost:8080/soap/servlet/rpcrouter deploy Hello.xml
And tomcat launch an exception
Does anybody know where the problem is ?
Thanks
Aurore
Hi Purvesh!
It seems to me that your client application tries to access the wrong URL.
Try to change the URL you use to invoke the Call in your source code from
"http://localhost:8080/apache-soap/servlet/rpcrouter"; to:
http://localhost:8080/soap/servlet/rpcrouter"; as in your browser the second
I start tomcat
http://localhost:8080/soap/servlet/rpcrouter works fine.
But when I type java.org.apache.soap.server.ServiceManagerClient
http://localhost:8080/soap/servlet/rpcrouter deploy Hello.xml
It display a message : SoapException: Error 500: internal error of servlet .(erreur
interne
Matt:
Here is what I could figure out with some tracing
The incorrect xmlns is being written out in the
org.apache.soap.util.xml.DOM2Writer class.
The stackTrace is contained in an object of type org.w3cdom.Element. This is
place in a Vector called detailEntries inside org.apache.soap.Fault.
Hi Paramdeep,
If all you're concerned about is Axis and MS-SOAP I think that headers
are a good approach. This is probably the best way of handling sessions
in the long run, but until there's a standard I don't expect to see it
supported widely enough to be generally useful. My point with the
I did. It just sets 'maintainSession'. I checked their code. They don't use
'keep-alive'. They create a new socket connection for each method
invocation. I am planning to implement my own version to exploit
'keep-alive' feature.
Thanks,
Surajit
- Original Message -
From: "Darius Cooper"
Hi,
MS-SOAP supports sessions using SOAP headers. There is a sample included
with the standard examples install.
I think that Apache SOAP 2.2 doesnt have a support for SOAP headers. But it
seems that Apache AXIS (The new rewrite version of Apache SOAP) does have a
support for SOAP headers.
I ha
Have you checked sample.addressbook2 ?
See the main() method in the class named Main.
Regards,
- Darius Cooper
> - Original Message -
> From: "Dr. Surajit Pal" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Wednesday, April 03, 2002 10:54 PM
> Subject: Call object
>
>
> >
Hi,
If I invoke multiple methods using the same Call object, does it retain and
use the same connection, or does it make a new connection for each method
invocation ? How can I implement a connection pooling for Call object in
multithreaded environment to boost performance?
Thanks in advance,
Su
if you route through apache, then put an .htaccess file in the admin/ folder
--
David B. Bitton
[EMAIL PROTECTED]
www.codenoevil.com
Code Made Fresh DailyT
- Original Message -
From: "Jeremy Levy" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, April 03, 2002 5:56 PM
Subjec
Matt:
You're right that the xmlns is causing the error. Here is the message I get
when I use that XML and try to parse it.
"The value of the attribute "xmlns:" is invalid. Prefixed namespace
bindings may not be empty."
Regards,
- Darius
> From: Matt MacDonald <[EMAIL PROTECTED]>
>
> I
Hi,
Just curiouswhere would be the best place to put key/value config info
like connection strings, database login info, etc. for SOAP services? I'm
faily new to SOAP...and tomcat for that matter. An xml file? Maybe a
properties file?
Thanks in advance.
Eric.
***
How do I disable the admin interface and still deploy my services? Or
at least stop random people from shutting down my soap services?
Jeremy
Our clients are using MS XML but not SOAP, and can't use cookies.
We set cookies on the server (set them in the header) but get our MS
clients to rewrite those cookies into the URL for their next request, as
they can read the headers and write to URLs but not set cookies.
Is MS SOAP the same?
Title: HTTP Protocol Error
I am in the midst of developing a VB.NET SOAP client. The problem I am having is consuming the web service over HTTPS with BASIC authentication. My client works fine over HTTP with BASIC authentication, and also works over HTTPS without BASIC authentication. When I t
You are getting a HTTP 404 (File not found) return code.
Check if you're using the correct URL for your RPCRouterServlet
Enter the URL in a Browser and see what it returns, as described in the SOAP
installation instructions at http://xml.apache.org/soap/docs/index.html
Regards,
- Darius Cooper
The only way I know of to provide session support that works across all
platforms is to basically implement it yourself. Build a wrapper for
your statefull session EJB (or whatever other session-based class you
want to use), adding a call to the wrapper that gets a session
identifier like: "St
Simple. You can't. Not in the MS SOAP Toolkit 2.0SP2 anyway. I even got it
in writing. The following is a response from Microsoft from my question
about why the don't support cookies and redirects.
>>This is so because it is the first version of the product mainly. We
>>saw redirects as a majo
How does one implement session behavior with MS
SOAP toolkit without cookies? esp. when talking
to an AXIS server?
H
> -Original Message-
> From: Will Spies/Towers Perrin [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, April 03, 2002 3:57 AM
> To: [EMAIL PROTECTED]
> Subject: Re: HTTP re
What does your tomcat.sh modification look like? I believe I had a
similar problem when I tried to add the soap.jar to the classpath within
the tomcat.sh. You probably have a classpath issue, or possible conflict
with soap.jar. Also, I have experienced some troubles trying the
server.xml appro
Surajit
Thank you very much for your response. It is very important for me to know
which version Apache-SOAP WebSphere4 comes with. I have a problem with
base64Binary. I could not find out which version of Apache-SOAP WebSphere4
supports.Do you know that?Thanks again,
Zina
-Original Message--
Should the EJB SOAP implementation work with the message based SOAP?
It looks like the StatelessEJBProvider.locate method receives a null for
the call object because the MessageRouterServlet passed a hard coded null as
that argument.
Should MessageRouterServlet be extracting the call similar to
error.doc
Description: MS-Word document
Hi again!
Is there any possibility to retrieve some additional information on SOAP
Faults besides the Fault string and Fault code? I'm getting an "internal
server error" and would like to figure out the reason, but I don't know
where to start with that little information
thx in advance
Mit
Hi Friends,
I am new to SOAP.
I want to deploy rpc service. There will be a html/jsp page in which i will
choose the method name and pass parameter. It should call soap server and
return the value. This is my basic understanding how to use soap rpc in web.
May be I am wrong. can you please guide m
List,
I am in need of some assistance. I am succesful in setting up, testing,
and running my class as a SOAP service. I am now starting the process of
stress testing. When I turn up the thread count on my testing tool (to 2),
my SOAP services starts to fail.
From the stacktraces I'm ge
Jeremy,
I didn't see anyone respond to this yet. The answer is yes. Although
similar, the client calls are different and will require some changes. Any
server side code(depending on how you wrote it) may not need to change much.
Cheers,
Pete R.
-Original Message-
From: Jeremy Levy [
Title: RE: HTTP redirects and SOAP
Unfortunately for reasons which are too long to go into here, we can't do that. Basically we are trying to have container-independent authentication and authorization using a mix of programmatic authentication and JAAS (container-specific module) for authoriz
Title: RE: HTTP redirects and SOAP
Agreed - it would appear that GLUE also does not support redirects. We have a work around for the cookie problem but it is the redirects that are killing us at the moment. I think our workaround for now will be to have a different/modified SSO filter for our
Hi,
when trying to invoke a RPC via SOAP, I keep getting this fault:
Fault code: env:Server
Fault string: Missing port information
What could possibly cause this?
Thx!
Mit freundlichen Gruessen
Stefan Lenhart
R. Boeker Consulting GmbH
Ein Unternehmen der R. Boeker Unternehmensgruppe AG
RBU
Hi Vibha
You don't need to find parser.jar file, simply set the classpath in such a
way that xerces.jar is the first entry in the classpath.
Virender
- Original Message -
From: "Vibha Sridhar" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, April 03, 2002 6:07 AM
Subject:
Hello. I'm very new to web services (I've not written one yet) and I've got what
is probably a very straightforward question. By the way, I'm using AXIS.
I'd like to have my client send one type of parameter (a string containing XML)
but the service receives a different type (a Document object)
Which xerces version you are using?
Make sure that xerces is the first declaration in your classpath.
Maybe the wrong parser
Hoang
"Chandra
Hello Chandru,
The URL is fine as when i try the URL you mentioned it works just fine.
I can get to the URL which shows the "List" "Deploy" and "Undeploy" links too.
I just cannot figure out why is this error?
VS
Chandrashekhar B wrote:
> I don't know if you have deployed the sample service
I've had this same nightmare. Here is what I've learned:
MS SOAP Toolkit does not support cookies or redirects ( they view the
former as unnecessary and the latter as a security issue )
Apache SOAP Toolkit supports cookies but does not support redirects
Systinet SOAP Toolkit supports redirects
I don't know if you have deployed the sample service you are trying to
run. Error:500, it's not able to locate the sevice.
And make sure that 8080 is their in the URL,
http://localhost:8080/soap/servlet/rpcrouter , if you haven't
integrated Apache Web Server and Tomcat to work together.
Chand
Hi! I guess there is some problem with u'r xml payload, but iam not sure. try using the tcptrace utility available at http://www.4s4c.com/ hope this helps for u! Dinesh - Original Message - From: Vibha Sridhar Sent: Wednesday, April 03, 2002 4:41 PM To: [EMAIL PROTECTED] Subject: Re
Hello Christian Dutaret,
Thanks for the response.
I checked in the entire directory and i do not find any
"parser.jar" file there.
Does Tomcat 3.3.1 has some other name for this file? As i find "tomcat.jar" in
/lib directory.
Let me know.
thanks
VS
Christian Dutaret wrote:
> This sounds l
Well, first get all the required JAR files -
Xerces.jar
Activation.jar
bsf.jar
js.jar
soap.jar
downloaded and installed (as instructed).
Now if you are using APACHE WEBSERVER and TOMCAT, place all these JAR files in the
webapps/soap/WEB-INF/lib
directory.
Edit the "tomcat.bat" in the /bin dir
Hi Dutaret! Even if i replace the libraries completely with the new xerces parser & related ones, i still get an exception which goes like this. //*** Exception in thread "main" [SOAPException: faultCode=SOAP-ENV:Client; msg=A 'http://schemas.xmlsoap.org/soap/envelope/:Fault' elemen
This sounds like an XML parser version
Tomcat 3.x uses a JAXP 1.0 parser (parser.jar) which has some different
method signatures as a jaxp 1.1 compliant parser like xerces.
If you put xerces.jar in your tomcat/lib directory, it won't be seen as
tomcat sets its classpath in alphabetic order. Any c
Hi,
How did you manage to have the URL
http://localhost:8080/soap/servlet/rpcrouter works fine. With me it's not the case.
It display this message:
HTTP status 503
message: Servlet rpcrouter is currently unavailable
description: The requested service (Servlet rpcrouter is currently unavailabl
Hi there,
I would really appreciate if someone can help me solve this problem
related to running a simple Apache SOAP Sample.
I downloaded and installed the following
a)Apache Web Server
b)Jakarta Tomcat 3.3.1
c)Apache SOAP 2.2 and all the related JAR files like Xerces, Activation
etc.
I fol
Hi,
I installed Soap on my computer and added the 3 .jar in the classpath.
I start Apache...OK
Then when I key in: http://localhost:8080/soap/servlet/rpcrouter in my =
browser, it gives me this message:=20
"javax.servlet.ServletException: Wrapper cannot find servlet class =
org.apache.soap.serv
46 matches
Mail list logo