Hello!

I'm writing a new SOAP SPML driver to get information from a
webservices. I can post XML and get the correct response. My problem is
transform the publisher webservices response into a modify to store just
one attribute at user that iniated the first subscriber post.

This is my webservices response:

<nds dtdversion="2.0">
<source>
<product build="20090519_235451" instance="BUCB"
version="3.5.4">Identity Manager Driver for SOAP</product>
<contact>Novell, Inc.</contact>
</source>
<output>
<soapenv:Envelope
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Header/>
<soapenv:Body>
<p901:verificaPessoaResponse
xmlns901="http://service.model.servicos.bucb.customer.com.br">
<verificaPessoaReturn>
<indicativoCelular>N</indicativoCelular>
<indicativoEmail>N</indicativoEmail>
<bairro>GLORIA</bairro>
<celular>0</celular>
<cep>0</cep>
<cidade>RIO DE JANEIRO</cidade>
<cnpj>0</cnpj>
<complemento>4 ANDAR</complemento>
<cpf>82296715753</cpf>
<dataNascimento>1962-02-18T03:00:00.000Z</dataNascimento>
<dddCelular>0</dddCelular>
<dddComercial>0</dddComercial>
<dddFixo>0</dddFixo>
<email/>
<emailAlternativo/>
<estado>RJ</estado>
<foneComercial>0</foneComercial>
<foneFixo>0</foneFixo>
<idBuc>99999999</idBuc>
<logradouro>DA GLORIA</logradouro>
<nome>ANNA CHRISTINA HUTHER</nome>
<numero>306</numero>
<ramalCelular>0</ramalCelular>
<ramalComercial>0</ramalComercial>
<ramalFoneFixo>0</ramalFoneFixo>
<siglaLogradouro>R</siglaLogradouro>
<tipoLogradouro>81</tipoLogradouro>
<tipoPessoa xsi:nil="true"/>
<dataNascimentoLong xsi:nil="true"/>
<uf xsi:nil="true"/>
</verificaPessoaReturn>
</p901:verificaPessoaResponse>
</soapenv:Body>
<operation-data parent-node-1="addResponse">
<return-to-me class-name="pessoaVO" command="add"
event-id="IDM-H001#20110901152208#1#1"
qualified-src-dn="O=CUSTOMER\OU=EXTERNAL\CN=ana"
src-dn="\IDMTREE\CUSTOMER\EXTERNAL\ana" src-entry-id="62171"/>
</operation-data>
</soapenv:Envelope>
</output>
</nds>

I need to store the idBuc value into workforceid attribute. I've used
many XSLT and DirXML Scripts and this is the result that I obtained:


<nds dtdversion="2.0">
<source>
<product build="20090519_235451" instance="BUCB"
version="3.5.4">Identity Manager Driver for SOAP</product>
<contact>Novell, Inc.</contact>
</source>
<output>
<instance class-name="pessoaVO" src-dn="bucb">
<attr attr-name="idBuc">
<value>5017501155</value>
</attr>
<attr attr-name="cpf">
<value>82296715753</value>
</attr>
</instance>
</output>
</nds>

But not happens. I'm trying to veto this event and create a new modify
(input from publisher channel) of workforceid to user DN. Will work?

Any help will be very very helpfull!

Thank you so much!


--
* Alan Cota | Brazil.
CNE | ISM & Security Specialist.
http://www.alancota.net*
------------------------------------------------------------------------
AlanCota's Profile: http://forums.novell.com/member.php?userid=1961
View this thread: http://forums.novell.com/showthread.php?t=444055