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 chihongkim <ch...@hanmir.com> on 2001/08/13 12:36:18 UTC

how to invoke the method in Server-side(Apache) from Client-side(VB) using WSDL.

Thank you for your interest in my writing...
 
 I am searching for the source about 
 invoking the method in Apache Server-side from VB Client-side. 

 I don't know how to access the server's WSDL file generated by IBM soap toolkit and how to use it . 

If you know how to make a code in Server-side(Visual Basic).
Would you show me the way to the solution.

Thank you in advance....




....
> 
> 
> 
> ----- Original Message ----- 
> From: "Roger Wolter" <rw...@microsoft.com>
> Newsgroups: microsoft.public.xml.soap,microsoft.public.xml.soapsdk
> Sent: Sunday, August 12, 2001 3:59 AM
> Subject: Re: interOP within MS(Client) and Apache(Server)
> 
> 
> > 
> > 
> > http://xml.apache.org/soap/docs/guide/interop.html
> > 
> > http://www-106.ibm.com/developerworks/library/ws-ref3/?n-ws-5241
> > 
> > http://www.perfectxml.com/articles/xml/soapguide.asp
> > 
> > 
> > 
> > "chihongkim" <ch...@hanmir.com> wrote in message
> > news:uk$uQWlIBHA.1636@tkmsftngp05...
> > > Is there any source code about interOP within MS(Client) and
> > Apache(Server)
> > > ?
> > > Thanks in advance.
> > >
> > >
> > >
> > 
> > 
> 


Re: how to invoke the method in Server-side(Apache) from Client-side(VB) using WSDL.

Posted by Nicholas Quaine <nq...@soapuser.com>.
Chi-Hong,

best to make the wsdl file available over http.

you can do this by setting up an apache web server (or as you already have
tomcatup and running you could let tomcat handle this for you) and making
the wsdl file available to it.

after that you need tocreate a vb client according to the instructions given
with the microsoft soap toolkit for high level api - following is a code
snippet that gives you the idea - you will of course have to put your own
values in place of the 3 mssoapinit params - note that the first param is
the URL of your wsdl and the service name and porttype name should match
those specified in the wsdl file - as well as your own value for the method
name and its input param(s).

  set soapclient = CreateObject("MSSOAP.SoapClient")
  Call
soapclient.mssoapinit("http://myhost:portnumber/path/mywsdlfile.wsdl", _
                               "myServiceName", "myPortTypeName")
  result = soapclient.MyMethod(inputParam)


on the other hand if you want ot use the low level api (which does not
require wsdl) you can check out this page
http://www.soapuser.com/client4.html

good luck!

regards,
Nicholas Quaine

Visit http://www.soapuser.com/

nquaine@soapuser.com



----- Original Message -----
From: "chihongkim" <ch...@hanmir.com>
To: "Roger Wolter" <rw...@microsoft.com>; "Randy Charles Morin"
<ra...@sportmarkets.com>; "James F" <jw...@cyber-care.dontspam.net>;
<so...@xml.apache.org>; <so...@xml.apache.org>
Sent: Monday, August 13, 2001 12:36 PM
Subject: how to invoke the method in Server-side(Apache) from
Client-side(VB) using WSDL.


> Thank you for your interest in my writing...
>
>  I am searching for the source about
>  invoking the method in Apache Server-side from VB Client-side.
>
>  I don't know how to access the server's WSDL file generated by IBM soap
toolkit and how to use it .
>
> If you know how to make a code in Server-side(Visual Basic).
> Would you show me the way to the solution.
>
> Thank you in advance....
>
>
>
>
> ....
> >
> >
> >
> > ----- Original Message -----
> > From: "Roger Wolter" <rw...@microsoft.com>
> > Newsgroups: microsoft.public.xml.soap,microsoft.public.xml.soapsdk
> > Sent: Sunday, August 12, 2001 3:59 AM
> > Subject: Re: interOP within MS(Client) and Apache(Server)
> >
> >
> > >
> > >
> > > http://xml.apache.org/soap/docs/guide/interop.html
> > >
> > > http://www-106.ibm.com/developerworks/library/ws-ref3/?n-ws-5241
> > >
> > > http://www.perfectxml.com/articles/xml/soapguide.asp
> > >
> > >
> > >
> > > "chihongkim" <ch...@hanmir.com> wrote in message
> > > news:uk$uQWlIBHA.1636@tkmsftngp05...
> > > > Is there any source code about interOP within MS(Client) and
> > > Apache(Server)
> > > > ?
> > > > Thanks in advance.
> > > >
> > > >
> > > >
> > >
> > >
> >
>
>


Re: how to invoke the method in Server-side(Apache) from Client-side(VB) using WSDL.

Posted by Naresh Agarwal <na...@firstrain.com>.
hi
i had come across with the same problem but finally i had manages to run VB
Client with Apache Server.

The problem is that Apache Server generates two WSDL files, one for the
interface and other for the implementation; whereas MS Soap tool kit accepts
only one...

So u will have to merge the two files into..also u might have to make slight
changes in the DeploymentDescriptor file generated by Apache..

