I need to change method to PUT instead of default POST in the http/soap
driver.

I convert xds document with a XSLT and it returns this.

> <nds dtdversion="3.5" ndsversion="8.x">
> <source>
> <product version="3.5.10.20070918 ">DirXML</product>
> <contact>Novell, Inc.</contact>
> </source>
> <input>
> <email_mailbox>
> <first_name>Maria</first_name>
> <password><!-- content suppressed --></password>
> <last_name>Ben</last_name>
> <recipient>860407MB</recipient>
> <email_mailbox_plan_id>7</email_mailbox_plan_id>
> <operation-data method="PUT" parent-node-1="modifyResponse"
> parent-node-2="errorResponse" url="http://137.66.10.13:18180/soap">
> <return-to-me class-name="email_mailbox" command="modify"
> event-id="meta-server#20081002000709#2#1" from-merge="true"
> qualified-src-dn="dc=Data\O=xx\OU=Edu\dc=xx\CN=860407MB"
> src-dn="\META\Data\xx\Edu\xx\860407MB" src-entry-id="39407"/>
> </operation-data>
> </email_mailbox>
> </input>
> </nds>


As shown below URL and method, are not picked up by drivershim :

> ST:Stripping operation data from input document
> ST:Gr_Webmail: HTTPSubscriberTransport.send()
> ST:Gr_Webmail: Preparing HTTP POST connection to
> http://tinyurl.com/4fkjeh
> ST:Gr_Webmail: Setting the following HTTP request properties:
> ST:Gr_Webmail: Authorization: <credentials suppressed>
> ST:Gr_Webmail: SOAPAction: #batchRequest
> ST:Gr_Webmail: Content-Type: text/xml; charset=utf-8
> ST:Gr_Webmail: Did HTTP POST with 236 bytes of data to
> http://tinyurl.com/4fkjeh
> ST:Gr_Webmail: Response code and message: 422 null
> ST:Restoring operation data to output document
> ST:SubscriptionShim.execute() returned:
>


But if I keep xds-style and put operation-data element in
a valid operation like add or modify it is picked up by driver shim.. I
have tried to not remove the <nds> and <input> elements, but it doesn't
make any difference...

Steve Trottier mentioned earlier in a post that there may be a new
<driver-operation-data> in a future release.. is this feature
implemented in 3.6 ?

TIA -- Magnus


--
magnus
------------------------------------------------------------------------
magnus's Profile: http://forums.novell.com/member.php?userid=1603
View this thread: http://forums.novell.com/showthread.php?t=345699