Click here to Skip to main content
15,916,527 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: adding numeric values of two textboxes and displaying in third textbox. Pin
John Gathogo28-Sep-06 6:42
John Gathogo28-Sep-06 6:42 
QuestionRepeater and Runtime Pin
shapper28-Sep-06 4:23
shapper28-Sep-06 4:23 
AnswerRe: Repeater and Runtime Pin
Not Active28-Sep-06 5:05
mentorNot Active28-Sep-06 5:05 
QuestionRepeater and Label Pin
shapper28-Sep-06 4:01
shapper28-Sep-06 4:01 
AnswerRe: Repeater and Label Pin
Not Active28-Sep-06 4:09
mentorNot Active28-Sep-06 4:09 
AnswerRe: Repeater and Label Pin
Meax28-Sep-06 7:32
Meax28-Sep-06 7:32 
QuestionHow to build RPC BASED WEB SERVICE IN ASP.NET 2.0 Pin
Yuwraj28-Sep-06 2:17
Yuwraj28-Sep-06 2:17 
AnswerRe: How to build RPC BASED WEB SERVICE IN ASP.NET 2.0 Pin
Jim Conigliaro28-Sep-06 2:41
Jim Conigliaro28-Sep-06 2:41 
By default, Visual Studio creates document style web services. This can be a problem if you are calling the web service from a J2EE application becuase J2EE clients expect RPC style services by default. The good news is that it is easy to change the stype of your web service.

1. Add [SoapRpcService()] above your class declaration
2. Remove [WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)] from your web service class.

Let's look at the default web service visual studio provides when you create a new web services project:

/// DOCUMENT STYLE<br />
[WebService(Namespace = "http://tempuri.org/")]<br />
[WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]<br />
[ToolboxItem(false)]<br />
public class Service1 : System.Web.Services.WebService<br />
{<br />
    [WebMethod]<br />
    public string HelloWorld()<br />
    {<br />
        return "Hello World";<br />
    }<br />
}


Here is the same web service implemented RPC style

<br />
// RPC STYLE<br />
[WebService(Namespace = "http://tempuri.org/")]<br />
[ToolboxItem(false)]<br />
[SoapRpcService()]<br />
public class Service1 : System.Web.Services.WebService<br />
{<br />
    [WebMethod]<br />
    public string HelloWorld()<br />
    {<br />
        return "Hello World";<br />
    }<br />
}



GeneralRe: How to build RPC BASED WEB SERVICE IN ASP.NET 2.0 Pin
Yuwraj28-Sep-06 2:57
Yuwraj28-Sep-06 2:57 
GeneralRe: How to build RPC BASED WEB SERVICE IN ASP.NET 2.0 Pin
Yuwraj28-Sep-06 4:30
Yuwraj28-Sep-06 4:30 
GeneralRe: How to build RPC BASED WEB SERVICE IN ASP.NET 2.0 Pin
Jim Conigliaro28-Sep-06 4:40
Jim Conigliaro28-Sep-06 4:40 
GeneralRe: How to build RPC BASED WEB SERVICE IN ASP.NET 2.0 Pin
Yuwraj28-Sep-06 19:51
Yuwraj28-Sep-06 19:51 
GeneralRe: How to build RPC BASED WEB SERVICE IN ASP.NET 2.0 Pin
Jim Conigliaro29-Sep-06 2:12
Jim Conigliaro29-Sep-06 2:12 
QuestionChange value on Page1 from Page2 Pin
Nitin198128-Sep-06 1:29
Nitin198128-Sep-06 1:29 
AnswerRe: Change value on Page1 from Page2 Pin
ToddHileHoffer28-Sep-06 2:25
ToddHileHoffer28-Sep-06 2:25 
GeneralRe: Change value on Page1 from Page2 Pin
Nitin198128-Sep-06 2:59
Nitin198128-Sep-06 2:59 
AnswerRe: Change value on Page1 from Page2 Pin
Not Active28-Sep-06 2:29
mentorNot Active28-Sep-06 2:29 
GeneralRe: Change value on Page1 from Page2 Pin
Nitin198128-Sep-06 3:01
Nitin198128-Sep-06 3:01 
GeneralRe: Change value on Page1 from Page2 Pin
Not Active28-Sep-06 3:10
mentorNot Active28-Sep-06 3:10 
AnswerRe: Change value on Page1 from Page2 Pin
Guffa28-Sep-06 3:02
Guffa28-Sep-06 3:02 
QuestionIs there Any library in ASP.net 2.0 for email Pin
sabby200628-Sep-06 0:45
sabby200628-Sep-06 0:45 
AnswerRe: Is there Any library in ASP.net 2.0 for email Pin
Kevin McFarlane28-Sep-06 0:58
Kevin McFarlane28-Sep-06 0:58 
QuestionRequired Help ... Its Urgent Pin
Dotnetjunkie1528-Sep-06 0:40
Dotnetjunkie1528-Sep-06 0:40 
AnswerRe: Required Help ... Its Urgent Pin
Guffa28-Sep-06 1:21
Guffa28-Sep-06 1:21 
GeneralRe: Required Help ... Its Urgent Pin
Keith Barrow28-Sep-06 2:42
professionalKeith Barrow28-Sep-06 2:42 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.