You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-user@ws.apache.org by Shiva <si...@informix.com> on 2000/08/02 00:05:56 UTC
Newbie Question
Hi,
I am a newbie with SOAP.
I have read the SOAP spec at W3. (and understood 50% of it).
I have download Apache SOAP.
What else do I need to test out the samples (addressbook etc).
Can someone detail the steps for running these samples ?
rgds,
Shiva
RE: Some Progress [ was Re: Newbie Question ]
Posted by Steven McDowall <sj...@aptest.com>.
Read the RELEASE NOTES that comes with the xml-apache package.. It really
does a
pretty good (well, not great but not bad) job of explaining the steps..
-Steve
-----Original Message-----
From: Shiva [mailto:siva.jayaraman@informix.com]
Sent: Wednesday, August 02, 2000 1:00 PM
To: soap-user@xml.apache.org
Subject: Some Progress [ was Re: Newbie Question ]
>>Hi,
>> I am a newbie with SOAP.
>>I have read the SOAP spec at W3. (and understood 50% of it).
>>I have download Apache SOAP.
>>What else do I need to test out the samples (addressbook etc).
>>Can someone detail the steps for running these samples ?
>>
>>rgds,
>>Shiva
>
>I have done all the steps on this Page
>http://jakarta.apache.org/jyve-faq/Turbine/screen/DisplayQuestionAnswer/act
>i on/SetAll/project_id/2/faq_id/12/topic_id/102/question_id/693
>
>I have installed JDK 1.3, Apache, Tomcat, the DLL .
>
>Now what do to get the SOAP samples working ?
>
>Shiva
I have been able to run the addressbook sample like this.
java samples.addressbook.GetAddress
http://localhost:8080/ibm-soap/rpcrouter.jsp "John B. Good"
However this gives me an error
org.xml.sax.SAXParseException: The markup in the document preceding the
root element must be well-formed.
at
org.apache.xerces.framework.XMLParser.reportError(XMLParser.java:910)
at
org.apache.xerces.framework.XMLDocumentScanner.reportFatalXMLError(XMLDocume
ntScanner.java:637)
at
org.apache.xerces.framework.XMLDocumentScanner$PrologDispatcher.dispatch(XML
DocumentScanner.java:920)
at
org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.
java:402)
at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:802)
at
org.apache.soap.util.xml.XercesParserLiaison.read(XercesParserLiaison.java:8
5)
at org.apache.soap.rpc.Call.invoke(Call.java:157)
at samples.addressbook.GetAddress.main(GetAddress.java:125)
Caught SOAPException (SOAP-ENV:Protocol):
java.lang.NoSuchMethodError
at org.apache.soap.util.xml.QName.<init>(QName.java:80)
at org.apache.soap.util.xml.QName.matches(QName.java:146)
at org.apache.soap.Envelope.unmarshall(Envelope.java:210)
at
ibm_0002dsoap._0002fibm_0002dsoap_0002frpcrouter_0002ejsprpcrouter_jsp_0._js
pService(_0002fibm_0002dsoap_0002frpcrouter_0002ejsprpcrouter_jsp_0.java:242
)
at
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:126)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.jasper.runtime.JspServlet$JspServletWrapper.service(JspServlet.ja
va:174)
at
org.apache.jasper.runtime.JspServlet.serviceJspFile(JspServlet.java:261)
at
org.apache.jasper.runtime.JspServlet.service(JspServlet.java:369)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:503)
at
org.apache.tomcat.core.ContextManager.service(ContextManager.java:559)
at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpC
onnectionHandler.java:160)
at
org.apache.tomcat.service.TcpConnectionThread.run(SimpleTcpEndpoint.java:338
)
at java.lang.Thread.run(Thread.java:484)
TOMCAT also gives me an error at this point.
>>(Wed Aug 02 10:52:46 PDT 2000) Processing SOAP request...
java.lang.NoSuchMethodError
at org.apache.soap.util.xml.QName.<init>(QName.java:80)
at org.apache.soap.util.xml.QName.matches(QName.java:146)
at org.apache.soap.Envelope.unmarshall(Envelope.java:210)
at
ibm_0002dsoap._0002fibm_0002dsoap_0002frpcrouter_0002ejsprpcrouter_js
p_0._jspService(_0002fibm_0002dsoap_0002frpcrouter_0002ejsprpcrouter_jsp_0.j
ava:
242)
at
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:126)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.jasper.runtime.JspServlet$JspServletWrapper.service(JspSer
vlet.java:174)
at
org.apache.jasper.runtime.JspServlet.serviceJspFile(JspServlet.java:2
61)
at
org.apache.jasper.runtime.JspServlet.service(JspServlet.java:369)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.ja
va:503)
at
org.apache.tomcat.core.ContextManager.service(ContextManager.java:559
)
at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnectio
n(HttpConnectionHandler.java:160)
at
org.apache.tomcat.service.TcpConnectionThread.run(SimpleTcpEndpoint.j
ava:338)
at java.lang.Thread.run(Thread.java:484)
In the README File for the sample, I see the following statements.
To install this service on a IBM-SOAP listener, you need to make
the samples.addressbook package available on the IBM-SOAP listener's
classpath. Then deploy this service by filling in the deployment
template using the info in the deployment descriptor in this
directory.
How do I do the above . I really don't know what to fill in the
DeploymentDescriptor.xml file.
And how do I deploy the service.
Can anyone help.
Can anyone atleast acknowledge that the list is recieving my mails coz, I
didn't see any replies
to my 2 earlier mails.
rgds,
Shiva
RE: Some Progress [ was Re: Newbie Question ]
Posted by Steven McDowall <sj...@aptest.com>.
Read the RELEASE NOTES that comes with the xml-apache package.. It really
does a
pretty good (well, not great but not bad) job of explaining the steps..
-Steve
-----Original Message-----
From: Shiva [mailto:siva.jayaraman@informix.com]
Sent: Wednesday, August 02, 2000 1:00 PM
To: soap-user@xml.apache.org
Subject: Some Progress [ was Re: Newbie Question ]
>>Hi,
>> I am a newbie with SOAP.
>>I have read the SOAP spec at W3. (and understood 50% of it).
>>I have download Apache SOAP.
>>What else do I need to test out the samples (addressbook etc).
>>Can someone detail the steps for running these samples ?
>>
>>rgds,
>>Shiva
>
>I have done all the steps on this Page
>http://jakarta.apache.org/jyve-faq/Turbine/screen/DisplayQuestionAnswer/act
>i on/SetAll/project_id/2/faq_id/12/topic_id/102/question_id/693
>
>I have installed JDK 1.3, Apache, Tomcat, the DLL .
>
>Now what do to get the SOAP samples working ?
>
>Shiva
I have been able to run the addressbook sample like this.
java samples.addressbook.GetAddress
http://localhost:8080/ibm-soap/rpcrouter.jsp "John B. Good"
However this gives me an error
org.xml.sax.SAXParseException: The markup in the document preceding the
root element must be well-formed.
at
org.apache.xerces.framework.XMLParser.reportError(XMLParser.java:910)
at
org.apache.xerces.framework.XMLDocumentScanner.reportFatalXMLError(XMLDocume
ntScanner.java:637)
at
org.apache.xerces.framework.XMLDocumentScanner$PrologDispatcher.dispatch(XML
DocumentScanner.java:920)
at
org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.
java:402)
at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:802)
at
org.apache.soap.util.xml.XercesParserLiaison.read(XercesParserLiaison.java:8
5)
at org.apache.soap.rpc.Call.invoke(Call.java:157)
at samples.addressbook.GetAddress.main(GetAddress.java:125)
Caught SOAPException (SOAP-ENV:Protocol):
java.lang.NoSuchMethodError
at org.apache.soap.util.xml.QName.<init>(QName.java:80)
at org.apache.soap.util.xml.QName.matches(QName.java:146)
at org.apache.soap.Envelope.unmarshall(Envelope.java:210)
at
ibm_0002dsoap._0002fibm_0002dsoap_0002frpcrouter_0002ejsprpcrouter_jsp_0._js
pService(_0002fibm_0002dsoap_0002frpcrouter_0002ejsprpcrouter_jsp_0.java:242
)
at
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:126)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.jasper.runtime.JspServlet$JspServletWrapper.service(JspServlet.ja
va:174)
at
org.apache.jasper.runtime.JspServlet.serviceJspFile(JspServlet.java:261)
at
org.apache.jasper.runtime.JspServlet.service(JspServlet.java:369)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:503)
at
org.apache.tomcat.core.ContextManager.service(ContextManager.java:559)
at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpC
onnectionHandler.java:160)
at
org.apache.tomcat.service.TcpConnectionThread.run(SimpleTcpEndpoint.java:338
)
at java.lang.Thread.run(Thread.java:484)
TOMCAT also gives me an error at this point.
>>(Wed Aug 02 10:52:46 PDT 2000) Processing SOAP request...
java.lang.NoSuchMethodError
at org.apache.soap.util.xml.QName.<init>(QName.java:80)
at org.apache.soap.util.xml.QName.matches(QName.java:146)
at org.apache.soap.Envelope.unmarshall(Envelope.java:210)
at
ibm_0002dsoap._0002fibm_0002dsoap_0002frpcrouter_0002ejsprpcrouter_js
p_0._jspService(_0002fibm_0002dsoap_0002frpcrouter_0002ejsprpcrouter_jsp_0.j
ava:
242)
at
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:126)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.jasper.runtime.JspServlet$JspServletWrapper.service(JspSer
vlet.java:174)
at
org.apache.jasper.runtime.JspServlet.serviceJspFile(JspServlet.java:2
61)
at
org.apache.jasper.runtime.JspServlet.service(JspServlet.java:369)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.ja
va:503)
at
org.apache.tomcat.core.ContextManager.service(ContextManager.java:559
)
at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnectio
n(HttpConnectionHandler.java:160)
at
org.apache.tomcat.service.TcpConnectionThread.run(SimpleTcpEndpoint.j
ava:338)
at java.lang.Thread.run(Thread.java:484)
In the README File for the sample, I see the following statements.
To install this service on a IBM-SOAP listener, you need to make
the samples.addressbook package available on the IBM-SOAP listener's
classpath. Then deploy this service by filling in the deployment
template using the info in the deployment descriptor in this
directory.
How do I do the above . I really don't know what to fill in the
DeploymentDescriptor.xml file.
And how do I deploy the service.
Can anyone help.
Can anyone atleast acknowledge that the list is recieving my mails coz, I
didn't see any replies
to my 2 earlier mails.
rgds,
Shiva
Some Progress [ was Re: Newbie Question ]
Posted by Shiva <si...@informix.com>.
>>Hi,
>> I am a newbie with SOAP.
>>I have read the SOAP spec at W3. (and understood 50% of it).
>>I have download Apache SOAP.
>>What else do I need to test out the samples (addressbook etc).
>>Can someone detail the steps for running these samples ?
>>
>>rgds,
>>Shiva
>
>I have done all the steps on this Page
>http://jakarta.apache.org/jyve-faq/Turbine/screen/DisplayQuestionAnswer/act
>i on/SetAll/project_id/2/faq_id/12/topic_id/102/question_id/693
>
>I have installed JDK 1.3, Apache, Tomcat, the DLL .
>
>Now what do to get the SOAP samples working ?
>
>Shiva
I have been able to run the addressbook sample like this.
java samples.addressbook.GetAddress
http://localhost:8080/ibm-soap/rpcrouter.jsp "John B. Good"
However this gives me an error
org.xml.sax.SAXParseException: The markup in the document preceding the
root element must be well-formed.
at
org.apache.xerces.framework.XMLParser.reportError(XMLParser.java:910)
at
org.apache.xerces.framework.XMLDocumentScanner.reportFatalXMLError(XMLDocume
ntScanner.java:637)
at
org.apache.xerces.framework.XMLDocumentScanner$PrologDispatcher.dispatch(XML
DocumentScanner.java:920)
at
org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.
java:402)
at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:802)
at
org.apache.soap.util.xml.XercesParserLiaison.read(XercesParserLiaison.java:85)
at org.apache.soap.rpc.Call.invoke(Call.java:157)
at samples.addressbook.GetAddress.main(GetAddress.java:125)
Caught SOAPException (SOAP-ENV:Protocol):
java.lang.NoSuchMethodError
at org.apache.soap.util.xml.QName.<init>(QName.java:80)
at org.apache.soap.util.xml.QName.matches(QName.java:146)
at org.apache.soap.Envelope.unmarshall(Envelope.java:210)
at
ibm_0002dsoap._0002fibm_0002dsoap_0002frpcrouter_0002ejsprpcrouter_jsp_0._js
pService(_0002fibm_0002dsoap_0002frpcrouter_0002ejsprpcrouter_jsp_0.java:242)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:126)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.jasper.runtime.JspServlet$JspServletWrapper.service(JspServlet.ja
va:174)
at
org.apache.jasper.runtime.JspServlet.serviceJspFile(JspServlet.java:261)
at org.apache.jasper.runtime.JspServlet.service(JspServlet.java:369)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:503)
at
org.apache.tomcat.core.ContextManager.service(ContextManager.java:559)
at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpC
onnectionHandler.java:160)
at
org.apache.tomcat.service.TcpConnectionThread.run(SimpleTcpEndpoint.java:338)
at java.lang.Thread.run(Thread.java:484)
TOMCAT also gives me an error at this point.
>>(Wed Aug 02 10:52:46 PDT 2000) Processing SOAP request...
java.lang.NoSuchMethodError
at org.apache.soap.util.xml.QName.<init>(QName.java:80)
at org.apache.soap.util.xml.QName.matches(QName.java:146)
at org.apache.soap.Envelope.unmarshall(Envelope.java:210)
at
ibm_0002dsoap._0002fibm_0002dsoap_0002frpcrouter_0002ejsprpcrouter_js
p_0._jspService(_0002fibm_0002dsoap_0002frpcrouter_0002ejsprpcrouter_jsp_0.j
ava:
242)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:126)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.jasper.runtime.JspServlet$JspServletWrapper.service(JspSer
vlet.java:174)
at
org.apache.jasper.runtime.JspServlet.serviceJspFile(JspServlet.java:2
61)
at org.apache.jasper.runtime.JspServlet.service(JspServlet.java:369)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.ja
va:503)
at
org.apache.tomcat.core.ContextManager.service(ContextManager.java:559
)
at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnectio
n(HttpConnectionHandler.java:160)
at
org.apache.tomcat.service.TcpConnectionThread.run(SimpleTcpEndpoint.j
ava:338)
at java.lang.Thread.run(Thread.java:484)
In the README File for the sample, I see the following statements.
To install this service on a IBM-SOAP listener, you need to make
the samples.addressbook package available on the IBM-SOAP listener's
classpath. Then deploy this service by filling in the deployment
template using the info in the deployment descriptor in this
directory.
How do I do the above . I really don't know what to fill in the
DeploymentDescriptor.xml file.
And how do I deploy the service.
Can anyone help.
Can anyone atleast acknowledge that the list is recieving my mails coz, I
didn't see any replies
to my 2 earlier mails.
rgds,
Shiva
Some Progress [ was Re: Newbie Question ]
Posted by Shiva <si...@informix.com>.
>>Hi,
>> I am a newbie with SOAP.
>>I have read the SOAP spec at W3. (and understood 50% of it).
>>I have download Apache SOAP.
>>What else do I need to test out the samples (addressbook etc).
>>Can someone detail the steps for running these samples ?
>>
>>rgds,
>>Shiva
>
>I have done all the steps on this Page
>http://jakarta.apache.org/jyve-faq/Turbine/screen/DisplayQuestionAnswer/act
>i on/SetAll/project_id/2/faq_id/12/topic_id/102/question_id/693
>
>I have installed JDK 1.3, Apache, Tomcat, the DLL .
>
>Now what do to get the SOAP samples working ?
>
>Shiva
I have been able to run the addressbook sample like this.
java samples.addressbook.GetAddress
http://localhost:8080/ibm-soap/rpcrouter.jsp "John B. Good"
However this gives me an error
org.xml.sax.SAXParseException: The markup in the document preceding the
root element must be well-formed.
at
org.apache.xerces.framework.XMLParser.reportError(XMLParser.java:910)
at
org.apache.xerces.framework.XMLDocumentScanner.reportFatalXMLError(XMLDocume
ntScanner.java:637)
at
org.apache.xerces.framework.XMLDocumentScanner$PrologDispatcher.dispatch(XML
DocumentScanner.java:920)
at
org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.
java:402)
at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:802)
at
org.apache.soap.util.xml.XercesParserLiaison.read(XercesParserLiaison.java:85)
at org.apache.soap.rpc.Call.invoke(Call.java:157)
at samples.addressbook.GetAddress.main(GetAddress.java:125)
Caught SOAPException (SOAP-ENV:Protocol):
java.lang.NoSuchMethodError
at org.apache.soap.util.xml.QName.<init>(QName.java:80)
at org.apache.soap.util.xml.QName.matches(QName.java:146)
at org.apache.soap.Envelope.unmarshall(Envelope.java:210)
at
ibm_0002dsoap._0002fibm_0002dsoap_0002frpcrouter_0002ejsprpcrouter_jsp_0._js
pService(_0002fibm_0002dsoap_0002frpcrouter_0002ejsprpcrouter_jsp_0.java:242)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:126)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.jasper.runtime.JspServlet$JspServletWrapper.service(JspServlet.ja
va:174)
at
org.apache.jasper.runtime.JspServlet.serviceJspFile(JspServlet.java:261)
at org.apache.jasper.runtime.JspServlet.service(JspServlet.java:369)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:503)
at
org.apache.tomcat.core.ContextManager.service(ContextManager.java:559)
at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpC
onnectionHandler.java:160)
at
org.apache.tomcat.service.TcpConnectionThread.run(SimpleTcpEndpoint.java:338)
at java.lang.Thread.run(Thread.java:484)
TOMCAT also gives me an error at this point.
>>(Wed Aug 02 10:52:46 PDT 2000) Processing SOAP request...
java.lang.NoSuchMethodError
at org.apache.soap.util.xml.QName.<init>(QName.java:80)
at org.apache.soap.util.xml.QName.matches(QName.java:146)
at org.apache.soap.Envelope.unmarshall(Envelope.java:210)
at
ibm_0002dsoap._0002fibm_0002dsoap_0002frpcrouter_0002ejsprpcrouter_js
p_0._jspService(_0002fibm_0002dsoap_0002frpcrouter_0002ejsprpcrouter_jsp_0.j
ava:
242)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:126)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.jasper.runtime.JspServlet$JspServletWrapper.service(JspSer
vlet.java:174)
at
org.apache.jasper.runtime.JspServlet.serviceJspFile(JspServlet.java:2
61)
at org.apache.jasper.runtime.JspServlet.service(JspServlet.java:369)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.ja
va:503)
at
org.apache.tomcat.core.ContextManager.service(ContextManager.java:559
)
at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnectio
n(HttpConnectionHandler.java:160)
at
org.apache.tomcat.service.TcpConnectionThread.run(SimpleTcpEndpoint.j
ava:338)
at java.lang.Thread.run(Thread.java:484)
In the README File for the sample, I see the following statements.
To install this service on a IBM-SOAP listener, you need to make
the samples.addressbook package available on the IBM-SOAP listener's
classpath. Then deploy this service by filling in the deployment
template using the info in the deployment descriptor in this
directory.
How do I do the above . I really don't know what to fill in the
DeploymentDescriptor.xml file.
And how do I deploy the service.
Can anyone help.
Can anyone atleast acknowledge that the list is recieving my mails coz, I
didn't see any replies
to my 2 earlier mails.
rgds,
Shiva
Re: Newbie Question
Posted by Shiva <si...@informix.com>.
At 03:05 PM 8/1/00 -0700, you wrote:
>Hi,
> I am a newbie with SOAP.
>I have read the SOAP spec at W3. (and understood 50% of it).
>I have download Apache SOAP.
>What else do I need to test out the samples (addressbook etc).
>Can someone detail the steps for running these samples ?
>
>rgds,
>Shiva
I have done all the steps on this Page
http://jakarta.apache.org/jyve-faq/Turbine/screen/DisplayQuestionAnswer/acti
on/SetAll/project_id/2/faq_id/12/topic_id/102/question_id/693
I have installed JDK 1.3, Apache, Tomcat, the DLL .
Now what do to get the SOAP samples working ?
Shiva
Re: Newbie Question
Posted by Shiva <si...@informix.com>.
At 03:05 PM 8/1/00 -0700, you wrote:
>Hi,
> I am a newbie with SOAP.
>I have read the SOAP spec at W3. (and understood 50% of it).
>I have download Apache SOAP.
>What else do I need to test out the samples (addressbook etc).
>Can someone detail the steps for running these samples ?
>
>rgds,
>Shiva
I have done all the steps on this Page
http://jakarta.apache.org/jyve-faq/Turbine/screen/DisplayQuestionAnswer/acti
on/SetAll/project_id/2/faq_id/12/topic_id/102/question_id/693
I have installed JDK 1.3, Apache, Tomcat, the DLL .
Now what do to get the SOAP samples working ?
Shiva