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 Stephen <st...@webreserve.com> on 2001/03/21 09:34:10 UTC

WSTK 2.2 and VB

I used wstk from alphaworks to generate WSDL so that I can use VB to talk to
my java apps. It generates *impl.wsdl and *interface.wsdl. When calling for
a service from VB which one should I refer to?

e.g.

Dim cli as SoapClient
set cli = new SoapClient

cli.mssoapinit "http://localhost:8080/wsdl/InvoiceService-impl.wsdl"

OR

cli.mssoapinit "http://localhost:8080/wsdl/InvoiceService-interface.wsdl"

$sInvoice = cli.getInvoice("1-141644")

P.S. Yuk! I know but this is what I have to work with.

Stephen.


Re: WSTK 2.2 and VB

Posted by Simon Fell <so...@zaks.demon.co.uk>.
I agree with Graham on this point (that's also the style recommended
by the WSDL spec) also note that the current MS TK2 beta doesn't
support the WSDL import element, so you're going to have to manually
combine the two WSDL files into a single one.

Cheers
Simon
www.pocketsoap.com

On Wed, 21 Mar 2001 03:58:43 -0600, in soap you wrote:

>i still don't understand why IBM puts the binding
>part into the interface. the binding part contains
>stuff that is specific to SOAP, which seems like
>it belongs in the implementation portion to me.
>
>would anyone like to add their own comments to this?
>
>i think it should be:
>
>interface file = message + operations
>implementation file = binding + port + service
>
>cheers,
>graham
>
>-----Original Message-----
>From: Tanguy Crusson [mailto:tanguy.crusson@improve.fr]
>Sent: Wednesday, March 21, 2001 3:54 AM
>To: soap-user@xml.apache.org
>Subject: Re: WSTK 2.2 and VB
>
>
>IBM separates Web Service's description in 2 parts : a wsdl file describing
>the abstract view of the service (interface : message, operation, porttype,
>binding) and a wsdl file for the implementation part (impl : port, service).
>I don't know if it's from the standard. I think you should use the impl one
>(it contains the details about how to call the service : url, etc).
>
>But if it doesn't work, try to paste the content of the <service> tag of the
>impl file at the end of the interface one (the whole definition in a single
>file).
>--__/\__------------------------------------------
>  improve         Tanguy CRUSSON
>--/-----\------------------------------------------
>job: 01 41 97 83 16
>mobile: 06 20 01 49 96
>http://www.improve.fr
>http://www.application-servers.com
>----- Original Message -----
>From: "Stephen" <st...@webreserve.com>
>To: <so...@xml.apache.org>
>Sent: Wednesday, March 21, 2001 9:34 AM
>Subject: WSTK 2.2 and VB
>
>
>> I used wstk from alphaworks to generate WSDL so that I can use VB to talk
>to
>> my java apps. It generates *impl.wsdl and *interface.wsdl. When calling
>for
>> a service from VB which one should I refer to?
>>
>> e.g.
>>
>> Dim cli as SoapClient
>> set cli = new SoapClient
>>
>> cli.mssoapinit "http://localhost:8080/wsdl/InvoiceService-impl.wsdl"
>>
>> OR
>>
>> cli.mssoapinit "http://localhost:8080/wsdl/InvoiceService-interface.wsdl"
>>
>> $sInvoice = cli.getInvoice("1-141644")
>>
>> P.S. Yuk! I know but this is what I have to work with.
>>
>> Stephen.
>>
>>


Re: WSTK 2.2 and VB

Posted by Simon Fell <so...@zaks.demon.co.uk>.
I agree with Graham on this point (that's also the style recommended
by the WSDL spec) also note that the current MS TK2 beta doesn't
support the WSDL import element, so you're going to have to manually
combine the two WSDL files into a single one.

Cheers
Simon
www.pocketsoap.com

On Wed, 21 Mar 2001 03:58:43 -0600, in soap you wrote:

