> 2. My Deloy Configuration File > <isd:service xmlns:isd="http://xml.apache.org/xml-soap/deployment" > id="WS:HaveParam"> > <isd:provider type="java" scope="Application" methods="sayHelloTo"> > <isd:java class="hello.HelloParam" static="false"/> > </isd:provider> > > <isd:faultListener>org.apache.soap.server.DOMFaultListener</isd:faultListene > r> > <isd:mappings> > <isd:map encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" > xmlns:x="WS:HaveParam" qname="x:A" > > xml2JavaClassName="org.apache.soap.encoding.soapenc.StringDeserializer"/> > </isd:mappings> > </isd:service> > > Question: In some files I see xmlns:x=""( null), but it does not work here. > When execute: > java org.apache.soap.server.ServiceManagerClient *URI* deploy **.xml > An error occurs.
Please post the error message so that we can help. You *should* be able to set xmlns:x="". In fact, it is required for interoperability in this case. I have not had problems with this; see http://www.scottnichol.com/vbclienthiapachesoap.htm#stockquotedd. > 4. HelloParam.wsdl file > <?xml version='1.0' ?> > <definitions name='HelloParam' targetNamespace='WS:HaveParam' > xmlns='http://schemas.xmlsoap.org/wsdl/' > xmlns:tns='WS:HaveParam_WSDL' > xmlns:se='http://schemas.xmlsoap.org/soap/encoding/' > xmlns:xsd='http://www.w3.org/2000/10/XMLSchema' > xmlns:so='http://schemas.xmlsoap.org/wsdl/soap/'> > > <message name='HelloParam.RetString'> > <part name='A' type='xsd:string'/> > </message> > <message name='HelloParam.RetStringResponse'> > </message> > <portType name='HelloParamSoapPort'> > <operation name='sayHelloTo' parameterOrder='A'> > <input message='tns:HelloParam.RetString' /> > <output message='tns:HelloParam.RetStringResponse' /> > </operation> > </portType> > > <binding name='HelloParam.Binding' type='tns:HelloParamSoapPort'> > <so:binding style='rpc' > transport='http://schemas.xmlsoap.org/soap/http' /> > <operation name='sayHelloTo'> > <so:operation soapAction=''/> > <input> > <so:body use="encoded" > namespace="WS:HaveParam" > > encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> > </input> > <output> > <so:body use="encoded" > namespace="WS:HaveParam" > > encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/> > </output> > </operation> > </binding> > > <service name='HelloParam'> > <port name='HelloParamSoapPort' binding='tns:HelloParam.Binding'> > <so:address location='http://sniff:8080/soap/servlet/rpcrouter' /> > </port> > </service> > </definitions> > ========================== > Error message: > No Deserializer found to deserialize a ':name' using encoding style > 'http://schemas.xmlsoap.org/soap/encoding/'. This confuses me slightly. The error message indicates that the server has received a message with a parameter named 'name'. However, the WSDL indicates that the parameter is named 'A'. Scott Nichol -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>