Peggy,
First step would be to validate the vendor server and the settings they gave you.
Download SOAPUI. It’s a free tool that allow developers to connect to webservices directly and test the requests and responses.
When you open SOAPUI, choose to create a new project and enter the path to the wsdl that the vendor gave you. It will automatically create a skeleton request for you.
Fill in the ? fields with the data that you have below (dates are in yyyy-MM-dd format) and click the green arrow to send the response. Unless you can get back a response with all the data that you’re looking
for, it’s difficult to be able to debug any client application.
James Pritchett,
Sr. Software Engineer
Serials Solutions | 501 N. 34th St. Suite 300 | Seattle, WA 98103 USA
+1 206 336 7645 office
+1 253 709 0884 cell
james.pritchett@xxxxxxxxxxxxxxxxxxxx
Serials Solutions, a
Proquest business

Hello,
I am a complete newbie to SUSHI developing thus please forgive me if this is a silly question. One of our vendors developed a SUSHI Counter report wsdl for us and I am supposed to use the wsdl to create report. I knew nothing about the
service and they did not provide much detail either. All they told me is that the service is “working” and I am left on my own.
I am using .Net developing the report thus I add the web service through visual studio and I can see all class and objects and methods. I declared the ReportRequest, ReportResponse and Sushi Service and filled in the information I got from
the vendor. Then I called GetReport(ReportRequest) method and it threw a “System.Web.Services.Protocols.SoapHeaderException was unhandled by user code” error. I don’t know what I missed and since there’s very few information I can find online, I am completely
in the dark. Can someone help me? Below is my code.
Thanks.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using CounterReport;
namespace CounterReport
{
public partial
class _Default : System.Web.UI.Page
{
protected void Page_Load(object sender,
EventArgs e)
{
CounterReport.ReportRequest rr =
new CounterReport.ReportRequest();
rr.ID =
Guid.NewGuid().ToString();
rr.Created =
DateTime.Now;
rr.CreatedSpecified=true;
CounterReport.CustomerReference cr =
new CounterReport.CustomerReference();
cr.ID =
"000001047715";
CounterReport.ReportDefinition rd =
new CounterReport.ReportDefinition();
CounterReport.ReportDefinitionFilters filter =
new CounterReport.ReportDefinitionFilters();
CounterReport.Range range =
new CounterReport.Range();
range.Begin =
Convert.ToDateTime("2013-04-01");
range.End=
Convert.ToDateTime("2013-09-30");
filter.UsageDateRange = range;
rd.Filters = filter;
rd.Name =
"JR1";
rd.Release =
"4";
CounterReport.Requestor reqor =
new CounterReport.Requestor();
reqor.ID =
"demo";
reqor.Name =
"peggy";
reqor.Email =
"pmeng@xxxxxxxxxxxxxx";
rr.Requestor = reqor;
rr.CustomerReference = cr;
rr.ReportDefinition = rd;
CounterReport.SushiService ss =
new CounterReport.SushiService();
//site security certification expired, this is the way to bypass the security check
System.Net.ServicePointManager.ServerCertificateValidationCallback = (Sender, cert, chain, error) =>
{
return true;
};
CounterReport.ReportResponse rre =
new CounterReport.ReportResponse();
rre= ss.GetReport(rr);
}
}
Peggy Meng