/* soapClient.c
   Generated by gSOAP 2.7.9k from grisu_ws.h
   Copyright(C) 2000-2007, Robert van Engelen, Genivia Inc. All Rights Reserved.
   This part of the software is released under one of the following licenses:
   GPL, the gSOAP public license, or Genivia's license for commercial use.
*/
#include "soapH.h"
#ifdef __cplusplus
extern "C" {
#endif

SOAP_SOURCE_STAMP("@(#) soapClient.c ver 2.7.9k 2008-09-25 02:13:49 GMT")


SOAP_FMAC5 int SOAP_FMAC6 soap_call___ns1__getChildrenFiles(struct soap *soap, const char *soap_endpoint, const char *soap_action, struct _ns1__getChildrenFiles *ns1__getChildrenFiles, struct _ns1__getChildrenFilesResponse *ns1__getChildrenFilesResponse)
{	struct __ns1__getChildrenFiles soap_tmp___ns1__getChildrenFiles;
	if (!soap_endpoint)
		soap_endpoint = "https://ngportaldev.vpac.org/grisu-ws/services/grisu";
	if (!soap_action)
		soap_action = "";
	soap->encodingStyle = NULL;
	soap_tmp___ns1__getChildrenFiles.ns1__getChildrenFiles = ns1__getChildrenFiles;
	soap_begin(soap);
	soap_serializeheader(soap);
	soap_serialize___ns1__getChildrenFiles(soap, &soap_tmp___ns1__getChildrenFiles);
	if (soap_begin_count(soap))
		return soap->error;
	if (soap->mode & SOAP_IO_LENGTH)
	{	if (soap_envelope_begin_out(soap)
		 || soap_putheader(soap)
		 || soap_body_begin_out(soap)
		 || soap_put___ns1__getChildrenFiles(soap, &soap_tmp___ns1__getChildrenFiles, "-ns1:getChildrenFiles", "")
		 || soap_body_end_out(soap)
		 || soap_envelope_end_out(soap))
			 return soap->error;
	}
	if (soap_end_count(soap))
		return soap->error;
	if (soap_connect(soap, soap_endpoint, soap_action)
	 || soap_envelope_begin_out(soap)
	 || soap_putheader(soap)
	 || soap_body_begin_out(soap)
	 || soap_put___ns1__getChildrenFiles(soap, &soap_tmp___ns1__getChildrenFiles, "-ns1:getChildrenFiles", "")
	 || soap_body_end_out(soap)
	 || soap_envelope_end_out(soap)
	 || soap_end_send(soap))
		return soap_closesock(soap);
	soap_default__ns1__getChildrenFilesResponse(soap, ns1__getChildrenFilesResponse);
	if (soap_begin_recv(soap)
	 || soap_envelope_begin_in(soap)
	 || soap_recv_header(soap)
	 || soap_body_begin_in(soap))
		return soap_closesock(soap);
	soap_get__ns1__getChildrenFilesResponse(soap, ns1__getChildrenFilesResponse, "ns1:getChildrenFilesResponse", "");
	if (soap->error)
	{	if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2)
			return soap_recv_fault(soap);
		return soap_closesock(soap);
	}
	if (soap_body_end_in(soap)
	 || soap_envelope_end_in(soap)
	 || soap_end_recv(soap))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

SOAP_FMAC5 int SOAP_FMAC6 soap_call___ns1__getJobFqan(struct soap *soap, const char *soap_endpoint, const char *soap_action, struct _ns1__getJobFqan *ns1__getJobFqan, struct _ns1__getJobFqanResponse *ns1__getJobFqanResponse)
{	struct __ns1__getJobFqan soap_tmp___ns1__getJobFqan;
	if (!soap_endpoint)
		soap_endpoint = "https://ngportaldev.vpac.org/grisu-ws/services/grisu";
	if (!soap_action)
		soap_action = "";
	soap->encodingStyle = NULL;
	soap_tmp___ns1__getJobFqan.ns1__getJobFqan = ns1__getJobFqan;
	soap_begin(soap);
	soap_serializeheader(soap);
	soap_serialize___ns1__getJobFqan(soap, &soap_tmp___ns1__getJobFqan);
	if (soap_begin_count(soap))
		return soap->error;
	if (soap->mode & SOAP_IO_LENGTH)
	{	if (soap_envelope_begin_out(soap)
		 || soap_putheader(soap)
		 || soap_body_begin_out(soap)
		 || soap_put___ns1__getJobFqan(soap, &soap_tmp___ns1__getJobFqan, "-ns1:getJobFqan", "")
		 || soap_body_end_out(soap)
		 || soap_envelope_end_out(soap))
			 return soap->error;
	}
	if (soap_end_count(soap))
		return soap->error;
	if (soap_connect(soap, soap_endpoint, soap_action)
	 || soap_envelope_begin_out(soap)
	 || soap_putheader(soap)
	 || soap_body_begin_out(soap)
	 || soap_put___ns1__getJobFqan(soap, &soap_tmp___ns1__getJobFqan, "-ns1:getJobFqan", "")
	 || soap_body_end_out(soap)
	 || soap_envelope_end_out(soap)
	 || soap_end_send(soap))
		return soap_closesock(soap);
	soap_default__ns1__getJobFqanResponse(soap, ns1__getJobFqanResponse);
	if (soap_begin_recv(soap)
	 || soap_envelope_begin_in(soap)
	 || soap_recv_header(soap)
	 || soap_body_begin_in(soap))
		return soap_closesock(soap);
	soap_get__ns1__getJobFqanResponse(soap, ns1__getJobFqanResponse, "ns1:getJobFqanResponse", "");
	if (soap->error)
	{	if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2)
			return soap_recv_fault(soap);
		return soap_closesock(soap);
	}
	if (soap_body_end_in(soap)
	 || soap_envelope_end_in(soap)
	 || soap_end_recv(soap))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

SOAP_FMAC5 int SOAP_FMAC6 soap_call___ns1__mount(struct soap *soap, const char *soap_endpoint, const char *soap_action, struct _ns1__mount *ns1__mount, struct _ns1__mountResponse *ns1__mountResponse)
{	struct __ns1__mount soap_tmp___ns1__mount;
	if (!soap_endpoint)
		soap_endpoint = "https://ngportaldev.vpac.org/grisu-ws/services/grisu";
	if (!soap_action)
		soap_action = "";
	soap->encodingStyle = NULL;
	soap_tmp___ns1__mount.ns1__mount = ns1__mount;
	soap_begin(soap);
	soap_serializeheader(soap);
	soap_serialize___ns1__mount(soap, &soap_tmp___ns1__mount);
	if (soap_begin_count(soap))
		return soap->error;
	if (soap->mode & SOAP_IO_LENGTH)
	{	if (soap_envelope_begin_out(soap)
		 || soap_putheader(soap)
		 || soap_body_begin_out(soap)
		 || soap_put___ns1__mount(soap, &soap_tmp___ns1__mount, "-ns1:mount", "")
		 || soap_body_end_out(soap)
		 || soap_envelope_end_out(soap))
			 return soap->error;
	}
	if (soap_end_count(soap))
		return soap->error;
	if (soap_connect(soap, soap_endpoint, soap_action)
	 || soap_envelope_begin_out(soap)
	 || soap_putheader(soap)
	 || soap_body_begin_out(soap)
	 || soap_put___ns1__mount(soap, &soap_tmp___ns1__mount, "-ns1:mount", "")
	 || soap_body_end_out(soap)
	 || soap_envelope_end_out(soap)
	 || soap_end_send(soap))
		return soap_closesock(soap);
	soap_default__ns1__mountResponse(soap, ns1__mountResponse);
	if (soap_begin_recv(soap)
	 || soap_envelope_begin_in(soap)
	 || soap_recv_header(soap)
	 || soap_body_begin_in(soap))
		return soap_closesock(soap);
	soap_get__ns1__mountResponse(soap, ns1__mountResponse, "ns1:mountResponse", "");
	if (soap->error)
	{	if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2)
			return soap_recv_fault(soap);
		return soap_closesock(soap);
	}
	if (soap_body_end_in(soap)
	 || soap_envelope_end_in(soap)
	 || soap_end_recv(soap))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

SOAP_FMAC5 int SOAP_FMAC6 soap_call___ns1__login(struct soap *soap, const char *soap_endpoint, const char *soap_action, struct _ns1__login *ns1__login, struct _ns1__loginResponse *ns1__loginResponse)
{	struct __ns1__login soap_tmp___ns1__login;
	if (!soap_endpoint)
		soap_endpoint = "https://ngportaldev.vpac.org/grisu-ws/services/grisu";
	if (!soap_action)
		soap_action = "";
	soap->encodingStyle = NULL;
	soap_tmp___ns1__login.ns1__login = ns1__login;
	soap_begin(soap);
	soap_serializeheader(soap);
	soap_serialize___ns1__login(soap, &soap_tmp___ns1__login);
	if (soap_begin_count(soap))
		return soap->error;
	if (soap->mode & SOAP_IO_LENGTH)
	{	if (soap_envelope_begin_out(soap)
		 || soap_putheader(soap)
		 || soap_body_begin_out(soap)
		 || soap_put___ns1__login(soap, &soap_tmp___ns1__login, "-ns1:login", "")
		 || soap_body_end_out(soap)
		 || soap_envelope_end_out(soap))
			 return soap->error;
	}
	if (soap_end_count(soap))
		return soap->error;
	if (soap_connect(soap, soap_endpoint, soap_action)
	 || soap_envelope_begin_out(soap)
	 || soap_putheader(soap)
	 || soap_body_begin_out(soap)
	 || soap_put___ns1__login(soap, &soap_tmp___ns1__login, "-ns1:login", "")
	 || soap_body_end_out(soap)
	 || soap_envelope_end_out(soap)
	 || soap_end_send(soap))
		return soap_closesock(soap);
	soap_default__ns1__loginResponse(soap, ns1__loginResponse);
	if (soap_begin_recv(soap)
	 || soap_envelope_begin_in(soap)
	 || soap_recv_header(soap)
	 || soap_body_begin_in(soap))
		return soap_closesock(soap);
	soap_get__ns1__loginResponse(soap, ns1__loginResponse, "ns1:loginResponse", "");
	if (soap->error)
	{	if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2)
			return soap_recv_fault(soap);
		return soap_closesock(soap);
	}
	if (soap_body_end_in(soap)
	 || soap_envelope_end_in(soap)
	 || soap_end_recv(soap))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

SOAP_FMAC5 int SOAP_FMAC6 soap_call___ns1__getTemplate(struct soap *soap, const char *soap_endpoint, const char *soap_action, struct _ns1__getTemplate *ns1__getTemplate, struct _ns1__getTemplateResponse *ns1__getTemplateResponse)
{	struct __ns1__getTemplate soap_tmp___ns1__getTemplate;
	if (!soap_endpoint)
		soap_endpoint = "https://ngportaldev.vpac.org/grisu-ws/services/grisu";
	if (!soap_action)
		soap_action = "";
	soap->encodingStyle = NULL;
	soap_tmp___ns1__getTemplate.ns1__getTemplate = ns1__getTemplate;
	soap_begin(soap);
	soap_serializeheader(soap);
	soap_serialize___ns1__getTemplate(soap, &soap_tmp___ns1__getTemplate);
	if (soap_begin_count(soap))
		return soap->error;
	if (soap->mode & SOAP_IO_LENGTH)
	{	if (soap_envelope_begin_out(soap)
		 || soap_putheader(soap)
		 || soap_body_begin_out(soap)
		 || soap_put___ns1__getTemplate(soap, &soap_tmp___ns1__getTemplate, "-ns1:getTemplate", "")
		 || soap_body_end_out(soap)
		 || soap_envelope_end_out(soap))
			 return soap->error;
	}
	if (soap_end_count(soap))
		return soap->error;
	if (soap_connect(soap, soap_endpoint, soap_action)
	 || soap_envelope_begin_out(soap)
	 || soap_putheader(soap)
	 || soap_body_begin_out(soap)
	 || soap_put___ns1__getTemplate(soap, &soap_tmp___ns1__getTemplate, "-ns1:getTemplate", "")
	 || soap_body_end_out(soap)
	 || soap_envelope_end_out(soap)
	 || soap_end_send(soap))
		return soap_closesock(soap);
	soap_default__ns1__getTemplateResponse(soap, ns1__getTemplateResponse);
	if (soap_begin_recv(soap)
	 || soap_envelope_begin_in(soap)
	 || soap_recv_header(soap)
	 || soap_body_begin_in(soap))
		return soap_closesock(soap);
	soap_get__ns1__getTemplateResponse(soap, ns1__getTemplateResponse, "ns1:getTemplateResponse", "");
	if (soap->error)
	{	if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2)
			return soap_recv_fault(soap);
		return soap_closesock(soap);
	}
	if (soap_body_end_in(soap)
	 || soap_envelope_end_in(soap)
	 || soap_end_recv(soap))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

SOAP_FMAC5 int SOAP_FMAC6 soap_call___ns1__getFqans(struct soap *soap, const char *soap_endpoint, const char *soap_action, struct _ns1__getFqans *ns1__getFqans, struct _ns1__getFqansResponse *ns1__getFqansResponse)
{	struct __ns1__getFqans soap_tmp___ns1__getFqans;
	if (!soap_endpoint)
		soap_endpoint = "https://ngportaldev.vpac.org/grisu-ws/services/grisu";
	if (!soap_action)
		soap_action = "";
	soap->encodingStyle = NULL;
	soap_tmp___ns1__getFqans.ns1__getFqans = ns1__getFqans;
	soap_begin(soap);
	soap_serializeheader(soap);
	soap_serialize___ns1__getFqans(soap, &soap_tmp___ns1__getFqans);
	if (soap_begin_count(soap))
		return soap->error;
	if (soap->mode & SOAP_IO_LENGTH)
	{	if (soap_envelope_begin_out(soap)
		 || soap_putheader(soap)
		 || soap_body_begin_out(soap)
		 || soap_put___ns1__getFqans(soap, &soap_tmp___ns1__getFqans, "-ns1:getFqans", "")
		 || soap_body_end_out(soap)
		 || soap_envelope_end_out(soap))
			 return soap->error;
	}
	if (soap_end_count(soap))
		return soap->error;
	if (soap_connect(soap, soap_endpoint, soap_action)
	 || soap_envelope_begin_out(soap)
	 || soap_putheader(soap)
	 || soap_body_begin_out(soap)
	 || soap_put___ns1__getFqans(soap, &soap_tmp___ns1__getFqans, "-ns1:getFqans", "")
	 || soap_body_end_out(soap)
	 || soap_envelope_end_out(soap)
	 || soap_end_send(soap))
		return soap_closesock(soap);
	soap_default__ns1__getFqansResponse(soap, ns1__getFqansResponse);
	if (soap_begin_recv(soap)
	 || soap_envelope_begin_in(soap)
	 || soap_recv_header(soap)
	 || soap_body_begin_in(soap))
		return soap_closesock(soap);
	soap_get__ns1__getFqansResponse(soap, ns1__getFqansResponse, "ns1:getFqansResponse", "");
	if (soap->error)
	{	if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2)
			return soap_recv_fault(soap);
		return soap_closesock(soap);
	}
	if (soap_body_end_in(soap)
	 || soap_envelope_end_in(soap)
	 || soap_end_recv(soap))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

SOAP_FMAC5 int SOAP_FMAC6 soap_call___ns1__df(struct soap *soap, const char *soap_endpoint, const char *soap_action, struct _ns1__df *ns1__df, struct _ns1__dfResponse *ns1__dfResponse)
{	struct __ns1__df soap_tmp___ns1__df;
	if (!soap_endpoint)
		soap_endpoint = "https://ngportaldev.vpac.org/grisu-ws/services/grisu";
	if (!soap_action)
		soap_action = "";
	soap->encodingStyle = NULL;
	soap_tmp___ns1__df.ns1__df = ns1__df;
	soap_begin(soap);
	soap_serializeheader(soap);
	soap_serialize___ns1__df(soap, &soap_tmp___ns1__df);
	if (soap_begin_count(soap))
		return soap->error;
	if (soap->mode & SOAP_IO_LENGTH)
	{	if (soap_envelope_begin_out(soap)
		 || soap_putheader(soap)
		 || soap_body_begin_out(soap)
		 || soap_put___ns1__df(soap, &soap_tmp___ns1__df, "-ns1:df", "")
		 || soap_body_end_out(soap)
		 || soap_envelope_end_out(soap))
			 return soap->error;
	}
	if (soap_end_count(soap))
		return soap->error;
	if (soap_connect(soap, soap_endpoint, soap_action)
	 || soap_envelope_begin_out(soap)
	 || soap_putheader(soap)
	 || soap_body_begin_out(soap)
	 || soap_put___ns1__df(soap, &soap_tmp___ns1__df, "-ns1:df", "")
	 || soap_body_end_out(soap)
	 || soap_envelope_end_out(soap)
	 || soap_end_send(soap))
		return soap_closesock(soap);
	soap_default__ns1__dfResponse(soap, ns1__dfResponse);
	if (soap_begin_recv(soap)
	 || soap_envelope_begin_in(soap)
	 || soap_recv_header(soap)
	 || soap_body_begin_in(soap))
		return soap_closesock(soap);
	soap_get__ns1__dfResponse(soap, ns1__dfResponse, "ns1:dfResponse", "");
	if (soap->error)
	{	if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2)
			return soap_recv_fault(soap);
		return soap_closesock(soap);
	}
	if (soap_body_end_in(soap)
	 || soap_envelope_end_in(soap)
	 || soap_end_recv(soap))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

SOAP_FMAC5 int SOAP_FMAC6 soap_call___ns1__downloadByteArray(struct soap *soap, const char *soap_endpoint, const char *soap_action, struct _ns1__downloadByteArray *ns1__downloadByteArray, struct _ns1__downloadByteArrayResponse *ns1__downloadByteArrayResponse)
{	struct __ns1__downloadByteArray soap_tmp___ns1__downloadByteArray;
	if (!soap_endpoint)
		soap_endpoint = "https://ngportaldev.vpac.org/grisu-ws/services/grisu";
	if (!soap_action)
		soap_action = "";
	soap->encodingStyle = NULL;
	soap_tmp___ns1__downloadByteArray.ns1__downloadByteArray = ns1__downloadByteArray;
	soap_begin(soap);
	soap_serializeheader(soap);
	soap_serialize___ns1__downloadByteArray(soap, &soap_tmp___ns1__downloadByteArray);
	if (soap_begin_count(soap))
		return soap->error;
	if (soap->mode & SOAP_IO_LENGTH)
	{	if (soap_envelope_begin_out(soap)
		 || soap_putheader(soap)
		 || soap_body_begin_out(soap)
		 || soap_put___ns1__downloadByteArray(soap, &soap_tmp___ns1__downloadByteArray, "-ns1:downloadByteArray", "")
		 || soap_body_end_out(soap)
		 || soap_envelope_end_out(soap))
			 return soap->error;
	}
	if (soap_end_count(soap))
		return soap->error;
	if (soap_connect(soap, soap_endpoint, soap_action)
	 || soap_envelope_begin_out(soap)
	 || soap_putheader(soap)
	 || soap_body_begin_out(soap)
	 || soap_put___ns1__downloadByteArray(soap, &soap_tmp___ns1__downloadByteArray, "-ns1:downloadByteArray", "")
	 || soap_body_end_out(soap)
	 || soap_envelope_end_out(soap)
	 || soap_end_send(soap))
		return soap_closesock(soap);
	soap_default__ns1__downloadByteArrayResponse(soap, ns1__downloadByteArrayResponse);
	if (soap_begin_recv(soap)
	 || soap_envelope_begin_in(soap)
	 || soap_recv_header(soap)
	 || soap_body_begin_in(soap))
		return soap_closesock(soap);
	soap_get__ns1__downloadByteArrayResponse(soap, ns1__downloadByteArrayResponse, "ns1:downloadByteArrayResponse", "");
	if (soap->error)
	{	if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2)
			return soap_recv_fault(soap);
		return soap_closesock(soap);
	}
	if (soap_body_end_in(soap)
	 || soap_envelope_end_in(soap)
	 || soap_end_recv(soap))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

SOAP_FMAC5 int SOAP_FMAC6 soap_call___ns1__getSubmissionLocationsForApplication2(struct soap *soap, const char *soap_endpoint, const char *soap_action, struct _ns1__getSubmissionLocationsForApplication2 *ns1__getSubmissionLocationsForApplication2, struct _ns1__getSubmissionLocationsForApplication2Response *ns1__getSubmissionLocationsForApplication2Response)
{	struct __ns1__getSubmissionLocationsForApplication2 soap_tmp___ns1__getSubmissionLocationsForApplication2;
	if (!soap_endpoint)
		soap_endpoint = "https://ngportaldev.vpac.org/grisu-ws/services/grisu";
	if (!soap_action)
		soap_action = "";
	soap->encodingStyle = NULL;
	soap_tmp___ns1__getSubmissionLocationsForApplication2.ns1__getSubmissionLocationsForApplication2 = ns1__getSubmissionLocationsForApplication2;
	soap_begin(soap);
	soap_serializeheader(soap);
	soap_serialize___ns1__getSubmissionLocationsForApplication2(soap, &soap_tmp___ns1__getSubmissionLocationsForApplication2);
	if (soap_begin_count(soap))
		return soap->error;
	if (soap->mode & SOAP_IO_LENGTH)
	{	if (soap_envelope_begin_out(soap)
		 || soap_putheader(soap)
		 || soap_body_begin_out(soap)
		 || soap_put___ns1__getSubmissionLocationsForApplication2(soap, &soap_tmp___ns1__getSubmissionLocationsForApplication2, "-ns1:getSubmissionLocationsForApplication2", "")
		 || soap_body_end_out(soap)
		 || soap_envelope_end_out(soap))
			 return soap->error;
	}
	if (soap_end_count(soap))
		return soap->error;
	if (soap_connect(soap, soap_endpoint, soap_action)
	 || soap_envelope_begin_out(soap)
	 || soap_putheader(soap)
	 || soap_body_begin_out(soap)
	 || soap_put___ns1__getSubmissionLocationsForApplication2(soap, &soap_tmp___ns1__getSubmissionLocationsForApplication2, "-ns1:getSubmissionLocationsForApplication2", "")
	 || soap_body_end_out(soap)
	 || soap_envelope_end_out(soap)
	 || soap_end_send(soap))
		return soap_closesock(soap);
	soap_default__ns1__getSubmissionLocationsForApplication2Response(soap, ns1__getSubmissionLocationsForApplication2Response);
	if (soap_begin_recv(soap)
	 || soap_envelope_begin_in(soap)
	 || soap_recv_header(soap)
	 || soap_body_begin_in(soap))
		return soap_closesock(soap);
	soap_get__ns1__getSubmissionLocationsForApplication2Response(soap, ns1__getSubmissionLocationsForApplication2Response, "ns1:getSubmissionLocationsForApplication2Response", "");
	if (soap->error)
	{	if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2)
			return soap_recv_fault(soap);
		return soap_closesock(soap);
	}
	if (soap_body_end_in(soap)
	 || soap_envelope_end_in(soap)
	 || soap_end_recv(soap))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

SOAP_FMAC5 int SOAP_FMAC6 soap_call___ns1__ps(struct soap *soap, const char *soap_endpoint, const char *soap_action, struct _ns1__ps *ns1__ps, struct _ns1__psResponse *ns1__psResponse)
{	struct __ns1__ps soap_tmp___ns1__ps;
	if (!soap_endpoint)
		soap_endpoint = "https://ngportaldev.vpac.org/grisu-ws/services/grisu";
	if (!soap_action)
		soap_action = "";
	soap->encodingStyle = NULL;
	soap_tmp___ns1__ps.ns1__ps = ns1__ps;
	soap_begin(soap);
	soap_serializeheader(soap);
	soap_serialize___ns1__ps(soap, &soap_tmp___ns1__ps);
	if (soap_begin_count(soap))
		return soap->error;
	if (soap->mode & SOAP_IO_LENGTH)
	{	if (soap_envelope_begin_out(soap)
		 || soap_putheader(soap)
		 || soap_body_begin_out(soap)
		 || soap_put___ns1__ps(soap, &soap_tmp___ns1__ps, "-ns1:ps", "")
		 || soap_body_end_out(soap)
		 || soap_envelope_end_out(soap))
			 return soap->error;
	}
	if (soap_end_count(soap))
		return soap->error;
	if (soap_connect(soap, soap_endpoint, soap_action)
	 || soap_envelope_begin_out(soap)
	 || soap_putheader(soap)
	 || soap_body_begin_out(soap)
	 || soap_put___ns1__ps(soap, &soap_tmp___ns1__ps, "-ns1:ps", "")
	 || soap_body_end_out(soap)
	 || soap_envelope_end_out(soap)
	 || soap_end_send(soap))
		return soap_closesock(soap);
	soap_default__ns1__psResponse(soap, ns1__psResponse);
	if (soap_begin_recv(soap)
	 || soap_envelope_begin_in(soap)
	 || soap_recv_header(soap)
	 || soap_body_begin_in(soap))
		return soap_closesock(soap);
	soap_get__ns1__psResponse(soap, ns1__psResponse, "ns1:psResponse", "");
	if (soap->error)
	{	if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2)
			return soap_recv_fault(soap);
		return soap_closesock(soap);
	}
	if (soap_body_end_in(soap)
	 || soap_envelope_end_in(soap)
	 || soap_end_recv(soap))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

SOAP_FMAC5 int SOAP_FMAC6 soap_call___ns1__getStagingFileSystemForSubmissionLocation(struct soap *soap, const char *soap_endpoint, const char *soap_action, struct _ns1__getStagingFileSystemForSubmissionLocation *ns1__getStagingFileSystemForSubmissionLocation, struct _ns1__getStagingFileSystemForSubmissionLocationResponse *ns1__getStagingFileSystemForSubmissionLocationResponse)
{	struct __ns1__getStagingFileSystemForSubmissionLocation soap_tmp___ns1__getStagingFileSystemForSubmissionLocation;
	if (!soap_endpoint)
		soap_endpoint = "https://ngportaldev.vpac.org/grisu-ws/services/grisu";
	if (!soap_action)
		soap_action = "";
	soap->encodingStyle = NULL;
	soap_tmp___ns1__getStagingFileSystemForSubmissionLocation.ns1__getStagingFileSystemForSubmissionLocation = ns1__getStagingFileSystemForSubmissionLocation;
	soap_begin(soap);
	soap_serializeheader(soap);
	soap_serialize___ns1__getStagingFileSystemForSubmissionLocation(soap, &soap_tmp___ns1__getStagingFileSystemForSubmissionLocation);
	if (soap_begin_count(soap))
		return soap->error;
	if (soap->mode & SOAP_IO_LENGTH)
	{	if (soap_envelope_begin_out(soap)
		 || soap_putheader(soap)
		 || soap_body_begin_out(soap)
		 || soap_put___ns1__getStagingFileSystemForSubmissionLocation(soap, &soap_tmp___ns1__getStagingFileSystemForSubmissionLocation, "-ns1:getStagingFileSystemForSubmissionLocation", "")
		 || soap_body_end_out(soap)
		 || soap_envelope_end_out(soap))
			 return soap->error;
	}
	if (soap_end_count(soap))
		return soap->error;
	if (soap_connect(soap, soap_endpoint, soap_action)
	 || soap_envelope_begin_out(soap)
	 || soap_putheader(soap)
	 || soap_body_begin_out(soap)
	 || soap_put___ns1__getStagingFileSystemForSubmissionLocation(soap, &soap_tmp___ns1__getStagingFileSystemForSubmissionLocation, "-ns1:getStagingFileSystemForSubmissionLocation", "")
	 || soap_body_end_out(soap)
	 || soap_envelope_end_out(soap)
	 || soap_end_send(soap))
		return soap_closesock(soap);
	soap_default__ns1__getStagingFileSystemForSubmissionLocationResponse(soap, ns1__getStagingFileSystemForSubmissionLocationResponse);
	if (soap_begin_recv(soap)
	 || soap_envelope_begin_in(soap)
	 || soap_recv_header(soap)
	 || soap_body_begin_in(soap))
		return soap_closesock(soap);
	soap_get__ns1__getStagingFileSystemForSubmissionLocationResponse(soap, ns1__getStagingFileSystemForSubmissionLocationResponse, "ns1:getStagingFileSystemForSubmissionLocationResponse", "");
	if (soap->error)
	{	if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2)
			return soap_recv_fault(soap);
		return soap_closesock(soap);
	}
	if (soap_body_end_in(soap)
	 || soap_envelope_end_in(soap)
	 || soap_end_recv(soap))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

SOAP_FMAC5 int SOAP_FMAC6 soap_call___ns1__getUserProperty(struct soap *soap, const char *soap_endpoint, const char *soap_action, struct _ns1__getUserProperty *ns1__getUserProperty, struct _ns1__getUserPropertyResponse *ns1__getUserPropertyResponse)
{	struct __ns1__getUserProperty soap_tmp___ns1__getUserProperty;
	if (!soap_endpoint)
		soap_endpoint = "https://ngportaldev.vpac.org/grisu-ws/services/grisu";
	if (!soap_action)
		soap_action = "";
	soap->encodingStyle = NULL;
	soap_tmp___ns1__getUserProperty.ns1__getUserProperty = ns1__getUserProperty;
	soap_begin(soap);
	soap_serializeheader(soap);
	soap_serialize___ns1__getUserProperty(soap, &soap_tmp___ns1__getUserProperty);
	if (soap_begin_count(soap))
		return soap->error;
	if (soap->mode & SOAP_IO_LENGTH)
	{	if (soap_envelope_begin_out(soap)
		 || soap_putheader(soap)
		 || soap_body_begin_out(soap)
		 || soap_put___ns1__getUserProperty(soap, &soap_tmp___ns1__getUserProperty, "-ns1:getUserProperty", "")
		 || soap_body_end_out(soap)
		 || soap_envelope_end_out(soap))
			 return soap->error;
	}
	if (soap_end_count(soap))
		return soap->error;
	if (soap_connect(soap, soap_endpoint, soap_action)
	 || soap_envelope_begin_out(soap)
	 || soap_putheader(soap)
	 || soap_body_begin_out(soap)
	 || soap_put___ns1__getUserProperty(soap, &soap_tmp___ns1__getUserProperty, "-ns1:getUserProperty", "")
	 || soap_body_end_out(soap)
	 || soap_envelope_end_out(soap)
	 || soap_end_send(soap))
		return soap_closesock(soap);
	soap_default__ns1__getUserPropertyResponse(soap, ns1__getUserPropertyResponse);
	if (soap_begin_recv(soap)
	 || soap_envelope_begin_in(soap)
	 || soap_recv_header(soap)
	 || soap_body_begin_in(soap))
		return soap_closesock(soap);
	soap_get__ns1__getUserPropertyResponse(soap, ns1__getUserPropertyResponse, "ns1:getUserPropertyResponse", "");
	if (soap->error)
	{	if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2)
			return soap_recv_fault(soap);
		return soap_closesock(soap);
	}
	if (soap_body_end_in(soap)
	 || soap_envelope_end_in(soap)
	 || soap_end_recv(soap))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

SOAP_FMAC5 int SOAP_FMAC6 soap_call___ns1__mkdir(struct soap *soap, const char *soap_endpoint, const char *soap_action, struct _ns1__mkdir *ns1__mkdir, struct _ns1__mkdirResponse *ns1__mkdirResponse)
{	struct __ns1__mkdir soap_tmp___ns1__mkdir;
	if (!soap_endpoint)
		soap_endpoint = "https://ngportaldev.vpac.org/grisu-ws/services/grisu";
	if (!soap_action)
		soap_action = "";
	soap->encodingStyle = NULL;
	soap_tmp___ns1__mkdir.ns1__mkdir = ns1__mkdir;
	soap_begin(soap);
	soap_serializeheader(soap);
	soap_serialize___ns1__mkdir(soap, &soap_tmp___ns1__mkdir);
	if (soap_begin_count(soap))
		return soap->error;
	if (soap->mode & SOAP_IO_LENGTH)
	{	if (soap_envelope_begin_out(soap)
		 || soap_putheader(soap)
		 || soap_body_begin_out(soap)
		 || soap_put___ns1__mkdir(soap, &soap_tmp___ns1__mkdir, "-ns1:mkdir", "")
		 || soap_body_end_out(soap)
		 || soap_envelope_end_out(soap))
			 return soap->error;
	}
	if (soap_end_count(soap))
		return soap->error;
	if (soap_connect(soap, soap_endpoint, soap_action)
	 || soap_envelope_begin_out(soap)
	 || soap_putheader(soap)
	 || soap_body_begin_out(soap)
	 || soap_put___ns1__mkdir(soap, &soap_tmp___ns1__mkdir, "-ns1:mkdir", "")
	 || soap_body_end_out(soap)
	 || soap_envelope_end_out(soap)
	 || soap_end_send(soap))
		return soap_closesock(soap);
	soap_default__ns1__mkdirResponse(soap, ns1__mkdirResponse);
	if (soap_begin_recv(soap)
	 || soap_envelope_begin_in(soap)
	 || soap_recv_header(soap)
	 || soap_body_begin_in(soap))
		return soap_closesock(soap);
	soap_get__ns1__mkdirResponse(soap, ns1__mkdirResponse, "ns1:mkdirResponse", "");
	if (soap->error)
	{	if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2)
			return soap_recv_fault(soap);
		return soap_closesock(soap);
	}
	if (soap_body_end_in(soap)
	 || soap_envelope_end_in(soap)
	 || soap_end_recv(soap))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

SOAP_FMAC5 int SOAP_FMAC6 soap_call___ns1__getDataLocationsForVO(struct soap *soap, const char *soap_endpoint, const char *soap_action, struct _ns1__getDataLocationsForVO *ns1__getDataLocationsForVO, struct _ns1__getDataLocationsForVOResponse *ns1__getDataLocationsForVOResponse)
{	struct __ns1__getDataLocationsForVO soap_tmp___ns1__getDataLocationsForVO;
	if (!soap_endpoint)
		soap_endpoint = "https://ngportaldev.vpac.org/grisu-ws/services/grisu";
	if (!soap_action)
		soap_action = "";
	soap->encodingStyle = NULL;
	soap_tmp___ns1__getDataLocationsForVO.ns1__getDataLocationsForVO = ns1__getDataLocationsForVO;
	soap_begin(soap);
	soap_serializeheader(soap);
	soap_serialize___ns1__getDataLocationsForVO(soap, &soap_tmp___ns1__getDataLocationsForVO);
	if (soap_begin_count(soap))
		return soap->error;
	if (soap->mode & SOAP_IO_LENGTH)
	{	if (soap_envelope_begin_out(soap)
		 || soap_putheader(soap)
		 || soap_body_begin_out(soap)
		 || soap_put___ns1__getDataLocationsForVO(soap, &soap_tmp___ns1__getDataLocationsForVO, "-ns1:getDataLocationsForVO", "")
		 || soap_body_end_out(soap)
		 || soap_envelope_end_out(soap))
			 return soap->error;
	}
	if (soap_end_count(soap))
		return soap->error;
	if (soap_connect(soap, soap_endpoint, soap_action)
	 || soap_envelope_begin_out(soap)
	 || soap_putheader(soap)
	 || soap_body_begin_out(soap)
	 || soap_put___ns1__getDataLocationsForVO(soap, &soap_tmp___ns1__getDataLocationsForVO, "-ns1:getDataLocationsForVO", "")
	 || soap_body_end_out(soap)
	 || soap_envelope_end_out(soap)
	 || soap_end_send(soap))
		return soap_closesock(soap);
	soap_default__ns1__getDataLocationsForVOResponse(soap, ns1__getDataLocationsForVOResponse);
	if (soap_begin_recv(soap)
	 || soap_envelope_begin_in(soap)
	 || soap_recv_header(soap)
	 || soap_body_begin_in(soap))
		return soap_closesock(soap);
	soap_get__ns1__getDataLocationsForVOResponse(soap, ns1__getDataLocationsForVOResponse, "ns1:getDataLocationsForVOResponse", "");
	if (soap->error)
	{	if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2)
			return soap_recv_fault(soap);
		return soap_closesock(soap);
	}
	if (soap_body_end_in(soap)
	 || soap_envelope_end_in(soap)
	 || soap_end_recv(soap))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

SOAP_FMAC5 int SOAP_FMAC6 soap_call___ns1__getSubmissionLocationsPerVersionOfApplication(struct soap *soap, const char *soap_endpoint, const char *soap_action, struct _ns1__getSubmissionLocationsPerVersionOfApplication *ns1__getSubmissionLocationsPerVersionOfApplication, struct _ns1__getSubmissionLocationsPerVersionOfApplicationResponse *ns1__getSubmissionLocationsPerVersionOfApplicationResponse)
{	struct __ns1__getSubmissionLocationsPerVersionOfApplication soap_tmp___ns1__getSubmissionLocationsPerVersionOfApplication;
	if (!soap_endpoint)
		soap_endpoint = "https://ngportaldev.vpac.org/grisu-ws/services/grisu";
	if (!soap_action)
		soap_action = "";
	soap->encodingStyle = NULL;
	soap_tmp___ns1__getSubmissionLocationsPerVersionOfApplication.ns1__getSubmissionLocationsPerVersionOfApplication = ns1__getSubmissionLocationsPerVersionOfApplication;
	soap_begin(soap);
	soap_serializeheader(soap);
	soap_serialize___ns1__getSubmissionLocationsPerVersionOfApplication(soap, &soap_tmp___ns1__getSubmissionLocationsPerVersionOfApplication);
	if (soap_begin_count(soap))
		return soap->error;
	if (soap->mode & SOAP_IO_LENGTH)
	{	if (soap_envelope_begin_out(soap)
		 || soap_putheader(soap)
		 || soap_body_begin_out(soap)
		 || soap_put___ns1__getSubmissionLocationsPerVersionOfApplication(soap, &soap_tmp___ns1__getSubmissionLocationsPerVersionOfApplication, "-ns1:getSubmissionLocationsPerVersionOfApplication", "")
		 || soap_body_end_out(soap)
		 || soap_envelope_end_out(soap))
			 return soap->error;
	}
	if (soap_end_count(soap))
		return soap->error;
	if (soap_connect(soap, soap_endpoint, soap_action)
	 || soap_envelope_begin_out(soap)
	 || soap_putheader(soap)
	 || soap_body_begin_out(soap)
	 || soap_put___ns1__getSubmissionLocationsPerVersionOfApplication(soap, &soap_tmp___ns1__getSubmissionLocationsPerVersionOfApplication, "-ns1:getSubmissionLocationsPerVersionOfApplication", "")
	 || soap_body_end_out(soap)
	 || soap_envelope_end_out(soap)
	 || soap_end_send(soap))
		return soap_closesock(soap);
	soap_default__ns1__getSubmissionLocationsPerVersionOfApplicationResponse(soap, ns1__getSubmissionLocationsPerVersionOfApplicationResponse);
	if (soap_begin_recv(soap)
	 || soap_envelope_begin_in(soap)
	 || soap_recv_header(soap)
	 || soap_body_begin_in(soap))
		return soap_closesock(soap);
	soap_get__ns1__getSubmissionLocationsPerVersionOfApplicationResponse(soap, ns1__getSubmissionLocationsPerVersionOfApplicationResponse, "ns1:getSubmissionLocationsPerVersionOfApplicationResponse", "");
	if (soap->error)
	{	if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2)
			return soap_recv_fault(soap);
		return soap_closesock(soap);
	}
	if (soap_body_end_in(soap)
	 || soap_envelope_end_in(soap)
	 || soap_end_recv(soap))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

SOAP_FMAC5 int SOAP_FMAC6 soap_call___ns1__getTemplate1(struct soap *soap, const char *soap_endpoint, const char *soap_action, struct _ns1__getTemplate1 *ns1__getTemplate1, struct _ns1__getTemplate1Response *ns1__getTemplate1Response)
{	struct __ns1__getTemplate1 soap_tmp___ns1__getTemplate1;
	if (!soap_endpoint)
		soap_endpoint = "https://ngportaldev.vpac.org/grisu-ws/services/grisu";
	if (!soap_action)
		soap_action = "";
	soap->encodingStyle = NULL;
	soap_tmp___ns1__getTemplate1.ns1__getTemplate1 = ns1__getTemplate1;
	soap_begin(soap);
	soap_serializeheader(soap);
	soap_serialize___ns1__getTemplate1(soap, &soap_tmp___ns1__getTemplate1);
	if (soap_begin_count(soap))
		return soap->error;
	if (soap->mode & SOAP_IO_LENGTH)
	{	if (soap_envelope_begin_out(soap)
		 || soap_putheader(soap)
		 || soap_body_begin_out(soap)
		 || soap_put___ns1__getTemplate1(soap, &soap_tmp___ns1__getTemplate1, "-ns1:getTemplate1", "")
		 || soap_body_end_out(soap)
		 || soap_envelope_end_out(soap))
			 return soap->error;
	}
	if (soap_end_count(soap))
		return soap->error;
	if (soap_connect(soap, soap_endpoint, soap_action)
	 || soap_envelope_begin_out(soap)
	 || soap_putheader(soap)
	 || soap_body_begin_out(soap)
	 || soap_put___ns1__getTemplate1(soap, &soap_tmp___ns1__getTemplate1, "-ns1:getTemplate1", "")
	 || soap_body_end_out(soap)
	 || soap_envelope_end_out(soap)
	 || soap_end_send(soap))
		return soap_closesock(soap);
	soap_default__ns1__getTemplate1Response(soap, ns1__getTemplate1Response);
	if (soap_begin_recv(soap)
	 || soap_envelope_begin_in(soap)
	 || soap_recv_header(soap)
	 || soap_body_begin_in(soap))
		return soap_closesock(soap);
	soap_get__ns1__getTemplate1Response(soap, ns1__getTemplate1Response, "ns1:getTemplate1Response", "");
	if (soap->error)
	{	if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2)
			return soap_recv_fault(soap);
		return soap_closesock(soap);
	}
	if (soap_body_end_in(soap)
	 || soap_envelope_end_in(soap)
	 || soap_end_recv(soap))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

SOAP_FMAC5 int SOAP_FMAC6 soap_call___ns1__downloadByteArray1(struct soap *soap, const char *soap_endpoint, const char *soap_action, struct _ns1__downloadByteArray1 *ns1__downloadByteArray1, struct _ns1__downloadByteArray1Response *ns1__downloadByteArray1Response)
{	struct __ns1__downloadByteArray1 soap_tmp___ns1__downloadByteArray1;
	if (!soap_endpoint)
		soap_endpoint = "https://ngportaldev.vpac.org/grisu-ws/services/grisu";
	if (!soap_action)
		soap_action = "";
	soap->encodingStyle = NULL;
	soap_tmp___ns1__downloadByteArray1.ns1__downloadByteArray1 = ns1__downloadByteArray1;
	soap_begin(soap);
	soap_serializeheader(soap);
	soap_serialize___ns1__downloadByteArray1(soap, &soap_tmp___ns1__downloadByteArray1);
	if (soap_begin_count(soap))
		return soap->error;
	if (soap->mode & SOAP_IO_LENGTH)
	{	if (soap_envelope_begin_out(soap)
		 || soap_putheader(soap)
		 || soap_body_begin_out(soap)
		 || soap_put___ns1__downloadByteArray1(soap, &soap_tmp___ns1__downloadByteArray1, "-ns1:downloadByteArray1", "")
		 || soap_body_end_out(soap)
		 || soap_envelope_end_out(soap))
			 return soap->error;
	}
	if (soap_end_count(soap))
		return soap->error;
	if (soap_connect(soap, soap_endpoint, soap_action)
	 || soap_envelope_begin_out(soap)
	 || soap_putheader(soap)
	 || soap_body_begin_out(soap)
	 || soap_put___ns1__downloadByteArray1(soap, &soap_tmp___ns1__downloadByteArray1, "-ns1:downloadByteArray1", "")
	 || soap_body_end_out(soap)
	 || soap_envelope_end_out(soap)
	 || soap_end_send(soap))
		return soap_closesock(soap);
	soap_default__ns1__downloadByteArray1Response(soap, ns1__downloadByteArray1Response);
	if (soap_begin_recv(soap)
	 || soap_envelope_begin_in(soap)
	 || soap_recv_header(soap)
	 || soap_body_begin_in(soap))
		return soap_closesock(soap);
	soap_get__ns1__downloadByteArray1Response(soap, ns1__downloadByteArray1Response, "ns1:downloadByteArray1Response", "");
	if (soap->error)
	{	if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2)
			return soap_recv_fault(soap);
		return soap_closesock(soap);
	}
	if (soap_body_end_in(soap)
	 || soap_envelope_end_in(soap)
	 || soap_end_recv(soap))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

SOAP_FMAC5 int SOAP_FMAC6 soap_call___ns1__listHostedApplicationTemplates(struct soap *soap, const char *soap_endpoint, const char *soap_action, struct _ns1__listHostedApplicationTemplates *ns1__listHostedApplicationTemplates, struct _ns1__listHostedApplicationTemplatesResponse *ns1__listHostedApplicationTemplatesResponse)
{	struct __ns1__listHostedApplicationTemplates soap_tmp___ns1__listHostedApplicationTemplates;
	if (!soap_endpoint)
		soap_endpoint = "https://ngportaldev.vpac.org/grisu-ws/services/grisu";
	if (!soap_action)
		soap_action = "";
	soap->encodingStyle = NULL;
	soap_tmp___ns1__listHostedApplicationTemplates.ns1__listHostedApplicationTemplates = ns1__listHostedApplicationTemplates;
	soap_begin(soap);
	soap_serializeheader(soap);
	soap_serialize___ns1__listHostedApplicationTemplates(soap, &soap_tmp___ns1__listHostedApplicationTemplates);
	if (soap_begin_count(soap))
		return soap->error;
	if (soap->mode & SOAP_IO_LENGTH)
	{	if (soap_envelope_begin_out(soap)
		 || soap_putheader(soap)
		 || soap_body_begin_out(soap)
		 || soap_put___ns1__listHostedApplicationTemplates(soap, &soap_tmp___ns1__listHostedApplicationTemplates, "-ns1:listHostedApplicationTemplates", "")
		 || soap_body_end_out(soap)
		 || soap_envelope_end_out(soap))
			 return soap->error;
	}
	if (soap_end_count(soap))
		return soap->error;
	if (soap_connect(soap, soap_endpoint, soap_action)
	 || soap_envelope_begin_out(soap)
	 || soap_putheader(soap)
	 || soap_body_begin_out(soap)
	 || soap_put___ns1__listHostedApplicationTemplates(soap, &soap_tmp___ns1__listHostedApplicationTemplates, "-ns1:listHostedApplicationTemplates", "")
	 || soap_body_end_out(soap)
	 || soap_envelope_end_out(soap)
	 || soap_end_send(soap))
		return soap_closesock(soap);
	soap_default__ns1__listHostedApplicationTemplatesResponse(soap, ns1__listHostedApplicationTemplatesResponse);
	if (soap_begin_recv(soap)
	 || soap_envelope_begin_in(soap)
	 || soap_recv_header(soap)
	 || soap_body_begin_in(soap))
		return soap_closesock(soap);
	soap_get__ns1__listHostedApplicationTemplatesResponse(soap, ns1__listHostedApplicationTemplatesResponse, "ns1:listHostedApplicationTemplatesResponse", "");
	if (soap->error)
	{	if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2)
			return soap_recv_fault(soap);
		return soap_closesock(soap);
	}
	if (soap_body_end_in(soap)
	 || soap_envelope_end_in(soap)
	 || soap_end_recv(soap))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

SOAP_FMAC5 int SOAP_FMAC6 soap_call___ns1__deleteFiles(struct soap *soap, const char *soap_endpoint, const char *soap_action, struct _ns1__deleteFiles *ns1__deleteFiles, struct _ns1__deleteFilesResponse *ns1__deleteFilesResponse)
{	struct __ns1__deleteFiles soap_tmp___ns1__deleteFiles;
	if (!soap_endpoint)
		soap_endpoint = "https://ngportaldev.vpac.org/grisu-ws/services/grisu";
	if (!soap_action)
		soap_action = "";
	soap->encodingStyle = NULL;
	soap_tmp___ns1__deleteFiles.ns1__deleteFiles = ns1__deleteFiles;
	soap_begin(soap);
	soap_serializeheader(soap);
	soap_serialize___ns1__deleteFiles(soap, &soap_tmp___ns1__deleteFiles);
	if (soap_begin_count(soap))
		return soap->error;
	if (soap->mode & SOAP_IO_LENGTH)
	{	if (soap_envelope_begin_out(soap)
		 || soap_putheader(soap)
		 || soap_body_begin_out(soap)
		 || soap_put___ns1__deleteFiles(soap, &soap_tmp___ns1__deleteFiles, "-ns1:deleteFiles", "")
		 || soap_body_end_out(soap)
		 || soap_envelope_end_out(soap))
			 return soap->error;
	}
	if (soap_end_count(soap))
		return soap->error;
	if (soap_connect(soap, soap_endpoint, soap_action)
	 || soap_envelope_begin_out(soap)
	 || soap_putheader(soap)
	 || soap_body_begin_out(soap)
	 || soap_put___ns1__deleteFiles(soap, &soap_tmp___ns1__deleteFiles, "-ns1:deleteFiles", "")
	 || soap_body_end_out(soap)
	 || soap_envelope_end_out(soap)
	 || soap_end_send(soap))
		return soap_closesock(soap);
	soap_default__ns1__deleteFilesResponse(soap, ns1__deleteFilesResponse);
	if (soap_begin_recv(soap)
	 || soap_envelope_begin_in(soap)
	 || soap_recv_header(soap)
	 || soap_body_begin_in(soap))
		return soap_closesock(soap);
	soap_get__ns1__deleteFilesResponse(soap, ns1__deleteFilesResponse, "ns1:deleteFilesResponse", "");
	if (soap->error)
	{	if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2)
			return soap_recv_fault(soap);
		return soap_closesock(soap);
	}
	if (soap_body_end_in(soap)
	 || soap_envelope_end_in(soap)
	 || soap_end_recv(soap))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

SOAP_FMAC5 int SOAP_FMAC6 soap_call___ns1__getMessagesSince(struct soap *soap, const char *soap_endpoint, const char *soap_action, struct _ns1__getMessagesSince *ns1__getMessagesSince, struct _ns1__getMessagesSinceResponse *ns1__getMessagesSinceResponse)
{	struct __ns1__getMessagesSince soap_tmp___ns1__getMessagesSince;
	if (!soap_endpoint)
		soap_endpoint = "https://ngportaldev.vpac.org/grisu-ws/services/grisu";
	if (!soap_action)
		soap_action = "";
	soap->encodingStyle = NULL;
	soap_tmp___ns1__getMessagesSince.ns1__getMessagesSince = ns1__getMessagesSince;
	soap_begin(soap);
	soap_serializeheader(soap);
	soap_serialize___ns1__getMessagesSince(soap, &soap_tmp___ns1__getMessagesSince);
	if (soap_begin_count(soap))
		return soap->error;
	if (soap->mode & SOAP_IO_LENGTH)
	{	if (soap_envelope_begin_out(soap)
		 || soap_putheader(soap)
		 || soap_body_begin_out(soap)
		 || soap_put___ns1__getMessagesSince(soap, &soap_tmp___ns1__getMessagesSince, "-ns1:getMessagesSince", "")
		 || soap_body_end_out(soap)
		 || soap_envelope_end_out(soap))
			 return soap->error;
	}
	if (soap_end_count(soap))
		return soap->error;
	if (soap_connect(soap, soap_endpoint, soap_action)
	 || soap_envelope_begin_out(soap)
	 || soap_putheader(soap)
	 || soap_body_begin_out(soap)
	 || soap_put___ns1__getMessagesSince(soap, &soap_tmp___ns1__getMessagesSince, "-ns1:getMessagesSince", "")
	 || soap_body_end_out(soap)
	 || soap_envelope_end_out(soap)
	 || soap_end_send(soap))
		return soap_closesock(soap);
	soap_default__ns1__getMessagesSinceResponse(soap, ns1__getMessagesSinceResponse);
	if (soap_begin_recv(soap)
	 || soap_envelope_begin_in(soap)
	 || soap_recv_header(soap)
	 || soap_body_begin_in(soap))
		return soap_closesock(soap);
	soap_get__ns1__getMessagesSinceResponse(soap, ns1__getMessagesSinceResponse, "ns1:getMessagesSinceResponse", "");
	if (soap->error)
	{	if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2)
			return soap_recv_fault(soap);
		return soap_closesock(soap);
	}
	if (soap_body_end_in(soap)
	 || soap_envelope_end_in(soap)
	 || soap_end_recv(soap))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

SOAP_FMAC5 int SOAP_FMAC6 soap_call___ns1__calculateAbsoluteJobDirectory(struct soap *soap, const char *soap_endpoint, const char *soap_action, struct _ns1__calculateAbsoluteJobDirectory *ns1__calculateAbsoluteJobDirectory, struct _ns1__calculateAbsoluteJobDirectoryResponse *ns1__calculateAbsoluteJobDirectoryResponse)
{	struct __ns1__calculateAbsoluteJobDirectory soap_tmp___ns1__calculateAbsoluteJobDirectory;
	if (!soap_endpoint)
		soap_endpoint = "https://ngportaldev.vpac.org/grisu-ws/services/grisu";
	if (!soap_action)
		soap_action = "";
	soap->encodingStyle = NULL;
	soap_tmp___ns1__calculateAbsoluteJobDirectory.ns1__calculateAbsoluteJobDirectory = ns1__calculateAbsoluteJobDirectory;
	soap_begin(soap);
	soap_serializeheader(soap);
	soap_serialize___ns1__calculateAbsoluteJobDirectory(soap, &soap_tmp___ns1__calculateAbsoluteJobDirectory);
	if (soap_begin_count(soap))
		return soap->error;
	if (soap->mode & SOAP_IO_LENGTH)
	{	if (soap_envelope_begin_out(soap)
		 || soap_putheader(soap)
		 || soap_body_begin_out(soap)
		 || soap_put___ns1__calculateAbsoluteJobDirectory(soap, &soap_tmp___ns1__calculateAbsoluteJobDirectory, "-ns1:calculateAbsoluteJobDirectory", "")
		 || soap_body_end_out(soap)
		 || soap_envelope_end_out(soap))
			 return soap->error;
	}
	if (soap_end_count(soap))
		return soap->error;
	if (soap_connect(soap, soap_endpoint, soap_action)
	 || soap_envelope_begin_out(soap)
	 || soap_putheader(soap)
	 || soap_body_begin_out(soap)
	 || soap_put___ns1__calculateAbsoluteJobDirectory(soap, &soap_tmp___ns1__calculateAbsoluteJobDirectory, "-ns1:calculateAbsoluteJobDirectory", "")
	 || soap_body_end_out(soap)
	 || soap_envelope_end_out(soap)
	 || soap_end_send(soap))
		return soap_closesock(soap);
	soap_default__ns1__calculateAbsoluteJobDirectoryResponse(soap, ns1__calculateAbsoluteJobDirectoryResponse);
	if (soap_begin_recv(soap)
	 || soap_envelope_begin_in(soap)
	 || soap_recv_header(soap)
	 || soap_body_begin_in(soap))
		return soap_closesock(soap);
	soap_get__ns1__calculateAbsoluteJobDirectoryResponse(soap, ns1__calculateAbsoluteJobDirectoryResponse, "ns1:calculateAbsoluteJobDirectoryResponse", "");
	if (soap->error)
	{	if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2)
			return soap_recv_fault(soap);
		return soap_closesock(soap);
	}
	if (soap_body_end_in(soap)
	 || soap_envelope_end_in(soap)
	 || soap_end_recv(soap))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

SOAP_FMAC5 int SOAP_FMAC6 soap_call___ns1__ls_USCOREstring(struct soap *soap, const char *soap_endpoint, const char *soap_action, struct _ns1__ls_USCOREstring *ns1__ls_USCOREstring, struct _ns1__ls_USCOREstringResponse *ns1__ls_USCOREstringResponse)
{	struct __ns1__ls_USCOREstring soap_tmp___ns1__ls_USCOREstring;
	if (!soap_endpoint)
		soap_endpoint = "https://ngportaldev.vpac.org/grisu-ws/services/grisu";
	if (!soap_action)
		soap_action = "";
	soap->encodingStyle = NULL;
	soap_tmp___ns1__ls_USCOREstring.ns1__ls_USCOREstring = ns1__ls_USCOREstring;
	soap_begin(soap);
	soap_serializeheader(soap);
	soap_serialize___ns1__ls_USCOREstring(soap, &soap_tmp___ns1__ls_USCOREstring);
	if (soap_begin_count(soap))
		return soap->error;
	if (soap->mode & SOAP_IO_LENGTH)
	{	if (soap_envelope_begin_out(soap)
		 || soap_putheader(soap)
		 || soap_body_begin_out(soap)
		 || soap_put___ns1__ls_USCOREstring(soap, &soap_tmp___ns1__ls_USCOREstring, "-ns1:ls_string", "")
		 || soap_body_end_out(soap)
		 || soap_envelope_end_out(soap))
			 return soap->error;
	}
	if (soap_end_count(soap))
		return soap->error;
	if (soap_connect(soap, soap_endpoint, soap_action)
	 || soap_envelope_begin_out(soap)
	 || soap_putheader(soap)
	 || soap_body_begin_out(soap)
	 || soap_put___ns1__ls_USCOREstring(soap, &soap_tmp___ns1__ls_USCOREstring, "-ns1:ls_string", "")
	 || soap_body_end_out(soap)
	 || soap_envelope_end_out(soap)
	 || soap_end_send(soap))
		return soap_closesock(soap);
	soap_default__ns1__ls_USCOREstringResponse(soap, ns1__ls_USCOREstringResponse);
	if (soap_begin_recv(soap)
	 || soap_envelope_begin_in(soap)
	 || soap_recv_header(soap)
	 || soap_body_begin_in(soap))
		return soap_closesock(soap);
	soap_get__ns1__ls_USCOREstringResponse(soap, ns1__ls_USCOREstringResponse, "ns1:ls_stringResponse", "");
	if (soap->error)
	{	if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2)
			return soap_recv_fault(soap);
		return soap_closesock(soap);
	}
	if (soap_body_end_in(soap)
	 || soap_envelope_end_in(soap)
	 || soap_end_recv(soap))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

SOAP_FMAC5 int SOAP_FMAC6 soap_call___ns1__getSubmissionLocationsForApplication1(struct soap *soap, const char *soap_endpoint, const char *soap_action, struct _ns1__getSubmissionLocationsForApplication1 *ns1__getSubmissionLocationsForApplication1, struct _ns1__getSubmissionLocationsForApplication1Response *ns1__getSubmissionLocationsForApplication1Response)
{	struct __ns1__getSubmissionLocationsForApplication1 soap_tmp___ns1__getSubmissionLocationsForApplication1;
	if (!soap_endpoint)
		soap_endpoint = "https://ngportaldev.vpac.org/grisu-ws/services/grisu";
	if (!soap_action)
		soap_action = "";
	soap->encodingStyle = NULL;
	soap_tmp___ns1__getSubmissionLocationsForApplication1.ns1__getSubmissionLocationsForApplication1 = ns1__getSubmissionLocationsForApplication1;
	soap_begin(soap);
	soap_serializeheader(soap);
	soap_serialize___ns1__getSubmissionLocationsForApplication1(soap, &soap_tmp___ns1__getSubmissionLocationsForApplication1);
	if (soap_begin_count(soap))
		return soap->error;
	if (soap->mode & SOAP_IO_LENGTH)
	{	if (soap_envelope_begin_out(soap)
		 || soap_putheader(soap)
		 || soap_body_begin_out(soap)
		 || soap_put___ns1__getSubmissionLocationsForApplication1(soap, &soap_tmp___ns1__getSubmissionLocationsForApplication1, "-ns1:getSubmissionLocationsForApplication1", "")
		 || soap_body_end_out(soap)
		 || soap_envelope_end_out(soap))
			 return soap->error;
	}
	if (soap_end_count(soap))
		return soap->error;
	if (soap_connect(soap, soap_endpoint, soap_action)
	 || soap_envelope_begin_out(soap)
	 || soap_putheader(soap)
	 || soap_body_begin_out(soap)
	 || soap_put___ns1__getSubmissionLocationsForApplication1(soap, &soap_tmp___ns1__getSubmissionLocationsForApplication1, "-ns1:getSubmissionLocationsForApplication1", "")
	 || soap_body_end_out(soap)
	 || soap_envelope_end_out(soap)
	 || soap_end_send(soap))
		return soap_closesock(soap);
	soap_default__ns1__getSubmissionLocationsForApplication1Response(soap, ns1__getSubmissionLocationsForApplication1Response);
	if (soap_begin_recv(soap)
	 || soap_envelope_begin_in(soap)
	 || soap_recv_header(soap)
	 || soap_body_begin_in(soap))
		return soap_closesock(soap);
	soap_get__ns1__getSubmissionLocationsForApplication1Response(soap, ns1__getSubmissionLocationsForApplication1Response, "ns1:getSubmissionLocationsForApplication1Response", "");
	if (soap->error)
	{	if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2)
			return soap_recv_fault(soap);
		return soap_closesock(soap);
	}
	if (soap_body_end_in(soap)
	 || soap_envelope_end_in(soap)
	 || soap_end_recv(soap))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

SOAP_FMAC5 int SOAP_FMAC6 soap_call___ns1__getApplicationDetails(struct soap *soap, const char *soap_endpoint, const char *soap_action, struct _ns1__getApplicationDetails *ns1__getApplicationDetails, struct _ns1__getApplicationDetailsResponse *ns1__getApplicationDetailsResponse)
{	struct __ns1__getApplicationDetails soap_tmp___ns1__getApplicationDetails;
	if (!soap_endpoint)
		soap_endpoint = "https://ngportaldev.vpac.org/grisu-ws/services/grisu";
	if (!soap_action)
		soap_action = "";
	soap->encodingStyle = NULL;
	soap_tmp___ns1__getApplicationDetails.ns1__getApplicationDetails = ns1__getApplicationDetails;
	soap_begin(soap);
	soap_serializeheader(soap);
	soap_serialize___ns1__getApplicationDetails(soap, &soap_tmp___ns1__getApplicationDetails);
	if (soap_begin_count(soap))
		return soap->error;
	if (soap->mode & SOAP_IO_LENGTH)
	{	if (soap_envelope_begin_out(soap)
		 || soap_putheader(soap)
		 || soap_body_begin_out(soap)
		 || soap_put___ns1__getApplicationDetails(soap, &soap_tmp___ns1__getApplicationDetails, "-ns1:getApplicationDetails", "")
		 || soap_body_end_out(soap)
		 || soap_envelope_end_out(soap))
			 return soap->error;
	}
	if (soap_end_count(soap))
		return soap->error;
	if (soap_connect(soap, soap_endpoint, soap_action)
	 || soap_envelope_begin_out(soap)
	 || soap_putheader(soap)
	 || soap_body_begin_out(soap)
	 || soap_put___ns1__getApplicationDetails(soap, &soap_tmp___ns1__getApplicationDetails, "-ns1:getApplicationDetails", "")
	 || soap_body_end_out(soap)
	 || soap_envelope_end_out(soap)
	 || soap_end_send(soap))
		return soap_closesock(soap);
	soap_default__ns1__getApplicationDetailsResponse(soap, ns1__getApplicationDetailsResponse);
	if (soap_begin_recv(soap)
	 || soap_envelope_begin_in(soap)
	 || soap_recv_header(soap)
	 || soap_body_begin_in(soap))
		return soap_closesock(soap);
	soap_get__ns1__getApplicationDetailsResponse(soap, ns1__getApplicationDetailsResponse, "ns1:getApplicationDetailsResponse", "");
	if (soap->error)
	{	if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2)
			return soap_recv_fault(soap);
		return soap_closesock(soap);
	}
	if (soap_body_end_in(soap)
	 || soap_envelope_end_in(soap)
	 || soap_end_recv(soap))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

SOAP_FMAC5 int SOAP_FMAC6 soap_call___ns1__createJob1(struct soap *soap, const char *soap_endpoint, const char *soap_action, struct _ns1__createJob1 *ns1__createJob1, struct _ns1__createJob1Response *ns1__createJob1Response)
{	struct __ns1__createJob1 soap_tmp___ns1__createJob1;
	if (!soap_endpoint)
		soap_endpoint = "https://ngportaldev.vpac.org/grisu-ws/services/grisu";
	if (!soap_action)
		soap_action = "";
	soap->encodingStyle = NULL;
	soap_tmp___ns1__createJob1.ns1__createJob1 = ns1__createJob1;
	soap_begin(soap);
	soap_serializeheader(soap);
	soap_serialize___ns1__createJob1(soap, &soap_tmp___ns1__createJob1);
	if (soap_begin_count(soap))
		return soap->error;
	if (soap->mode & SOAP_IO_LENGTH)
	{	if (soap_envelope_begin_out(soap)
		 || soap_putheader(soap)
		 || soap_body_begin_out(soap)
		 || soap_put___ns1__createJob1(soap, &soap_tmp___ns1__createJob1, "-ns1:createJob1", "")
		 || soap_body_end_out(soap)
		 || soap_envelope_end_out(soap))
			 return soap->error;
	}
	if (soap_end_count(soap))
		return soap->error;
	if (soap_connect(soap, soap_endpoint, soap_action)
	 || soap_envelope_begin_out(soap)
	 || soap_putheader(soap)
	 || soap_body_begin_out(soap)
	 || soap_put___ns1__createJob1(soap, &soap_tmp___ns1__createJob1, "-ns1:createJob1", "")
	 || soap_body_end_out(soap)
	 || soap_envelope_end_out(soap)
	 || soap_end_send(soap))
		return soap_closesock(soap);
	soap_default__ns1__createJob1Response(soap, ns1__createJob1Response);
	if (soap_begin_recv(soap)
	 || soap_envelope_begin_in(soap)
	 || soap_recv_header(soap)
	 || soap_body_begin_in(soap))
		return soap_closesock(soap);
	soap_get__ns1__createJob1Response(soap, ns1__createJob1Response, "ns1:createJob1Response", "");
	if (soap->error)
	{	if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2)
			return soap_recv_fault(soap);
		return soap_closesock(soap);
	}
	if (soap_body_end_in(soap)
	 || soap_envelope_end_in(soap)
	 || soap_end_recv(soap))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

SOAP_FMAC5 int SOAP_FMAC6 soap_call___ns1__getSubmissionLocationsForApplication(struct soap *soap, const char *soap_endpoint, const char *soap_action, struct _ns1__getSubmissionLocationsForApplication *ns1__getSubmissionLocationsForApplication, struct _ns1__getSubmissionLocationsForApplicationResponse *ns1__getSubmissionLocationsForApplicationResponse)
{	struct __ns1__getSubmissionLocationsForApplication soap_tmp___ns1__getSubmissionLocationsForApplication;
	if (!soap_endpoint)
		soap_endpoint = "https://ngportaldev.vpac.org/grisu-ws/services/grisu";
	if (!soap_action)
		soap_action = "";
	soap->encodingStyle = NULL;
	soap_tmp___ns1__getSubmissionLocationsForApplication.ns1__getSubmissionLocationsForApplication = ns1__getSubmissionLocationsForApplication;
	soap_begin(soap);
	soap_serializeheader(soap);
	soap_serialize___ns1__getSubmissionLocationsForApplication(soap, &soap_tmp___ns1__getSubmissionLocationsForApplication);
	if (soap_begin_count(soap))
		return soap->error;
	if (soap->mode & SOAP_IO_LENGTH)
	{	if (soap_envelope_begin_out(soap)
		 || soap_putheader(soap)
		 || soap_body_begin_out(soap)
		 || soap_put___ns1__getSubmissionLocationsForApplication(soap, &soap_tmp___ns1__getSubmissionLocationsForApplication, "-ns1:getSubmissionLocationsForApplication", "")
		 || soap_body_end_out(soap)
		 || soap_envelope_end_out(soap))
			 return soap->error;
	}
	if (soap_end_count(soap))
		return soap->error;
	if (soap_connect(soap, soap_endpoint, soap_action)
	 || soap_envelope_begin_out(soap)
	 || soap_putheader(soap)
	 || soap_body_begin_out(soap)
	 || soap_put___ns1__getSubmissionLocationsForApplication(soap, &soap_tmp___ns1__getSubmissionLocationsForApplication, "-ns1:getSubmissionLocationsForApplication", "")
	 || soap_body_end_out(soap)
	 || soap_envelope_end_out(soap)
	 || soap_end_send(soap))
		return soap_closesock(soap);
	soap_default__ns1__getSubmissionLocationsForApplicationResponse(soap, ns1__getSubmissionLocationsForApplicationResponse);
	if (soap_begin_recv(soap)
	 || soap_envelope_begin_in(soap)
	 || soap_recv_header(soap)
	 || soap_body_begin_in(soap))
		return soap_closesock(soap);
	soap_get__ns1__getSubmissionLocationsForApplicationResponse(soap, ns1__getSubmissionLocationsForApplicationResponse, "ns1:getSubmissionLocationsForApplicationResponse", "");
	if (soap->error)
	{	if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2)
			return soap_recv_fault(soap);
		return soap_closesock(soap);
	}
	if (soap_body_end_in(soap)
	 || soap_envelope_end_in(soap)
	 || soap_end_recv(soap))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

SOAP_FMAC5 int SOAP_FMAC6 soap_call___ns1__getDN(struct soap *soap, const char *soap_endpoint, const char *soap_action, struct _ns1__getDN *ns1__getDN, struct _ns1__getDNResponse *ns1__getDNResponse)
{	struct __ns1__getDN soap_tmp___ns1__getDN;
	if (!soap_endpoint)
		soap_endpoint = "https://ngportaldev.vpac.org/grisu-ws/services/grisu";
	if (!soap_action)
		soap_action = "";
	soap->encodingStyle = NULL;
	soap_tmp___ns1__getDN.ns1__getDN = ns1__getDN;
	soap_begin(soap);
	soap_serializeheader(soap);
	soap_serialize___ns1__getDN(soap, &soap_tmp___ns1__getDN);
	if (soap_begin_count(soap))
		return soap->error;
	if (soap->mode & SOAP_IO_LENGTH)
	{	if (soap_envelope_begin_out(soap)
		 || soap_putheader(soap)
		 || soap_body_begin_out(soap)
		 || soap_put___ns1__getDN(soap, &soap_tmp___ns1__getDN, "-ns1:getDN", "")
		 || soap_body_end_out(soap)
		 || soap_envelope_end_out(soap))
			 return soap->error;
	}
	if (soap_end_count(soap))
		return soap->error;
	if (soap_connect(soap, soap_endpoint, soap_action)
	 || soap_envelope_begin_out(soap)
	 || soap_putheader(soap)
	 || soap_body_begin_out(soap)
	 || soap_put___ns1__getDN(soap, &soap_tmp___ns1__getDN, "-ns1:getDN", "")
	 || soap_body_end_out(soap)
	 || soap_envelope_end_out(soap)
	 || soap_end_send(soap))
		return soap_closesock(soap);
	soap_default__ns1__getDNResponse(soap, ns1__getDNResponse);
	if (soap_begin_recv(soap)
	 || soap_envelope_begin_in(soap)
	 || soap_recv_header(soap)
	 || soap_body_begin_in(soap))
		return soap_closesock(soap);
	soap_get__ns1__getDNResponse(soap, ns1__getDNResponse, "ns1:getDNResponse", "");
	if (soap->error)
	{	if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2)
			return soap_recv_fault(soap);
		return soap_closesock(soap);
	}
	if (soap_body_end_in(soap)
	 || soap_envelope_end_in(soap)
	 || soap_end_recv(soap))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

SOAP_FMAC5 int SOAP_FMAC6 soap_call___ns1__getAllJobnames(struct soap *soap, const char *soap_endpoint, const char *soap_action, struct _ns1__getAllJobnames *ns1__getAllJobnames, struct _ns1__getAllJobnamesResponse *ns1__getAllJobnamesResponse)
{	struct __ns1__getAllJobnames soap_tmp___ns1__getAllJobnames;
	if (!soap_endpoint)
		soap_endpoint = "https://ngportaldev.vpac.org/grisu-ws/services/grisu";
	if (!soap_action)
		soap_action = "";
	soap->encodingStyle = NULL;
	soap_tmp___ns1__getAllJobnames.ns1__getAllJobnames = ns1__getAllJobnames;
	soap_begin(soap);
	soap_serializeheader(soap);
	soap_serialize___ns1__getAllJobnames(soap, &soap_tmp___ns1__getAllJobnames);
	if (soap_begin_count(soap))
		return soap->error;
	if (soap->mode & SOAP_IO_LENGTH)
	{	if (soap_envelope_begin_out(soap)
		 || soap_putheader(soap)
		 || soap_body_begin_out(soap)
		 || soap_put___ns1__getAllJobnames(soap, &soap_tmp___ns1__getAllJobnames, "-ns1:getAllJobnames", "")
		 || soap_body_end_out(soap)
		 || soap_envelope_end_out(soap))
			 return soap->error;
	}
	if (soap_end_count(soap))
		return soap->error;
	if (soap_connect(soap, soap_endpoint, soap_action)
	 || soap_envelope_begin_out(soap)
	 || soap_putheader(soap)
	 || soap_body_begin_out(soap)
	 || soap_put___ns1__getAllJobnames(soap, &soap_tmp___ns1__getAllJobnames, "-ns1:getAllJobnames", "")
	 || soap_body_end_out(soap)
	 || soap_envelope_end_out(soap)
	 || soap_end_send(soap))
		return soap_closesock(soap);
	soap_default__ns1__getAllJobnamesResponse(soap, ns1__getAllJobnamesResponse);
	if (soap_begin_recv(soap)
	 || soap_envelope_begin_in(soap)
	 || soap_recv_header(soap)
	 || soap_body_begin_in(soap))
		return soap_closesock(soap);
	soap_get__ns1__getAllJobnamesResponse(soap, ns1__getAllJobnamesResponse, "ns1:getAllJobnamesResponse", "");
	if (soap->error)
	{	if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2)
			return soap_recv_fault(soap);
		return soap_closesock(soap);
	}
	if (soap_body_end_in(soap)
	 || soap_envelope_end_in(soap)
	 || soap_end_recv(soap))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

SOAP_FMAC5 int SOAP_FMAC6 soap_call___ns1__getAllJobProperties(struct soap *soap, const char *soap_endpoint, const char *soap_action, struct _ns1__getAllJobProperties *ns1__getAllJobProperties, struct _ns1__getAllJobPropertiesResponse *ns1__getAllJobPropertiesResponse)
{	struct __ns1__getAllJobProperties soap_tmp___ns1__getAllJobProperties;
	if (!soap_endpoint)
		soap_endpoint = "https://ngportaldev.vpac.org/grisu-ws/services/grisu";
	if (!soap_action)
		soap_action = "";
	soap->encodingStyle = NULL;
	soap_tmp___ns1__getAllJobProperties.ns1__getAllJobProperties = ns1__getAllJobProperties;
	soap_begin(soap);
	soap_serializeheader(soap);
	soap_serialize___ns1__getAllJobProperties(soap, &soap_tmp___ns1__getAllJobProperties);
	if (soap_begin_count(soap))
		return soap->error;
	if (soap->mode & SOAP_IO_LENGTH)
	{	if (soap_envelope_begin_out(soap)
		 || soap_putheader(soap)
		 || soap_body_begin_out(soap)
		 || soap_put___ns1__getAllJobProperties(soap, &soap_tmp___ns1__getAllJobProperties, "-ns1:getAllJobProperties", "")
		 || soap_body_end_out(soap)
		 || soap_envelope_end_out(soap))
			 return soap->error;
	}
	if (soap_end_count(soap))
		return soap->error;
	if (soap_connect(soap, soap_endpoint, soap_action)
	 || soap_envelope_begin_out(soap)
	 || soap_putheader(soap)
	 || soap_body_begin_out(soap)
	 || soap_put___ns1__getAllJobProperties(soap, &soap_tmp___ns1__getAllJobProperties, "-ns1:getAllJobProperties", "")
	 || soap_body_end_out(soap)
	 || soap_envelope_end_out(soap)
	 || soap_end_send(soap))
		return soap_closesock(soap);
	soap_default__ns1__getAllJobPropertiesResponse(soap, ns1__getAllJobPropertiesResponse);
	if (soap_begin_recv(soap)
	 || soap_envelope_begin_in(soap)
	 || soap_recv_header(soap)
	 || soap_body_begin_in(soap))
		return soap_closesock(soap);
	soap_get__ns1__getAllJobPropertiesResponse(soap, ns1__getAllJobPropertiesResponse, "ns1:getAllJobPropertiesResponse", "");
	if (soap->error)
	{	if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2)
			return soap_recv_fault(soap);
		return soap_closesock(soap);
	}
	if (soap_body_end_in(soap)
	 || soap_envelope_end_in(soap)
	 || soap_end_recv(soap))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

SOAP_FMAC5 int SOAP_FMAC6 soap_call___ns1__download(struct soap *soap, const char *soap_endpoint, const char *soap_action, struct _ns1__download *ns1__download, struct _ns1__downloadResponse *ns1__downloadResponse)
{	struct __ns1__download soap_tmp___ns1__download;
	if (!soap_endpoint)
		soap_endpoint = "https://ngportaldev.vpac.org/grisu-ws/services/grisu";
	if (!soap_action)
		soap_action = "";
	soap->encodingStyle = NULL;
	soap_tmp___ns1__download.ns1__download = ns1__download;
	soap_begin(soap);
	soap_serializeheader(soap);
	soap_serialize___ns1__download(soap, &soap_tmp___ns1__download);
	if (soap_begin_count(soap))
		return soap->error;
	if (soap->mode & SOAP_IO_LENGTH)
	{	if (soap_envelope_begin_out(soap)
		 || soap_putheader(soap)
		 || soap_body_begin_out(soap)
		 || soap_put___ns1__download(soap, &soap_tmp___ns1__download, "-ns1:download", "")
		 || soap_body_end_out(soap)
		 || soap_envelope_end_out(soap))
			 return soap->error;
	}
	if (soap_end_count(soap))
		return soap->error;
	if (soap_connect(soap, soap_endpoint, soap_action)
	 || soap_envelope_begin_out(soap)
	 || soap_putheader(soap)
	 || soap_body_begin_out(soap)
	 || soap_put___ns1__download(soap, &soap_tmp___ns1__download, "-ns1:download", "")
	 || soap_body_end_out(soap)
	 || soap_envelope_end_out(soap)
	 || soap_end_send(soap))
		return soap_closesock(soap);
	soap_default__ns1__downloadResponse(soap, ns1__downloadResponse);
	if (soap_begin_recv(soap)
	 || soap_envelope_begin_in(soap)
	 || soap_recv_header(soap)
	 || soap_body_begin_in(soap))
		return soap_closesock(soap);
	soap_get__ns1__downloadResponse(soap, ns1__downloadResponse, "ns1:downloadResponse", "");
	if (soap->error)
	{	if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2)
			return soap_recv_fault(soap);
		return soap_closesock(soap);
	}
	if (soap_body_end_in(soap)
	 || soap_envelope_end_in(soap)
	 || soap_end_recv(soap))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

SOAP_FMAC5 int SOAP_FMAC6 soap_call___ns1__isFolder(struct soap *soap, const char *soap_endpoint, const char *soap_action, struct _ns1__isFolder *ns1__isFolder, struct _ns1__isFolderResponse *ns1__isFolderResponse)
{	struct __ns1__isFolder soap_tmp___ns1__isFolder;
	if (!soap_endpoint)
		soap_endpoint = "https://ngportaldev.vpac.org/grisu-ws/services/grisu";
	if (!soap_action)
		soap_action = "";
	soap->encodingStyle = NULL;
	soap_tmp___ns1__isFolder.ns1__isFolder = ns1__isFolder;
	soap_begin(soap);
	soap_serializeheader(soap);
	soap_serialize___ns1__isFolder(soap, &soap_tmp___ns1__isFolder);
	if (soap_begin_count(soap))
		return soap->error;
	if (soap->mode & SOAP_IO_LENGTH)
	{	if (soap_envelope_begin_out(soap)
		 || soap_putheader(soap)
		 || soap_body_begin_out(soap)
		 || soap_put___ns1__isFolder(soap, &soap_tmp___ns1__isFolder, "-ns1:isFolder", "")
		 || soap_body_end_out(soap)
		 || soap_envelope_end_out(soap))
			 return soap->error;
	}
	if (soap_end_count(soap))
		return soap->error;
	if (soap_connect(soap, soap_endpoint, soap_action)
	 || soap_envelope_begin_out(soap)
	 || soap_putheader(soap)
	 || soap_body_begin_out(soap)
	 || soap_put___ns1__isFolder(soap, &soap_tmp___ns1__isFolder, "-ns1:isFolder", "")
	 || soap_body_end_out(soap)
	 || soap_envelope_end_out(soap)
	 || soap_end_send(soap))
		return soap_closesock(soap);
	soap_default__ns1__isFolderResponse(soap, ns1__isFolderResponse);
	if (soap_begin_recv(soap)
	 || soap_envelope_begin_in(soap)
	 || soap_recv_header(soap)
	 || soap_body_begin_in(soap))
		return soap_closesock(soap);
	soap_get__ns1__isFolderResponse(soap, ns1__isFolderResponse, "ns1:isFolderResponse", "");
	if (soap->error)
	{	if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2)
			return soap_recv_fault(soap);
		return soap_closesock(soap);
	}
	if (soap_body_end_in(soap)
	 || soap_envelope_end_in(soap)
	 || soap_end_recv(soap))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

SOAP_FMAC5 int SOAP_FMAC6 soap_call___ns1__kill(struct soap *soap, const char *soap_endpoint, const char *soap_action, struct _ns1__kill *ns1__kill, struct _ns1__killResponse *ns1__killResponse)
{	struct __ns1__kill soap_tmp___ns1__kill;
	if (!soap_endpoint)
		soap_endpoint = "https://ngportaldev.vpac.org/grisu-ws/services/grisu";
	if (!soap_action)
		soap_action = "";
	soap->encodingStyle = NULL;
	soap_tmp___ns1__kill.ns1__kill = ns1__kill;
	soap_begin(soap);
	soap_serializeheader(soap);
	soap_serialize___ns1__kill(soap, &soap_tmp___ns1__kill);
	if (soap_begin_count(soap))
		return soap->error;
	if (soap->mode & SOAP_IO_LENGTH)
	{	if (soap_envelope_begin_out(soap)
		 || soap_putheader(soap)
		 || soap_body_begin_out(soap)
		 || soap_put___ns1__kill(soap, &soap_tmp___ns1__kill, "-ns1:kill", "")
		 || soap_body_end_out(soap)
		 || soap_envelope_end_out(soap))
			 return soap->error;
	}
	if (soap_end_count(soap))
		return soap->error;
	if (soap_connect(soap, soap_endpoint, soap_action)
	 || soap_envelope_begin_out(soap)
	 || soap_putheader(soap)
	 || soap_body_begin_out(soap)
	 || soap_put___ns1__kill(soap, &soap_tmp___ns1__kill, "-ns1:kill", "")
	 || soap_body_end_out(soap)
	 || soap_envelope_end_out(soap)
	 || soap_end_send(soap))
		return soap_closesock(soap);
	soap_default__ns1__killResponse(soap, ns1__killResponse);
	if (soap_begin_recv(soap)
	 || soap_envelope_begin_in(soap)
	 || soap_recv_header(soap)
	 || soap_body_begin_in(soap))
		return soap_closesock(soap);
	soap_get__ns1__killResponse(soap, ns1__killResponse, "ns1:killResponse", "");
	if (soap->error)
	{	if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2)
			return soap_recv_fault(soap);
		return soap_closesock(soap);
	}
	if (soap_body_end_in(soap)
	 || soap_envelope_end_in(soap)
	 || soap_end_recv(soap))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

SOAP_FMAC5 int SOAP_FMAC6 soap_call___ns1__getAllAvailableApplications(struct soap *soap, const char *soap_endpoint, const char *soap_action, struct _ns1__getAllAvailableApplications *ns1__getAllAvailableApplications, struct _ns1__getAllAvailableApplicationsResponse *ns1__getAllAvailableApplicationsResponse)
{	struct __ns1__getAllAvailableApplications soap_tmp___ns1__getAllAvailableApplications;
	if (!soap_endpoint)
		soap_endpoint = "https://ngportaldev.vpac.org/grisu-ws/services/grisu";
	if (!soap_action)
		soap_action = "";
	soap->encodingStyle = NULL;
	soap_tmp___ns1__getAllAvailableApplications.ns1__getAllAvailableApplications = ns1__getAllAvailableApplications;
	soap_begin(soap);
	soap_serializeheader(soap);
	soap_serialize___ns1__getAllAvailableApplications(soap, &soap_tmp___ns1__getAllAvailableApplications);
	if (soap_begin_count(soap))
		return soap->error;
	if (soap->mode & SOAP_IO_LENGTH)
	{	if (soap_envelope_begin_out(soap)
		 || soap_putheader(soap)
		 || soap_body_begin_out(soap)
		 || soap_put___ns1__getAllAvailableApplications(soap, &soap_tmp___ns1__getAllAvailableApplications, "-ns1:getAllAvailableApplications", "")
		 || soap_body_end_out(soap)
		 || soap_envelope_end_out(soap))
			 return soap->error;
	}
	if (soap_end_count(soap))
		return soap->error;
	if (soap_connect(soap, soap_endpoint, soap_action)
	 || soap_envelope_begin_out(soap)
	 || soap_putheader(soap)
	 || soap_body_begin_out(soap)
	 || soap_put___ns1__getAllAvailableApplications(soap, &soap_tmp___ns1__getAllAvailableApplications, "-ns1:getAllAvailableApplications", "")
	 || soap_body_end_out(soap)
	 || soap_envelope_end_out(soap)
	 || soap_end_send(soap))
		return soap_closesock(soap);
	soap_default__ns1__getAllAvailableApplicationsResponse(soap, ns1__getAllAvailableApplicationsResponse);
	if (soap_begin_recv(soap)
	 || soap_envelope_begin_in(soap)
	 || soap_recv_header(soap)
	 || soap_body_begin_in(soap))
		return soap_closesock(soap);
	soap_get__ns1__getAllAvailableApplicationsResponse(soap, ns1__getAllAvailableApplicationsResponse, "ns1:getAllAvailableApplicationsResponse", "");
	if (soap->error)
	{	if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2)
			return soap_recv_fault(soap);
		return soap_closesock(soap);
	}
	if (soap_body_end_in(soap)
	 || soap_envelope_end_in(soap)
	 || soap_end_recv(soap))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

SOAP_FMAC5 int SOAP_FMAC6 soap_call___ns1__addJobProperties(struct soap *soap, const char *soap_endpoint, const char *soap_action, struct _ns1__addJobProperties *ns1__addJobProperties, struct _ns1__addJobPropertiesResponse *ns1__addJobPropertiesResponse)
{	struct __ns1__addJobProperties soap_tmp___ns1__addJobProperties;
	if (!soap_endpoint)
		soap_endpoint = "https://ngportaldev.vpac.org/grisu-ws/services/grisu";
	if (!soap_action)
		soap_action = "";
	soap->encodingStyle = NULL;
	soap_tmp___ns1__addJobProperties.ns1__addJobProperties = ns1__addJobProperties;
	soap_begin(soap);
	soap_serializeheader(soap);
	soap_serialize___ns1__addJobProperties(soap, &soap_tmp___ns1__addJobProperties);
	if (soap_begin_count(soap))
		return soap->error;
	if (soap->mode & SOAP_IO_LENGTH)
	{	if (soap_envelope_begin_out(soap)
		 || soap_putheader(soap)
		 || soap_body_begin_out(soap)
		 || soap_put___ns1__addJobProperties(soap, &soap_tmp___ns1__addJobProperties, "-ns1:addJobProperties", "")
		 || soap_body_end_out(soap)
		 || soap_envelope_end_out(soap))
			 return soap->error;
	}
	if (soap_end_count(soap))
		return soap->error;
	if (soap_connect(soap, soap_endpoint, soap_action)
	 || soap_envelope_begin_out(soap)
	 || soap_putheader(soap)
	 || soap_body_begin_out(soap)
	 || soap_put___ns1__addJobProperties(soap, &soap_tmp___ns1__addJobProperties, "-ns1:addJobProperties", "")
	 || soap_body_end_out(soap)
	 || soap_envelope_end_out(soap)
	 || soap_end_send(soap))
		return soap_closesock(soap);
	soap_default__ns1__addJobPropertiesResponse(soap, ns1__addJobPropertiesResponse);
	if (soap_begin_recv(soap)
	 || soap_envelope_begin_in(soap)
	 || soap_recv_header(soap)
	 || soap_body_begin_in(soap))
		return soap_closesock(soap);
	soap_get__ns1__addJobPropertiesResponse(soap, ns1__addJobPropertiesResponse, "ns1:addJobPropertiesResponse", "");
	if (soap->error)
	{	if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2)
			return soap_recv_fault(soap);
		return soap_closesock(soap);
	}
	if (soap_body_end_in(soap)
	 || soap_envelope_end_in(soap)
	 || soap_end_recv(soap))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

SOAP_FMAC5 int SOAP_FMAC6 soap_call___ns1__addJobProperty(struct soap *soap, const char *soap_endpoint, const char *soap_action, struct _ns1__addJobProperty *ns1__addJobProperty, struct _ns1__addJobPropertyResponse *ns1__addJobPropertyResponse)
{	struct __ns1__addJobProperty soap_tmp___ns1__addJobProperty;
	if (!soap_endpoint)
		soap_endpoint = "https://ngportaldev.vpac.org/grisu-ws/services/grisu";
	if (!soap_action)
		soap_action = "";
	soap->encodingStyle = NULL;
	soap_tmp___ns1__addJobProperty.ns1__addJobProperty = ns1__addJobProperty;
	soap_begin(soap);
	soap_serializeheader(soap);
	soap_serialize___ns1__addJobProperty(soap, &soap_tmp___ns1__addJobProperty);
	if (soap_begin_count(soap))
		return soap->error;
	if (soap->mode & SOAP_IO_LENGTH)
	{	if (soap_envelope_begin_out(soap)
		 || soap_putheader(soap)
		 || soap_body_begin_out(soap)
		 || soap_put___ns1__addJobProperty(soap, &soap_tmp___ns1__addJobProperty, "-ns1:addJobProperty", "")
		 || soap_body_end_out(soap)
		 || soap_envelope_end_out(soap))
			 return soap->error;
	}
	if (soap_end_count(soap))
		return soap->error;
	if (soap_connect(soap, soap_endpoint, soap_action)
	 || soap_envelope_begin_out(soap)
	 || soap_putheader(soap)
	 || soap_body_begin_out(soap)
	 || soap_put___ns1__addJobProperty(soap, &soap_tmp___ns1__addJobProperty, "-ns1:addJobProperty", "")
	 || soap_body_end_out(soap)
	 || soap_envelope_end_out(soap)
	 || soap_end_send(soap))
		return soap_closesock(soap);
	soap_default__ns1__addJobPropertyResponse(soap, ns1__addJobPropertyResponse);
	if (soap_begin_recv(soap)
	 || soap_envelope_begin_in(soap)
	 || soap_recv_header(soap)
	 || soap_body_begin_in(soap))
		return soap_closesock(soap);
	soap_get__ns1__addJobPropertyResponse(soap, ns1__addJobPropertyResponse, "ns1:addJobPropertyResponse", "");
	if (soap->error)
	{	if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2)
			return soap_recv_fault(soap);
		return soap_closesock(soap);
	}
	if (soap_body_end_in(soap)
	 || soap_envelope_end_in(soap)
	 || soap_end_recv(soap))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

SOAP_FMAC5 int SOAP_FMAC6 soap_call___ns1__getAllSubmissionLocations(struct soap *soap, const char *soap_endpoint, const char *soap_action, struct _ns1__getAllSubmissionLocations *ns1__getAllSubmissionLocations, struct _ns1__getAllSubmissionLocationsResponse *ns1__getAllSubmissionLocationsResponse)
{	struct __ns1__getAllSubmissionLocations soap_tmp___ns1__getAllSubmissionLocations;
	if (!soap_endpoint)
		soap_endpoint = "https://ngportaldev.vpac.org/grisu-ws/services/grisu";
	if (!soap_action)
		soap_action = "";
	soap->encodingStyle = NULL;
	soap_tmp___ns1__getAllSubmissionLocations.ns1__getAllSubmissionLocations = ns1__getAllSubmissionLocations;
	soap_begin(soap);
	soap_serializeheader(soap);
	soap_serialize___ns1__getAllSubmissionLocations(soap, &soap_tmp___ns1__getAllSubmissionLocations);
	if (soap_begin_count(soap))
		return soap->error;
	if (soap->mode & SOAP_IO_LENGTH)
	{	if (soap_envelope_begin_out(soap)
		 || soap_putheader(soap)
		 || soap_body_begin_out(soap)
		 || soap_put___ns1__getAllSubmissionLocations(soap, &soap_tmp___ns1__getAllSubmissionLocations, "-ns1:getAllSubmissionLocations", "")
		 || soap_body_end_out(soap)
		 || soap_envelope_end_out(soap))
			 return soap->error;
	}
	if (soap_end_count(soap))
		return soap->error;
	if (soap_connect(soap, soap_endpoint, soap_action)
	 || soap_envelope_begin_out(soap)
	 || soap_putheader(soap)
	 || soap_body_begin_out(soap)
	 || soap_put___ns1__getAllSubmissionLocations(soap, &soap_tmp___ns1__getAllSubmissionLocations, "-ns1:getAllSubmissionLocations", "")
	 || soap_body_end_out(soap)
	 || soap_envelope_end_out(soap)
	 || soap_end_send(soap))
		return soap_closesock(soap);
	soap_default__ns1__getAllSubmissionLocationsResponse(soap, ns1__getAllSubmissionLocationsResponse);
	if (soap_begin_recv(soap)
	 || soap_envelope_begin_in(soap)
	 || soap_recv_header(soap)
	 || soap_body_begin_in(soap))
		return soap_closesock(soap);
	soap_get__ns1__getAllSubmissionLocationsResponse(soap, ns1__getAllSubmissionLocationsResponse, "ns1:getAllSubmissionLocationsResponse", "");
	if (soap->error)
	{	if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2)
			return soap_recv_fault(soap);
		return soap_closesock(soap);
	}
	if (soap_body_end_in(soap)
	 || soap_envelope_end_in(soap)
	 || soap_end_recv(soap))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

SOAP_FMAC5 int SOAP_FMAC6 soap_call___ns1__getInterfaceVersion(struct soap *soap, const char *soap_endpoint, const char *soap_action, struct _ns1__getInterfaceVersion *ns1__getInterfaceVersion, struct _ns1__getInterfaceVersionResponse *ns1__getInterfaceVersionResponse)
{	struct __ns1__getInterfaceVersion soap_tmp___ns1__getInterfaceVersion;
	if (!soap_endpoint)
		soap_endpoint = "https://ngportaldev.vpac.org/grisu-ws/services/grisu";
	if (!soap_action)
		soap_action = "";
	soap->encodingStyle = NULL;
	soap_tmp___ns1__getInterfaceVersion.ns1__getInterfaceVersion = ns1__getInterfaceVersion;
	soap_begin(soap);
	soap_serializeheader(soap);
	soap_serialize___ns1__getInterfaceVersion(soap, &soap_tmp___ns1__getInterfaceVersion);
	if (soap_begin_count(soap))
		return soap->error;
	if (soap->mode & SOAP_IO_LENGTH)
	{	if (soap_envelope_begin_out(soap)
		 || soap_putheader(soap)
		 || soap_body_begin_out(soap)
		 || soap_put___ns1__getInterfaceVersion(soap, &soap_tmp___ns1__getInterfaceVersion, "-ns1:getInterfaceVersion", "")
		 || soap_body_end_out(soap)
		 || soap_envelope_end_out(soap))
			 return soap->error;
	}
	if (soap_end_count(soap))
		return soap->error;
	if (soap_connect(soap, soap_endpoint, soap_action)
	 || soap_envelope_begin_out(soap)
	 || soap_putheader(soap)
	 || soap_body_begin_out(soap)
	 || soap_put___ns1__getInterfaceVersion(soap, &soap_tmp___ns1__getInterfaceVersion, "-ns1:getInterfaceVersion", "")
	 || soap_body_end_out(soap)
	 || soap_envelope_end_out(soap)
	 || soap_end_send(soap))
		return soap_closesock(soap);
	soap_default__ns1__getInterfaceVersionResponse(soap, ns1__getInterfaceVersionResponse);
	if (soap_begin_recv(soap)
	 || soap_envelope_begin_in(soap)
	 || soap_recv_header(soap)
	 || soap_body_begin_in(soap))
		return soap_closesock(soap);
	soap_get__ns1__getInterfaceVersionResponse(soap, ns1__getInterfaceVersionResponse, "ns1:getInterfaceVersionResponse", "");
	if (soap->error)
	{	if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2)
			return soap_recv_fault(soap);
		return soap_closesock(soap);
	}
	if (soap_body_end_in(soap)
	 || soap_envelope_end_in(soap)
	 || soap_end_recv(soap))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

SOAP_FMAC5 int SOAP_FMAC6 soap_call___ns1__createJob(struct soap *soap, const char *soap_endpoint, const char *soap_action, struct _ns1__createJob *ns1__createJob, struct _ns1__createJobResponse *ns1__createJobResponse)
{	struct __ns1__createJob soap_tmp___ns1__createJob;
	if (!soap_endpoint)
		soap_endpoint = "https://ngportaldev.vpac.org/grisu-ws/services/grisu";
	if (!soap_action)
		soap_action = "";
	soap->encodingStyle = NULL;
	soap_tmp___ns1__createJob.ns1__createJob = ns1__createJob;
	soap_begin(soap);
	soap_serializeheader(soap);
	soap_serialize___ns1__createJob(soap, &soap_tmp___ns1__createJob);
	if (soap_begin_count(soap))
		return soap->error;
	if (soap->mode & SOAP_IO_LENGTH)
	{	if (soap_envelope_begin_out(soap)
		 || soap_putheader(soap)
		 || soap_body_begin_out(soap)
		 || soap_put___ns1__createJob(soap, &soap_tmp___ns1__createJob, "-ns1:createJob", "")
		 || soap_body_end_out(soap)
		 || soap_envelope_end_out(soap))
			 return soap->error;
	}
	if (soap_end_count(soap))
		return soap->error;
	if (soap_connect(soap, soap_endpoint, soap_action)
	 || soap_envelope_begin_out(soap)
	 || soap_putheader(soap)
	 || soap_body_begin_out(soap)
	 || soap_put___ns1__createJob(soap, &soap_tmp___ns1__createJob, "-ns1:createJob", "")
	 || soap_body_end_out(soap)
	 || soap_envelope_end_out(soap)
	 || soap_end_send(soap))
		return soap_closesock(soap);
	soap_default__ns1__createJobResponse(soap, ns1__createJobResponse);
	if (soap_begin_recv(soap)
	 || soap_envelope_begin_in(soap)
	 || soap_recv_header(soap)
	 || soap_body_begin_in(soap))
		return soap_closesock(soap);
	soap_get__ns1__createJobResponse(soap, ns1__createJobResponse, "ns1:createJobResponse", "");
	if (soap->error)
	{	if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2)
			return soap_recv_fault(soap);
		return soap_closesock(soap);
	}
	if (soap_body_end_in(soap)
	 || soap_envelope_end_in(soap)
	 || soap_end_recv(soap))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

SOAP_FMAC5 int SOAP_FMAC6 soap_call___ns1__getAllSubmissionLocations1(struct soap *soap, const char *soap_endpoint, const char *soap_action, struct _ns1__getAllSubmissionLocations1 *ns1__getAllSubmissionLocations1, struct _ns1__getAllSubmissionLocations1Response *ns1__getAllSubmissionLocations1Response)
{	struct __ns1__getAllSubmissionLocations1 soap_tmp___ns1__getAllSubmissionLocations1;
	if (!soap_endpoint)
		soap_endpoint = "https://ngportaldev.vpac.org/grisu-ws/services/grisu";
	if (!soap_action)
		soap_action = "";
	soap->encodingStyle = NULL;
	soap_tmp___ns1__getAllSubmissionLocations1.ns1__getAllSubmissionLocations1 = ns1__getAllSubmissionLocations1;
	soap_begin(soap);
	soap_serializeheader(soap);
	soap_serialize___ns1__getAllSubmissionLocations1(soap, &soap_tmp___ns1__getAllSubmissionLocations1);
	if (soap_begin_count(soap))
		return soap->error;
	if (soap->mode & SOAP_IO_LENGTH)
	{	if (soap_envelope_begin_out(soap)
		 || soap_putheader(soap)
		 || soap_body_begin_out(soap)
		 || soap_put___ns1__getAllSubmissionLocations1(soap, &soap_tmp___ns1__getAllSubmissionLocations1, "-ns1:getAllSubmissionLocations1", "")
		 || soap_body_end_out(soap)
		 || soap_envelope_end_out(soap))
			 return soap->error;
	}
	if (soap_end_count(soap))
		return soap->error;
	if (soap_connect(soap, soap_endpoint, soap_action)
	 || soap_envelope_begin_out(soap)
	 || soap_putheader(soap)
	 || soap_body_begin_out(soap)
	 || soap_put___ns1__getAllSubmissionLocations1(soap, &soap_tmp___ns1__getAllSubmissionLocations1, "-ns1:getAllSubmissionLocations1", "")
	 || soap_body_end_out(soap)
	 || soap_envelope_end_out(soap)
	 || soap_end_send(soap))
		return soap_closesock(soap);
	soap_default__ns1__getAllSubmissionLocations1Response(soap, ns1__getAllSubmissionLocations1Response);
	if (soap_begin_recv(soap)
	 || soap_envelope_begin_in(soap)
	 || soap_recv_header(soap)
	 || soap_body_begin_in(soap))
		return soap_closesock(soap);
	soap_get__ns1__getAllSubmissionLocations1Response(soap, ns1__getAllSubmissionLocations1Response, "ns1:getAllSubmissionLocations1Response", "");
	if (soap->error)
	{	if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2)
			return soap_recv_fault(soap);
		return soap_closesock(soap);
	}
	if (soap_body_end_in(soap)
	 || soap_envelope_end_in(soap)
	 || soap_end_recv(soap))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

SOAP_FMAC5 int SOAP_FMAC6 soap_call___ns1__getVersionsOfApplicationOnSite(struct soap *soap, const char *soap_endpoint, const char *soap_action, struct _ns1__getVersionsOfApplicationOnSite *ns1__getVersionsOfApplicationOnSite, struct _ns1__getVersionsOfApplicationOnSiteResponse *ns1__getVersionsOfApplicationOnSiteResponse)
{	struct __ns1__getVersionsOfApplicationOnSite soap_tmp___ns1__getVersionsOfApplicationOnSite;
	if (!soap_endpoint)
		soap_endpoint = "https://ngportaldev.vpac.org/grisu-ws/services/grisu";
	if (!soap_action)
		soap_action = "";
	soap->encodingStyle = NULL;
	soap_tmp___ns1__getVersionsOfApplicationOnSite.ns1__getVersionsOfApplicationOnSite = ns1__getVersionsOfApplicationOnSite;
	soap_begin(soap);
	soap_serializeheader(soap);
	soap_serialize___ns1__getVersionsOfApplicationOnSite(soap, &soap_tmp___ns1__getVersionsOfApplicationOnSite);
	if (soap_begin_count(soap))
		return soap->error;
	if (soap->mode & SOAP_IO_LENGTH)
	{	if (soap_envelope_begin_out(soap)
		 || soap_putheader(soap)
		 || soap_body_begin_out(soap)
		 || soap_put___ns1__getVersionsOfApplicationOnSite(soap, &soap_tmp___ns1__getVersionsOfApplicationOnSite, "-ns1:getVersionsOfApplicationOnSite", "")
		 || soap_body_end_out(soap)
		 || soap_envelope_end_out(soap))
			 return soap->error;
	}
	if (soap_end_count(soap))
		return soap->error;
	if (soap_connect(soap, soap_endpoint, soap_action)
	 || soap_envelope_begin_out(soap)
	 || soap_putheader(soap)
	 || soap_body_begin_out(soap)
	 || soap_put___ns1__getVersionsOfApplicationOnSite(soap, &soap_tmp___ns1__getVersionsOfApplicationOnSite, "-ns1:getVersionsOfApplicationOnSite", "")
	 || soap_body_end_out(soap)
	 || soap_envelope_end_out(soap)
	 || soap_end_send(soap))
		return soap_closesock(soap);
	soap_default__ns1__getVersionsOfApplicationOnSiteResponse(soap, ns1__getVersionsOfApplicationOnSiteResponse);
	if (soap_begin_recv(soap)
	 || soap_envelope_begin_in(soap)
	 || soap_recv_header(soap)
	 || soap_body_begin_in(soap))
		return soap_closesock(soap);
	soap_get__ns1__getVersionsOfApplicationOnSiteResponse(soap, ns1__getVersionsOfApplicationOnSiteResponse, "ns1:getVersionsOfApplicationOnSiteResponse", "");
	if (soap->error)
	{	if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2)
			return soap_recv_fault(soap);
		return soap_closesock(soap);
	}
	if (soap_body_end_in(soap)
	 || soap_envelope_end_in(soap)
	 || soap_end_recv(soap))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

SOAP_FMAC5 int SOAP_FMAC6 soap_call___ns1__uploadByteArray1(struct soap *soap, const char *soap_endpoint, const char *soap_action, struct _ns1__uploadByteArray1 *ns1__uploadByteArray1, struct _ns1__uploadByteArray1Response *ns1__uploadByteArray1Response)
{	struct __ns1__uploadByteArray1 soap_tmp___ns1__uploadByteArray1;
	if (!soap_endpoint)
		soap_endpoint = "https://ngportaldev.vpac.org/grisu-ws/services/grisu";
	if (!soap_action)
		soap_action = "";
	soap->encodingStyle = NULL;
	soap_tmp___ns1__uploadByteArray1.ns1__uploadByteArray1 = ns1__uploadByteArray1;
	soap_begin(soap);
	soap_serializeheader(soap);
	soap_serialize___ns1__uploadByteArray1(soap, &soap_tmp___ns1__uploadByteArray1);
	if (soap_begin_count(soap))
		return soap->error;
	if (soap->mode & SOAP_IO_LENGTH)
	{	if (soap_envelope_begin_out(soap)
		 || soap_putheader(soap)
		 || soap_body_begin_out(soap)
		 || soap_put___ns1__uploadByteArray1(soap, &soap_tmp___ns1__uploadByteArray1, "-ns1:uploadByteArray1", "")
		 || soap_body_end_out(soap)
		 || soap_envelope_end_out(soap))
			 return soap->error;
	}
	if (soap_end_count(soap))
		return soap->error;
	if (soap_connect(soap, soap_endpoint, soap_action)
	 || soap_envelope_begin_out(soap)
	 || soap_putheader(soap)
	 || soap_body_begin_out(soap)
	 || soap_put___ns1__uploadByteArray1(soap, &soap_tmp___ns1__uploadByteArray1, "-ns1:uploadByteArray1", "")
	 || soap_body_end_out(soap)
	 || soap_envelope_end_out(soap)
	 || soap_end_send(soap))
		return soap_closesock(soap);
	soap_default__ns1__uploadByteArray1Response(soap, ns1__uploadByteArray1Response);
	if (soap_begin_recv(soap)
	 || soap_envelope_begin_in(soap)
	 || soap_recv_header(soap)
	 || soap_body_begin_in(soap))
		return soap_closesock(soap);
	soap_get__ns1__uploadByteArray1Response(soap, ns1__uploadByteArray1Response, "ns1:uploadByteArray1Response", "");
	if (soap->error)
	{	if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2)
			return soap_recv_fault(soap);
		return soap_closesock(soap);
	}
	if (soap_body_end_in(soap)
	 || soap_envelope_end_in(soap)
	 || soap_end_recv(soap))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

SOAP_FMAC5 int SOAP_FMAC6 soap_call___ns1__ps_USCOREstring(struct soap *soap, const char *soap_endpoint, const char *soap_action, struct _ns1__ps_USCOREstring *ns1__ps_USCOREstring, struct _ns1__ps_USCOREstringResponse *ns1__ps_USCOREstringResponse)
{	struct __ns1__ps_USCOREstring soap_tmp___ns1__ps_USCOREstring;
	if (!soap_endpoint)
		soap_endpoint = "https://ngportaldev.vpac.org/grisu-ws/services/grisu";
	if (!soap_action)
		soap_action = "";
	soap->encodingStyle = NULL;
	soap_tmp___ns1__ps_USCOREstring.ns1__ps_USCOREstring = ns1__ps_USCOREstring;
	soap_begin(soap);
	soap_serializeheader(soap);
	soap_serialize___ns1__ps_USCOREstring(soap, &soap_tmp___ns1__ps_USCOREstring);
	if (soap_begin_count(soap))
		return soap->error;
	if (soap->mode & SOAP_IO_LENGTH)
	{	if (soap_envelope_begin_out(soap)
		 || soap_putheader(soap)
		 || soap_body_begin_out(soap)
		 || soap_put___ns1__ps_USCOREstring(soap, &soap_tmp___ns1__ps_USCOREstring, "-ns1:ps_string", "")
		 || soap_body_end_out(soap)
		 || soap_envelope_end_out(soap))
			 return soap->error;
	}
	if (soap_end_count(soap))
		return soap->error;
	if (soap_connect(soap, soap_endpoint, soap_action)
	 || soap_envelope_begin_out(soap)
	 || soap_putheader(soap)
	 || soap_body_begin_out(soap)
	 || soap_put___ns1__ps_USCOREstring(soap, &soap_tmp___ns1__ps_USCOREstring, "-ns1:ps_string", "")
	 || soap_body_end_out(soap)
	 || soap_envelope_end_out(soap)
	 || soap_end_send(soap))
		return soap_closesock(soap);
	soap_default__ns1__ps_USCOREstringResponse(soap, ns1__ps_USCOREstringResponse);
	if (soap_begin_recv(soap)
	 || soap_envelope_begin_in(soap)
	 || soap_recv_header(soap)
	 || soap_body_begin_in(soap))
		return soap_closesock(soap);
	soap_get__ns1__ps_USCOREstringResponse(soap, ns1__ps_USCOREstringResponse, "ns1:ps_stringResponse", "");
	if (soap->error)
	{	if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2)
			return soap_recv_fault(soap);
		return soap_closesock(soap);
	}
	if (soap_body_end_in(soap)
	 || soap_envelope_end_in(soap)
	 || soap_end_recv(soap))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

SOAP_FMAC5 int SOAP_FMAC6 soap_call___ns1__getSite(struct soap *soap, const char *soap_endpoint, const char *soap_action, struct _ns1__getSite *ns1__getSite, struct _ns1__getSiteResponse *ns1__getSiteResponse)
{	struct __ns1__getSite soap_tmp___ns1__getSite;
	if (!soap_endpoint)
		soap_endpoint = "https://ngportaldev.vpac.org/grisu-ws/services/grisu";
	if (!soap_action)
		soap_action = "";
	soap->encodingStyle = NULL;
	soap_tmp___ns1__getSite.ns1__getSite = ns1__getSite;
	soap_begin(soap);
	soap_serializeheader(soap);
	soap_serialize___ns1__getSite(soap, &soap_tmp___ns1__getSite);
	if (soap_begin_count(soap))
		return soap->error;
	if (soap->mode & SOAP_IO_LENGTH)
	{	if (soap_envelope_begin_out(soap)
		 || soap_putheader(soap)
		 || soap_body_begin_out(soap)
		 || soap_put___ns1__getSite(soap, &soap_tmp___ns1__getSite, "-ns1:getSite", "")
		 || soap_body_end_out(soap)
		 || soap_envelope_end_out(soap))
			 return soap->error;
	}
	if (soap_end_count(soap))
		return soap->error;
	if (soap_connect(soap, soap_endpoint, soap_action)
	 || soap_envelope_begin_out(soap)
	 || soap_putheader(soap)
	 || soap_body_begin_out(soap)
	 || soap_put___ns1__getSite(soap, &soap_tmp___ns1__getSite, "-ns1:getSite", "")
	 || soap_body_end_out(soap)
	 || soap_envelope_end_out(soap)
	 || soap_end_send(soap))
		return soap_closesock(soap);
	soap_default__ns1__getSiteResponse(soap, ns1__getSiteResponse);
	if (soap_begin_recv(soap)
	 || soap_envelope_begin_in(soap)
	 || soap_recv_header(soap)
	 || soap_body_begin_in(soap))
		return soap_closesock(soap);
	soap_get__ns1__getSiteResponse(soap, ns1__getSiteResponse, "ns1:getSiteResponse", "");
	if (soap->error)
	{	if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2)
			return soap_recv_fault(soap);
		return soap_closesock(soap);
	}
	if (soap_body_end_in(soap)
	 || soap_envelope_end_in(soap)
	 || soap_end_recv(soap))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

SOAP_FMAC5 int SOAP_FMAC6 soap_call___ns1__lastModified(struct soap *soap, const char *soap_endpoint, const char *soap_action, struct _ns1__lastModified *ns1__lastModified, struct _ns1__lastModifiedResponse *ns1__lastModifiedResponse)
{	struct __ns1__lastModified soap_tmp___ns1__lastModified;
	if (!soap_endpoint)
		soap_endpoint = "https://ngportaldev.vpac.org/grisu-ws/services/grisu";
	if (!soap_action)
		soap_action = "";
	soap->encodingStyle = NULL;
	soap_tmp___ns1__lastModified.ns1__lastModified = ns1__lastModified;
	soap_begin(soap);
	soap_serializeheader(soap);
	soap_serialize___ns1__lastModified(soap, &soap_tmp___ns1__lastModified);
	if (soap_begin_count(soap))
		return soap->error;
	if (soap->mode & SOAP_IO_LENGTH)
	{	if (soap_envelope_begin_out(soap)
		 || soap_putheader(soap)
		 || soap_body_begin_out(soap)
		 || soap_put___ns1__lastModified(soap, &soap_tmp___ns1__lastModified, "-ns1:lastModified", "")
		 || soap_body_end_out(soap)
		 || soap_envelope_end_out(soap))
			 return soap->error;
	}
	if (soap_end_count(soap))
		return soap->error;
	if (soap_connect(soap, soap_endpoint, soap_action)
	 || soap_envelope_begin_out(soap)
	 || soap_putheader(soap)
	 || soap_body_begin_out(soap)
	 || soap_put___ns1__lastModified(soap, &soap_tmp___ns1__lastModified, "-ns1:lastModified", "")
	 || soap_body_end_out(soap)
	 || soap_envelope_end_out(soap)
	 || soap_end_send(soap))
		return soap_closesock(soap);
	soap_default__ns1__lastModifiedResponse(soap, ns1__lastModifiedResponse);
	if (soap_begin_recv(soap)
	 || soap_envelope_begin_in(soap)
	 || soap_recv_header(soap)
	 || soap_body_begin_in(soap))
		return soap_closesock(soap);
	soap_get__ns1__lastModifiedResponse(soap, ns1__lastModifiedResponse, "ns1:lastModifiedResponse", "");
	if (soap->error)
	{	if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2)
			return soap_recv_fault(soap);
		return soap_closesock(soap);
	}
	if (soap_body_end_in(soap)
	 || soap_envelope_end_in(soap)
	 || soap_end_recv(soap))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

SOAP_FMAC5 int SOAP_FMAC6 soap_call___ns1__ls(struct soap *soap, const char *soap_endpoint, const char *soap_action, struct _ns1__ls *ns1__ls, struct _ns1__lsResponse *ns1__lsResponse)
{	struct __ns1__ls soap_tmp___ns1__ls;
	if (!soap_endpoint)
		soap_endpoint = "https://ngportaldev.vpac.org/grisu-ws/services/grisu";
	if (!soap_action)
		soap_action = "";
	soap->encodingStyle = NULL;
	soap_tmp___ns1__ls.ns1__ls = ns1__ls;
	soap_begin(soap);
	soap_serializeheader(soap);
	soap_serialize___ns1__ls(soap, &soap_tmp___ns1__ls);
	if (soap_begin_count(soap))
		return soap->error;
	if (soap->mode & SOAP_IO_LENGTH)
	{	if (soap_envelope_begin_out(soap)
		 || soap_putheader(soap)
		 || soap_body_begin_out(soap)
		 || soap_put___ns1__ls(soap, &soap_tmp___ns1__ls, "-ns1:ls", "")
		 || soap_body_end_out(soap)
		 || soap_envelope_end_out(soap))
			 return soap->error;
	}
	if (soap_end_count(soap))
		return soap->error;
	if (soap_connect(soap, soap_endpoint, soap_action)
	 || soap_envelope_begin_out(soap)
	 || soap_putheader(soap)
	 || soap_body_begin_out(soap)
	 || soap_put___ns1__ls(soap, &soap_tmp___ns1__ls, "-ns1:ls", "")
	 || soap_body_end_out(soap)
	 || soap_envelope_end_out(soap)
	 || soap_end_send(soap))
		return soap_closesock(soap);
	soap_default__ns1__lsResponse(soap, ns1__lsResponse);
	if (soap_begin_recv(soap)
	 || soap_envelope_begin_in(soap)
	 || soap_recv_header(soap)
	 || soap_body_begin_in(soap))
		return soap_closesock(soap);
	soap_get__ns1__lsResponse(soap, ns1__lsResponse, "ns1:lsResponse", "");
	if (soap->error)
	{	if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2)
			return soap_recv_fault(soap);
		return soap_closesock(soap);
	}
	if (soap_body_end_in(soap)
	 || soap_envelope_end_in(soap)
	 || soap_end_recv(soap))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

SOAP_FMAC5 int SOAP_FMAC6 soap_call___ns1__getApplicationDetails1(struct soap *soap, const char *soap_endpoint, const char *soap_action, struct _ns1__getApplicationDetails1 *ns1__getApplicationDetails1, struct _ns1__getApplicationDetails1Response *ns1__getApplicationDetails1Response)
{	struct __ns1__getApplicationDetails1 soap_tmp___ns1__getApplicationDetails1;
	if (!soap_endpoint)
		soap_endpoint = "https://ngportaldev.vpac.org/grisu-ws/services/grisu";
	if (!soap_action)
		soap_action = "";
	soap->encodingStyle = NULL;
	soap_tmp___ns1__getApplicationDetails1.ns1__getApplicationDetails1 = ns1__getApplicationDetails1;
	soap_begin(soap);
	soap_serializeheader(soap);
	soap_serialize___ns1__getApplicationDetails1(soap, &soap_tmp___ns1__getApplicationDetails1);
	if (soap_begin_count(soap))
		return soap->error;
	if (soap->mode & SOAP_IO_LENGTH)
	{	if (soap_envelope_begin_out(soap)
		 || soap_putheader(soap)
		 || soap_body_begin_out(soap)
		 || soap_put___ns1__getApplicationDetails1(soap, &soap_tmp___ns1__getApplicationDetails1, "-ns1:getApplicationDetails1", "")
		 || soap_body_end_out(soap)
		 || soap_envelope_end_out(soap))
			 return soap->error;
	}
	if (soap_end_count(soap))
		return soap->error;
	if (soap_connect(soap, soap_endpoint, soap_action)
	 || soap_envelope_begin_out(soap)
	 || soap_putheader(soap)
	 || soap_body_begin_out(soap)
	 || soap_put___ns1__getApplicationDetails1(soap, &soap_tmp___ns1__getApplicationDetails1, "-ns1:getApplicationDetails1", "")
	 || soap_body_end_out(soap)
	 || soap_envelope_end_out(soap)
	 || soap_end_send(soap))
		return soap_closesock(soap);
	soap_default__ns1__getApplicationDetails1Response(soap, ns1__getApplicationDetails1Response);
	if (soap_begin_recv(soap)
	 || soap_envelope_begin_in(soap)
	 || soap_recv_header(soap)
	 || soap_body_begin_in(soap))
		return soap_closesock(soap);
	soap_get__ns1__getApplicationDetails1Response(soap, ns1__getApplicationDetails1Response, "ns1:getApplicationDetails1Response", "");
	if (soap->error)
	{	if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2)
			return soap_recv_fault(soap);
		return soap_closesock(soap);
	}
	if (soap_body_end_in(soap)
	 || soap_envelope_end_in(soap)
	 || soap_end_recv(soap))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

SOAP_FMAC5 int SOAP_FMAC6 soap_call___ns1__calculateRelativeJobDirectory(struct soap *soap, const char *soap_endpoint, const char *soap_action, struct _ns1__calculateRelativeJobDirectory *ns1__calculateRelativeJobDirectory, struct _ns1__calculateRelativeJobDirectoryResponse *ns1__calculateRelativeJobDirectoryResponse)
{	struct __ns1__calculateRelativeJobDirectory soap_tmp___ns1__calculateRelativeJobDirectory;
	if (!soap_endpoint)
		soap_endpoint = "https://ngportaldev.vpac.org/grisu-ws/services/grisu";
	if (!soap_action)
		soap_action = "";
	soap->encodingStyle = NULL;
	soap_tmp___ns1__calculateRelativeJobDirectory.ns1__calculateRelativeJobDirectory = ns1__calculateRelativeJobDirectory;
	soap_begin(soap);
	soap_serializeheader(soap);
	soap_serialize___ns1__calculateRelativeJobDirectory(soap, &soap_tmp___ns1__calculateRelativeJobDirectory);
	if (soap_begin_count(soap))
		return soap->error;
	if (soap->mode & SOAP_IO_LENGTH)
	{	if (soap_envelope_begin_out(soap)
		 || soap_putheader(soap)
		 || soap_body_begin_out(soap)
		 || soap_put___ns1__calculateRelativeJobDirectory(soap, &soap_tmp___ns1__calculateRelativeJobDirectory, "-ns1:calculateRelativeJobDirectory", "")
		 || soap_body_end_out(soap)
		 || soap_envelope_end_out(soap))
			 return soap->error;
	}
	if (soap_end_count(soap))
		return soap->error;
	if (soap_connect(soap, soap_endpoint, soap_action)
	 || soap_envelope_begin_out(soap)
	 || soap_putheader(soap)
	 || soap_body_begin_out(soap)
	 || soap_put___ns1__calculateRelativeJobDirectory(soap, &soap_tmp___ns1__calculateRelativeJobDirectory, "-ns1:calculateRelativeJobDirectory", "")
	 || soap_body_end_out(soap)
	 || soap_envelope_end_out(soap)
	 || soap_end_send(soap))
		return soap_closesock(soap);
	soap_default__ns1__calculateRelativeJobDirectoryResponse(soap, ns1__calculateRelativeJobDirectoryResponse);
	if (soap_begin_recv(soap)
	 || soap_envelope_begin_in(soap)
	 || soap_recv_header(soap)
	 || soap_body_begin_in(soap))
		return soap_closesock(soap);
	soap_get__ns1__calculateRelativeJobDirectoryResponse(soap, ns1__calculateRelativeJobDirectoryResponse, "ns1:calculateRelativeJobDirectoryResponse", "");
	if (soap->error)
	{	if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2)
			return soap_recv_fault(soap);
		return soap_closesock(soap);
	}
	if (soap_body_end_in(soap)
	 || soap_envelope_end_in(soap)
	 || soap_end_recv(soap))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

SOAP_FMAC5 int SOAP_FMAC6 soap_call___ns1__setJobDescription_USCOREstring(struct soap *soap, const char *soap_endpoint, const char *soap_action, struct _ns1__setJobDescription_USCOREstring *ns1__setJobDescription_USCOREstring, struct _ns1__setJobDescription_USCOREstringResponse *ns1__setJobDescription_USCOREstringResponse)
{	struct __ns1__setJobDescription_USCOREstring soap_tmp___ns1__setJobDescription_USCOREstring;
	if (!soap_endpoint)
		soap_endpoint = "https://ngportaldev.vpac.org/grisu-ws/services/grisu";
	if (!soap_action)
		soap_action = "";
	soap->encodingStyle = NULL;
	soap_tmp___ns1__setJobDescription_USCOREstring.ns1__setJobDescription_USCOREstring = ns1__setJobDescription_USCOREstring;
	soap_begin(soap);
	soap_serializeheader(soap);
	soap_serialize___ns1__setJobDescription_USCOREstring(soap, &soap_tmp___ns1__setJobDescription_USCOREstring);
	if (soap_begin_count(soap))
		return soap->error;
	if (soap->mode & SOAP_IO_LENGTH)
	{	if (soap_envelope_begin_out(soap)
		 || soap_putheader(soap)
		 || soap_body_begin_out(soap)
		 || soap_put___ns1__setJobDescription_USCOREstring(soap, &soap_tmp___ns1__setJobDescription_USCOREstring, "-ns1:setJobDescription_string", "")
		 || soap_body_end_out(soap)
		 || soap_envelope_end_out(soap))
			 return soap->error;
	}
	if (soap_end_count(soap))
		return soap->error;
	if (soap_connect(soap, soap_endpoint, soap_action)
	 || soap_envelope_begin_out(soap)
	 || soap_putheader(soap)
	 || soap_body_begin_out(soap)
	 || soap_put___ns1__setJobDescription_USCOREstring(soap, &soap_tmp___ns1__setJobDescription_USCOREstring, "-ns1:setJobDescription_string", "")
	 || soap_body_end_out(soap)
	 || soap_envelope_end_out(soap)
	 || soap_end_send(soap))
		return soap_closesock(soap);
	soap_default__ns1__setJobDescription_USCOREstringResponse(soap, ns1__setJobDescription_USCOREstringResponse);
	if (soap_begin_recv(soap)
	 || soap_envelope_begin_in(soap)
	 || soap_recv_header(soap)
	 || soap_body_begin_in(soap))
		return soap_closesock(soap);
	soap_get__ns1__setJobDescription_USCOREstringResponse(soap, ns1__setJobDescription_USCOREstringResponse, "ns1:setJobDescription_stringResponse", "");
	if (soap->error)
	{	if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2)
			return soap_recv_fault(soap);
		return soap_closesock(soap);
	}
	if (soap_body_end_in(soap)
	 || soap_envelope_end_in(soap)
	 || soap_end_recv(soap))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

SOAP_FMAC5 int SOAP_FMAC6 soap_call___ns1__logout(struct soap *soap, const char *soap_endpoint, const char *soap_action, struct _ns1__logout *ns1__logout, struct _ns1__logoutResponse *ns1__logoutResponse)
{	struct __ns1__logout soap_tmp___ns1__logout;
	if (!soap_endpoint)
		soap_endpoint = "https://ngportaldev.vpac.org/grisu-ws/services/grisu";
	if (!soap_action)
		soap_action = "";
	soap->encodingStyle = NULL;
	soap_tmp___ns1__logout.ns1__logout = ns1__logout;
	soap_begin(soap);
	soap_serializeheader(soap);
	soap_serialize___ns1__logout(soap, &soap_tmp___ns1__logout);
	if (soap_begin_count(soap))
		return soap->error;
	if (soap->mode & SOAP_IO_LENGTH)
	{	if (soap_envelope_begin_out(soap)
		 || soap_putheader(soap)
		 || soap_body_begin_out(soap)
		 || soap_put___ns1__logout(soap, &soap_tmp___ns1__logout, "-ns1:logout", "")
		 || soap_body_end_out(soap)
		 || soap_envelope_end_out(soap))
			 return soap->error;
	}
	if (soap_end_count(soap))
		return soap->error;
	if (soap_connect(soap, soap_endpoint, soap_action)
	 || soap_envelope_begin_out(soap)
	 || soap_putheader(soap)
	 || soap_body_begin_out(soap)
	 || soap_put___ns1__logout(soap, &soap_tmp___ns1__logout, "-ns1:logout", "")
	 || soap_body_end_out(soap)
	 || soap_envelope_end_out(soap)
	 || soap_end_send(soap))
		return soap_closesock(soap);
	soap_default__ns1__logoutResponse(soap, ns1__logoutResponse);
	if (soap_begin_recv(soap)
	 || soap_envelope_begin_in(soap)
	 || soap_recv_header(soap)
	 || soap_body_begin_in(soap))
		return soap_closesock(soap);
	soap_get__ns1__logoutResponse(soap, ns1__logoutResponse, "ns1:logoutResponse", "");
	if (soap->error)
	{	if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2)
			return soap_recv_fault(soap);
		return soap_closesock(soap);
	}
	if (soap_body_end_in(soap)
	 || soap_envelope_end_in(soap)
	 || soap_end_recv(soap))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

SOAP_FMAC5 int SOAP_FMAC6 soap_call___ns1__submitJob(struct soap *soap, const char *soap_endpoint, const char *soap_action, struct _ns1__submitJob *ns1__submitJob, struct _ns1__submitJobResponse *ns1__submitJobResponse)
{	struct __ns1__submitJob soap_tmp___ns1__submitJob;
	if (!soap_endpoint)
		soap_endpoint = "https://ngportaldev.vpac.org/grisu-ws/services/grisu";
	if (!soap_action)
		soap_action = "";
	soap->encodingStyle = NULL;
	soap_tmp___ns1__submitJob.ns1__submitJob = ns1__submitJob;
	soap_begin(soap);
	soap_serializeheader(soap);
	soap_serialize___ns1__submitJob(soap, &soap_tmp___ns1__submitJob);
	if (soap_begin_count(soap))
		return soap->error;
	if (soap->mode & SOAP_IO_LENGTH)
	{	if (soap_envelope_begin_out(soap)
		 || soap_putheader(soap)
		 || soap_body_begin_out(soap)
		 || soap_put___ns1__submitJob(soap, &soap_tmp___ns1__submitJob, "-ns1:submitJob", "")
		 || soap_body_end_out(soap)
		 || soap_envelope_end_out(soap))
			 return soap->error;
	}
	if (soap_end_count(soap))
		return soap->error;
	if (soap_connect(soap, soap_endpoint, soap_action)
	 || soap_envelope_begin_out(soap)
	 || soap_putheader(soap)
	 || soap_body_begin_out(soap)
	 || soap_put___ns1__submitJob(soap, &soap_tmp___ns1__submitJob, "-ns1:submitJob", "")
	 || soap_body_end_out(soap)
	 || soap_envelope_end_out(soap)
	 || soap_end_send(soap))
		return soap_closesock(soap);
	soap_default__ns1__submitJobResponse(soap, ns1__submitJobResponse);
	if (soap_begin_recv(soap)
	 || soap_envelope_begin_in(soap)
	 || soap_recv_header(soap)
	 || soap_body_begin_in(soap))
		return soap_closesock(soap);
	soap_get__ns1__submitJobResponse(soap, ns1__submitJobResponse, "ns1:submitJobResponse", "");
	if (soap->error)
	{	if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2)
			return soap_recv_fault(soap);
		return soap_closesock(soap);
	}
	if (soap_body_end_in(soap)
	 || soap_envelope_end_in(soap)
	 || soap_end_recv(soap))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

SOAP_FMAC5 int SOAP_FMAC6 soap_call___ns1__uploadByteArray(struct soap *soap, const char *soap_endpoint, const char *soap_action, struct _ns1__uploadByteArray *ns1__uploadByteArray, struct _ns1__uploadByteArrayResponse *ns1__uploadByteArrayResponse)
{	struct __ns1__uploadByteArray soap_tmp___ns1__uploadByteArray;
	if (!soap_endpoint)
		soap_endpoint = "https://ngportaldev.vpac.org/grisu-ws/services/grisu";
	if (!soap_action)
		soap_action = "";
	soap->encodingStyle = NULL;
	soap_tmp___ns1__uploadByteArray.ns1__uploadByteArray = ns1__uploadByteArray;
	soap_begin(soap);
	soap_serializeheader(soap);
	soap_serialize___ns1__uploadByteArray(soap, &soap_tmp___ns1__uploadByteArray);
	if (soap_begin_count(soap))
		return soap->error;
	if (soap->mode & SOAP_IO_LENGTH)
	{	if (soap_envelope_begin_out(soap)
		 || soap_putheader(soap)
		 || soap_body_begin_out(soap)
		 || soap_put___ns1__uploadByteArray(soap, &soap_tmp___ns1__uploadByteArray, "-ns1:uploadByteArray", "")
		 || soap_body_end_out(soap)
		 || soap_envelope_end_out(soap))
			 return soap->error;
	}
	if (soap_end_count(soap))
		return soap->error;
	if (soap_connect(soap, soap_endpoint, soap_action)
	 || soap_envelope_begin_out(soap)
	 || soap_putheader(soap)
	 || soap_body_begin_out(soap)
	 || soap_put___ns1__uploadByteArray(soap, &soap_tmp___ns1__uploadByteArray, "-ns1:uploadByteArray", "")
	 || soap_body_end_out(soap)
	 || soap_envelope_end_out(soap)
	 || soap_end_send(soap))
		return soap_closesock(soap);
	soap_default__ns1__uploadByteArrayResponse(soap, ns1__uploadByteArrayResponse);
	if (soap_begin_recv(soap)
	 || soap_envelope_begin_in(soap)
	 || soap_recv_header(soap)
	 || soap_body_begin_in(soap))
		return soap_closesock(soap);
	soap_get__ns1__uploadByteArrayResponse(soap, ns1__uploadByteArrayResponse, "ns1:uploadByteArrayResponse", "");
	if (soap->error)
	{	if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2)
			return soap_recv_fault(soap);
		return soap_closesock(soap);
	}
	if (soap_body_end_in(soap)
	 || soap_envelope_end_in(soap)
	 || soap_end_recv(soap))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

SOAP_FMAC5 int SOAP_FMAC6 soap_call___ns1__cp(struct soap *soap, const char *soap_endpoint, const char *soap_action, struct _ns1__cp *ns1__cp, struct _ns1__cpResponse *ns1__cpResponse)
{	struct __ns1__cp soap_tmp___ns1__cp;
	if (!soap_endpoint)
		soap_endpoint = "https://ngportaldev.vpac.org/grisu-ws/services/grisu";
	if (!soap_action)
		soap_action = "";
	soap->encodingStyle = NULL;
	soap_tmp___ns1__cp.ns1__cp = ns1__cp;
	soap_begin(soap);
	soap_serializeheader(soap);
	soap_serialize___ns1__cp(soap, &soap_tmp___ns1__cp);
	if (soap_begin_count(soap))
		return soap->error;
	if (soap->mode & SOAP_IO_LENGTH)
	{	if (soap_envelope_begin_out(soap)
		 || soap_putheader(soap)
		 || soap_body_begin_out(soap)
		 || soap_put___ns1__cp(soap, &soap_tmp___ns1__cp, "-ns1:cp", "")
		 || soap_body_end_out(soap)
		 || soap_envelope_end_out(soap))
			 return soap->error;
	}
	if (soap_end_count(soap))
		return soap->error;
	if (soap_connect(soap, soap_endpoint, soap_action)
	 || soap_envelope_begin_out(soap)
	 || soap_putheader(soap)
	 || soap_body_begin_out(soap)
	 || soap_put___ns1__cp(soap, &soap_tmp___ns1__cp, "-ns1:cp", "")
	 || soap_body_end_out(soap)
	 || soap_envelope_end_out(soap)
	 || soap_end_send(soap))
		return soap_closesock(soap);
	soap_default__ns1__cpResponse(soap, ns1__cpResponse);
	if (soap_begin_recv(soap)
	 || soap_envelope_begin_in(soap)
	 || soap_recv_header(soap)
	 || soap_body_begin_in(soap))
		return soap_closesock(soap);
	soap_get__ns1__cpResponse(soap, ns1__cpResponse, "ns1:cpResponse", "");
	if (soap->error)
	{	if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2)
			return soap_recv_fault(soap);
		return soap_closesock(soap);
	}
	if (soap_body_end_in(soap)
	 || soap_envelope_end_in(soap)
	 || soap_end_recv(soap))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

SOAP_FMAC5 int SOAP_FMAC6 soap_call___ns1__getFileSize(struct soap *soap, const char *soap_endpoint, const char *soap_action, struct _ns1__getFileSize *ns1__getFileSize, struct _ns1__getFileSizeResponse *ns1__getFileSizeResponse)
{	struct __ns1__getFileSize soap_tmp___ns1__getFileSize;
	if (!soap_endpoint)
		soap_endpoint = "https://ngportaldev.vpac.org/grisu-ws/services/grisu";
	if (!soap_action)
		soap_action = "";
	soap->encodingStyle = NULL;
	soap_tmp___ns1__getFileSize.ns1__getFileSize = ns1__getFileSize;
	soap_begin(soap);
	soap_serializeheader(soap);
	soap_serialize___ns1__getFileSize(soap, &soap_tmp___ns1__getFileSize);
	if (soap_begin_count(soap))
		return soap->error;
	if (soap->mode & SOAP_IO_LENGTH)
	{	if (soap_envelope_begin_out(soap)
		 || soap_putheader(soap)
		 || soap_body_begin_out(soap)
		 || soap_put___ns1__getFileSize(soap, &soap_tmp___ns1__getFileSize, "-ns1:getFileSize", "")
		 || soap_body_end_out(soap)
		 || soap_envelope_end_out(soap))
			 return soap->error;
	}
	if (soap_end_count(soap))
		return soap->error;
	if (soap_connect(soap, soap_endpoint, soap_action)
	 || soap_envelope_begin_out(soap)
	 || soap_putheader(soap)
	 || soap_body_begin_out(soap)
	 || soap_put___ns1__getFileSize(soap, &soap_tmp___ns1__getFileSize, "-ns1:getFileSize", "")
	 || soap_body_end_out(soap)
	 || soap_envelope_end_out(soap)
	 || soap_end_send(soap))
		return soap_closesock(soap);
	soap_default__ns1__getFileSizeResponse(soap, ns1__getFileSizeResponse);
	if (soap_begin_recv(soap)
	 || soap_envelope_begin_in(soap)
	 || soap_recv_header(soap)
	 || soap_body_begin_in(soap))
		return soap_closesock(soap);
	soap_get__ns1__getFileSizeResponse(soap, ns1__getFileSizeResponse, "ns1:getFileSizeResponse", "");
	if (soap->error)
	{	if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2)
			return soap_recv_fault(soap);
		return soap_closesock(soap);
	}
	if (soap_body_end_in(soap)
	 || soap_envelope_end_in(soap)
	 || soap_end_recv(soap))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

SOAP_FMAC5 int SOAP_FMAC6 soap_call___ns1__deleteFile(struct soap *soap, const char *soap_endpoint, const char *soap_action, struct _ns1__deleteFile *ns1__deleteFile, struct _ns1__deleteFileResponse *ns1__deleteFileResponse)
{	struct __ns1__deleteFile soap_tmp___ns1__deleteFile;
	if (!soap_endpoint)
		soap_endpoint = "https://ngportaldev.vpac.org/grisu-ws/services/grisu";
	if (!soap_action)
		soap_action = "";
	soap->encodingStyle = NULL;
	soap_tmp___ns1__deleteFile.ns1__deleteFile = ns1__deleteFile;
	soap_begin(soap);
	soap_serializeheader(soap);
	soap_serialize___ns1__deleteFile(soap, &soap_tmp___ns1__deleteFile);
	if (soap_begin_count(soap))
		return soap->error;
	if (soap->mode & SOAP_IO_LENGTH)
	{	if (soap_envelope_begin_out(soap)
		 || soap_putheader(soap)
		 || soap_body_begin_out(soap)
		 || soap_put___ns1__deleteFile(soap, &soap_tmp___ns1__deleteFile, "-ns1:deleteFile", "")
		 || soap_body_end_out(soap)
		 || soap_envelope_end_out(soap))
			 return soap->error;
	}
	if (soap_end_count(soap))
		return soap->error;
	if (soap_connect(soap, soap_endpoint, soap_action)
	 || soap_envelope_begin_out(soap)
	 || soap_putheader(soap)
	 || soap_body_begin_out(soap)
	 || soap_put___ns1__deleteFile(soap, &soap_tmp___ns1__deleteFile, "-ns1:deleteFile", "")
	 || soap_body_end_out(soap)
	 || soap_envelope_end_out(soap)
	 || soap_end_send(soap))
		return soap_closesock(soap);
	soap_default__ns1__deleteFileResponse(soap, ns1__deleteFileResponse);
	if (soap_begin_recv(soap)
	 || soap_envelope_begin_in(soap)
	 || soap_recv_header(soap)
	 || soap_body_begin_in(soap))
		return soap_closesock(soap);
	soap_get__ns1__deleteFileResponse(soap, ns1__deleteFileResponse, "ns1:deleteFileResponse", "");
	if (soap->error)
	{	if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2)
			return soap_recv_fault(soap);
		return soap_closesock(soap);
	}
	if (soap_body_end_in(soap)
	 || soap_envelope_end_in(soap)
	 || soap_end_recv(soap))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

SOAP_FMAC5 int SOAP_FMAC6 soap_call___ns1__upload(struct soap *soap, const char *soap_endpoint, const char *soap_action, struct _ns1__upload *ns1__upload, struct _ns1__uploadResponse *ns1__uploadResponse)
{	struct __ns1__upload soap_tmp___ns1__upload;
	if (!soap_endpoint)
		soap_endpoint = "https://ngportaldev.vpac.org/grisu-ws/services/grisu";
	if (!soap_action)
		soap_action = "";
	soap->encodingStyle = NULL;
	soap_tmp___ns1__upload.ns1__upload = ns1__upload;
	soap_begin(soap);
	soap_serializeheader(soap);
	soap_serialize___ns1__upload(soap, &soap_tmp___ns1__upload);
	if (soap_begin_count(soap))
		return soap->error;
	if (soap->mode & SOAP_IO_LENGTH)
	{	if (soap_envelope_begin_out(soap)
		 || soap_putheader(soap)
		 || soap_body_begin_out(soap)
		 || soap_put___ns1__upload(soap, &soap_tmp___ns1__upload, "-ns1:upload", "")
		 || soap_body_end_out(soap)
		 || soap_envelope_end_out(soap))
			 return soap->error;
	}
	if (soap_end_count(soap))
		return soap->error;
	if (soap_connect(soap, soap_endpoint, soap_action)
	 || soap_envelope_begin_out(soap)
	 || soap_putheader(soap)
	 || soap_body_begin_out(soap)
	 || soap_put___ns1__upload(soap, &soap_tmp___ns1__upload, "-ns1:upload", "")
	 || soap_body_end_out(soap)
	 || soap_envelope_end_out(soap)
	 || soap_end_send(soap))
		return soap_closesock(soap);
	soap_default__ns1__uploadResponse(soap, ns1__uploadResponse);
	if (soap_begin_recv(soap)
	 || soap_envelope_begin_in(soap)
	 || soap_recv_header(soap)
	 || soap_body_begin_in(soap))
		return soap_closesock(soap);
	soap_get__ns1__uploadResponse(soap, ns1__uploadResponse, "ns1:uploadResponse", "");
	if (soap->error)
	{	if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2)
			return soap_recv_fault(soap);
		return soap_closesock(soap);
	}
	if (soap_body_end_in(soap)
	 || soap_envelope_end_in(soap)
	 || soap_end_recv(soap))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

SOAP_FMAC5 int SOAP_FMAC6 soap_call___ns1__getJobDirectory(struct soap *soap, const char *soap_endpoint, const char *soap_action, struct _ns1__getJobDirectory *ns1__getJobDirectory, struct _ns1__getJobDirectoryResponse *ns1__getJobDirectoryResponse)
{	struct __ns1__getJobDirectory soap_tmp___ns1__getJobDirectory;
	if (!soap_endpoint)
		soap_endpoint = "https://ngportaldev.vpac.org/grisu-ws/services/grisu";
	if (!soap_action)
		soap_action = "";
	soap->encodingStyle = NULL;
	soap_tmp___ns1__getJobDirectory.ns1__getJobDirectory = ns1__getJobDirectory;
	soap_begin(soap);
	soap_serializeheader(soap);
	soap_serialize___ns1__getJobDirectory(soap, &soap_tmp___ns1__getJobDirectory);
	if (soap_begin_count(soap))
		return soap->error;
	if (soap->mode & SOAP_IO_LENGTH)
	{	if (soap_envelope_begin_out(soap)
		 || soap_putheader(soap)
		 || soap_body_begin_out(soap)
		 || soap_put___ns1__getJobDirectory(soap, &soap_tmp___ns1__getJobDirectory, "-ns1:getJobDirectory", "")
		 || soap_body_end_out(soap)
		 || soap_envelope_end_out(soap))
			 return soap->error;
	}
	if (soap_end_count(soap))
		return soap->error;
	if (soap_connect(soap, soap_endpoint, soap_action)
	 || soap_envelope_begin_out(soap)
	 || soap_putheader(soap)
	 || soap_body_begin_out(soap)
	 || soap_put___ns1__getJobDirectory(soap, &soap_tmp___ns1__getJobDirectory, "-ns1:getJobDirectory", "")
	 || soap_body_end_out(soap)
	 || soap_envelope_end_out(soap)
	 || soap_end_send(soap))
		return soap_closesock(soap);
	soap_default__ns1__getJobDirectoryResponse(soap, ns1__getJobDirectoryResponse);
	if (soap_begin_recv(soap)
	 || soap_envelope_begin_in(soap)
	 || soap_recv_header(soap)
	 || soap_body_begin_in(soap))
		return soap_closesock(soap);
	soap_get__ns1__getJobDirectoryResponse(soap, ns1__getJobDirectoryResponse, "ns1:getJobDirectoryResponse", "");
	if (soap->error)
	{	if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2)
			return soap_recv_fault(soap);
		return soap_closesock(soap);
	}
	if (soap_body_end_in(soap)
	 || soap_envelope_end_in(soap)
	 || soap_end_recv(soap))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

SOAP_FMAC5 int SOAP_FMAC6 soap_call___ns1__setJobDescription(struct soap *soap, const char *soap_endpoint, const char *soap_action, struct _ns1__setJobDescription *ns1__setJobDescription, struct _ns1__setJobDescriptionResponse *ns1__setJobDescriptionResponse)
{	struct __ns1__setJobDescription soap_tmp___ns1__setJobDescription;
	if (!soap_endpoint)
		soap_endpoint = "https://ngportaldev.vpac.org/grisu-ws/services/grisu";
	if (!soap_action)
		soap_action = "";
	soap->encodingStyle = NULL;
	soap_tmp___ns1__setJobDescription.ns1__setJobDescription = ns1__setJobDescription;
	soap_begin(soap);
	soap_serializeheader(soap);
	soap_serialize___ns1__setJobDescription(soap, &soap_tmp___ns1__setJobDescription);
	if (soap_begin_count(soap))
		return soap->error;
	if (soap->mode & SOAP_IO_LENGTH)
	{	if (soap_envelope_begin_out(soap)
		 || soap_putheader(soap)
		 || soap_body_begin_out(soap)
		 || soap_put___ns1__setJobDescription(soap, &soap_tmp___ns1__setJobDescription, "-ns1:setJobDescription", "")
		 || soap_body_end_out(soap)
		 || soap_envelope_end_out(soap))
			 return soap->error;
	}
	if (soap_end_count(soap))
		return soap->error;
	if (soap_connect(soap, soap_endpoint, soap_action)
	 || soap_envelope_begin_out(soap)
	 || soap_putheader(soap)
	 || soap_body_begin_out(soap)
	 || soap_put___ns1__setJobDescription(soap, &soap_tmp___ns1__setJobDescription, "-ns1:setJobDescription", "")
	 || soap_body_end_out(soap)
	 || soap_envelope_end_out(soap)
	 || soap_end_send(soap))
		return soap_closesock(soap);
	soap_default__ns1__setJobDescriptionResponse(soap, ns1__setJobDescriptionResponse);
	if (soap_begin_recv(soap)
	 || soap_envelope_begin_in(soap)
	 || soap_recv_header(soap)
	 || soap_body_begin_in(soap))
		return soap_closesock(soap);
	soap_get__ns1__setJobDescriptionResponse(soap, ns1__setJobDescriptionResponse, "ns1:setJobDescriptionResponse", "");
	if (soap->error)
	{	if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2)
			return soap_recv_fault(soap);
		return soap_closesock(soap);
	}
	if (soap_body_end_in(soap)
	 || soap_envelope_end_in(soap)
	 || soap_end_recv(soap))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

SOAP_FMAC5 int SOAP_FMAC6 soap_call___ns1__getAllSites(struct soap *soap, const char *soap_endpoint, const char *soap_action, struct _ns1__getAllSites *ns1__getAllSites, struct _ns1__getAllSitesResponse *ns1__getAllSitesResponse)
{	struct __ns1__getAllSites soap_tmp___ns1__getAllSites;
	if (!soap_endpoint)
		soap_endpoint = "https://ngportaldev.vpac.org/grisu-ws/services/grisu";
	if (!soap_action)
		soap_action = "";
	soap->encodingStyle = NULL;
	soap_tmp___ns1__getAllSites.ns1__getAllSites = ns1__getAllSites;
	soap_begin(soap);
	soap_serializeheader(soap);
	soap_serialize___ns1__getAllSites(soap, &soap_tmp___ns1__getAllSites);
	if (soap_begin_count(soap))
		return soap->error;
	if (soap->mode & SOAP_IO_LENGTH)
	{	if (soap_envelope_begin_out(soap)
		 || soap_putheader(soap)
		 || soap_body_begin_out(soap)
		 || soap_put___ns1__getAllSites(soap, &soap_tmp___ns1__getAllSites, "-ns1:getAllSites", "")
		 || soap_body_end_out(soap)
		 || soap_envelope_end_out(soap))
			 return soap->error;
	}
	if (soap_end_count(soap))
		return soap->error;
	if (soap_connect(soap, soap_endpoint, soap_action)
	 || soap_envelope_begin_out(soap)
	 || soap_putheader(soap)
	 || soap_body_begin_out(soap)
	 || soap_put___ns1__getAllSites(soap, &soap_tmp___ns1__getAllSites, "-ns1:getAllSites", "")
	 || soap_body_end_out(soap)
	 || soap_envelope_end_out(soap)
	 || soap_end_send(soap))
		return soap_closesock(soap);
	soap_default__ns1__getAllSitesResponse(soap, ns1__getAllSitesResponse);
	if (soap_begin_recv(soap)
	 || soap_envelope_begin_in(soap)
	 || soap_recv_header(soap)
	 || soap_body_begin_in(soap))
		return soap_closesock(soap);
	soap_get__ns1__getAllSitesResponse(soap, ns1__getAllSitesResponse, "ns1:getAllSitesResponse", "");
	if (soap->error)
	{	if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2)
			return soap_recv_fault(soap);
		return soap_closesock(soap);
	}
	if (soap_body_end_in(soap)
	 || soap_envelope_end_in(soap)
	 || soap_end_recv(soap))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

SOAP_FMAC5 int SOAP_FMAC6 soap_call___ns1__getJobDetails_USCOREstring(struct soap *soap, const char *soap_endpoint, const char *soap_action, struct _ns1__getJobDetails_USCOREstring *ns1__getJobDetails_USCOREstring, struct _ns1__getJobDetails_USCOREstringResponse *ns1__getJobDetails_USCOREstringResponse)
{	struct __ns1__getJobDetails_USCOREstring soap_tmp___ns1__getJobDetails_USCOREstring;
	if (!soap_endpoint)
		soap_endpoint = "https://ngportaldev.vpac.org/grisu-ws/services/grisu";
	if (!soap_action)
		soap_action = "";
	soap->encodingStyle = NULL;
	soap_tmp___ns1__getJobDetails_USCOREstring.ns1__getJobDetails_USCOREstring = ns1__getJobDetails_USCOREstring;
	soap_begin(soap);
	soap_serializeheader(soap);
	soap_serialize___ns1__getJobDetails_USCOREstring(soap, &soap_tmp___ns1__getJobDetails_USCOREstring);
	if (soap_begin_count(soap))
		return soap->error;
	if (soap->mode & SOAP_IO_LENGTH)
	{	if (soap_envelope_begin_out(soap)
		 || soap_putheader(soap)
		 || soap_body_begin_out(soap)
		 || soap_put___ns1__getJobDetails_USCOREstring(soap, &soap_tmp___ns1__getJobDetails_USCOREstring, "-ns1:getJobDetails_string", "")
		 || soap_body_end_out(soap)
		 || soap_envelope_end_out(soap))
			 return soap->error;
	}
	if (soap_end_count(soap))
		return soap->error;
	if (soap_connect(soap, soap_endpoint, soap_action)
	 || soap_envelope_begin_out(soap)
	 || soap_putheader(soap)
	 || soap_body_begin_out(soap)
	 || soap_put___ns1__getJobDetails_USCOREstring(soap, &soap_tmp___ns1__getJobDetails_USCOREstring, "-ns1:getJobDetails_string", "")
	 || soap_body_end_out(soap)
	 || soap_envelope_end_out(soap)
	 || soap_end_send(soap))
		return soap_closesock(soap);
	soap_default__ns1__getJobDetails_USCOREstringResponse(soap, ns1__getJobDetails_USCOREstringResponse);
	if (soap_begin_recv(soap)
	 || soap_envelope_begin_in(soap)
	 || soap_recv_header(soap)
	 || soap_body_begin_in(soap))
		return soap_closesock(soap);
	soap_get__ns1__getJobDetails_USCOREstringResponse(soap, ns1__getJobDetails_USCOREstringResponse, "ns1:getJobDetails_stringResponse", "");
	if (soap->error)
	{	if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2)
			return soap_recv_fault(soap);
		return soap_closesock(soap);
	}
	if (soap_body_end_in(soap)
	 || soap_envelope_end_in(soap)
	 || soap_end_recv(soap))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

SOAP_FMAC5 int SOAP_FMAC6 soap_call___ns1__getJobStatus(struct soap *soap, const char *soap_endpoint, const char *soap_action, struct _ns1__getJobStatus *ns1__getJobStatus, struct _ns1__getJobStatusResponse *ns1__getJobStatusResponse)
{	struct __ns1__getJobStatus soap_tmp___ns1__getJobStatus;
	if (!soap_endpoint)
		soap_endpoint = "https://ngportaldev.vpac.org/grisu-ws/services/grisu";
	if (!soap_action)
		soap_action = "";
	soap->encodingStyle = NULL;
	soap_tmp___ns1__getJobStatus.ns1__getJobStatus = ns1__getJobStatus;
	soap_begin(soap);
	soap_serializeheader(soap);
	soap_serialize___ns1__getJobStatus(soap, &soap_tmp___ns1__getJobStatus);
	if (soap_begin_count(soap))
		return soap->error;
	if (soap->mode & SOAP_IO_LENGTH)
	{	if (soap_envelope_begin_out(soap)
		 || soap_putheader(soap)
		 || soap_body_begin_out(soap)
		 || soap_put___ns1__getJobStatus(soap, &soap_tmp___ns1__getJobStatus, "-ns1:getJobStatus", "")
		 || soap_body_end_out(soap)
		 || soap_envelope_end_out(soap))
			 return soap->error;
	}
	if (soap_end_count(soap))
		return soap->error;
	if (soap_connect(soap, soap_endpoint, soap_action)
	 || soap_envelope_begin_out(soap)
	 || soap_putheader(soap)
	 || soap_body_begin_out(soap)
	 || soap_put___ns1__getJobStatus(soap, &soap_tmp___ns1__getJobStatus, "-ns1:getJobStatus", "")
	 || soap_body_end_out(soap)
	 || soap_envelope_end_out(soap)
	 || soap_end_send(soap))
		return soap_closesock(soap);
	soap_default__ns1__getJobStatusResponse(soap, ns1__getJobStatusResponse);
	if (soap_begin_recv(soap)
	 || soap_envelope_begin_in(soap)
	 || soap_recv_header(soap)
	 || soap_body_begin_in(soap))
		return soap_closesock(soap);
	soap_get__ns1__getJobStatusResponse(soap, ns1__getJobStatusResponse, "ns1:getJobStatusResponse", "");
	if (soap->error)
	{	if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2)
			return soap_recv_fault(soap);
		return soap_closesock(soap);
	}
	if (soap_body_end_in(soap)
	 || soap_envelope_end_in(soap)
	 || soap_end_recv(soap))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

SOAP_FMAC5 int SOAP_FMAC6 soap_call___ns1__umount(struct soap *soap, const char *soap_endpoint, const char *soap_action, struct _ns1__umount *ns1__umount, struct _ns1__umountResponse *ns1__umountResponse)
{	struct __ns1__umount soap_tmp___ns1__umount;
	if (!soap_endpoint)
		soap_endpoint = "https://ngportaldev.vpac.org/grisu-ws/services/grisu";
	if (!soap_action)
		soap_action = "";
	soap->encodingStyle = NULL;
	soap_tmp___ns1__umount.ns1__umount = ns1__umount;
	soap_begin(soap);
	soap_serializeheader(soap);
	soap_serialize___ns1__umount(soap, &soap_tmp___ns1__umount);
	if (soap_begin_count(soap))
		return soap->error;
	if (soap->mode & SOAP_IO_LENGTH)
	{	if (soap_envelope_begin_out(soap)
		 || soap_putheader(soap)
		 || soap_body_begin_out(soap)
		 || soap_put___ns1__umount(soap, &soap_tmp___ns1__umount, "-ns1:umount", "")
		 || soap_body_end_out(soap)
		 || soap_envelope_end_out(soap))
			 return soap->error;
	}
	if (soap_end_count(soap))
		return soap->error;
	if (soap_connect(soap, soap_endpoint, soap_action)
	 || soap_envelope_begin_out(soap)
	 || soap_putheader(soap)
	 || soap_body_begin_out(soap)
	 || soap_put___ns1__umount(soap, &soap_tmp___ns1__umount, "-ns1:umount", "")
	 || soap_body_end_out(soap)
	 || soap_envelope_end_out(soap)
	 || soap_end_send(soap))
		return soap_closesock(soap);
	soap_default__ns1__umountResponse(soap, ns1__umountResponse);
	if (soap_begin_recv(soap)
	 || soap_envelope_begin_in(soap)
	 || soap_recv_header(soap)
	 || soap_body_begin_in(soap))
		return soap_closesock(soap);
	soap_get__ns1__umountResponse(soap, ns1__umountResponse, "ns1:umountResponse", "");
	if (soap->error)
	{	if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2)
			return soap_recv_fault(soap);
		return soap_closesock(soap);
	}
	if (soap_body_end_in(soap)
	 || soap_envelope_end_in(soap)
	 || soap_end_recv(soap))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

SOAP_FMAC5 int SOAP_FMAC6 soap_call___ns1__getJobDetails(struct soap *soap, const char *soap_endpoint, const char *soap_action, struct _ns1__getJobDetails *ns1__getJobDetails, struct _ns1__getJobDetailsResponse *ns1__getJobDetailsResponse)
{	struct __ns1__getJobDetails soap_tmp___ns1__getJobDetails;
	if (!soap_endpoint)
		soap_endpoint = "https://ngportaldev.vpac.org/grisu-ws/services/grisu";
	if (!soap_action)
		soap_action = "";
	soap->encodingStyle = NULL;
	soap_tmp___ns1__getJobDetails.ns1__getJobDetails = ns1__getJobDetails;
	soap_begin(soap);
	soap_serializeheader(soap);
	soap_serialize___ns1__getJobDetails(soap, &soap_tmp___ns1__getJobDetails);
	if (soap_begin_count(soap))
		return soap->error;
	if (soap->mode & SOAP_IO_LENGTH)
	{	if (soap_envelope_begin_out(soap)
		 || soap_putheader(soap)
		 || soap_body_begin_out(soap)
		 || soap_put___ns1__getJobDetails(soap, &soap_tmp___ns1__getJobDetails, "-ns1:getJobDetails", "")
		 || soap_body_end_out(soap)
		 || soap_envelope_end_out(soap))
			 return soap->error;
	}
	if (soap_end_count(soap))
		return soap->error;
	if (soap_connect(soap, soap_endpoint, soap_action)
	 || soap_envelope_begin_out(soap)
	 || soap_putheader(soap)
	 || soap_body_begin_out(soap)
	 || soap_put___ns1__getJobDetails(soap, &soap_tmp___ns1__getJobDetails, "-ns1:getJobDetails", "")
	 || soap_body_end_out(soap)
	 || soap_envelope_end_out(soap)
	 || soap_end_send(soap))
		return soap_closesock(soap);
	soap_default__ns1__getJobDetailsResponse(soap, ns1__getJobDetailsResponse);
	if (soap_begin_recv(soap)
	 || soap_envelope_begin_in(soap)
	 || soap_recv_header(soap)
	 || soap_body_begin_in(soap))
		return soap_closesock(soap);
	soap_get__ns1__getJobDetailsResponse(soap, ns1__getJobDetailsResponse, "ns1:getJobDetailsResponse", "");
	if (soap->error)
	{	if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2)
			return soap_recv_fault(soap);
		return soap_closesock(soap);
	}
	if (soap_body_end_in(soap)
	 || soap_envelope_end_in(soap)
	 || soap_end_recv(soap))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

SOAP_FMAC5 int SOAP_FMAC6 soap_call___ns1__mount1(struct soap *soap, const char *soap_endpoint, const char *soap_action, struct _ns1__mount1 *ns1__mount1, struct _ns1__mount1Response *ns1__mount1Response)
{	struct __ns1__mount1 soap_tmp___ns1__mount1;
	if (!soap_endpoint)
		soap_endpoint = "https://ngportaldev.vpac.org/grisu-ws/services/grisu";
	if (!soap_action)
		soap_action = "";
	soap->encodingStyle = NULL;
	soap_tmp___ns1__mount1.ns1__mount1 = ns1__mount1;
	soap_begin(soap);
	soap_serializeheader(soap);
	soap_serialize___ns1__mount1(soap, &soap_tmp___ns1__mount1);
	if (soap_begin_count(soap))
		return soap->error;
	if (soap->mode & SOAP_IO_LENGTH)
	{	if (soap_envelope_begin_out(soap)
		 || soap_putheader(soap)
		 || soap_body_begin_out(soap)
		 || soap_put___ns1__mount1(soap, &soap_tmp___ns1__mount1, "-ns1:mount1", "")
		 || soap_body_end_out(soap)
		 || soap_envelope_end_out(soap))
			 return soap->error;
	}
	if (soap_end_count(soap))
		return soap->error;
	if (soap_connect(soap, soap_endpoint, soap_action)
	 || soap_envelope_begin_out(soap)
	 || soap_putheader(soap)
	 || soap_body_begin_out(soap)
	 || soap_put___ns1__mount1(soap, &soap_tmp___ns1__mount1, "-ns1:mount1", "")
	 || soap_body_end_out(soap)
	 || soap_envelope_end_out(soap)
	 || soap_end_send(soap))
		return soap_closesock(soap);
	soap_default__ns1__mount1Response(soap, ns1__mount1Response);
	if (soap_begin_recv(soap)
	 || soap_envelope_begin_in(soap)
	 || soap_recv_header(soap)
	 || soap_body_begin_in(soap))
		return soap_closesock(soap);
	soap_get__ns1__mount1Response(soap, ns1__mount1Response, "ns1:mount1Response", "");
	if (soap->error)
	{	if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2)
			return soap_recv_fault(soap);
		return soap_closesock(soap);
	}
	if (soap_body_end_in(soap)
	 || soap_envelope_end_in(soap)
	 || soap_end_recv(soap))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

SOAP_FMAC5 int SOAP_FMAC6 soap_call___ns1__getJobProperty(struct soap *soap, const char *soap_endpoint, const char *soap_action, struct _ns1__getJobProperty *ns1__getJobProperty, struct _ns1__getJobPropertyResponse *ns1__getJobPropertyResponse)
{	struct __ns1__getJobProperty soap_tmp___ns1__getJobProperty;
	if (!soap_endpoint)
		soap_endpoint = "https://ngportaldev.vpac.org/grisu-ws/services/grisu";
	if (!soap_action)
		soap_action = "";
	soap->encodingStyle = NULL;
	soap_tmp___ns1__getJobProperty.ns1__getJobProperty = ns1__getJobProperty;
	soap_begin(soap);
	soap_serializeheader(soap);
	soap_serialize___ns1__getJobProperty(soap, &soap_tmp___ns1__getJobProperty);
	if (soap_begin_count(soap))
		return soap->error;
	if (soap->mode & SOAP_IO_LENGTH)
	{	if (soap_envelope_begin_out(soap)
		 || soap_putheader(soap)
		 || soap_body_begin_out(soap)
		 || soap_put___ns1__getJobProperty(soap, &soap_tmp___ns1__getJobProperty, "-ns1:getJobProperty", "")
		 || soap_body_end_out(soap)
		 || soap_envelope_end_out(soap))
			 return soap->error;
	}
	if (soap_end_count(soap))
		return soap->error;
	if (soap_connect(soap, soap_endpoint, soap_action)
	 || soap_envelope_begin_out(soap)
	 || soap_putheader(soap)
	 || soap_body_begin_out(soap)
	 || soap_put___ns1__getJobProperty(soap, &soap_tmp___ns1__getJobProperty, "-ns1:getJobProperty", "")
	 || soap_body_end_out(soap)
	 || soap_envelope_end_out(soap)
	 || soap_end_send(soap))
		return soap_closesock(soap);
	soap_default__ns1__getJobPropertyResponse(soap, ns1__getJobPropertyResponse);
	if (soap_begin_recv(soap)
	 || soap_envelope_begin_in(soap)
	 || soap_recv_header(soap)
	 || soap_body_begin_in(soap))
		return soap_closesock(soap);
	soap_get__ns1__getJobPropertyResponse(soap, ns1__getJobPropertyResponse, "ns1:getJobPropertyResponse", "");
	if (soap->error)
	{	if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2)
			return soap_recv_fault(soap);
		return soap_closesock(soap);
	}
	if (soap_body_end_in(soap)
	 || soap_envelope_end_in(soap)
	 || soap_end_recv(soap))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

SOAP_FMAC5 int SOAP_FMAC6 soap_call___ns1__submitSupportRequest(struct soap *soap, const char *soap_endpoint, const char *soap_action, struct _ns1__submitSupportRequest *ns1__submitSupportRequest, struct _ns1__submitSupportRequestResponse *ns1__submitSupportRequestResponse)
{	struct __ns1__submitSupportRequest soap_tmp___ns1__submitSupportRequest;
	if (!soap_endpoint)
		soap_endpoint = "https://ngportaldev.vpac.org/grisu-ws/services/grisu";
	if (!soap_action)
		soap_action = "";
	soap->encodingStyle = NULL;
	soap_tmp___ns1__submitSupportRequest.ns1__submitSupportRequest = ns1__submitSupportRequest;
	soap_begin(soap);
	soap_serializeheader(soap);
	soap_serialize___ns1__submitSupportRequest(soap, &soap_tmp___ns1__submitSupportRequest);
	if (soap_begin_count(soap))
		return soap->error;
	if (soap->mode & SOAP_IO_LENGTH)
	{	if (soap_envelope_begin_out(soap)
		 || soap_putheader(soap)
		 || soap_body_begin_out(soap)
		 || soap_put___ns1__submitSupportRequest(soap, &soap_tmp___ns1__submitSupportRequest, "-ns1:submitSupportRequest", "")
		 || soap_body_end_out(soap)
		 || soap_envelope_end_out(soap))
			 return soap->error;
	}
	if (soap_end_count(soap))
		return soap->error;
	if (soap_connect(soap, soap_endpoint, soap_action)
	 || soap_envelope_begin_out(soap)
	 || soap_putheader(soap)
	 || soap_body_begin_out(soap)
	 || soap_put___ns1__submitSupportRequest(soap, &soap_tmp___ns1__submitSupportRequest, "-ns1:submitSupportRequest", "")
	 || soap_body_end_out(soap)
	 || soap_envelope_end_out(soap)
	 || soap_end_send(soap))
		return soap_closesock(soap);
	soap_default__ns1__submitSupportRequestResponse(soap, ns1__submitSupportRequestResponse);
	if (soap_begin_recv(soap)
	 || soap_envelope_begin_in(soap)
	 || soap_recv_header(soap)
	 || soap_body_begin_in(soap))
		return soap_closesock(soap);
	soap_get__ns1__submitSupportRequestResponse(soap, ns1__submitSupportRequestResponse, "ns1:submitSupportRequestResponse", "");
	if (soap->error)
	{	if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2)
			return soap_recv_fault(soap);
		return soap_closesock(soap);
	}
	if (soap_body_end_in(soap)
	 || soap_envelope_end_in(soap)
	 || soap_end_recv(soap))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

SOAP_FMAC5 int SOAP_FMAC6 soap_call___ns1__getAllHosts(struct soap *soap, const char *soap_endpoint, const char *soap_action, struct _ns1__getAllHosts *ns1__getAllHosts, struct _ns1__getAllHostsResponse *ns1__getAllHostsResponse)
{	struct __ns1__getAllHosts soap_tmp___ns1__getAllHosts;
	if (!soap_endpoint)
		soap_endpoint = "https://ngportaldev.vpac.org/grisu-ws/services/grisu";
	if (!soap_action)
		soap_action = "";
	soap->encodingStyle = NULL;
	soap_tmp___ns1__getAllHosts.ns1__getAllHosts = ns1__getAllHosts;
	soap_begin(soap);
	soap_serializeheader(soap);
	soap_serialize___ns1__getAllHosts(soap, &soap_tmp___ns1__getAllHosts);
	if (soap_begin_count(soap))
		return soap->error;
	if (soap->mode & SOAP_IO_LENGTH)
	{	if (soap_envelope_begin_out(soap)
		 || soap_putheader(soap)
		 || soap_body_begin_out(soap)
		 || soap_put___ns1__getAllHosts(soap, &soap_tmp___ns1__getAllHosts, "-ns1:getAllHosts", "")
		 || soap_body_end_out(soap)
		 || soap_envelope_end_out(soap))
			 return soap->error;
	}
	if (soap_end_count(soap))
		return soap->error;
	if (soap_connect(soap, soap_endpoint, soap_action)
	 || soap_envelope_begin_out(soap)
	 || soap_putheader(soap)
	 || soap_body_begin_out(soap)
	 || soap_put___ns1__getAllHosts(soap, &soap_tmp___ns1__getAllHosts, "-ns1:getAllHosts", "")
	 || soap_body_end_out(soap)
	 || soap_envelope_end_out(soap)
	 || soap_end_send(soap))
		return soap_closesock(soap);
	soap_default__ns1__getAllHostsResponse(soap, ns1__getAllHostsResponse);
	if (soap_begin_recv(soap)
	 || soap_envelope_begin_in(soap)
	 || soap_recv_header(soap)
	 || soap_body_begin_in(soap))
		return soap_closesock(soap);
	soap_get__ns1__getAllHostsResponse(soap, ns1__getAllHostsResponse, "ns1:getAllHostsResponse", "");
	if (soap->error)
	{	if (soap->error == SOAP_TAG_MISMATCH && soap->level == 2)
			return soap_recv_fault(soap);
		return soap_closesock(soap);
	}
	if (soap_body_end_in(soap)
	 || soap_envelope_end_in(soap)
	 || soap_end_recv(soap))
		return soap_closesock(soap);
	return soap_closesock(soap);
}

#ifdef __cplusplus
}
#endif

/* End of soapClient.c */
