I need to develop a Web Service Server, I use the class NUSOAP in PHP and when I register my method with the name «NewInitialDocForLocalApp» the Input and Output XML is generated in «NewInitialDocForLocalAppRequest» and «NewInitialDocForLocalAppResponse» but I need it «NewInitialDocForLocalAppInput» and «NewInitialDocForLocalAppOutput» instead. How could I change that?
The reason I need that words, is because the entreprise use a DataPower validation and must be with that two words.
I need to develop a Web Service Server, I use the class NUSOAP in PHP and when I register my method with the name «NewInitialDocForLocalApp» the Input and Output XML is generated in «NewInitialDocForLocalAppRequest» and «NewInitialDocForLocalAppResponse» but I need it «NewInitialDocForLocalAppInput» and «NewInitialDocForLocalAppOutput» instead. How could I change that?
The reason I need that words, is because the entreprise use a DataPower validation and must be with that two words.
code i use to register:
$server->register(
'NewInitialDocForLocalApp', // method name
array(
'idApp' => 'xsd:string',
'idProcApp' => 'xsd:string',
'nIF' => 'xsd:string',
'codServico' => 'xsd:string',
'idDocFileNet' => 'xsd:string',
'tipoDocFileNet' => 'xsd:string',
'idTipoDoc' => 'xsd:string',
'dataRegisto' => 'xsd:string',
'dataDocumento' => 'xsd:string',
'idProcessoGPS' => 'xsd:string',
'classNacional' => 'xsd:string',
'nomeContribuinte' => 'xsd:string',
'nIFApresentante' => 'xsd:string',
'nomeApresentante' => 'xsd:string',
'nIFEntExterna' => 'xsd:string',
'nomeEntExterna' => 'xsd:string',
'assunto' => 'xsd:string',
'referencia' => 'xsd:string',
'codServOrigem' => 'xsd:string',
'observacoes' => 'xsd:string'
), // input
array(
'codResultado' => 'xsd:string',
'codDetalheResultado' => 'xsd:string',
'descResultado' => 'xsd:string',
'idProcApp' => 'xsd:string',
'idFuncionario' => 'xsd:string'
), // output
$namespace, // namespace
$namespace.'#NewInitialDocForLocalApp',
'rpc', // style
'literal', // 'encoded', // use
'' // documentation
);
How could I solve this?
Thanks for the help.
Hello Fernando,
I can help you further
mail me at deepvyas71@gmail.com
Best regards,
Deep