>i still don't understand why IBM puts the binding
>part into the interface. the binding part contains
>stuff that is specific to SOAP, which seems like
>it belongs in the implementation portion to me.
>
>would anyone like to add their own comments to this?
>
>i think it should be:
>
>interface file = message + operations
>implementation file = binding + port + service
>
>cheers,
>graham
>
>-----Original Message-----
>From: Tanguy Crusson [mailto:tanguy.crusson@improve.fr]
>Sent: Wednesday, March 21, 2001 3:54 AM
>To: soap-user@xml.apache.org
>Subject: Re: WSTK 2.2 and VB
>
>
>IBM separates Web Service's description in 2 parts : a wsdl file describing
>the abstract view of the service (interface : message, operation, porttype,
>binding) and a wsdl file for the implementation part (impl : port, service).
>I don't know if it's from the standard. I think you should use the impl one
>(it contains the details about how to call the service : url, etc).
>
>But if it doesn't work, try to paste the content of the <service> tag of the
>impl file at the end of the interface one (the whole definition in a single
>file).
>--__/\__------------------------------------------
>  improve         Tanguy CRUSSON
>--/-----\------------------------------------------
>job: 01 41 97 83 16
>mobile: 06 20 01 49 96
>http://www.improve.fr
>http://www.application-servers.com
>----- Original Message -----
>From: "Stephen" <st...@webreserve.com>
>To: <so...@xml.apache.org>
>Sent: Wednesday, March 21, 2001 9:34 AM
>Subject: WSTK 2.2 and VB
>
>
>> I used wstk from alphaworks to generate WSDL so that I can use VB to talk
>to
>> my java apps. It generates *impl.wsdl and *interface.wsdl. When calling
>for
>> a service from VB which one should I refer to?
>>
>> e.g.
>>
>> Dim cli as SoapClient
>> set cli = new SoapClient
>>
>> cli.mssoapinit "http://localhost:8080/wsdl/InvoiceService-impl.wsdl"
>>
>> OR
>>
>> cli.mssoapinit "http://localhost:8080/wsdl/InvoiceService-interface.wsdl"
>>
>> $sInvoice = cli.getInvoice("1-141644")
>>
>> P.S. Yuk! I know but this is what I have to work with.
>>
>> Stephen.
>>
>>


RE: WSTK 2.2 and VB

Posted by graham glass <gr...@mindspring.com>.
i still don't understand why IBM puts the binding
part into the interface. the binding part contains
stuff that is specific to SOAP, which seems like
it belongs in the implementation portion to me.

would anyone like to add their own comments to this?

i think it should be:

interface file = message + operations
implementation file = binding + port + service

cheers,
graham

-----Original Message-----
From: Tanguy Crusson [mailto:tanguy.crusson@improve.fr]
Sent: Wednesday, March 21, 2001 3:54 AM
To: soap-user@xml.apache.org
Subject: Re: WSTK 2.2 and VB


IBM separates Web Service's description in 2 parts : a wsdl file describing
the abstract view of the service (interface : message, operation, porttype,
binding) and a wsdl file for the implementation part (impl : port, service).
I don't know if it's from the standard. I think you should use the impl one
(it contains the details about how to call the service : url, etc).

But if it doesn't work, try to paste the content of the <service> tag of the
impl file at the end of the interface one (the whole definition in a single
file).
--__/\__------------------------------------------
  improve         Tanguy CRUSSON
--/-----\------------------------------------------
job: 01 41 97 83 16
mobile: 06 20 01 49 96
http://www.improve.fr
http://www.application-servers.com
----- Original Message -----
From: "Stephen" <st...@webreserve.com>
To: <so...@xml.apache.org>
Sent: Wednesday, March 21, 2001 9:34 AM
Subject: WSTK 2.2 and VB


> I used wstk from alphaworks to generate WSDL so that I can use VB to talk
to
> my java apps. It generates *impl.wsdl and *interface.wsdl. When calling
for
> a service from VB which one should I refer to?
>
> e.g.
>
> Dim cli as SoapClient
> set cli = new SoapClient
>
> cli.mssoapinit "http://localhost:8080/wsdl/InvoiceService-impl.wsdl"
>
> OR
>
> cli.mssoapinit "http://localhost:8080/wsdl/InvoiceService-interface.wsdl"
>
> $sInvoice = cli.getInvoice("1-141644")
>
> P.S. Yuk! I know but this is what I have to work with.
>
> Stephen.
>
>


RE: WSTK 2.2 and VB

Posted by graham glass <gr...@mindspring.com>.
i still don't understand why IBM puts the binding
part into the interface. the binding part contains
stuff that is specific to SOAP, which seems like
it belongs in the implementation portion to me.

would anyone like to add their own comments to this?

i think it should be:

interface file = message + operations
implementation file = binding + port + service

cheers,
graham

-----Original Message-----
From: Tanguy Crusson [mailto:tanguy.crusson@improve.fr]
Sent: Wednesday, March 21, 2001 3:54 AM
To: soap-user@xml.apache.org
Subject: Re: WSTK 2.2 and VB


