Hi  all,

Thanks, Can you share a sample soap request accessed using http-post. For my  
scenario I have to pass xml node to the webservice.

I tried in the following way . But I am getting error.

let $post-data := <s>mano soap request </s>

return xdmp:http-post("http://net16:8097/service.svc";, <options 
xmlns="xdmp:http">
                               
 <timeout>100000000</timeout>
                                <data>{$post-data}</data>
                             </options>)[2]


Error : SVC-SOCHN1.0-mlSocket hostname errorSVC-SOCHN: xdmp:http-post....
-- Socket hostname error: gethostbyname net16: The specified host is 
unknown.falsexdmp:http-post
 

Regards,Mano


________________________________
 From: Geert Josten <[email protected]>
To: mano m <[email protected]>; General MarkLogic Developer Discussion 
<[email protected]> 
Sent: Thursday, 24 November 2011 7:33 AM
Subject: RE: [MarkLogic Dev General] Access webservice ???
 

Hi Mano,
 
Abishek asked a similar question. You can find the answer here:
 
http://markmail.org/message/44wzhqsswnczi2lj
 
Kind regards,
Geert
 
Van:[email protected] 
[mailto:[email protected]] Namens mano m
Verzonden: donderdag 24 november 2011 12:08
Aan: [email protected]
Onderwerp: [MarkLogic Dev General] Access webservice ???
 
Hi 
 
I have to access a web service from mark logic. Will it be possible via 
xdmp:http-post method.Please let me know how to access webservice and pass 
parameters to them?
 
Thanks in Advance. 
 
regards,
Mano
_______________________________________________
General mailing list
[email protected]
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to