Yes I have done it that way.

> -----Original Message-----
> From: Daniel Kruler [mailto:[EMAIL PROTECTED]]
> Sent: Friday, June 08, 2001 11:29 AM
> To: [EMAIL PROTECTED]
> Subject: RE: VB/Apache problem-- void Java method always 
> cause VB Client
> t o fa il.
> 
> 
> What about passing no parameters to a method?  Should I do the same
> thing but include that message into <input></input>?
> 
> -----Original Message-----
> From: Hansen, Richard [mailto:[EMAIL PROTECTED]]
> Sent: Friday, June 08, 2001 11:19 AM
> To: '[EMAIL PROTECTED]'
> Subject: RE: VB/Apache problem-- void Java method always 
> cause VB Client
> t o fa il.
> 
> 
> <message name="EmptyResponse" />
> 
> Just create a "message" entry with no "part". Then in the port section
> of
> your WSDL define the "output message" as being that message type. Make
> sure
> you have an "output" in the proper "operation" section of the binding
> also.
> 
> Rick
> 
> > -----Original Message-----
> > From: Ding, Chengmin [mailto:[EMAIL PROTECTED]]
> > Sent: Friday, June 08, 2001 10:06 AM
> > To: '[EMAIL PROTECTED]'
> > Subject: RE: VB/Apache problem-- void Java method always 
> > cause VB Client
> > t o fa il.
> > 
> > 
> > Richard,
> > Thanks for your anwser. But how to specify the Empty 
> Response type? I
> > couldn't find any sample code about it. 
> > BTW, did you encounter any error like the following when you 
> > run your VB
> > client(high level) against your StringService? The Java 
> > Client and VB Low
> > Level client never cause this error.
> > ==============================================================
> > ==============
> > ===
> > 2001-06-08 10:58:02 - Ctx(/soap) : IOException in R( /soap +
> > /SendVISService.wsd
> > l + null) - java.net.SocketException: Connection aborted by 
> > peer: socket
> > write e
> > rror
> > ==============================================================
> > ==============
> > ===
> > 
> > -Chengmin
> > 
> > -----Original Message-----
> > From: Hansen, Richard [mailto:[EMAIL PROTECTED]]
> > Sent: Friday, June 08, 2001 9:21 AM
> > To: '[EMAIL PROTECTED]'
> > Subject: RE: VB/Apache problem-- void Java method always 
> > cause VB Client
> > t o fa il.
> > 
> > 
> > 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]
> > 
> > 
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, email: [EMAIL PROTECTED]
> > 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to