i hope it will help..

regards,
Naresh Agarwal

----- Original Message -----
From: "chihongkim" <ch...@hanmir.com>
To: "Roger Wolter" <rw...@microsoft.com>; "Randy Charles Morin"
<ra...@sportmarkets.com>; "James F" <jw...@cyber-care.dontspam.net>;
<so...@xml.apache.org>; <so...@xml.apache.org>
Sent: Monday, August 13, 2001 4:06 PM
Subject: how to invoke the method in Server-side(Apache) from
Client-side(VB) using WSDL.


> Thank you for your interest in my writing...
>
>  I am searching for the source about
>  invoking the method in Apache Server-side from VB Client-side.
>
>  I don't know how to access the server's WSDL file generated by IBM soap
toolkit and how to use it .
>
> If you know how to make a code in Server-side(Visual Basic).
> Would you show me the way to the solution.
>
> Thank you in advance....
>
>
>
>
> ....
> >
> >
> >
> > ----- Original Message -----
> > From: "Roger Wolter" <rw...@microsoft.com>
> > Newsgroups: microsoft.public.xml.soap,microsoft.public.xml.soapsdk
> > Sent: Sunday, August 12, 2001 3:59 AM
> > Subject: Re: interOP within MS(Client) and Apache(Server)
> >
> >
> > >
> > >
> > > http://xml.apache.org/soap/docs/guide/interop.html
> > >
> > > http://www-106.ibm.com/developerworks/library/ws-ref3/?n-ws-5241
> > >
> > > http://www.perfectxml.com/articles/xml/soapguide.asp
> > >
> > >
> > >
> > > "chihongkim" <ch...@hanmir.com> wrote in message
> > > news:uk$uQWlIBHA.1636@tkmsftngp05...
> > > > Is there any source code about interOP within MS(Client) and
> > > Apache(Server)
> > > > ?
> > > > Thanks in advance.
> > > >
> > > >
> > > >
> > >
> > >
> >
>
>


Re: how to invoke the method in Server-side(Apache) from Client-side(VB) using WSDL.

Posted by Nicholas Quaine <nq...@soapuser.com>.
Chi-Hong,

best to make the wsdl file available over http.

you can do this by setting up an apache web server (or as you already have
tomcatup and running you could let tomcat handle this for you) and making
the wsdl file available to it.

after that you need tocreate a vb client according to the instructions given
with the microsoft soap toolkit for high level api - following is a code
snippet that gives you the idea - you will of course have to put your own
values in place of the 3 mssoapinit params - note that the first param is
the URL of your wsdl and the service name and porttype name should match
those specified in the wsdl file - as well as your own value for the method
name and its input param(s).

  set soapclient = CreateObject("MSSOAP.SoapClient")
  Call
soapclient.mssoapinit("http://myhost:portnumber/path/mywsdlfile.wsdl", _
                               "myServiceName", "myPortTypeName")
  result = soapclient.MyMethod(inputParam)


on the other hand if you want ot use the low level api (which does not
require wsdl) you can check out this page
http://www.soapuser.com/client4.html

good luck!

regards,
Nicholas Quaine

Visit http://www.soapuser.com/

nquaine@soapuser.com



----- Original Message -----
From: "chihongkim" <ch...@hanmir.com>
To: "Roger Wolter" <rw...@microsoft.com>; "Randy Charles Morin"
<ra...@sportmarkets.com>; "James F" <jw...@cyber-care.dontspam.net>;
<so...@xml.apache.org>; <so...@xml.apache.org>
Sent: Monday, August 13, 2001 12:36 PM
Subject: how to invoke the method in Server-side(Apache) from
Client-side(VB) using WSDL.


> Thank you for your interest in my writing...
>
>  I am searching for the source about
>  invoking the method in Apache Server-side from VB Client-side.
>
>  I don't know how to access the server's WSDL file generated by IBM soap
toolkit and how to use it .
>
> If you know how to make a code in Server-side(Visual Basic).
> Would you show me the way to the solution.
>
> Thank you in advance....
>
>
>
>
> ....
> >
> >
> >
> > ----- Original Message -----
> > From: "Roger Wolter" <rw...@microsoft.com>
> > Newsgroups: microsoft.public.xml.soap,microsoft.public.xml.soapsdk
> > Sent: Sunday, August 12, 2001 3:59 AM
> > Subject: Re: interOP within MS(Client) and Apache(Server)
> >
> >
> > >
> > >
> > > http://xml.apache.org/soap/docs/guide/interop.html
> > >
> > > http://www-106.ibm.com/developerworks/library/ws-ref3/?n-ws-5241
> > >
> > > http://www.perfectxml.com/articles/xml/soapguide.asp
> > >
> > >
> > >
> > > "chihongkim" <ch...@hanmir.com> wrote in message
> > > news:uk$uQWlIBHA.1636@tkmsftngp05...
> > > > Is there any source code about interOP within MS(Client) and
> > > Apache(Server)
> > > > ?
> > > > Thanks in advance.
> > > >
> > > >
> > > >
> > >
> > >
> >
>
>