IBM separates Web Service's description in 2 parts : a wsdl file describing
the abstract view of the service (interface : message, operation, porttype,
binding) and a wsdl file for the implementation part (impl : port, service).
I don't know if it's from the standard. I think you should use the impl one
(it contains the details about how to call the service : url, etc).

But if it doesn't work, try to paste the content of the <service> tag of the
impl file at the end of the interface one (the whole definition in a single
file).
--__/\__------------------------------------------
  improve         Tanguy CRUSSON
--/-----\------------------------------------------
job: 01 41 97 83 16
mobile: 06 20 01 49 96
http://www.improve.fr
http://www.application-servers.com
----- Original Message -----
From: "Stephen" <st...@webreserve.com>
To: <so...@xml.apache.org>
Sent: Wednesday, March 21, 2001 9:34 AM
Subject: WSTK 2.2 and VB


> I used wstk from alphaworks to generate WSDL so that I can use VB to talk
to
> my java apps. It generates *impl.wsdl and *interface.wsdl. When calling
for
> a service from VB which one should I refer to?
>
> e.g.
>
> Dim cli as SoapClient
> set cli = new SoapClient
>
> cli.mssoapinit "http://localhost:8080/wsdl/InvoiceService-impl.wsdl"
>
> OR
>
> cli.mssoapinit "http://localhost:8080/wsdl/InvoiceService-interface.wsdl"
>
> $sInvoice = cli.getInvoice("1-141644")
>
> P.S. Yuk! I know but this is what I have to work with.
>
> Stephen.
>
>


RE: WSTK 2.2 and VB

Posted by Stephen <st...@webreserve.com>.
That WORKED! Last night I was copying and pasting the contents into the
interface rather than the *impl file. Now VB is talkin'. :) I should have
known by looking at the namespace...

Thanks,
Stephen.

-----Original Message-----
From: Tanguy Crusson [mailto:tanguy.crusson@improve.fr]
Sent: Wednesday, March 21, 2001 4:54 AM
To: soap-user@xml.apache.org
Subject: Re: WSTK 2.2 and VB


IBM separates Web Service's description in 2 parts : a wsdl file describing
the abstract view of the service (interface : message, operation, porttype,
binding) and a wsdl file for the implementation part (impl : port, service).
I don't know if it's from the standard. I think you should use the impl one
(it contains the details about how to call the service : url, etc).

But if it doesn't work, try to paste the content of the <service> tag of the
impl file at the end of the interface one (the whole definition in a single
file).
--__/\__------------------------------------------
  improve         Tanguy CRUSSON
--/-----\------------------------------------------
job: 01 41 97 83 16
mobile: 06 20 01 49 96
http://www.improve.fr
http://www.application-servers.com
----- Original Message -----
From: "Stephen" <st...@webreserve.com>
To: <so...@xml.apache.org>
Sent: Wednesday, March 21, 2001 9:34 AM
Subject: WSTK 2.2 and VB


> I used wstk from alphaworks to generate WSDL so that I can use VB to talk
to
> my java apps. It generates *impl.wsdl and *interface.wsdl. When calling
for
> a service from VB which one should I refer to?
>
> e.g.
>
> Dim cli as SoapClient
> set cli = new SoapClient
>
> cli.mssoapinit "http://localhost:8080/wsdl/InvoiceService-impl.wsdl"
>
> OR
>
> cli.mssoapinit "http://localhost:8080/wsdl/InvoiceService-interface.wsdl"
>
> $sInvoice = cli.getInvoice("1-141644")
>
> P.S. Yuk! I know but this is what I have to work with.
>
> Stephen.
>
>


RE: WSTK 2.2 and VB

Posted by Stephen <st...@webreserve.com>.
That WORKED! Last night I was copying and pasting the contents into the
interface rather than the *impl file. Now VB is talkin'. :) I should have
known by looking at the namespace...

Thanks,
Stephen.

-----Original Message-----
From: Tanguy Crusson [mailto:tanguy.crusson@improve.fr]
Sent: Wednesday, March 21, 2001 4:54 AM
To: soap-user@xml.apache.org
Subject: Re: WSTK 2.2 and VB


IBM separates Web Service's description in 2 parts : a wsdl file describing
the abstract view of the service (interface : message, operation, porttype,
binding) and a wsdl file for the implementation part (impl : port, service).
I don't know if it's from the standard. I think you should use the impl one
(it contains the details about how to call the service : url, etc).

