Closed GoogleCodeExporter closed 8 years ago
order of creating element and setting element/attribute form is not correct.
Original comment by loentar
on 16 Mar 2013 at 11:53
This issue was closed by revision r741.
Original comment by loentar
on 16 Mar 2013 at 1:27
Your request quite complex. If you disable unwrapping of request/response
elements service interface will be more readable.
To disable unwrapping add -ddontunwrap codegen option while generating client
staff_codegen -tclient_all -pwsdl ApacAc.wsdl -ddontunwrap
and then your interface will look like that:
struct appelerPersonne
{
staff::Optional<std::string> ressourceURI;
// *form: qualified
staff::Optional<std::string> workingURL;
// *elementName: proxy-host
staff::Optional<std::string> proxy_minus_host;
// *elementName: proxy-port
staff::Optional<std::string> proxy_minus_port;
std::string numeroTelephone;
std::string nomLogique;
bool bOrganisateur;
unsigned short idParticipantPlateformeCliente;
unsigned short idPlateformeCliente;
};
struct appelerPersonneResponse
{
::EApacAErrorCode response;
};
//! gSOAP 2.7.9a generated service definition
// *serviceUri: http://localhost:80
// *soapVersion: 1.1
// *targetNamespace: urn:ApacAc
class ApacAc: public staff::IService
{
public:
//! Service definition of function ApacAc__appelerPersonne
// *inlineRequestElement: true
// *requestElement: appelerPersonne
// *responseElement: appelerPersonneResponse
virtual ::appelerPersonneResponse appelerPersonne(const ::appelerPersonne& appelerPersonne) = 0;
};
Original comment by loentar
on 16 Mar 2013 at 1:31
Yes that's more readable with the codegen option -ddontunwrap.
Thanks for the fix.
Original comment by juderamond@gmail.com
on 19 Mar 2013 at 8:16
Original issue reported on code.google.com by
juderamond@gmail.com
on 8 Mar 2013 at 8:28Attachments: