You should define an empty response type in the WSDL file. > -----Original Message----- > From: Ding, Chengmin [mailto:[EMAIL PROTECTED]] > Sent: Thursday, June 07, 2001 5:41 PM > To: '[EMAIL PROTECTED]' > Subject: VB/Apache problem-- void Java method always cause VB > Client to > fa il. > > > Hi, All, > I am using a VB client to invoke an Apache Web service. > The service I am using doesn't return any thing, so inside > the service it is > a void function. > The VB client tried to invoke this service via the following call > soapclient.updateVIS(BatchID) > But it always caused the following error in VB: > automation error > unspecified error > I checked the return envelop and it looks fine(please see > below). And on the > server side the service has performed the correct update > operation. Then I > changed the updateVIS service to return a string and > everything works fine. > So I want to know whether any of you > have encountered a similar problem? Does MS SOAP always requires a > Request/Response message model? It looks like the Request > only way doesn't > work. > Any of your input is highly appreciated. > > Thanks. > > -Chengmin > > > ============================================================== > ============== > HTTP/1.0 200 OK > Content-Type: text/xml; charset=utf-8 > Content-Length: 424 > Set-Cookie: JSESSIONID=bgfuf4h5b1;Path=/soap > > <?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/1999/XMLSchema-instance" > xmlns:xsd="http://www.w3.org/1999/XMLSchema"> > <SOAP-ENV:Body> > <ns1:updateVISResponse xmlns:ns1="urn:sendvis-service" > SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"> > </ns1:updateVISResponse> > </SOAP-ENV:Body> > </SOAP-ENV:Envelope> > ============================================================== > ============== > = > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, email: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]