AnsweredAssumed Answered

Call .NET WebServices gives Error

Question asked by joni.campos on Jan 26, 2011
Latest reply on Jan 26, 2011 by mark
We have writen the following GelScript to call our .NET WebService, but it gives the error bellow. SOAP message has been extracted from SoapSonar, which works.




<gel:script xmlns:x="jelly:xml"
xmlns:gel="jelly:com.niku.union.gel.GELTagLibrary"
xmlns:soap="jelly:com.niku.union.gel.SOAPTagLibrary"
xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/"
>

<soap:invoke endpoint="http://srvdsv01/ClarityIntegration" var="result">


<soap:message>




<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://srvdsv01/ClarityIntegration/ClarityIntegrationService">
<soap:Body>
<tns:SendObject>
<tns:type>idea</tns:type>
<tns:action>i</tns:action>
<tns:id>14333</tns:id>
</tns:SendObject>
</soap:Body>
</soap:Envelope>

</soap:message>
</soap:invoke>



<gel:out><gel:expr select="$result"/></gel:out>




</gel:script>



ERROR:


Internal error: file:/C:/Program Files/CA/Clarity/CA Clarity XOG/bin/bar1.gel:7:73: <soap:invoke> Failed to send a SOAP message generated to 'http://srvdsv01/ClarityIntegration'.HTTP Error: Status-Code: 405: Method Not Allowed


Any idea what is wrong with this GelScript ?

Thanks

Joni

Outcomes