Skip to Main Content
WebSphere and .NET Coexistence
book

WebSphere and .NET Coexistence

by Peter Kovari, Victoria Amor, Jason Anderson, Darren Bassett, Jeremy Bauer, John Catlin, Paula Dantas, Han Wen Kam, Ajit Mungale, Kieran Scott, James Tussing
March 2004
Intermediate to advanced content levelIntermediate to advanced
606 pages
15h 16m
English
IBM Redbooks
Content preview from WebSphere and .NET Coexistence
340 WebSphere and .NET Coexistence
Example 8-3 RPC style method declaration
class rpcDemo {
[WebMethod]
public string getName(int id) {
// code comes here...
}
[WebMethod]
[SoapRpcMethod]
public int getID(string name) {
// code comes here...
}
}
The [SoapRpcService] attribute is useful when you wish to declare all Web
methods within a class to support the RPC style messaging format as opposed
to Document style messaging. In our example, we use the [SoapRpcService]
attribute before the declaration of class.
In Visual Studio, open the Calculator2WebServiceMethod.asmx file; this opens
the Design view. Select Click here to switch to code view.... You will find ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Reinventing the Organization for GenAI and LLMs

Reinventing the Organization for GenAI and LLMs

Ethan Mollick
Professional Application Lifecycle Management with Visual Studio 2013

Professional Application Lifecycle Management with Visual Studio 2013

Mickey Gousset, Martin Hinshelwood, Brian A. Randell, Brian Keller
SharePoint 2010 Enterprise Architect's Guidebook

SharePoint 2010 Enterprise Architect's Guidebook

Brian Wilson, Reza Alirezaei, Bill Baer, Martin Kearn
WebSphere Application Server V8.5 Concepts, Planning, and Design Guide

WebSphere Application Server V8.5 Concepts, Planning, and Design Guide

Jan Bajerski, Davide Barillari, Libor Cada, Susan Hanson, Guo Liang Huang, Rispna Jain, Shishir Narain, Jennifer Ricciuti, Christian Steege

Publisher Resources

ISBN: 0738498246Purchase book