I tried to install a SOAP service on an Apache
server with Tomcat 4.1 webapp module.
(It's a simple Hello 'name' SOAP tutorial
example)
I deployed the SOAP service with no problem. The
SOAP client is well compiled.
But when I run the client, i have the following
message:
Unable to resol
How did you deploy Apache SOAP, e.g. did you follow
http://cvs.apache.org/viewcvs.cgi/*checkout*/xml-soap/java/docs/install/
tomcat.html?rev=HEAD&content-type=text/html?
How did you deploy your sample service? This should be made part of
your Apache SOAP webapp or deployed to the Tomcat library/c
Thanks for Eric,
I have soap.jar from apache 2.3 and visible in my classpath.
I am able to use the following pages but not the command line:
http://localhost:8080/soap/admin/deploy.jsp
http://localhost:8080/soap/
http://localhost:8080/soap/servlet/rpcrouter
http://localhost:8080/soap/admin/
http
Thanks for Scott,
I didn't checked that page before, but I found that I have correct files/paths. For
example, I have soap.jar from apache 2.3 and placed in my classpath.
I am able to use the following pages but not the command line:
http://localhost:8080/soap/admin/deploy.jsp
http://localhost
Deploying the calculator service...
Ouch, the call failed:
Fault Code = SOAP-ENV:Client
Fault String = Unable to resolve namespace URI for 'ns2'.
.
This is probably the XML parser you are using. See
http://xml.apache.org/soap/faq/faq_chawke.html#Q1_2.
Running the calculator
Still same error.
I am using xerces 1.4.4 (according to the link) and I am setting classpath before
running server and client.
My classpath is:
set
CLASSPATH=\lib\xerces.jar;\lib\xalan.jar;\lib\XML4j.jar;\lib\soap.jar;\lib;\web\soapapp\soaptest\lib;\lib\mail.jar;\lib\activation.jar;\web\soapap
Check that you do not have an XML parser in %JAVA_HOME%\jre\lib\ext.
Also, I do not see /path-to-soap in your CLASSPATH.
Scott Nichol
- Original Message -
From: "Asif Habib" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, November 18, 2002 2:12 PM
Subject: RE: Help required in
I installed a resin 2.1.6 in another machine + apache soap + libraries (mail.jar,
soap.jar, xerces.jar, bsf.jar, js.jar).
It worked!
- Asif
-Original Message-
From: Scott Nichol [mailto:[EMAIL PROTECTED]]
Sent: Monday, November 18, 2002 11:56 AM
To: [EMAIL PROTECTED]
Subject: Re: Help
How do I pass a LtpaCookie to a web service using a SOAP call? I believe
the cookie should be passed in the http header (not the SOAP header). I've
constructed the SOAP Call but when I execute soapCall.getSOAPTransport() I
get a null returned. If I try to construct the SOAPTransport as:
SOAPT
I'm not sure what is available for various versions of Apache SOAP.
With the current code base, SOAPHTTPConnection has a setCookies method.
Also, Call has an overloaded invoke method that accepts HTTP headers as
a Hashtable:
public Response invoke(URL url, String SOAPActionURI, Hashtable
headers
10 matches
Mail list logo