You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-user@xml.apache.org by Alvin Wang <xw...@qtechservices.com> on 2002/05/06 16:32:57 UTC
How to instantiate the class of the service with its constructor with parameters on the SOAP Client side?
Hi! I'm new to Apache SOAP. I'm writing a simple RPC client to call a SOAP
service. My question is how to instantiate the class of the service with its
constructor with parameters on the SOAP client side?
Thanks!
apache soap and resin
Posted by Mohssin Assaban <mo...@OurMaroc.com>.
Hi All,
Did somebody worked before with Apache SOAP on Resin. I get Some namespaces
errors when I try to deploy my webservice.
This is the fault:
<?xml version="1.0" encoding="UTF-8" ?>
- <SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
- <SOAP-ENV:Body>
- <SOAP-ENV:Fault>
<faultcode>SOAP-ENV:Client</faultcode>
<faultstring>Unable to resolve namespace URI for 'ns2'.</faultstring>
<faultactor>/mxs-soap/servlet/rpcrouter</faultactor>
</SOAP-ENV:Fault>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Please is there any one who can help,
Thanks in advance,
Mohssin
-----Original Message-----
From: Mohssin Assaban [mailto:mohssin@ourmaroc.com]
Sent: Tuesday, May 07, 2002 10:04 AM
To: soap-user@xml.apache.org
Subject: soap running under Resin-2.1.0
Hi All,
I build a web service using apache soap running under Tomcat 4.0.3. It works
fine en without any problem. When I switched to Resin2.1.0, I got some
problems with the namespaces . One of the fault is listed below. I replaced
the XML parser of Resin with Xerces. But I still get the fault.... Can some
body help me with this.
Thanks in advance,
Mohssin
<?xml version="1.0" encoding="UTF-8" ?>
- <SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
- <SOAP-ENV:Body>
- <SOAP-ENV:Fault>
<faultcode>SOAP-ENV:Client</faultcode>
<faultstring>Unable to resolve namespace URI for 'soapenc'.</faultstring>
<faultactor>/mxs-soap/servlet/rpcrouter</faultactor>
</SOAP-ENV:Fault>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
apache soap and resin
Posted by Mohssin Assaban <mo...@OurMaroc.com>.
Hi All,
Did somebody worked before with Apache SOAP on Resin. I get Some namespaces
errors when I try to deploy my webservice.
This is the fault:
<?xml version="1.0" encoding="UTF-8" ?>
- <SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
- <SOAP-ENV:Body>
- <SOAP-ENV:Fault>
<faultcode>SOAP-ENV:Client</faultcode>
<faultstring>Unable to resolve namespace URI for 'ns2'.</faultstring>
<faultactor>/mxs-soap/servlet/rpcrouter</faultactor>
</SOAP-ENV:Fault>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Please is there any one who can help,
Thanks in advance,
Mohssin
-----Original Message-----
From: Mohssin Assaban [mailto:mohssin@ourmaroc.com]
Sent: Tuesday, May 07, 2002 10:04 AM
To: soap-user@xml.apache.org
Subject: soap running under Resin-2.1.0
Hi All,
I build a web service using apache soap running under Tomcat 4.0.3. It works
fine en without any problem. When I switched to Resin2.1.0, I got some
problems with the namespaces . One of the fault is listed below. I replaced
the XML parser of Resin with Xerces. But I still get the fault.... Can some
body help me with this.
Thanks in advance,
Mohssin
<?xml version="1.0" encoding="UTF-8" ?>
- <SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
- <SOAP-ENV:Body>
- <SOAP-ENV:Fault>
<faultcode>SOAP-ENV:Client</faultcode>
<faultstring>Unable to resolve namespace URI for 'soapenc'.</faultstring>
<faultactor>/mxs-soap/servlet/rpcrouter</faultactor>
</SOAP-ENV:Fault>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
soap running under Resin-2.1.0
Posted by Mohssin Assaban <mo...@OurMaroc.com>.
Hi All,
I build a web service using apache soap running under Tomcat 4.0.3. It works
fine en without any problem. When I switched to Resin2.1.0, I got some
problems with the namespaces . One of the fault is listed below. I replaced
the XML parser of Resin with Xerces. But I still get the fault.... Can some
body help me with this.
Thanks in advance,
Mohssin
<?xml version="1.0" encoding="UTF-8" ?>
- <SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
- <SOAP-ENV:Body>
- <SOAP-ENV:Fault>
<faultcode>SOAP-ENV:Client</faultcode>
<faultstring>Unable to resolve namespace URI for 'soapenc'.</faultstring>
<faultactor>/mxs-soap/servlet/rpcrouter</faultactor>
</SOAP-ENV:Fault>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
soap running under Resin-2.1.0
Posted by Mohssin Assaban <mo...@OurMaroc.com>.
Hi All,
I build a web service using apache soap running under Tomcat 4.0.3. It works
fine en without any problem. When I switched to Resin2.1.0, I got some
problems with the namespaces . One of the fault is listed below. I replaced
the XML parser of Resin with Xerces. But I still get the fault.... Can some
body help me with this.
Thanks in advance,
Mohssin
<?xml version="1.0" encoding="UTF-8" ?>
- <SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
- <SOAP-ENV:Body>
- <SOAP-ENV:Fault>
<faultcode>SOAP-ENV:Client</faultcode>
<faultstring>Unable to resolve namespace URI for 'soapenc'.</faultstring>
<faultactor>/mxs-soap/servlet/rpcrouter</faultactor>
</SOAP-ENV:Fault>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
RE: How to instantiate the class of the service with its constructor with parameters on the SOAP Client side?
Posted by Charlie Abela <ab...@maltanet.net>.
Take a look at the samples included with Apache 2.2. I found them of great help.
Cheers
Charlie
RE: How to instantiate the class of the service with its constructor with parameters on the SOAP Client side?
Posted by Charlie Abela <ab...@maltanet.net>.
Take a look at the samples included with Apache 2.2. I found them of great help.
Cheers
Charlie