Click here to Skip to main content
15,886,799 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionDesktop application "communicating" with ASP.NET Pin
The Junior4-Oct-17 23:02
The Junior4-Oct-17 23:02 
AnswerRe: Desktop application "communicating" with ASP.NET Pin
Atlapure Ambrish5-Oct-17 4:04
professionalAtlapure Ambrish5-Oct-17 4:04 
GeneralRe: Desktop application "communicating" with ASP.NET Pin
The Junior5-Oct-17 4:24
The Junior5-Oct-17 4:24 
SuggestionRe: Desktop application "communicating" with ASP.NET Pin
Richard Deeming5-Oct-17 4:08
mveRichard Deeming5-Oct-17 4:08 
GeneralRe: Desktop application "communicating" with ASP.NET Pin
The Junior5-Oct-17 4:21
The Junior5-Oct-17 4:21 
GeneralRe: Desktop application "communicating" with ASP.NET Pin
David Mujica5-Oct-17 9:08
David Mujica5-Oct-17 9:08 
GeneralRe: Desktop application "communicating" with ASP.NET Pin
The Junior5-Oct-17 21:34
The Junior5-Oct-17 21:34 
QuestionProgramming Chat supports video and audio and the number of connected high Pin
Member 1343772929-Sep-17 12:07
professionalMember 1343772929-Sep-17 12:07 
AnswerRe: Programming Chat supports video and audio and the number of connected high Pin
ZurdoDev2-Oct-17 4:10
professionalZurdoDev2-Oct-17 4:10 
QuestionImplementation advice for quiz with 4 choice questions Pin
Farhad Eft28-Sep-17 10:09
Farhad Eft28-Sep-17 10:09 
AnswerRe: Implementation advice for quiz with 4 choice questions Pin
Farhad Eft30-Sep-17 6:31
Farhad Eft30-Sep-17 6:31 
QuestionASP.NET authorization Pin
SaeedPol27-Sep-17 8:30
SaeedPol27-Sep-17 8:30 
AnswerRe: ASP.NET authorization Pin
The Junior5-Oct-17 4:34
The Junior5-Oct-17 4:34 
QuestionRepeater Template Desinging Pin
Member 1337195126-Sep-17 8:41
Member 1337195126-Sep-17 8:41 
AnswerRe: Repeater Template Desinging Pin
A_Griffin26-Sep-17 9:26
A_Griffin26-Sep-17 9:26 
GeneralRe: Repeater Template Desinging Pin
Member 1337195126-Sep-17 9:28
Member 1337195126-Sep-17 9:28 
GeneralRe: Repeater Template Desinging Pin
A_Griffin26-Sep-17 9:33
A_Griffin26-Sep-17 9:33 
GeneralRe: Repeater Template Desinging Pin
Member 1337195126-Sep-17 9:36
Member 1337195126-Sep-17 9:36 
GeneralRe: Repeater Template Desinging Pin
A_Griffin26-Sep-17 9:42
A_Griffin26-Sep-17 9:42 
GeneralRe: Repeater Template Desinging Pin
Member 1337195126-Sep-17 9:44
Member 1337195126-Sep-17 9:44 
AnswerRe: Repeater Template Desinging Pin
Rollin Shultz28-Sep-17 2:08
Rollin Shultz28-Sep-17 2:08 
QuestionHow can I properly use the Trace.Write() method inside of my for loop to print month and future values? Pin
Dorakta21-Sep-17 12:36
Dorakta21-Sep-17 12:36 
AnswerRe: How can I properly use the Trace.Write() method inside of my for loop to print month and future values? Pin
Richard Deeming22-Sep-17 2:11
mveRichard Deeming22-Sep-17 2:11 
QuestionSystem.ServiceModel.FaultException`1 occurred Pin
jkirkerx21-Sep-17 12:05
professionaljkirkerx21-Sep-17 12:05 
I wrote a UPS Rate Quote Service in c# using the supplied WSDL file.
So now I'm testing it, at first the error in transmitting the SOAP file was "An exception has been raised as a result of client data." and the catch would catch it using Exception. Same thing with FaultException.

I read the stack trace, it refers to the Soap call to ProcessRate(Security, Request) in reference.cs and went to line 6492 and 6499.
I wrote another class as the bare minimum and transmitted again and got the same result.

I really don't know how to proceed here.

Soap Call
try
{
   using (var client = new ups_rateService.RatePortTypeClient(new BasicHttpBinding(BasicHttpSecurityMode.Transport), new EndpointAddress(endpointUrl)))
  {   
      pResult = client.ProcessRate(Security, pRequest);
  }
}
catch (Exception e)
{
      Console.WriteLine(e.Message.ToString());
}
Resources.cs
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
        Indigo.Services.ups_rateService.RateResponse1 Indigo.Services.ups_rateService.RatePortType.ProcessRate(Indigo.Services.ups_rateService.RateRequest1 request) {
            return base.Channel.ProcessRate(request); // line 6492
        }

        public Indigo.Services.ups_rateService.RateResponse ProcessRate(Indigo.Services.ups_rateService.UPSSecurity UPSSecurity, Indigo.Services.ups_rateService.RateRequest RateRequest) {
            Indigo.Services.ups_rateService.RateRequest1 inValue = new Indigo.Services.ups_rateService.RateRequest1();
            inValue.UPSSecurity = UPSSecurity;
            inValue.RateRequest = RateRequest;

            // line 6499
            Indigo.Services.ups_rateService.RateResponse1 retVal = ((Indigo.Services.ups_rateService.RatePortType)(this)).ProcessRate(inValue);
            return retVal.RateResponse;
        }

Stack Trace
System.ServiceModel.FaultException`1 occurred
HResult=0x80131501
Message=An exception has been raised as a result of client data.
Source=mscorlib
StackTrace:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at Indigo.Services.ups_rateService.RatePortType.ProcessRate(RateRequest1 request)
at Indigo.Services.ups_rateService.RatePortTypeClient.Indigo.Services.ups_rateService.RatePortType.ProcessRate(RateRequest1 request) in J:\Indigo.Services\Service References\ups_rateService\Reference.cs:line 6492
at Indigo.Services.ups_rateService.RatePortTypeClient.ProcessRate(UPSSecurity UPSSecurity, RateRequest RateRequest) in J:\Indigo.Services\Service References\ups_rateService\Reference.cs:line 6499
at Indigo.Services.UPS_Soap_Rate.transmit_request(model_shipRates_rate_request p, RateRequest pRequest) in J:\Indigo.Services\Business Logic\Ship Processors\UPS\UPS_Soap_Rate.cs:line 203
If it ain't broke don't fix it

AnswerRe: System.ServiceModel.FaultException`1 occurred Pin
jkirkerx22-Sep-17 6:29
professionaljkirkerx22-Sep-17 6:29 

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.