But if it doesn't work, try to paste the content of the <service> tag of the
impl file at the end of the interface one (the whole definition in a single
file).
--__/\__------------------------------------------
  improve         Tanguy CRUSSON
--/-----\------------------------------------------
job: 01 41 97 83 16
mobile: 06 20 01 49 96
http://www.improve.fr
http://www.application-servers.com
----- Original Message -----
From: "Stephen" <st...@webreserve.com>
To: <so...@xml.apache.org>
Sent: Wednesday, March 21, 2001 9:34 AM
Subject: WSTK 2.2 and VB


> I used wstk from alphaworks to generate WSDL so that I can use VB to talk
to
> my java apps. It generates *impl.wsdl and *interface.wsdl. When calling
for
> a service from VB which one should I refer to?
>
> e.g.
>
> Dim cli as SoapClient
> set cli = new SoapClient
>
> cli.mssoapinit "http://localhost:8080/wsdl/InvoiceService-impl.wsdl"
>
> OR
>
> cli.mssoapinit "http://localhost:8080/wsdl/InvoiceService-interface.wsdl"
>
> $sInvoice = cli.getInvoice("1-141644")
>
> P.S. Yuk! I know but this is what I have to work with.
>
> Stephen.
>
>


Re: WSTK 2.2 and VB

Posted by Tanguy Crusson <ta...@improve.fr>.
IBM separates Web Service's description in 2 parts : a wsdl file describing
the abstract view of the service (interface : message, operation, porttype,
binding) and a wsdl file for the implementation part (impl : port, service).
I don't know if it's from the standard. I think you should use the impl one
(it contains the details about how to call the service : url, etc).

But if it doesn't work, try to paste the content of the <service> tag of the
impl file at the end of the interface one (the whole definition in a single
file).
--__/\__------------------------------------------
  improve         Tanguy CRUSSON
--/-----\------------------------------------------
job: 01 41 97 83 16
mobile: 06 20 01 49 96
http://www.improve.fr
http://www.application-servers.com
----- Original Message -----
From: "Stephen" <st...@webreserve.com>
To: <so...@xml.apache.org>
Sent: Wednesday, March 21, 2001 9:34 AM
Subject: WSTK 2.2 and VB


> I used wstk from alphaworks to generate WSDL so that I can use VB to talk
to
> my java apps. It generates *impl.wsdl and *interface.wsdl. When calling
for
> a service from VB which one should I refer to?
>
> e.g.
>
> Dim cli as SoapClient
> set cli = new SoapClient
>
> cli.mssoapinit "http://localhost:8080/wsdl/InvoiceService-impl.wsdl"
>
> OR
>
> cli.mssoapinit "http://localhost:8080/wsdl/InvoiceService-interface.wsdl"
>
> $sInvoice = cli.getInvoice("1-141644")
>
> P.S. Yuk! I know but this is what I have to work with.
>
> Stephen.
>
>


Re: WSTK 2.2 and VB

Posted by Tanguy Crusson <ta...@improve.fr>.
IBM separates Web Service's description in 2 parts : a wsdl file describing
the abstract view of the service (interface : message, operation, porttype,
binding) and a wsdl file for the implementation part (impl : port, service).
I don't know if it's from the standard. I think you should use the impl one
(it contains the details about how to call the service : url, etc).

But if it doesn't work, try to paste the content of the <service> tag of the
impl file at the end of the interface one (the whole definition in a single
file).
--__/\__------------------------------------------
  improve         Tanguy CRUSSON
--/-----\------------------------------------------
job: 01 41 97 83 16
mobile: 06 20 01 49 96
http://www.improve.fr
http://www.application-servers.com
----- Original Message -----
From: "Stephen" <st...@webreserve.com>
To: <so...@xml.apache.org>
Sent: Wednesday, March 21, 2001 9:34 AM
Subject: WSTK 2.2 and VB


> I used wstk from alphaworks to generate WSDL so that I can use VB to talk
to
> my java apps. It generates *impl.wsdl and *interface.wsdl. When calling
for
> a service from VB which one should I refer to?
>
> e.g.
>
> Dim cli as SoapClient
> set cli = new SoapClient
>
> cli.mssoapinit "http://localhost:8080/wsdl/InvoiceService-impl.wsdl"
>
> OR
>
> cli.mssoapinit "http://localhost:8080/wsdl/InvoiceService-interface.wsdl"
>
> $sInvoice = cli.getInvoice("1-141644")
>
> P.S. Yuk! I know but this is what I have to work with.
>
> Stephen.
>
>