nkroy
16 years agoNew Contributor
Why do i get different behavior when passing parameters to a method locally
So i am trying to pass some parameters to a method of mine and it passes every time locally
The test i am running basically passes an empty parameter to a field and tests how the system handles the error
but when i run it from soap UI i get a soap fault everytime. On a Browser when i hit the submit button having that null field it gracefully gives me an error
Will there be a reason behind this?
From the browser i get the results passing the same parameters as this
-
-
TrackableItemIDNotFound
Soapi UI error
System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.NullReferenceException: Object reference not set to an instance of an object.
at --(String sessionToken, String cacheCode, String tbCode, String trackingNumber, DateTime utcDateLogged, String message, Int32 logType)
--- End of inner exception stack trace ---
The test i am running basically passes an empty parameter to a field and tests how the system handles the error
but when i run it from soap UI i get a soap fault everytime. On a Browser when i hit the submit button having that null field it gracefully gives me an error
Will there be a reason behind this?
From the browser i get the results passing the same parameters as this
-
-
Soapi UI error
System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.NullReferenceException: Object reference not set to an instance of an object.
at --(String sessionToken, String cacheCode, String tbCode, String trackingNumber, DateTime utcDateLogged, String message, Int32 logType)
--- End of inner exception stack trace ---