By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,573 Members | 1,797 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,573 IT Pros & Developers. It's quick & easy.

imports another VB from a VB.

P: n/a
Hello,

I am using Web-service (*.asmx) with the language = "VB".
How can I include another *.asmx which I make.

What I did is :
imports "myWS.asmx'

.... which doesn't work

Thanks :)
Nov 20 '05 #1
Share this Question
Share on Google+
4 Replies


P: n/a
Cor
Hi Mr x.
I think this is typical a question done in the asp.net group
I think you have there a better change to get an answer for this question.
The people who visit this newsgroup are mostly using *.aspx.vb in the
asp.net group *.asmx
I hope you have succes
Cor
Nov 20 '05 #2

P: n/a
"Mr. x" <a@b.com> scripsit:
I am using Web-service (*.asmx) with the language = "VB".
How can I include another *.asmx which I make.

What I did is :
imports "myWS.asmx'


You may want to ask this question in the ASP.NET group:

<news://msnews.microsoft.com/microsoft.public.dotnet.framework.aspnet>

Web interface:

<http://msdn.microsoft.com/newsgroups/default.asp?url=/newsgroups/loadframes.asp?icp=msdn&slcid=us&newsgroup=microso ft.public.dotnet.framework.aspnet>

--
Herfried K. Wagner
MVP VB Classic, VB.NET
<http://www.mvps.org/dotnet>
Nov 20 '05 #3

P: n/a
....
There's no answer at that newsgroups, since a month...
on subject : "calling web-service from another web-service".
group : microsoft.public.dotnet.framework.aspnet.webservic e.

"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message
news:OB*************@tk2msftngp13.phx.gbl...
"Mr. x" <a@b.com> scripsit:
I am using Web-service (*.asmx) with the language = "VB".
How can I include another *.asmx which I make.

What I did is :
imports "myWS.asmx'
You may want to ask this question in the ASP.NET group:

<news://msnews.microsoft.com/microsoft.public.dotnet.framework.aspnet>

Web interface:

<http://msdn.microsoft.com/newsgroups...ups/loadframes
..asp?icp=msdn&slcid=us&newsgroup=microsoft.public .dotnet.framework.aspnet>
--
Herfried K. Wagner
MVP VB Classic, VB.NET
<http://www.mvps.org/dotnet>

Nov 20 '05 #4

P: n/a
Cor
Hi Mr. x.
I did understand it totaly wrong.
I did a long time nothing with a webservice and was mixing up 2 things .
I did not know if it could, but thought why not, therefore I made as example
2 "hello world" webservices and one normal window form, 3 projects in one
project.
The asmx.vb code was.
First Webservice Service1
\\\
<WebMethod()> _
Public Function HelloWorld() As String
Return "First Service"
End Function
///
Second Webservice Service2
\\\
<WebMethod()> _
Public Function HelloWorld() As String
Dim me1 As New localhost.Service1
Return me1.HelloWorld
End Function
///
Window Form
\\\
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button1.Click
Dim me2 As New localhost.Service2
Me.Label1.Text = me2.HelloWorld()
End Sub
///
On my window form was when I did push the button,
and there was "First Service" on my screen.

I hope this answers your question?
Cor
Nov 20 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.