473,473 Members | 2,050 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Attribute specifier is not a complete statement eror

Hello. I'm practising some custom authentication for web services, and I get
the error-'

BC32035 Attribute specifier is not a complete statement. Use a line
continuation to apply the attribute to the following statement.

The offending code is
<WebMethod> _
<SoapHeader("MySoapHeader") _
Public Function Test As String

.......

The soap header part is the problem. If I put
<SoapHeader("MySoapHeader") _
<WebMethod> _
Public Function Test As String

then the Web Method part is the problem, ie the second one both times.

I'd appreciate if someone could tell me what is happening here.

Cheers
Justin Dutoit

Nov 18 '05 #1
1 6171
I finally used <WebMethod(), SoapHeader("MySoapHeader")> instead, thanks
anyhow

"Justin Dutoit" <an**@anon.com> wrote in message
news:#e**************@TK2MSFTNGP12.phx.gbl...
Hello. I'm practising some custom authentication for web services, and I get the error-'

BC32035 Attribute specifier is not a complete statement. Use a line
continuation to apply the attribute to the following statement.

The offending code is
<WebMethod> _
<SoapHeader("MySoapHeader") _
Public Function Test As String

.......

The soap header part is the problem. If I put
<SoapHeader("MySoapHeader") _
<WebMethod> _
Public Function Test As String

then the Web Method part is the problem, ie the second one both times.
I'd appreciate if someone could tell me what is happening here.

Cheers
Justin Dutoit

Nov 18 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Tony Johansson | last post by:
Hello!! Assume we have one base class called Vehicle and two derived classes called Car and Bus. I would be able to call method getName on an object of class Car or Bus and return back the name...
4
by: Ben Blair | last post by:
Hi. How does one assign a custom parameter attribute to the implicit "value" parameter of the set accessor method of a property? For example, I can assign a custom attribute to the return...
0
by: Jim Bancroft | last post by:
I'm having some trouble mixing "AutoComplete" attributes and transactions with my VB .Net components. Right now, I have two classes --a "parent" and "child"-- that inherit from the .Net...
3
by: Adam Stephensen | last post by:
http://msdn.microsoft.com/msdnmag/issues/04/10/ServiceStation/ In the downloadable code (not the article itself) for this great article about WSE Security, Aaron Skonnard has the following C#...
8
by: regis | last post by:
Greetings, about scanf matching nonempty sequences using the "%" matches a nonempty sequence of anything except '-' "%" matches a nonempty sequence of anything except ']" matches a nonempty...
7
by: Christian Christmann | last post by:
Hi, I've a a question on the specifier extern. Code example: void func( void ) { extern int e; //...
16
by: Wade Ward | last post by:
/* C version */ static unsigned long t,x=123456789,y=362436069,z=21288629,w=14921776,c=0; unsigned long KISS(){ x+=545925293; y^=(y<<13); y^=(y>>17); y^=(y<<5); t=z+w+c; z=w; c=(t>>31);...
7
by: jayapal | last post by:
Hi all, what is %p format specifier indicates in the printf statement? regards, Jay
2
by: Nathan Sokalski | last post by:
I am attempting to create icons for controls I have created using VB.NET by using the System.Drawing.ToolboxBitmap attribute. I have managed to do this in C# by specifying the path to the *.ico...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.